juhosg
d2c03b9bff
generic: rtl8366: introduce rtl8366_smi_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:57 +00:00
juhosg
36c0080775
generic: rtl8366: change format string for debugfs error messages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:52 +00:00
juhosg
062819b9cb
generic: rtl8366: don't show link parameters if the link is down
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:48 +00:00
juhosg
d9272169b8
generic: rtl8366: fix register offset and size of MIB counters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:43 +00:00
juhosg
b710df9d9a
generic: rtl8366: prevent modifications of VLAN 0
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:38 +00:00
juhosg
326a9590d1
ar71xx: don't use vlan 0 for devices with rtl8366s switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:32 +00:00
hcg
d04b55e43c
Add script support for Marvell 88W8686 mac80211.
...
This is a hack now, but it works. cfg80211 is very broken
in the current mainline Marvell driver. A new patch set to
address this is in linux-next, I just do not have time
today to address it.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 08:11:54 +00:00
hcg
b5b97a4d56
Use modules for wifi and usb
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 08:08:05 +00:00
acoul
042aac4ae2
ixp4xx: remove 2.6.35 unedded patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 04:37:14 +00:00
acoul
fb2c10f9dc
mpc83xx: add kernel 2.6.35 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 15:07:36 +00:00
acoul
5803cbb537
ixp4xx: add kernel 2.6.35 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:40:36 +00:00
acoul
12c3f05a67
ixp4xx: add Mikael Petterssons patch works
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:38:03 +00:00
acoul
75c6116c1e
ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:36:41 +00:00
acoul
76f501d45f
ixp4xx: add Titan Wireless TW-266-2 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:34:49 +00:00
acoul
77615173de
ixp4xx: add kernel 2.6.33 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:29:41 +00:00
acoul
103e2408d6
ixp4xx: revert kernel support for 2.6.33 & 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:25:07 +00:00
florian
c162408f58
[kernel] add missing CONFIG_PCMCIA_XIRCOM spotted by buildbot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 12:17:46 +00:00
jow
86b9c1df64
[netfilter] package TPROXY target and module infrastructure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 22:39:22 +00:00
hauke
40c0f7f2fc
orion: Missing symbols in 2.6.35-rc2 kernel config for Orion
...
Thank you Maddes for your patch
This closes #7441
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 21:05:29 +00:00
acoul
64b6ac3b3d
ixp4xx: add Mikael Petterssons patch works for 2.6.33 & 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 14:10:55 +00:00
hcg
977f78fc3c
[omap35xx] Add c++ std library to gumstix rte
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 07:07:24 +00:00
hcg
c452aed981
Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-21 11:59:59 +00:00
claudio
0345992639
[kernel] another #ifdef around pci_set_mwi call
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 14:04:45 +00:00
jow
ab22ad7e44
[brcm47xx] change a typo in ath5k profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:46:24 +00:00
jow
203384ef2c
[brcm47xx] deselect wpad-mini in wl profile instead of adding it to all other profiles, slightly change titles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:44:19 +00:00
jow
a4219746fb
[brcm47xx] add a profile using proprietary wl instead of b43
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:32:40 +00:00
claudio
d8e37c68cc
[kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 12:41:22 +00:00
claudio
32adaf616a
[at91] revamp target: add support for netusg20 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 22:12:33 +00:00
juhosg
8119ffe60a
ar71xx: add support for the Senao EAP7660D board
...
This patch adds support for the Senao EAP7660D board to trunk.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
acoul
45e68308a5
ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 11:14:20 +00:00
acoul
6d195f8820
ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 11:09:10 +00:00
jow
2691895741
[orion] fix sysupgrade for the Netgear WNR854T ( #7484 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 07:57:45 +00:00
acoul
16fbdff13f
ixp4xx: fir commit r21825
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 11:41:26 +00:00
juhosg
0802c1eb52
ar71xx: fix RB750 LED configuration
...
Patch-by: Ray Bellis
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 09:24:26 +00:00
acoul
abcf93347e
ixp4xx: (Titan Wireless 2662) check for invalid/null MAC before assigning a random one
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 08:17:17 +00:00
juhosg
78fe3d5e8c
ar71xx: avoid duplicated 'board' parameter in kernel command line
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 20:02:44 +00:00
florian
c69b252f1c
[kernel] reinstate netdev LED trigger dependency against CONFIG_NET
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 19:39:04 +00:00
claudio
f3b6a5b9b9
[kernel] Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 18:01:11 +00:00
nbd
9e5e503702
backport the ssb dma device change to 2.6.30 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 15:47:06 +00:00
acoul
d848344339
ixp4xx: add kernel 2.6.35 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 14:59:37 +00:00
nbd
96465c018c
rename broadcom-wl to broadcom-wl-old
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 11:00:30 +00:00
nbd
878b1f5b6a
brcm47xx: add some exports to be used by the new wl driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 10:03:05 +00:00
jow
ca9480b150
[generic-2.6] add b43 dma_dev fix to 2.6.32 and 2.6.33
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 18:35:23 +00:00
claudio
4f0d403f05
[kernel] Extend the gpio device driver ( #5671 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 13:27:06 +00:00
florian
17984c3bab
[brcm63xx] add missing alice gate2 leds ( #6743 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:53 +00:00
florian
e4eedbb946
[kernel] refresh 2.6.33 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:48 +00:00
florian
62f026d7b7
[kernel] refresh 2.6.32 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:42 +00:00
juhosg
f03c775c62
swconfig: fix lock imbalance in unregister_switch()
...
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:37:35 +00:00
juhosg
b4566a37d1
swconfig: release switch in error path of swconfig_get_attr
...
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:37:32 +00:00
florian
f80794beb2
[orion] rename partition map patch to a better name, since it s wrt350nv2 specific
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:11 +00:00
florian
e481de8f57
[orion] remove now empty samsung flash related patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:06 +00:00
florian
3ed70144c0
[kernel] rename 014-samsung_flash -> 014-samsung_flash.patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:01 +00:00
florian
cd5addd4e0
[kernel] fix samsung flash patch after r21408, thanks to Matthias Buecher ( #7348 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:53:55 +00:00
florian
dc1a5ccf8e
[package] add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:22 +00:00
florian
aa793fc939
[brcm63xx] do not override cfg80211-related config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:16 +00:00
florian
f6f5bd1866
[kernel] refresh 2.6.34 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:09 +00:00
juhosg
d4c3de0bb6
ar71xx: add default network config for the RB433UAH board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:41 +00:00
juhosg
d1b5649e76
ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:39 +00:00
acoul
7fd0d84f87
generic-2.6/patches-2.6.35: fix ocf missing parts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-11 13:49:39 +00:00
acoul
4157f2b35d
rb532: fix a module dependency issue
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 12:33:43 +00:00
acoul
edce9a6007
rb532: add kernel 2.6.35 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 12:32:27 +00:00
acoul
1b1cea5dac
adm5120: add kernel 2.6.35 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 11:21:10 +00:00
juhosg
12827f9964
generic: move more common options to generic configuration
...
* CONFIG_ABX500_CORE
* CONFIG_ATOMIC64_SELFTEST
* CONFIG_BRIDGE_IGMP_SNOOPING
* CONFIG_CAIF
* CONFIG_CEPH_FS
* CONFIG_CRYSTALHD
* CONFIG_DEFAULT_SECURITY_SELINUX
* CONFIG_DEFAULT_SECURITY_SMACK
* CONFIG_DEFAULT_SECURITY_TOMOYO
* CONFIG_DT3155
* CONFIG_IP_MROUTE_MULTIPLE_TABLES
* CONFIG_L2TP
* CONFIG_LOGFS
* CONFIG_LPC_SCH
* CONFIG_MFD_JANZ_CMODIO
* CONFIG_MFD_RDC321X
* CONFIG_N_GSM
* CONFIG_RAMOOPS
* CONFIG_SERIAL_ALTERA_JTAGUART
* CONFIG_SERIAL_ALTERA_UART
* CONFIG_SERIAL_TIMBERDALE
* CONFIG_SM_FTL
* CONFIG_SQUASHFS_XATTRS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:51 +00:00
juhosg
ce88f0a6d2
generic: don't override CONFIG_DEBUG_FS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:42 +00:00
juhosg
c9051b2469
generic: move some common symbols to generic configuration
...
* CONFIG_MUTEX_SPIN_ON_OWNER
* CONFIG_DEFAULT_HYDLA
* CONFIG_DEFAULT_VENO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:14 +00:00
juhosg
c833c06e55
generic: remove trailing whitespaces from kernel configs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:09 +00:00
juhosg
85f5665b15
generic: standardize CONFIG_INLINE_* symbols usage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:41 +00:00
juhosg
7fdc127dda
ar71xx: sync kernel configs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:36 +00:00
juhosg
5e5d01f210
ar71xx: remove more config overrides
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 06:14:19 +00:00
juhosg
2a528006a3
ar71xx: fix phy_mask for the RB450
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:35 +00:00
juhosg
a3860b3a61
ar71xx: don't override CONFIG_BRIDGE_* options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:32 +00:00
juhosg
e8c7c67e98
generic: update xt_layer7 module fix for 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 17:56:42 +00:00
acoul
4593e3555f
generic-2.6: layer7: convert xt_match_param to xt_action_param
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 17:29:25 +00:00
juhosg
7bc14b151f
generic: more missing symbols for 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:43 +00:00
juhosg
bdddd58889
generic: add missing layer7 patches for 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:39 +00:00
juhosg
2531769a1e
ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:36 +00:00
juhosg
e3ad321217
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:34 +00:00
acoul
7a2322730e
generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:14:12 +00:00
acoul
a6f330452b
ar71xx: add kernel 2.6.35 preliminary support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:45:47 +00:00
acoul
631e642ab6
generic-2.6: add (some) missing config symbols for kernel 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:43:59 +00:00
juhosg
b2e86cfb76
generic: rename ip175c driver to ip17xx on 2.6.35 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 07:52:48 +00:00
juhosg
f206537fa5
ar71xx: add default network configuration file for the RB450/RB433 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:23 +00:00
juhosg
ac31bf6447
ar71xx: enable the IP17xx driver for the nand subtarget
...
Also disable the old ICPlus driver.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:20 +00:00
juhosg
9f9bd4b6ee
ar71xx: fix phy_mask on the RB433 for the IP17xx driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:18 +00:00
juhosg
3106e73c42
ip17xx: fix autonegotioation issues
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:14 +00:00
juhosg
4fd38b6534
generic: add aneg_done and update_link functions for the phy_device
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:11 +00:00
juhosg
595d2512d1
ip17xx: Update the copyright message
...
Update the copyright message to reflect my changes.
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/trunk@21725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:08 +00:00
juhosg
c3b78ad426
ip17xx: Rename the driver to ip17xx.c
...
Following the big internal rename, this is the external rename.
Rename the source file to ip17xx.c and adjust Makefile and Kconfig.
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/trunk@21724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:05 +00:00
juhosg
3360def59f
ip17xx: The big rename
...
Recognize that the driver supports many more devices than the ip175c.
The driver itself is now called ip17xx, all generic functions have been
renamed to ip17xx_*. The model-dependent functions have prefixes ip175c_
and ip175d_.
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/trunk@21723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:58 +00:00
juhosg
08171f79fc
ip17xx: Keep all state locally
...
Instead of reading the hardware state every time we want to inspect it or
to modify it, maintain it in struct ip175c_state.
This simplifies the code significantly.
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/trunk@21722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:55 +00:00
juhosg
b105730015
ip17xx: Add support for IP175D
...
Add support for the IP175D chip. Since the register set is vastly different
from the previous models, we cannot not use the register number tables in struct
register_mappings (except for VLAN_DEFAULT_TAG_REG), so we supply a different
set of low-level functions.
Unlike with the previous models, we keep the VLAN setup in our state structure
instead of querying the hardware (it would be much harder in case of IP175D,
because the mapping between hardware and software state is not 1:1). Therefore,
get_flags() and get_state() are no-ops.
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/trunk@21721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:51 +00:00
juhosg
714e378fed
ip17xx: Avoid auto-negotiation
...
Let ip175c_config_init() initialize the link state of the PHY and set the
PHY state machine directly to the PHY_RUNNING state in order to skip the
auto-negotiation phase.
Previously, auto-negotiation on PHY 0 (switch port 0) influenced the ethernet
driver connected to the CPU port, causing all sorts of weird effects.
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/trunk@21720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:47 +00:00
juhosg
b2b1cad62e
ip17xx: New chip detection
...
Clean up get_model() and make it recognize IP175D using yet another
chip ID register. Log the detected model.
Also fix a bug in the interface between the PHY layer and our probe function,
which caused IP175A devices to be ignored.
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/trunk@21719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:42 +00:00
juhosg
27c4924de8
ip17xx: Add VLAN tag field
...
Since IP175D uses tag-based VLANs, we need an ability to set VLAN tag
of every VLAN.
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/trunk@21718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:38 +00:00
juhosg
d46e7c8da5
ip17xx: Maintain state->remove_tag incrementally
...
So far, state->remove_tag was sometimes updated incrementally, sometimes
left to correct_vlan_state() to recalculate. Since I want to avoid use of
correct_vlan_state() for IP175D, this patch fixes the only two remaining
places which leave state->remove_tag inconsistent with state->add_tag
and it drops the recalculation.
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/trunk@21717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:34 +00:00
juhosg
29b4b3c009
ip17xx: Initialize VLAN state upon reset
...
Let VLAN state variables be initialized not only when the enable VLAN bit
is toggled, but also upon reset.
At this point, this should be a no-op, since the driver reads the current
hardware state before doing any modifications anyway, but I plan to keep
some state locally in the subsequent patches.
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/trunk@21716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:30 +00:00
juhosg
f59df48228
ip17xx: Introduce vlan array
...
Replace vlan_ports array in struct ip175c_state by an array of structures.
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/trunk@21715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:25 +00:00
juhosg
398de7c230
ip17xx: Introduce indirection of low-level operations
...
This patch introduces seperation between low-level and high-level parts
of the driver. The low-level functions are now called via pointers stored
in struct ip175c_regs.
The only functional changes are:
o correct_vlan_state() is now called as a part of every update_state().
o The order of setting of MODE_REG and resetting switch ports
has changed. (These are independent actions, so it should not matter.)
o ip175c_set_tagged() sets the tags via update_state() instead of writing
directly to the registers.
o The same for ip175c_set_pvid().
The only gaps in this abstraction are operations on ports (get_port_speed
and friends), which access PHY registers directly.
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/trunk@21714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:20 +00:00
juhosg
0b041db319
ip17xx: Fix use of MODE_VAL
...
The value written to MODE_REG in ip175c_reset() should be obviously MODE_VAL,
not RESET_VAL. Actually, this change is a NOP, because in the only case where
the MODE_REG is used, the two values are identical, but it makes the code
more readable.
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/trunk@21713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:15 +00:00
juhosg
148966bc19
ip17xx: Fix indentation in get_state() and update_state()
...
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/trunk@21712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:10 +00:00