Gabor Juhos
797d41e061
Generic: Clean up output of AR8216 driver.
...
This patch is rather a cosmetic patch. It fixes the following issues:
* Demote the unknown device message to debug level to not spam
the log.
* Fix the version print of the unknown device message.
* Output the 'attach' message only when attaching as switch driver,
not when attaching as phy driver.
* Correctly return NET_RX_DROP when dropping packets.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc: bacfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 11:34:11 +00:00
Florian Fainelli
668769edf7
[kernel] refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 19:26:57 +00:00
Florian Fainelli
393df13165
[brcm63xx] do not overwrite ENET_CTL_REG, fixes ethernet on bcm6338
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 18:43:36 +00:00
Gabor Juhos
c794abda1e
ar71xx: nuke clocksource init patches, it is not required since 2.6.27
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 13:33:03 +00:00
Alexandros C. Couloumbis
7082382109
x86: generic: fix soekris support ( closes #7081 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 11:31:19 +00:00
Gabor Juhos
00b93e1214
ar71xx: update phy masks for the Planex boards
...
This avoids probing of the AR8216 chip on the eth0 interface.
Cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:14 +00:00
Gabor Juhos
c1278631d6
generic: make chip detection more reliable in the AR8216 driver
...
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.
Cc: bacfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:12 +00:00
Gabor Juhos
da7993d9f8
ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
...
Cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:09 +00:00
Gabor Juhos
74f5972ab6
ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
...
Cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:06 +00:00
Gabor Juhos
a325986fbb
ar71xx: ag71xx: call the phy driver's netif_receive_skb()
...
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.
This fixes the header mangling of the AR8216 driver.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc:backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:38:46 +00:00
Florian Fainelli
eb7f72ca01
[kernel] fix kexec for mips, patch from Adrian Byszuk ( #7115 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-08 07:53:14 +00:00
Jo-Philipp Wich
d328f8c6b6
[atheros] fix failsafe ip deconfig on AR23xx devices without ADM or Marvell switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 22:46:15 +00:00
Felix Fietkau
6f4f5e06bc
ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich
fd27f8a1d9
[PATCH 1/2] Add support for the ar8316 switch.
...
This patch enhances the ar8216 driver with ar8316 support and fixes some minor
issues with the ar8216 driver itself. It should not break anything, but isn't
tested on ar8216 devices.
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:03:16 +00:00
Jo-Philipp Wich
9e277d3878
[brcm-2.4] add kernel support for iptables comment match
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 22:38:40 +00:00
Nicolas Thill
9ea87948af
target/rdc: revert [20653], the proper fix for #7005 is in [20712]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 02:38:59 +00:00
Felix Fietkau
7d597eeeaf
ixp4xx: add back the patch for avoiding dma bounce buffers for network buffers, which was lost on the kernel upgrade to 2.6.32. fixes ath9k and improves other drivers' performance on boards with >64M ram
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-04 17:43:13 +00:00
Nicolas Thill
19269f57b6
sysupgrade: fix typo in platform_do_upgrade() on x86 ( closes : #7068 ), thanks to acinonyx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-04 15:47:26 +00:00
Lars-Peter Clausen
e3751cbe46
[xburst] jzcodec: Only support 16bit formats for now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-04 15:39:15 +00:00
Mirko Vogt
467cf5f027
do not disable netfilter support for xburst target (some packages require netfilter support)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-04 13:01:50 +00:00
Gabor Juhos
0f9fc9edba
ar71xx: fix broken LAN ports on the boards with AR8216 switch ( closes #7024 )
...
* cc: backfire@openwrt.org
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 13:59:08 +00:00
Florian Fainelli
9c79228577
[rdc] do not set CONFIG_NET_DEV_OPS ( #7005 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-02 10:34:40 +00:00
Florian Fainelli
9b32abb33e
[brcm63xx] flashmap and image generation: reduced union bcm_tag to a single struct
...
combining the elements so that it is no longer necessary to create an openwrt-only
tagid and tagcrc, and elimate the tagid detection and switch statements which
made dealing with imagetags overly complicated, especially since the logic would
need analogs in all code that touched the imagetag. Patch from cshore.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 21:20:43 +00:00
Hauke Mehrtens
a03c780f93
brcm-2.4: fix commit r18413 "128MB ram problem"
...
This was missing in commit r20072
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 17:27:59 +00:00
Imre Kaloz
508ed126fc
[x86]: add a subtarget and drivers for the Intel Tolapai SoC
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 12:05:27 +00:00
John Crispin
bb58f7259b
[ifxmips] improve extract code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 21:12:02 +00:00
Gabor Juhos
9518d27e8e
ramips: add wpad-mini to the default packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 09:58:33 +00:00
Gabor Juhos
0b03ed8938
ramips: annotate device register function prototypes with __init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:28 +00:00
Gabor Juhos
21a793245c
ramips: register wifi device for the RT2880 based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:23 +00:00
Gabor Juhos
d06a46616e
ramips: add wifi device for the RT2880 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 08:40:20 +00:00
Gabor Juhos
7e95b7a597
ramips: register wifi device on the rt305x based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:24:10 +00:00
Gabor Juhos
3edf8b4ac9
ramips: sync kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:24:05 +00:00
John Crispin
0e477f3816
[ifxmips] prepare kernel for voip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 21:06:27 +00:00
John Crispin
b58b53b236
The ralink rt305x board has a wireless card that can be used with the rt2800pci driver (it does not work yet but basically should). Hence, register the appropriate platform device to allow developing/testing the rt2800pci driver. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 12:04:05 +00:00
John Crispin
cfafa18012
[ramips] Fix the base address of the wireless card. Otherwise it is not possible to register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-30 10:06:05 +00:00
Florian Fainelli
f011ebf499
[package] fix ndisc compilation failure ( #6984 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 21:20:36 +00:00
Felix Fietkau
489fb5eceb
netfilter: fix ABI breakage caused by the netfilter match optimization ( fixes #5628 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 19:05:59 +00:00
Felix Fietkau
3ac4dbb0b8
enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:57:42 +00:00
Florian Fainelli
dc3662326e
[brcm63xx] move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:11:06 +00:00
Florian Fainelli
80551b78e5
[x86] sysupgrade: Get target device from kernel cmdline, patch from acinonyx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 11:55:07 +00:00
Nicolas Thill
74c50ba2fb
ifxmips: remove old config files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 03:45:44 +00:00
Nicolas Thill
86087a5c5a
ps3: move ps3lan kmod under target/linux/ps3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 03:29:22 +00:00
Felix Fietkau
aba9d83bea
ar71xx: fix pci on ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:36:37 +00:00
Felix Fietkau
159a5e0667
ar71xx: fix the wan port on pb92
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:36:04 +00:00
Felix Fietkau
19f9c43c95
ar71xx: reset the mdio bus on ar7241/ar7242
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 00:35:44 +00:00
Gabor Juhos
05f3bb99df
ar71xx: add uci defaults to fix trx header on the WRT160NL boards
...
* patch by Otto Solares
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:38:40 +00:00
Gabor Juhos
79c06a8dc9
ar71xx: update image generation and trx header parsing for the WRT160NL
...
* patch by Bernhard Loos
* note: trailing whitespaces has been removed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:38:36 +00:00
Jo-Philipp Wich
9e670ac6c9
[x86] Add OLPC kernel config (patch by Acinonyx)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 15:31:19 +00:00
Jo-Philipp Wich
045d4cb3db
[x86] Change default processor family to 486, refresh config (patch by Acinonyx)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 15:30:46 +00:00
Jo-Philipp Wich
3489e823b3
[x86] Remove support for older kernels (patch by Acinonyx)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 15:29:22 +00:00