Gabor Juhos
81e9e7916f
generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
...
SVN-Revision: 21978
2010-06-28 17:23:41 +00:00
Gabor Juhos
08942e9a98
generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
...
SVN-Revision: 21977
2010-06-28 17:23:37 +00:00
Gabor Juhos
e8e8554192
generic: rtl8366: use RTL8366{S,RB} prefixes for all defines
...
SVN-Revision: 21976
2010-06-28 17:23:33 +00:00
Gabor Juhos
c4dc96934d
generic: rtl8366rb: fix MIB counter reset
...
SVN-Revision: 21969
2010-06-27 14:37:34 +00:00
Florian Fainelli
f394178e15
reinstate 2.6.30 support until 2.6.32 is fixed
...
SVN-Revision: 21959
2010-06-26 22:18:23 +00:00
Felix Fietkau
da1bb88a2b
rename target/linux/generic-2.6 to generic
...
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00
Felix Fietkau
95c5443b84
remove generic linux 2.4 support
...
SVN-Revision: 21948
2010-06-26 20:42:18 +00:00
Felix Fietkau
cfbefb4b87
remove the brcm-2.4 target, it will no longer be supported in future releases. please use brcm47xx with broadcom-wl instead
...
SVN-Revision: 21946
2010-06-26 20:41:59 +00:00
Felix Fietkau
812f026323
add back the base-files/image code from brcm-2.4 to brcm47xx
...
SVN-Revision: 21945
2010-06-26 20:41:49 +00:00
Felix Fietkau
519b6a2f4c
remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a proper type changing commit)
...
SVN-Revision: 21944
2010-06-26 20:41:40 +00:00
Gabor Juhos
8989c682c4
generic: rtl8366: rename vlan debugfs file to vlan_mc, and clean up it's format
...
SVN-Revision: 21923
2010-06-26 19:16:48 +00:00
Gabor Juhos
f60301e82b
generic: rtl8366: update vlan handling code for rtl8366s
...
SVN-Revision: 21922
2010-06-26 19:16:45 +00:00
Gabor Juhos
d4d8c4d7ea
generic: rtl8366: update vlan handling code of rtl8366rb
...
SVN-Revision: 21921
2010-06-26 19:16:41 +00:00
Gabor Juhos
62f2e8e981
generic: rtl8366: add hw_init to initialize registers after reset
...
SVN-Revision: 21920
2010-06-26 19:16:38 +00:00
Gabor Juhos
91a3323401
generic: rtl8366: introduce rtl8366_smi_rmwr function
...
SVN-Revision: 21919
2010-06-26 19:16:34 +00:00
Gabor Juhos
23e44e1367
generic: rtl8366s: get some MIB counters from another offset
...
SVN-Revision: 21918
2010-06-26 19:16:30 +00:00
Gabor Juhos
e89c10585e
generic: rtl8366: cleanup MIB counter printing
...
SVN-Revision: 21917
2010-06-26 19:16:27 +00:00
Gabor Juhos
0d6fb64ac3
generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb}
...
SVN-Revision: 21916
2010-06-26 19:16:24 +00:00
Gabor Juhos
14688b75b7
generic: rtl8366: add common vlan_4k structure
...
SVN-Revision: 21915
2010-06-26 19:16:20 +00:00
Gabor Juhos
3d9c3067d3
generic: rtl8366: add common vlan_mc structure
...
SVN-Revision: 21914
2010-06-26 19:16:16 +00:00
Gabor Juhos
a6b57e3d3c
generic: rtl8366: rename vlanmc and vlan4k related structures an functions
...
SVN-Revision: 21913
2010-06-26 19:16:12 +00:00
Gabor Juhos
5078264bef
generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} calls
...
SVN-Revision: 21912
2010-06-26 19:16:06 +00:00
Gabor Juhos
47de539b93
generic: rtl8366: move mii bus handling to the rtl8366_smi code
...
SVN-Revision: 21911
2010-06-26 19:16:01 +00:00
Gabor Juhos
dcc8caac45
generic: rtl8366: introduce rtl8366_smi_ops
...
SVN-Revision: 21910
2010-06-26 19:15:57 +00:00
Gabor Juhos
3471627f59
generic: rtl8366: change format string for debugfs error messages
...
SVN-Revision: 21909
2010-06-26 19:15:52 +00:00
Gabor Juhos
e627f76251
generic: rtl8366: don't show link parameters if the link is down
...
SVN-Revision: 21908
2010-06-26 19:15:48 +00:00
Gabor Juhos
0aa0d49169
generic: rtl8366: fix register offset and size of MIB counters
...
SVN-Revision: 21907
2010-06-26 19:15:43 +00:00
Gabor Juhos
8742057763
generic: rtl8366: prevent modifications of VLAN 0
...
SVN-Revision: 21906
2010-06-26 19:15:38 +00:00
Gabor Juhos
e827a12c48
ar71xx: don't use vlan 0 for devices with rtl8366s switch
...
SVN-Revision: 21905
2010-06-26 19:15:32 +00:00
Hamish Guthrie
2f5a5497be
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.
...
SVN-Revision: 21899
2010-06-25 08:11:54 +00:00
Hamish Guthrie
ca67278b9e
Use modules for wifi and usb
...
SVN-Revision: 21898
2010-06-25 08:08:05 +00:00
Alexandros C. Couloumbis
6bc17e57b0
ixp4xx: remove 2.6.35 unedded patches
...
SVN-Revision: 21897
2010-06-25 04:37:14 +00:00
Alexandros C. Couloumbis
257d87204b
mpc83xx: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21896
2010-06-24 15:07:36 +00:00
Alexandros C. Couloumbis
7381af2207
ixp4xx: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21895
2010-06-24 14:40:36 +00:00
Alexandros C. Couloumbis
7cf04396c5
ixp4xx: add Mikael Petterssons patch works
...
SVN-Revision: 21894
2010-06-24 14:38:03 +00:00
Alexandros C. Couloumbis
93db39b3d3
ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
...
SVN-Revision: 21893
2010-06-24 14:36:41 +00:00
Alexandros C. Couloumbis
3c52f9a53d
ixp4xx: add Titan Wireless TW-266-2 support
...
SVN-Revision: 21892
2010-06-24 14:34:49 +00:00
Alexandros C. Couloumbis
2b66b4735b
ixp4xx: add kernel 2.6.33 preliminary support
...
SVN-Revision: 21891
2010-06-24 14:29:41 +00:00
Alexandros C. Couloumbis
60b4d65953
ixp4xx: revert kernel support for 2.6.33 & 2.6.35
...
SVN-Revision: 21890
2010-06-24 14:25:07 +00:00
Florian Fainelli
6f4c13a017
add missing CONFIG_PCMCIA_XIRCOM spotted by buildbot
...
SVN-Revision: 21889
2010-06-24 12:17:46 +00:00
Jo-Philipp Wich
91468dcf4f
package TPROXY target and module infrastructure
...
SVN-Revision: 21883
2010-06-22 22:39:22 +00:00
Hauke Mehrtens
ded2b77652
orion: Missing symbols in 2.6.35-rc2 kernel config for Orion
...
Thank you Maddes for your patch
This closes #7441
SVN-Revision: 21882
2010-06-22 21:05:29 +00:00
Alexandros C. Couloumbis
f2bf29dcfb
ixp4xx: add Mikael Petterssons patch works for 2.6.33 & 2.6.35
...
SVN-Revision: 21879
2010-06-22 14:10:55 +00:00
Hamish Guthrie
c75dcdd011
Add c++ std library to gumstix rte
...
SVN-Revision: 21870
2010-06-22 07:07:24 +00:00
Hamish Guthrie
4732fe9718
Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
...
SVN-Revision: 21858
2010-06-21 11:59:59 +00:00
Claudio Mignanti
738b30afeb
another #ifdef around pci_set_mwi call
...
SVN-Revision: 21854
2010-06-20 14:04:45 +00:00
Jo-Philipp Wich
5181a82334
change a typo in ath5k profile
...
SVN-Revision: 21853
2010-06-20 13:46:24 +00:00
Jo-Philipp Wich
af1eb7ec46
deselect wpad-mini in wl profile instead of adding it to all other profiles, slightly change titles
...
SVN-Revision: 21852
2010-06-20 13:44:19 +00:00
Jo-Philipp Wich
da6e39e592
add a profile using proprietary wl instead of b43
...
SVN-Revision: 21851
2010-06-20 13:32:40 +00:00
Claudio Mignanti
e80e447944
pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
...
SVN-Revision: 21849
2010-06-20 12:41:22 +00:00
Claudio Mignanti
4bb7ab3057
revamp target: add support for netusg20 board
...
SVN-Revision: 21838
2010-06-18 22:12:33 +00:00
Gabor Juhos
7bff9c0101
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>
SVN-Revision: 21837
2010-06-18 16:22:05 +00:00
Alexandros C. Couloumbis
44e51c530f
ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
...
SVN-Revision: 21836
2010-06-18 11:14:20 +00:00
Alexandros C. Couloumbis
b54213c580
ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35
...
SVN-Revision: 21835
2010-06-18 11:09:10 +00:00
Jo-Philipp Wich
c32b99c0bd
fix sysupgrade for the Netgear WNR854T ( #7484 )
...
SVN-Revision: 21833
2010-06-18 07:57:45 +00:00
Alexandros C. Couloumbis
27e4cb3628
ixp4xx: fir commit r21825
...
SVN-Revision: 21827
2010-06-17 11:41:26 +00:00
Gabor Juhos
518f43efd8
ar71xx: fix RB750 LED configuration
...
Patch-by: Ray Bellis
SVN-Revision: 21826
2010-06-17 09:24:26 +00:00
Alexandros C. Couloumbis
ced9c58145
ixp4xx: (Titan Wireless 2662) check for invalid/null MAC before assigning a random one
...
SVN-Revision: 21825
2010-06-17 08:17:17 +00:00
Gabor Juhos
08c2e29018
ar71xx: avoid duplicated 'board' parameter in kernel command line
...
SVN-Revision: 21805
2010-06-14 20:02:44 +00:00
Florian Fainelli
b7e3430ba5
reinstate netdev LED trigger dependency against CONFIG_NET
...
SVN-Revision: 21804
2010-06-14 19:39:04 +00:00
Claudio Mignanti
46de802c0e
Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment
...
SVN-Revision: 21800
2010-06-14 18:01:11 +00:00
Felix Fietkau
50bf15dd26
backport the ssb dma device change to 2.6.30 as well
...
SVN-Revision: 21798
2010-06-14 15:47:06 +00:00
Alexandros C. Couloumbis
3a270cbf6f
ixp4xx: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21797
2010-06-14 14:59:37 +00:00
Felix Fietkau
b6fb8fd821
rename broadcom-wl to broadcom-wl-old
...
SVN-Revision: 21794
2010-06-14 11:00:30 +00:00
Felix Fietkau
efa4f94436
brcm47xx: add some exports to be used by the new wl driver
...
SVN-Revision: 21793
2010-06-14 10:03:05 +00:00
Jo-Philipp Wich
fb1058d1f9
add b43 dma_dev fix to 2.6.32 and 2.6.33
...
SVN-Revision: 21789
2010-06-13 18:35:23 +00:00
Claudio Mignanti
35ff4c9aa8
Extend the gpio device driver ( #5671 )
...
SVN-Revision: 21787
2010-06-13 13:27:06 +00:00
Florian Fainelli
fb94196462
add missing alice gate2 leds ( #6743 )
...
SVN-Revision: 21785
2010-06-13 12:20:53 +00:00
Florian Fainelli
0c5ef5387f
refresh 2.6.33 patches
...
SVN-Revision: 21784
2010-06-13 12:20:48 +00:00
Florian Fainelli
08450811e3
refresh 2.6.32 patches
...
SVN-Revision: 21783
2010-06-13 12:20:42 +00:00
Gabor Juhos
e8c46b8a2a
swconfig: fix lock imbalance in unregister_switch()
...
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
SVN-Revision: 21780
2010-06-13 11:37:35 +00:00
Gabor Juhos
3165ea7886
swconfig: release switch in error path of swconfig_get_attr
...
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
SVN-Revision: 21779
2010-06-13 11:37:32 +00:00
Florian Fainelli
3c10fdc725
rename partition map patch to a better name, since it s wrt350nv2 specific
...
SVN-Revision: 21778
2010-06-13 09:54:11 +00:00
Florian Fainelli
8338fec757
remove now empty samsung flash related patches
...
SVN-Revision: 21777
2010-06-13 09:54:06 +00:00
Florian Fainelli
10e325d736
rename 014-samsung_flash -> 014-samsung_flash.patch
...
SVN-Revision: 21776
2010-06-13 09:54:01 +00:00
Florian Fainelli
368745c06a
fix samsung flash patch after r21408, thanks to Matthias Buecher ( #7348 )
...
SVN-Revision: 21775
2010-06-13 09:53:55 +00:00
Florian Fainelli
b99922180b
add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
...
SVN-Revision: 21770
2010-06-12 18:10:22 +00:00
Florian Fainelli
145fd381d7
do not override cfg80211-related config symbols
...
SVN-Revision: 21769
2010-06-12 18:10:16 +00:00
Florian Fainelli
61ff8d986d
refresh 2.6.34 patches
...
SVN-Revision: 21768
2010-06-12 18:10:09 +00:00
Gabor Juhos
b86e4e1c6a
ar71xx: add default network config for the RB433UAH board
...
SVN-Revision: 21765
2010-06-12 13:20:41 +00:00
Gabor Juhos
9789f0215a
ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
...
SVN-Revision: 21764
2010-06-12 13:20:39 +00:00
Alexandros C. Couloumbis
7f32c3672e
generic-2.6/patches-2.6.35: fix ocf missing parts
...
SVN-Revision: 21757
2010-06-11 13:49:39 +00:00
Alexandros C. Couloumbis
97904a9d2f
rb532: fix a module dependency issue
...
SVN-Revision: 21755
2010-06-10 12:33:43 +00:00
Alexandros C. Couloumbis
69c4e34f3a
rb532: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21754
2010-06-10 12:32:27 +00:00
Alexandros C. Couloumbis
93993b29e0
adm5120: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21751
2010-06-10 11:21:10 +00:00
Gabor Juhos
9bc1e548a1
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
SVN-Revision: 21750
2010-06-10 10:45:51 +00:00
Gabor Juhos
4128c72275
generic: don't override CONFIG_DEBUG_FS
...
SVN-Revision: 21749
2010-06-10 10:45:42 +00:00
Gabor Juhos
2f328ce488
generic: move some common symbols to generic configuration
...
* CONFIG_MUTEX_SPIN_ON_OWNER
* CONFIG_DEFAULT_HYDLA
* CONFIG_DEFAULT_VENO
SVN-Revision: 21748
2010-06-10 08:58:14 +00:00
Gabor Juhos
57c5fe2e7f
generic: remove trailing whitespaces from kernel configs
...
SVN-Revision: 21747
2010-06-10 08:58:09 +00:00
Gabor Juhos
5cad9d5c73
generic: standardize CONFIG_INLINE_* symbols usage
...
SVN-Revision: 21746
2010-06-10 08:09:41 +00:00
Gabor Juhos
65de4c2102
ar71xx: sync kernel configs
...
SVN-Revision: 21745
2010-06-10 08:09:36 +00:00
Gabor Juhos
f24395618e
ar71xx: remove more config overrides
...
SVN-Revision: 21744
2010-06-10 06:14:19 +00:00
Gabor Juhos
adb0a95df1
ar71xx: fix phy_mask for the RB450
...
SVN-Revision: 21743
2010-06-09 19:48:35 +00:00
Gabor Juhos
f731dbec62
ar71xx: don't override CONFIG_BRIDGE_* options
...
SVN-Revision: 21742
2010-06-09 19:48:32 +00:00
Gabor Juhos
8c6a9eccb7
generic: update xt_layer7 module fix for 2.6.35
...
SVN-Revision: 21741
2010-06-09 17:56:42 +00:00
Alexandros C. Couloumbis
c9f459572e
generic-2.6: layer7: convert xt_match_param to xt_action_param
...
SVN-Revision: 21740
2010-06-09 17:29:25 +00:00
Gabor Juhos
270d8bd6da
generic: more missing symbols for 2.6.35
...
SVN-Revision: 21739
2010-06-09 15:31:43 +00:00
Gabor Juhos
e09af769c6
generic: add missing layer7 patches for 2.6.35
...
SVN-Revision: 21738
2010-06-09 15:31:39 +00:00
Gabor Juhos
dc27a440b2
ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
...
SVN-Revision: 21737
2010-06-09 15:31:36 +00:00
Gabor Juhos
6ce447427c
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
...
SVN-Revision: 21736
2010-06-09 15:31:34 +00:00
Alexandros C. Couloumbis
3e5f4450b5
generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
...
SVN-Revision: 21735
2010-06-09 15:14:12 +00:00
Alexandros C. Couloumbis
d45dc5e820
ar71xx: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21734
2010-06-09 10:45:47 +00:00
Alexandros C. Couloumbis
bef7ceff09
generic-2.6: add (some) missing config symbols for kernel 2.6.35
...
SVN-Revision: 21733
2010-06-09 10:43:59 +00:00
Gabor Juhos
e16d46a350
generic: rename ip175c driver to ip17xx on 2.6.35 as well
...
SVN-Revision: 21732
2010-06-09 07:52:48 +00:00
Gabor Juhos
3045632eb0
ar71xx: add default network configuration file for the RB450/RB433 boards
...
SVN-Revision: 21730
2010-06-08 20:19:23 +00:00
Gabor Juhos
2666ae6f0e
ar71xx: enable the IP17xx driver for the nand subtarget
...
Also disable the old ICPlus driver.
SVN-Revision: 21729
2010-06-08 20:19:20 +00:00
Gabor Juhos
d55ebf3a8a
ar71xx: fix phy_mask on the RB433 for the IP17xx driver
...
SVN-Revision: 21728
2010-06-08 20:19:18 +00:00
Gabor Juhos
464d384762
ip17xx: fix autonegotioation issues
...
SVN-Revision: 21727
2010-06-08 20:19:14 +00:00
Gabor Juhos
94c6afe09d
generic: add aneg_done and update_link functions for the phy_device
...
SVN-Revision: 21726
2010-06-08 20:19:11 +00:00
Gabor Juhos
0cc840f158
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>
SVN-Revision: 21725
2010-06-08 20:19:08 +00:00
Gabor Juhos
b650fecb7d
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>
SVN-Revision: 21724
2010-06-08 20:19:05 +00:00
Gabor Juhos
0b84c5a1c1
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>
SVN-Revision: 21723
2010-06-08 20:18:58 +00:00
Gabor Juhos
2ccaef4f4a
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>
SVN-Revision: 21722
2010-06-08 20:18:55 +00:00
Gabor Juhos
4511da99b9
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>
SVN-Revision: 21721
2010-06-08 20:18:51 +00:00
Gabor Juhos
d48ba78aa4
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>
SVN-Revision: 21720
2010-06-08 20:18:47 +00:00
Gabor Juhos
a7301c57a4
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>
SVN-Revision: 21719
2010-06-08 20:18:42 +00:00
Gabor Juhos
d577cfa397
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>
SVN-Revision: 21718
2010-06-08 20:18:38 +00:00
Gabor Juhos
d08093b8b3
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>
SVN-Revision: 21717
2010-06-08 20:18:34 +00:00
Gabor Juhos
e04dd645f2
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>
SVN-Revision: 21716
2010-06-08 20:18:30 +00:00
Gabor Juhos
3c213b14ed
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>
SVN-Revision: 21715
2010-06-08 20:18:25 +00:00
Gabor Juhos
065bc60f37
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>
SVN-Revision: 21714
2010-06-08 20:18:20 +00:00
Gabor Juhos
09be47cf90
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>
SVN-Revision: 21713
2010-06-08 20:18:15 +00:00
Gabor Juhos
f09e3fb65b
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>
SVN-Revision: 21712
2010-06-08 20:18:10 +00:00
Gabor Juhos
7b5a77fa39
ip17xx: Fixed error handling in ip175c_set_val()
...
Upon error, ip175c_set_val() returned 0 instead of -EINVAL.
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21711
2010-06-08 20:18:05 +00:00
Gabor Juhos
b3073617a5
ip17xx: Cosmetic cleanups
...
Trying to unify capitalization and formatting of comments. Writing of periods
at the end of comments is however still inconsistent.
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21710
2010-06-08 20:18:00 +00:00
Gabor Juhos
f96f1cd16f
ip17xx: Consolidate operations with PHY registers
...
Call mdiobus_{read,write} instead of duplicating their code.
Introduce ip_phy_write_masked(), which changes a part of a register. Will
be used later in this patch series. Please note that it does not hold any
lock between reading and writing, so it is up to the caller to serialize.
Also add DUMP_MII_IO, which enables logging of all MII accesses.
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21709
2010-06-08 20:17:55 +00:00
Gabor Juhos
c0c0a60718
swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED
...
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>
SVN-Revision: 21708
2010-06-08 20:17:03 +00:00
Alexandros C. Couloumbis
cfa9a1f6d6
brcm47xx: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21707
2010-06-08 16:58:06 +00:00
Alexandros C. Couloumbis
ce6b70119c
generic-2.6: fix mini_fo 2.6.35 kernel issue
...
SVN-Revision: 21706
2010-06-08 16:44:42 +00:00
Alexandros C. Couloumbis
7414d7d943
fix a typo on commit r21704
...
SVN-Revision: 21705
2010-06-08 16:19:34 +00:00
Alexandros C. Couloumbis
7e2b5d177b
generic-2.6: generic: add missing config symbols for 2.6.35
...
SVN-Revision: 21704
2010-06-08 16:13:37 +00:00
Alexandros C. Couloumbis
d7dc747324
atheros: add kernel 2.6.35 preliminary support
...
SVN-Revision: 21703
2010-06-08 15:01:35 +00:00
Gabor Juhos
9f196d5223
generic: add missing config symbol for 2.6.34
...
SVN-Revision: 21699
2010-06-07 09:18:18 +00:00
Gabor Juhos
90e2b1ad6b
ar71xx: fix 2.6.34 build errors
...
SVN-Revision: 21698
2010-06-07 09:18:13 +00:00
Gabor Juhos
84f6a9c5a1
ar71xx: add missing 2.6.34 config symbol
...
SVN-Revision: 21697
2010-06-07 09:17:34 +00:00
Alexandros C. Couloumbis
4503e77b0d
generic-2.6: add kernel 2.6.35 preliminary support (patches)
...
SVN-Revision: 21696
2010-06-07 05:56:49 +00:00
Alexandros C. Couloumbis
1428b8f9bc
refresh kernel patches
...
SVN-Revision: 21694
2010-06-06 21:16:31 +00:00
Florian Fainelli
0499ba96eb
generate NA and non-NA images for Titan platforms
...
SVN-Revision: 21692
2010-06-06 19:17:01 +00:00
Florian Fainelli
2210c5274a
add Titan MTD partitionning support ( #6632 )
...
SVN-Revision: 21691
2010-06-06 19:16:55 +00:00
Florian Fainelli
a289ee48ca
titan board also have CYWL as a product id
...
SVN-Revision: 21690
2010-06-06 19:16:49 +00:00
Florian Fainelli
ac23dcfe11
do not override kmod-usb-storage-extras Kconfig symbols ( #7285 )
...
SVN-Revision: 21688
2010-06-06 19:02:30 +00:00
Gabor Juhos
e897618fe1
ar71xx: build firmware images if Minimal profile is selected
...
SVN-Revision: 21684
2010-06-06 17:41:39 +00:00
Gabor Juhos
f0ec6c9529
ar71xx: rename Minimal profile
...
SVN-Revision: 21683
2010-06-06 17:41:34 +00:00
Hauke Mehrtens
35031a5daf
orion: Update Orion in trunk to kernel 2.6.34.
...
Was flashed on WRT350Nv2, booted and is running for several days.
Closes #7405
Thank you maddes for your patch.
SVN-Revision: 21682
2010-06-06 10:51:52 +00:00
Gabor Juhos
b730849966
generic: update mips multimachine patch
...
SVN-Revision: 21681
2010-06-05 18:26:45 +00:00
Gabor Juhos
ac8b72c8c9
adm5120: convert to use the new mips multimachine stuff
...
SVN-Revision: 21680
2010-06-05 18:26:40 +00:00
Felix Fietkau
b61dce0a9b
ar71xx: clarify the nand subtarget a bit
...
SVN-Revision: 21679
2010-06-05 11:55:49 +00:00
Gabor Juhos
2dfcdb9465
generic: merge mips multi machine update to generic patches for 2.6.34
...
SVN-Revision: 21675
2010-06-04 19:09:52 +00:00
Gabor Juhos
35765bfcf8
generic: merge mips multi machine update to generic patches for 2.6.33
...
SVN-Revision: 21674
2010-06-04 19:09:49 +00:00
Gabor Juhos
383bd396fa
generic: merge mips multi machine update to generic patches for 2.6.32
...
SVN-Revision: 21673
2010-06-04 19:09:46 +00:00