juhosg
1a7ad13e99
backfire: generic: rtl8366: move common debugfs code to rtl8366_smi.c (backport of 21981)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:32 +00:00
juhosg
e4c3757c17
backfire: generic: rtl8366: move buf to struct rtl8366_smi (backport of 21980)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:26 +00:00
juhosg
c667963cee
backfire: generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c (backport of 21979)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22025 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:19 +00:00
juhosg
e651d111d7
backfire: generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi (backport of r21978)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:11 +00:00
juhosg
1a9ab8302a
backfire: generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops (backport of r21977)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:08:03 +00:00
juhosg
7cde79a5ed
backfire: generic: rtl8366: use RTL8366{S,RB} prefixes for all defines (backport of 21976)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@22022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 18:07:55 +00:00
juhosg
d11ba9cede
backfire: generic: rtl8366rb: fix MIB counter reset (backport of r21969)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-27 16:50:34 +00:00
juhosg
61406f679a
backfire: generic: rtl8366: rename vlan debugfs file to vlan_mc, and clean up it's format (backport of r21923)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:27 +00:00
juhosg
457682c8ca
backfire: generic: rtl8366: update vlan handling code for rtl8366s (backport of r21922)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:22 +00:00
juhosg
2933caf913
backfire: generic: rtl8366: update vlan handling code of rtl8366rb (backport of r21921)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:17 +00:00
juhosg
600459faa6
backfire: generic: rtl8366: add hw_init to initialize registers after reset (backport of r21920)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:11 +00:00
juhosg
bee4b83a3b
backfire: generic: rtl8366: introduce rtl8366_smi_rmwr function (backport of r21919)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:54:05 +00:00
juhosg
7375c5edf1
backfire: generic: rtl8366s: get some MIB counters from another offset (backport of r21918)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:59 +00:00
juhosg
c173e8c86b
backfire: generic: rtl8366: cleanup MIB counter printing (backport of r21917)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:53 +00:00
juhosg
4620b92a7e
backfire: generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb} (backport of r21916)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:46 +00:00
juhosg
091a81e55c
backfire: generic: rtl8366: add common vlan_4k structure (backport of r21915)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:38 +00:00
juhosg
25db8048e6
backfire: generic: rtl8366: add common vlan_mc structure (backport of r21914)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:31 +00:00
juhosg
a87dd636e0
backfire: generic: rtl8366: rename vlanmc and vlan4k related structures an functions (backport of r21913)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:22 +00:00
juhosg
814c82f218
backfire: generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} calls (backport of r21912)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:14 +00:00
juhosg
a219ae9c95
backfire: generic: rtl8366: move mii bus handling to the rtl8366_smi code (backport of r21911)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:53:05 +00:00
juhosg
1329a26409
backfire: generic: rtl8366: introduce rtl8366_smi_ops (backport of r21910)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:55 +00:00
juhosg
ab13453cab
backfire: generic: rtl8366: change format string for debugfs error messages (backport of r21909)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:45 +00:00
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
ab8c4274e4
backfire: ar71xx: don't use vlan 0 for devices with rtl8366s switch (backport of r21905)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:52:03 +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
jow
413e54ee96
[backfire] merge r21833
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 07:58:32 +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
nbd
c83296630b
orion: add wrt350nv2 mac address fix from r21647
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 14:42:49 +00:00
jow
b8fe848a7d
[backfire] merge r21616
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:33:40 +00:00
hauke
eb2e6ba350
[backfire] backport r21427
...
brcm47xx: ehci-ssb: some updates:
* update pointers in struct hc_driver
* make ssb_ehci_detach more look like the pci version
* remove resume and suspend as they are never activated and not compiling
* replace ssb_ehci_start with ehci_run as it only calls this method
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 23:01:22 +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
nico
0b454c4919
[backfire] merge [21362:21365] & [21369]
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 13:45:38 +00:00
nbd
f9f05264eb
[backfire] merge CRLF changes from r21462
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 00:23:06 +00:00
mirko
3123b1d2a8
merge over commit 21412 ("sound-soc-qi_lb60: rename package as underscores are not allowed by opkg")
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 22:04:49 +00:00
jow
0760831f6a
[backfire] merge r21417
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-10 19:28:09 +00:00
nico
4526458c89
[backfire] backport r21401
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-08 13:04:36 +00:00
nico
47f82141ce
[backfire] merge r21261 & r21262
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 11:22:44 +00:00
nico
d142e71778
[backfire] merge r21305 & r21353
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 02:15:29 +00:00
florian
8d9751d5ba
backport r21349 to backfire
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 07:39:38 +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
nico
d26b6f388c
[backfire] merge r21247
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 10:34:04 +00:00
florian
8438763b7c
backport r21306 to backfire ( #7274 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 06:18:02 +00:00
nico
b0f21b7569
[backfire] merge r21267, r21282, r21291 & r21318
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 01:15:19 +00:00
nico
ee18b13933
[backfire] merge r21243
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 00:17:57 +00:00