openwrt/staging/mans0n.git
14 years agomac80211: fix compile error (#6538)
Claudio Mignanti [Sun, 20 Jun 2010 13:05:55 +0000 (13:05 +0000)]
mac80211: fix compile error (#6538)

SVN-Revision: 21850

14 years agopci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
Claudio Mignanti [Sun, 20 Jun 2010 12:41:22 +0000 (12:41 +0000)]
pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI

SVN-Revision: 21849

14 years agoremove whitespaces in imagetag tool
Florian Fainelli [Sun, 20 Jun 2010 11:58:40 +0000 (11:58 +0000)]
remove whitespaces in imagetag tool

SVN-Revision: 21848

14 years agofix syntax error
Mirko Vogt [Sun, 20 Jun 2010 00:24:10 +0000 (00:24 +0000)]
fix syntax error

SVN-Revision: 21843

14 years agomake sure directory exists before copying into
Mirko Vogt [Sat, 19 Jun 2010 23:48:45 +0000 (23:48 +0000)]
make sure directory exists before copying into

SVN-Revision: 21842

14 years agorevamp target: add support for netusg20 board
Claudio Mignanti [Fri, 18 Jun 2010 22:12:33 +0000 (22:12 +0000)]
revamp target: add support for netusg20 board

SVN-Revision: 21838

14 years agoar71xx: add support for the Senao EAP7660D board
Gabor Juhos [Fri, 18 Jun 2010 16:22:05 +0000 (16:22 +0000)]
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

14 years agoixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank...
Alexandros C. Couloumbis [Fri, 18 Jun 2010 11:14:20 +0000 (11:14 +0000)]
ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)

SVN-Revision: 21836

14 years agoixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35
Alexandros C. Couloumbis [Fri, 18 Jun 2010 11:09:10 +0000 (11:09 +0000)]
ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35

SVN-Revision: 21835

14 years agofix sysupgrade for the Netgear WNR854T (#7484)
Jo-Philipp Wich [Fri, 18 Jun 2010 07:57:45 +0000 (07:57 +0000)]
fix sysupgrade for the Netgear WNR854T (#7484)

SVN-Revision: 21833

14 years agocompile fixes for kernel 2.6.34
Hauke Mehrtens [Thu, 17 Jun 2010 19:29:57 +0000 (19:29 +0000)]
compile fixes for kernel 2.6.34

SVN-Revision: 21829

14 years agoixp4xx: fir commit r21825
Alexandros C. Couloumbis [Thu, 17 Jun 2010 11:41:26 +0000 (11:41 +0000)]
ixp4xx: fir commit r21825

SVN-Revision: 21827

14 years agoar71xx: fix RB750 LED configuration
Gabor Juhos [Thu, 17 Jun 2010 09:24:26 +0000 (09:24 +0000)]
ar71xx: fix RB750 LED configuration

Patch-by: Ray Bellis
SVN-Revision: 21826

14 years agoixp4xx: (Titan Wireless 2662) check for invalid/null MAC before assigning a random one
Alexandros C. Couloumbis [Thu, 17 Jun 2010 08:17:17 +0000 (08:17 +0000)]
ixp4xx: (Titan Wireless 2662) check for invalid/null MAC before assigning a random one

SVN-Revision: 21825

14 years agomtd: request locked pages when mmap'ing the FIS table, cures random segfaults in...
Jo-Philipp Wich [Wed, 16 Jun 2010 23:34:38 +0000 (23:34 +0000)]
mtd: request locked pages when mmap'ing the FIS table, cures random segfaults in table rewrite until git./?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=2d4dc890b5c8fabd818a8586607e6843c4375e62 is added.

SVN-Revision: 21823

14 years agohostapd: forgot the actual change in previous commit
Jo-Philipp Wich [Wed, 16 Jun 2010 20:28:11 +0000 (20:28 +0000)]
hostapd: forgot the actual change in previous commit

SVN-Revision: 21821

14 years agohostapd: properly read eap_type from configuration when setting up wpa-supplicant...
Jo-Philipp Wich [Wed, 16 Jun 2010 20:24:09 +0000 (20:24 +0000)]
hostapd: properly read eap_type from configuration when setting up wpa-supplicant, fixes WPA Enterprise in client mode (#7476)

SVN-Revision: 21820

14 years agofix typo in broadcom-wl
Florian Fainelli [Wed, 16 Jun 2010 19:49:04 +0000 (19:49 +0000)]
fix typo in broadcom-wl

SVN-Revision: 21819

14 years agopackage/busybox: update to 1.16.2 (bug fix release)
Nicolas Thill [Wed, 16 Jun 2010 13:24:11 +0000 (13:24 +0000)]
package/busybox: update to 1.16.2 (bug fix release)

SVN-Revision: 21813

14 years agoAdd a new kernel-version independent broadcom binary driver for brcm47xx (contributed...
Felix Fietkau [Tue, 15 Jun 2010 11:40:05 +0000 (11:40 +0000)]
Add a new kernel-version independent broadcom binary driver for brcm47xx (contributed by NewMedia-NET) This will allow us to get rid of brcm-2.4 soon. [ ... and there was much rejoicing ]

SVN-Revision: 21809

14 years agoRevert r21806 there are no users of it yet
Florian Fainelli [Mon, 14 Jun 2010 21:49:03 +0000 (21:49 +0000)]
Revert r21806 there are no users of it yet

SVN-Revision: 21808

14 years agoadd package for script from util-linux-ng (#7416)
Florian Fainelli [Mon, 14 Jun 2010 21:48:57 +0000 (21:48 +0000)]
add package for script from util-linux-ng (#7416)

SVN-Revision: 21807

14 years agoadd hcsmakeimage, for cable modems/routers based on bcm33xx
Florian Fainelli [Mon, 14 Jun 2010 21:47:21 +0000 (21:47 +0000)]
add hcsmakeimage, for cable modems/routers based on bcm33xx

SVN-Revision: 21806

14 years agoar71xx: avoid duplicated 'board' parameter in kernel command line
Gabor Juhos [Mon, 14 Jun 2010 20:02:44 +0000 (20:02 +0000)]
ar71xx: avoid duplicated 'board' parameter in kernel command line

SVN-Revision: 21805

14 years agoreinstate netdev LED trigger dependency against CONFIG_NET
Florian Fainelli [Mon, 14 Jun 2010 19:39:04 +0000 (19:39 +0000)]
reinstate netdev LED trigger dependency against CONFIG_NET

SVN-Revision: 21804

14 years agomac80211: fix compile on systems that do not have /bin/true
Felix Fietkau [Mon, 14 Jun 2010 18:34:24 +0000 (18:34 +0000)]
mac80211: fix compile on systems that do not have /bin/true

SVN-Revision: 21801

14 years agoAdd the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger...
Claudio Mignanti [Mon, 14 Jun 2010 18:01:11 +0000 (18:01 +0000)]
Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment

SVN-Revision: 21800

14 years agoiptables: - supress detection of libnfnetlink and force configure to not use it ...
Jo-Philipp Wich [Mon, 14 Jun 2010 17:26:39 +0000 (17:26 +0000)]
iptables: - supress detection of libnfnetlink and force configure to not use it - fix staging install of libxtables, libiptc and libipq libraries

SVN-Revision: 21799

14 years agobackport the ssb dma device change to 2.6.30 as well
Felix Fietkau [Mon, 14 Jun 2010 15:47:06 +0000 (15:47 +0000)]
backport the ssb dma device change to 2.6.30 as well

SVN-Revision: 21798

14 years agoixp4xx: add kernel 2.6.35 preliminary support
Alexandros C. Couloumbis [Mon, 14 Jun 2010 14:59:37 +0000 (14:59 +0000)]
ixp4xx: add kernel 2.6.35 preliminary support

SVN-Revision: 21797

14 years agoinclude/netfilter.mk fix typo on r21795
Alexandros C. Couloumbis [Mon, 14 Jun 2010 14:51:51 +0000 (14:51 +0000)]
include/netfilter.mk fix typo on r21795

SVN-Revision: 21796

14 years agoinclude/netfilter.mk: add 2.6.35 kernel support
Alexandros C. Couloumbis [Mon, 14 Jun 2010 14:44:27 +0000 (14:44 +0000)]
include/netfilter.mk: add 2.6.35 kernel support

SVN-Revision: 21795

14 years agorename broadcom-wl to broadcom-wl-old
Felix Fietkau [Mon, 14 Jun 2010 11:00:30 +0000 (11:00 +0000)]
rename broadcom-wl to broadcom-wl-old

SVN-Revision: 21794

14 years agobrcm47xx: add some exports to be used by the new wl driver
Felix Fietkau [Mon, 14 Jun 2010 10:03:05 +0000 (10:03 +0000)]
brcm47xx: add some exports to be used by the new wl driver

SVN-Revision: 21793

14 years agomac80211: rename dma_set_coherent_mask() patch to 170-dma_set_coherent_mask.patch
Jo-Philipp Wich [Sun, 13 Jun 2010 20:07:37 +0000 (20:07 +0000)]
mac80211: rename dma_set_coherent_mask() patch to 170-dma_set_coherent_mask.patch

SVN-Revision: 21791

14 years agomac80211: fix build of b43
Hauke Mehrtens [Sun, 13 Jun 2010 19:53:19 +0000 (19:53 +0000)]
mac80211: fix build of b43

SVN-Revision: 21790

14 years agoadd b43 dma_dev fix to 2.6.32 and 2.6.33
Jo-Philipp Wich [Sun, 13 Jun 2010 18:35:23 +0000 (18:35 +0000)]
add b43 dma_dev fix to 2.6.32 and 2.6.33

SVN-Revision: 21789

14 years agomadwifi: rename incorrectly named patch file (#7459)
Jo-Philipp Wich [Sun, 13 Jun 2010 18:11:05 +0000 (18:11 +0000)]
madwifi: rename incorrectly named patch file (#7459)

SVN-Revision: 21788

14 years agoExtend the gpio device driver (#5671)
Claudio Mignanti [Sun, 13 Jun 2010 13:27:06 +0000 (13:27 +0000)]
Extend the gpio device driver (#5671)

SVN-Revision: 21787

14 years agoadd missing alice gate2 leds (#6743)
Florian Fainelli [Sun, 13 Jun 2010 12:20:53 +0000 (12:20 +0000)]
add missing alice gate2 leds (#6743)

SVN-Revision: 21785

14 years agorefresh 2.6.33 patches
Florian Fainelli [Sun, 13 Jun 2010 12:20:48 +0000 (12:20 +0000)]
refresh 2.6.33 patches

SVN-Revision: 21784

14 years agorefresh 2.6.32 patches
Florian Fainelli [Sun, 13 Jun 2010 12:20:42 +0000 (12:20 +0000)]
refresh 2.6.32 patches

SVN-Revision: 21783

14 years agoswconfig: fix lock imbalance in unregister_switch()
Gabor Juhos [Sun, 13 Jun 2010 11:37:35 +0000 (11:37 +0000)]
swconfig: fix lock imbalance in unregister_switch()

Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
SVN-Revision: 21780

14 years agoswconfig: release switch in error path of swconfig_get_attr
Gabor Juhos [Sun, 13 Jun 2010 11:37:32 +0000 (11:37 +0000)]
swconfig: release switch in error path of swconfig_get_attr

Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>
SVN-Revision: 21779

14 years agorename partition map patch to a better name, since it s wrt350nv2 specific
Florian Fainelli [Sun, 13 Jun 2010 09:54:11 +0000 (09:54 +0000)]
rename partition map patch to a better name, since it s wrt350nv2 specific

SVN-Revision: 21778

14 years agoremove now empty samsung flash related patches
Florian Fainelli [Sun, 13 Jun 2010 09:54:06 +0000 (09:54 +0000)]
remove now empty samsung flash related patches

SVN-Revision: 21777

14 years agorename 014-samsung_flash -> 014-samsung_flash.patch
Florian Fainelli [Sun, 13 Jun 2010 09:54:01 +0000 (09:54 +0000)]
rename 014-samsung_flash -> 014-samsung_flash.patch

SVN-Revision: 21776

14 years agofix samsung flash patch after r21408, thanks to Matthias Buecher (#7348)
Florian Fainelli [Sun, 13 Jun 2010 09:53:55 +0000 (09:53 +0000)]
fix samsung flash patch after r21408, thanks to Matthias Buecher (#7348)

SVN-Revision: 21775

14 years agoadd kmod-gpio-nxp-74hc164 for brcm63xx only
Florian Fainelli [Sat, 12 Jun 2010 18:10:28 +0000 (18:10 +0000)]
add kmod-gpio-nxp-74hc164 for brcm63xx only

SVN-Revision: 21771

14 years agoadd missing dma_dev member to struct ssb_device to make b43/b43legacy compile with...
Florian Fainelli [Sat, 12 Jun 2010 18:10:22 +0000 (18:10 +0000)]
add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version

SVN-Revision: 21770

14 years agodo not override cfg80211-related config symbols
Florian Fainelli [Sat, 12 Jun 2010 18:10:16 +0000 (18:10 +0000)]
do not override cfg80211-related config symbols

SVN-Revision: 21769

14 years agorefresh 2.6.34 patches
Florian Fainelli [Sat, 12 Jun 2010 18:10:09 +0000 (18:10 +0000)]
refresh 2.6.34 patches

SVN-Revision: 21768

14 years agofix mktitanimg segfault on 64-bits hosts (#7443)
Florian Fainelli [Sat, 12 Jun 2010 18:10:01 +0000 (18:10 +0000)]
fix mktitanimg segfault on 64-bits hosts (#7443)

SVN-Revision: 21767

14 years agobase-files: enable IPv6 forwarding by default since the default firewall supports...
Jo-Philipp Wich [Sat, 12 Jun 2010 16:59:12 +0000 (16:59 +0000)]
base-files: enable IPv6 forwarding by default since the default firewall supports ip6tables now

SVN-Revision: 21766

14 years agoar71xx: add default network config for the RB433UAH board
Gabor Juhos [Sat, 12 Jun 2010 13:20:41 +0000 (13:20 +0000)]
ar71xx: add default network config for the RB433UAH board

SVN-Revision: 21765

14 years agoar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
Gabor Juhos [Sat, 12 Jun 2010 13:20:39 +0000 (13:20 +0000)]
ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype

SVN-Revision: 21764

14 years agouhttpd: - fix incorrect parsing of multiple listen options (#7458) - support PEM...
Jo-Philipp Wich [Sat, 12 Jun 2010 12:58:11 +0000 (12:58 +0000)]
uhttpd: - fix incorrect parsing of multiple listen options (#7458) - support PEM certificates for SSL

SVN-Revision: 21762

14 years agopackage/kernel: fix missing parenthesis on r21758
Alexandros C. Couloumbis [Fri, 11 Jun 2010 15:46:19 +0000 (15:46 +0000)]
package/kernel: fix missing parenthesis on r21758

SVN-Revision: 21759

14 years agopackage/kernel: fix dependency modules
Alexandros C. Couloumbis [Fri, 11 Jun 2010 15:04:04 +0000 (15:04 +0000)]
package/kernel: fix dependency modules

SVN-Revision: 21758

14 years agogeneric-2.6/patches-2.6.35: fix ocf missing parts
Alexandros C. Couloumbis [Fri, 11 Jun 2010 13:49:39 +0000 (13:49 +0000)]
generic-2.6/patches-2.6.35: fix ocf missing parts

SVN-Revision: 21757

14 years agomac80211: update to 2010-06-10, add pending work with stability and throughput fixes...
Felix Fietkau [Thu, 10 Jun 2010 23:12:10 +0000 (23:12 +0000)]
mac80211: update to 2010-06-10, add pending work with stability and throughput fixes for ath9k

SVN-Revision: 21756

14 years agorb532: fix a module dependency issue
Alexandros C. Couloumbis [Thu, 10 Jun 2010 12:33:43 +0000 (12:33 +0000)]
rb532: fix a module dependency issue

SVN-Revision: 21755

14 years agorb532: add kernel 2.6.35 preliminary support
Alexandros C. Couloumbis [Thu, 10 Jun 2010 12:32:27 +0000 (12:32 +0000)]
rb532: add kernel 2.6.35 preliminary support

SVN-Revision: 21754

14 years agopackage: update to iptables-1.4.8
Alexandros C. Couloumbis [Thu, 10 Jun 2010 11:46:07 +0000 (11:46 +0000)]
package: update to iptables-1.4.8

SVN-Revision: 21752

14 years agoadm5120: add kernel 2.6.35 preliminary support
Alexandros C. Couloumbis [Thu, 10 Jun 2010 11:21:10 +0000 (11:21 +0000)]
adm5120: add kernel 2.6.35 preliminary support

SVN-Revision: 21751

14 years agogeneric: move more common options to generic configuration
Gabor Juhos [Thu, 10 Jun 2010 10:45:51 +0000 (10:45 +0000)]
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

14 years agogeneric: don't override CONFIG_DEBUG_FS
Gabor Juhos [Thu, 10 Jun 2010 10:45:42 +0000 (10:45 +0000)]
generic: don't override CONFIG_DEBUG_FS

SVN-Revision: 21749

14 years agogeneric: move some common symbols to generic configuration
Gabor Juhos [Thu, 10 Jun 2010 08:58:14 +0000 (08:58 +0000)]
generic: move some common symbols to generic configuration

 * CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO

SVN-Revision: 21748

14 years agogeneric: remove trailing whitespaces from kernel configs
Gabor Juhos [Thu, 10 Jun 2010 08:58:09 +0000 (08:58 +0000)]
generic: remove trailing whitespaces from kernel configs

SVN-Revision: 21747

14 years agogeneric: standardize CONFIG_INLINE_* symbols usage
Gabor Juhos [Thu, 10 Jun 2010 08:09:41 +0000 (08:09 +0000)]
generic: standardize CONFIG_INLINE_* symbols usage

SVN-Revision: 21746

14 years agoar71xx: sync kernel configs
Gabor Juhos [Thu, 10 Jun 2010 08:09:36 +0000 (08:09 +0000)]
ar71xx: sync kernel configs

SVN-Revision: 21745

14 years agoar71xx: remove more config overrides
Gabor Juhos [Thu, 10 Jun 2010 06:14:19 +0000 (06:14 +0000)]
ar71xx: remove more config overrides

SVN-Revision: 21744

14 years agoar71xx: fix phy_mask for the RB450
Gabor Juhos [Wed, 9 Jun 2010 19:48:35 +0000 (19:48 +0000)]
ar71xx: fix phy_mask for the RB450

SVN-Revision: 21743

14 years agoar71xx: don't override CONFIG_BRIDGE_* options
Gabor Juhos [Wed, 9 Jun 2010 19:48:32 +0000 (19:48 +0000)]
ar71xx: don't override CONFIG_BRIDGE_* options

SVN-Revision: 21742

14 years agogeneric: update xt_layer7 module fix for 2.6.35
Gabor Juhos [Wed, 9 Jun 2010 17:56:42 +0000 (17:56 +0000)]
generic: update xt_layer7 module fix for 2.6.35

SVN-Revision: 21741

14 years agogeneric-2.6: layer7: convert xt_match_param to xt_action_param
Alexandros C. Couloumbis [Wed, 9 Jun 2010 17:29:25 +0000 (17:29 +0000)]
generic-2.6: layer7: convert xt_match_param to xt_action_param

SVN-Revision: 21740

14 years agogeneric: more missing symbols for 2.6.35
Gabor Juhos [Wed, 9 Jun 2010 15:31:43 +0000 (15:31 +0000)]
generic: more missing symbols for 2.6.35

SVN-Revision: 21739

14 years agogeneric: add missing layer7 patches for 2.6.35
Gabor Juhos [Wed, 9 Jun 2010 15:31:39 +0000 (15:31 +0000)]
generic: add missing layer7 patches for 2.6.35

SVN-Revision: 21738

14 years agoar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
Gabor Juhos [Wed, 9 Jun 2010 15:31:36 +0000 (15:31 +0000)]
ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35

SVN-Revision: 21737

14 years agoar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
Gabor Juhos [Wed, 9 Jun 2010 15:31:34 +0000 (15:31 +0000)]
ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35

SVN-Revision: 21736

14 years agogeneric-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
Alexandros C. Couloumbis [Wed, 9 Jun 2010 15:14:12 +0000 (15:14 +0000)]
generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch

SVN-Revision: 21735

14 years agoar71xx: add kernel 2.6.35 preliminary support
Alexandros C. Couloumbis [Wed, 9 Jun 2010 10:45:47 +0000 (10:45 +0000)]
ar71xx: add kernel 2.6.35 preliminary support

SVN-Revision: 21734

14 years agogeneric-2.6: add (some) missing config symbols for kernel 2.6.35
Alexandros C. Couloumbis [Wed, 9 Jun 2010 10:43:59 +0000 (10:43 +0000)]
generic-2.6: add (some) missing config symbols for kernel 2.6.35

SVN-Revision: 21733

14 years agogeneric: rename ip175c driver to ip17xx on 2.6.35 as well
Gabor Juhos [Wed, 9 Jun 2010 07:52:48 +0000 (07:52 +0000)]
generic: rename ip175c driver to ip17xx on 2.6.35 as well

SVN-Revision: 21732

14 years agoar71xx: add default network configuration file for the RB450/RB433 boards
Gabor Juhos [Tue, 8 Jun 2010 20:19:23 +0000 (20:19 +0000)]
ar71xx: add default network configuration file for the RB450/RB433 boards

SVN-Revision: 21730

14 years agoar71xx: enable the IP17xx driver for the nand subtarget
Gabor Juhos [Tue, 8 Jun 2010 20:19:20 +0000 (20:19 +0000)]
ar71xx: enable the IP17xx driver for the nand subtarget

Also disable the old ICPlus driver.

SVN-Revision: 21729

14 years agoar71xx: fix phy_mask on the RB433 for the IP17xx driver
Gabor Juhos [Tue, 8 Jun 2010 20:19:18 +0000 (20:19 +0000)]
ar71xx: fix phy_mask on the RB433 for the IP17xx driver

SVN-Revision: 21728

14 years agoip17xx: fix autonegotioation issues
Gabor Juhos [Tue, 8 Jun 2010 20:19:14 +0000 (20:19 +0000)]
ip17xx: fix autonegotioation issues

SVN-Revision: 21727

14 years agogeneric: add aneg_done and update_link functions for the phy_device
Gabor Juhos [Tue, 8 Jun 2010 20:19:11 +0000 (20:19 +0000)]
generic: add aneg_done and update_link functions for the phy_device

SVN-Revision: 21726

14 years agoip17xx: Update the copyright message
Gabor Juhos [Tue, 8 Jun 2010 20:19:08 +0000 (20:19 +0000)]
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

14 years agoip17xx: Rename the driver to ip17xx.c
Gabor Juhos [Tue, 8 Jun 2010 20:19:05 +0000 (20:19 +0000)]
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

14 years agoip17xx: The big rename
Gabor Juhos [Tue, 8 Jun 2010 20:18:58 +0000 (20:18 +0000)]
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

14 years agoip17xx: Keep all state locally
Gabor Juhos [Tue, 8 Jun 2010 20:18:55 +0000 (20:18 +0000)]
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

14 years agoip17xx: Add support for IP175D
Gabor Juhos [Tue, 8 Jun 2010 20:18:51 +0000 (20:18 +0000)]
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

14 years agoip17xx: Avoid auto-negotiation
Gabor Juhos [Tue, 8 Jun 2010 20:18:47 +0000 (20:18 +0000)]
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

14 years agoip17xx: New chip detection
Gabor Juhos [Tue, 8 Jun 2010 20:18:42 +0000 (20:18 +0000)]
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

14 years agoip17xx: Add VLAN tag field
Gabor Juhos [Tue, 8 Jun 2010 20:18:38 +0000 (20:18 +0000)]
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

14 years agoip17xx: Maintain state->remove_tag incrementally
Gabor Juhos [Tue, 8 Jun 2010 20:18:34 +0000 (20:18 +0000)]
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

14 years agoip17xx: Initialize VLAN state upon reset
Gabor Juhos [Tue, 8 Jun 2010 20:18:30 +0000 (20:18 +0000)]
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

14 years agoip17xx: Introduce vlan array
Gabor Juhos [Tue, 8 Jun 2010 20:18:25 +0000 (20:18 +0000)]
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