juhosg
5d524e9d5c
backfire: generic: rtl8366: don't show link parameters if the link is down (backport of r21908)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:36 +00:00
juhosg
ac10fe233e
backfire: generic: rtl8366: fix register offset and size of MIB counters (backport of r29107)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:24 +00:00
juhosg
c814fdfe02
backfire: generic: rtl8366: prevent modifications of VLAN 0 (backport of r29106)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:14 +00:00
juhosg
1abce0276c
backfire: swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED (backport of r21708)
...
SWITCH_PORT_FLAG_TAGGED is a bit index, not a bit mask.
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 05:42:44 +00:00
juhosg
445022bc75
backfire: [kernel] swconfig: Check vlan/port indexes for validity. (backport of r20811)
...
Swconfig needs to make sure that requested vlans/ports actually exist,
else it might read or modify memory not belonging to itself.
This patch adds a quick range check in swconfig's kernel part to
prevent accidential or intentional memory modification.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 05:42:38 +00:00
nbd
f210f1fdc9
[backfire] backport the ssb dma device change from trunk
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 18:35:45 +00:00
juhosg
072e160420
backfire: swconfig: fix lock imbalance in unregister_switch() (backport of r21780)
...
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:45:45 +00:00
juhosg
87adaa5f56
backfire: swconfig: release switch in error path of swconfig_get_attr (backport of r21799)
...
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:45:40 +00:00
hauke
ad3ee57c1f
[backfire] backport r21449
...
ssb: activate CONFIG_SSB_BLOCKIO in the kernel and not in compat-wireless.
Before this patch CONFIG_SSB_BLOCKIO was set to y in compat-wireless
but the in kernel ssb system had it set to n, this causes an invalid pointer.
b43 now needs CONFIG_SSB_BLOCKIO=y
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 22:57:36 +00:00
nico
a8609ee7e8
[backfire] merge r21507 - add missing bits for 2.6.30 ssb update
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 21:46:40 +00:00
jow
9b4d06c684
[backfire] merge r21344
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 20:33:23 +00:00
nbd
9631bdae21
[backfire] backport ssb updates from r21269, this is required for future mac80211 updates
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-30 16:54:57 +00:00
nico
23a82f632f
[backfire] merge r20834, r20840, r20854 & r20855
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 19:28:40 +00:00
juhosg
46990e4e4c
backfire: swconfig: Add cpu port index to help output. (backport of 20939)
...
Let swconfig provide the cpu port index in its help page. This is
needed as e.g. Atheros switches have their cpu port at port 0, not
port 5.
This could allow e.g. luci to get a rough overview of the layout of
the switch.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 20:30:06 +00:00
juhosg
f382721827
backfire: Generic: Clean up output of AR8216 driver. (backport of r20773)
...
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>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 11:47:33 +00:00
juhosg
c2d7208f8a
backfire: generic: make chip detection more reliable in the AR8216 driver (backport of r20753)
...
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 12:06:17 +00:00
jow
52e77b9e47
[backfire] merge r20722
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:06:36 +00:00
nico
cb341b7ccb
[backfire] remove unused kernel config, files & patches in 10.03
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03 01:57:27 +00:00
kaloz
23f27ea50b
[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
nbd
244c45bd27
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
nbd
bc3d4f5dfd
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
juhosg
b4fcbf1114
kernel: update to 2.6.32.10
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
florian
b759850150
[kernel] add missing CONFIG_CB1400_CORE symbol, spotted by buildbot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 15:27:08 +00:00
acoul
bc06f31e4a
generic-2.6: fix r20386 (thanks nico), update missing symbols on config-2.6.32 too
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 15:02:29 +00:00
acoul
86e3738d75
generic-2.6: config-2.6.33 add missing symbols, closes #6913 (thanks maddes)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 12:42:17 +00:00
hauke
c863d2afc3
kernel: Add some missing config symbols
...
This adds some missing config symbols and opens the menu
behind CONFIG_SND_PCI and CONFIG_ISDN.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 13:57:07 +00:00
acoul
a1ce9f6f9b
generic-2.6: sync patches to 2.6.34-rc2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 06:53:08 +00:00
juhosg
56f1be7e5c
base-files: show boot state on intramfs images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:21 +00:00
florian
d8be9cda89
[kernel] add missing configuration symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-17 20:21:49 +00:00
acoul
27b61d4598
generic-2.6: sync patches to 2.6.33.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 08:15:47 +00:00
florian
e8f6f13bcf
[kernel] also fix invalid hunks in 2.6.33 patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:21:47 +00:00
florian
30932c53d3
[uml] add 2.6.34 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:20:45 +00:00
florian
6b4ad6d718
[kernel] fix invalid hunks in 060-block2mtd_init.patch file
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:20:40 +00:00
florian
cbc1514dc5
[kernel] export rescan_partitions to prevent linking failures in block2mtd ( #6741 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 16:21:33 +00:00
juhosg
55e65f5a88
kernel: refresh lzo patch for 2.6.33
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 13:22:46 +00:00
florian
cc7e88fe96
[kernel] fix the building of the lzo decompressor on some architectures
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 14:24:12 +00:00
nico
edf26e5c98
remove CONFIG_PCI=y missed from [20136] in generic 2.6.30 config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 11:50:45 +00:00
nbd
69bd889a9c
mips: allow the compiler to optimize memset, memcmp, memcpy for better performance and (in some instances) smaller code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:49:01 +00:00
nbd
6a4d281583
ar71xx: fix oprofile support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:57 +00:00
nbd
2c8b7a1910
the mips -ffreestanding patch has been unnecessary for a long time now, remove it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:50 +00:00
acoul
90a9fdc494
generic-2.6: add 2.6.34 preliminary support (patches)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 12:24:17 +00:00
acoul
87bae8124d
generic-2.6: add 2.6.34 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 11:55:34 +00:00
nico
8fe94a14fe
do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 09:50:11 +00:00
nbd
02c404ea21
ar8216: fix the mtu register definition
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:43:16 +00:00
nbd
455e74f063
Several small fixes for ar8216 driver (patch by Jonas Gorski)
...
* Create defines for some magic values/masks.
* Change vlan_id to u16, to allow VIDs > 255.
* Add a range check to set_pvid as it isn't a VID, but the index
in the vlan table.
* Set the max VID to 4094, since 4095 is a reserved value and
should not be used.
* In mangle_rx replace the provided VID with the VID of the table
entry of the port, not the index of the table.
* In hw_apply, remove a redundant emptyness check (was already
checked several lines above).
* In no vlan mode do not set the ingress mode to secure, as there
are no vlan table entries, but to use the port's destination
masks. Otherwise the switch won't forward anything.
* In read_status tell that the phy is up (taken from the rtl8306
driver).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 14:35:41 +00:00
thepeople
960b5ab667
fix missing symbols for kernel 2.6.33, closes #6803 thanks Maddes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 23:10:54 +00:00
thepeople
0a6ed453c3
fix missing symbols for kernel 2.6.32, closes #6802 thanks Maddes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 22:35:24 +00:00
hauke
a7b6796e7d
brcm47xx: add CONFIG_CMDLINE again
...
Fix for r19955
this patch was suggested by tripolar
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-03 20:32:41 +00:00
juhosg
6b1dd0b890
kernel: fix m25p80 patches for 2.6.33
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-03 09:40:20 +00:00
juhosg
c5df2d1d0e
kernel: refresh 2.6.33 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-03 09:40:12 +00:00