Gabor Juhos
8a9fe26f20
kernel: update linux 3.8 to 3.8.11
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
0fa71ca3e5
linux/3.9: implement pcibios_get_phb_of_node for MIPS
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36495
2013-04-30 10:44:08 +00:00
Gabor Juhos
41445b41cc
linux/3.8: use backported pcibios_get_phb_of_node patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36494
2013-04-30 10:44:07 +00:00
Gabor Juhos
d35545f3d7
linux/3.{8,9}: add missing symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36491
2013-04-30 10:43:57 +00:00
Gabor Juhos
25c45c0d53
linux/3.{8,9}: turn on CONFIG_NET_SCH_FQ_CODEL
...
It is forced to 'y' since r36342.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36490
2013-04-30 10:43:56 +00:00
Hauke Mehrtens
e7e4afbb64
kernel: fix a memory leak in split_rootfs_data()
...
allocate_partition() copies all the content of dpart into a new struct.
SVN-Revision: 36475
2013-04-28 17:01:56 +00:00
Hauke Mehrtens
1bac172c44
kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing master-2013-04-26.
...
SVN-Revision: 36473
2013-04-28 16:52:11 +00:00
Jonas Gorski
ad1d3f00cb
kernel: update linux 3.9 patches to rc8
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36469
2013-04-28 11:55:23 +00:00
Jonas Gorski
a33dd13c98
kernel: add missing bcma defines and header file for bcrmfmac
...
Fixes build failure when having kmod-mmc and brcmfmac selected.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36468
2013-04-28 11:10:42 +00:00
Gabor Juhos
36d4fd70bc
kernel: update linux 3.8 to 3.8.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
John Crispin
4664e21293
generic: fix rtl8366_smi compile warning
...
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_sw_set_vlan_ports':
drivers/net/phy/rtl8366_smi.c:1125:6: warning: 'pvid' may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36442
2013-04-25 19:03:29 +00:00
Felix Fietkau
a8a01b42ae
kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULL
...
SVN-Revision: 36378
2013-04-22 15:01:36 +00:00
Felix Fietkau
f58dcb59c6
kernel: backport SSB/BCMA changes in preparation for a compat-wireless update
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36367
2013-04-19 12:39:40 +00:00
Gabor Juhos
f03960723a
linux/3.9: add missing config symbol
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36365
2013-04-19 08:07:38 +00:00
Gabor Juhos
e07848664c
linux/3.[89]: update bridge_remove_ipv6_dependency patch
...
Fixes the following warning:
CC [M] net/ipv6/addrconf.o
net/ipv6/addrconf.c: In function 'addrconf_init':
net/ipv6/addrconf.c:4944:2: warning: assignment from incompatible pointer type [enabled by default]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36364
2013-04-19 08:07:37 +00:00
Gabor Juhos
151cadfe32
kernel: update linux 3.8 to 3.8.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Felix Fietkau
a662200205
kernel: force CONFIG_NET_SCHED=y for fq_codel ( #13360 )
...
SVN-Revision: 36342
2013-04-15 20:40:29 +00:00
Imre Kaloz
57b68daee9
refresh against -rc7
...
SVN-Revision: 36340
2013-04-15 16:10:01 +00:00
Gabor Juhos
604395650a
kernel: update linux 3.8 to 3.8.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Gabor Juhos
54635e7f78
linux/3.8: backport 'spi/of: Use DT aliases for assigning bus number' from 3.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36328
2013-04-12 19:44:38 +00:00
John Crispin
10f432ba9d
fix rtl8366s OF binding
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36323
2013-04-12 18:56:05 +00:00
Felix Fietkau
edd8048107
kernel: calibrate the TWD timer even when booting with only one CPU, it is used for the watchdog timer base
...
Fixes booting on single-core CNS3xxx devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36308
2013-04-10 16:07:50 +00:00
Felix Fietkau
06733c2650
kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36307
2013-04-10 13:45:12 +00:00
Felix Fietkau
7fa2957103
kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fast
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36304
2013-04-10 13:11:29 +00:00
Felix Fietkau
df3d4690bd
kernel: keep dropped stats in fq_codel
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36303
2013-04-10 13:11:25 +00:00
Felix Fietkau
ec3a8846fc
kernel: tune fq_codel defaults for common netdevice speeds
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36302
2013-04-10 13:11:21 +00:00
Felix Fietkau
307965026a
kernel: add patches by Dave Täht to reduce buffer size in longer queues to reduce memory pressure
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36301
2013-04-10 13:11:16 +00:00
Florian Fainelli
915969ff2c
kernel: refresh patches against 3.9-rc6
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36297
2013-04-09 16:16:20 +00:00
Florian Fainelli
c3366cd164
kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c
...
Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones.
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36296
2013-04-09 16:16:16 +00:00
Florian Fainelli
518d6a9273
kernel: backport switch user API changes after r36283
...
3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36295
2013-04-09 15:47:01 +00:00
John Crispin
fb47fd0d6b
unbreak portmapping - typo fix
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36293
2013-04-09 14:39:01 +00:00
John Crispin
fff58a5801
allow loading port maps from OF
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36283
2013-04-09 14:19:09 +00:00
Gabor Juhos
d45ef216e6
linux/3.8: implement pcibios_get_phb_of_node for MIPS
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36233
2013-04-06 17:33:03 +00:00
Gabor Juhos
51fa28e2c2
linux/3.8: backport devm_ioremap_resource from 3.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36232
2013-04-06 17:33:00 +00:00
Gabor Juhos
747b795b56
generic: rtl8367: add compatible string with vendor prefix
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36230
2013-04-06 17:19:31 +00:00
Gabor Juhos
f5d8d80ca9
generic: rtl8367b: fix rtl8367b_extif_init_of
...
* disable external interface if its property is not present
* show an error message if the extif property is not valid
* use proper error values intead of -1
* fix memory leak
* wrap long lines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36229
2013-04-06 17:03:09 +00:00
Gabor Juhos
32d3b456f0
linux/3.8: add more missing symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36228
2013-04-06 16:56:47 +00:00
Gabor Juhos
89539462a8
linux/3.8: add missing symbol
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36226
2013-04-06 16:38:36 +00:00
Gabor Juhos
38bd9b4337
generic: rtl8367: allow to load extif config from OF
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36220
2013-04-06 12:37:36 +00:00
Gabor Juhos
585d19d168
generic: rtl8367: fix a typo in MODULE_DEVICE_TABLE macro
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36219
2013-04-06 12:37:34 +00:00
Gabor Juhos
68c931c637
generic: rtl8367: add vendor prefix to the compatible string
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36218
2013-04-06 12:37:32 +00:00
Gabor Juhos
f78c902cfd
kernel: update linux 3.8 to 3.8.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Gabor Juhos
202fb45deb
refresh kernel configs with kconfig.pl
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36214
2013-04-06 11:40:41 +00:00
John Crispin
c838ec2391
Patch for invoking (pre)init
...
http://patchwork.openwrt.org/patch/3485/
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 36183
2013-04-03 10:00:50 +00:00
John Crispin
1105bd2897
add OF support to rtl8367b driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36159
2013-04-03 09:58:33 +00:00
John Crispin
cc34858d4a
make firmware loading work on v3.9
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36158
2013-04-03 09:58:28 +00:00
Imre Kaloz
c90078ce87
refresh patches against -rc4
...
SVN-Revision: 36127
2013-03-25 13:53:48 +00:00
Imre Kaloz
f26378fd7c
add missing symbols
...
SVN-Revision: 36126
2013-03-25 13:53:17 +00:00
Hauke Mehrtens
bb81e695f9
kernel: add missing config options for au1000 target
...
SVN-Revision: 36115
2013-03-24 14:01:38 +00:00
Hauke Mehrtens
18c47be19a
kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
...
SVN-Revision: 36102
2013-03-21 14:56:04 +00:00
Hauke Mehrtens
4995f23669
kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
...
This was turned from a silent confg option without a text to a normal
config option which could be selected without any other option
depending on this. This could cause the situation where REGMAP_SPI was
selected without SPI_MASTER being selected.
SVN-Revision: 36101
2013-03-21 14:50:59 +00:00
Hauke Mehrtens
c9544f4af0
kernel: add some fixes for kernel 3.9
...
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.
SVN-Revision: 36098
2013-03-20 21:59:24 +00:00
Hauke Mehrtens
99638c5288
kernel: add some missing config options for kernel 3.9
...
SVN-Revision: 36097
2013-03-20 21:53:51 +00:00
Florian Fainelli
b1cc7a90a4
kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection ( #13193 )
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36091
2013-03-19 14:13:39 +00:00
Florian Fainelli
a5551d366a
kernel: refresh 3.9 patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36074
2013-03-17 19:46:32 +00:00
Florian Fainelli
6a7100c760
kernel: set regmap-core module license
...
Fixes the following issues:
[ 7.660000] regmap_core: module license 'unspecified' taints kernel
[ 7.690000] Disabling lock debugging due to kernel
[ 7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0
[ 7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0
[ 7.720000] regmap_core: Unknown symbol devres_add (err 0
[ 7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0
[ 7.750000] regmap_core: Unknown symbol devres_alloc (err 0
[ 7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0
[ 7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0
[ 7.780000] regmap_core: Unknown symbol devres_free (err 0
[ 7.800000] regmap_core: Unknown symbol devres_find (err 0
[ 7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36070
2013-03-17 19:45:48 +00:00
Gabor Juhos
72253b9073
generic: ar8216: start AR8327 switch from the probe routine
...
The AR8327 switch gets its configuration from platform
data or from the device-tree. This allows to start it
from the probe routine. Doing so makes it usable with
ethernet drivers which only connects to the PHY device
when the ethernet interface is opened.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36050
2013-03-15 16:06:28 +00:00
Gabor Juhos
5503686f69
generic: ar8216: add ar8xxx_start helper
...
Move switch starting code into a separate function.
This makes it usable from other places.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36049
2013-03-15 16:06:25 +00:00
Gabor Juhos
7ba6a8d8e8
generic: ar8216: add OF configuration support for AR8327
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36047
2013-03-15 15:50:08 +00:00
Gabor Juhos
ee12b1b7d5
generic: ar8216: separate platform_data based AR8327 code
...
Move platform_data specific configuration code
into a separate routine. Do it in preparation
for the upcoming OF support.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36046
2013-03-15 15:50:05 +00:00
Gabor Juhos
d88f66ae21
generic: ar8216: don't use platform_data in ar8327_init_port
...
Fetch the PORT_STATUS values in ar8327_hw_init and
store those in a private data stucture for later use.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36045
2013-03-15 15:50:02 +00:00
Gabor Juhos
9d3f70d503
generic: ar8216: move the ar8327_get_port_init_status function
...
It will be used in ar8327_probe routine.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36044
2013-03-15 15:50:00 +00:00
Gabor Juhos
17d735fc46
generic: ar8216: simplify and rename ar8327_config_port
...
Return with the PORT_STATUS register value instead of
writing that directly into the corresponding register.
Also rename the function to ar8327_get_port_init_status.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36043
2013-03-15 15:49:57 +00:00
Gabor Juhos
3fee1bddbe
generic: ar8216: remove superfluous pdata checks
...
The presence of the platform data is already verified in
ar8327_hw_init, and the driver does not start without that
anyway.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36042
2013-03-15 15:49:55 +00:00
Gabor Juhos
07532dca7f
kernel: update linux 3.8 to 3.8.3
...
Also refresh the related generic/platform patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
Florian Fainelli
b2e63b8ea8
kernel: add support for 3.9-rc2
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36008
2013-03-14 14:45:56 +00:00
John Crispin
1360067c4a
update the /init file to start /sbin/init
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36002
2013-03-13 18:11:13 +00:00
Hauke Mehrtens
45b24fa771
kernel: add some missing config options found by the buildbot.
...
SVN-Revision: 35945
2013-03-10 20:25:19 +00:00
Felix Fietkau
53e0f10246
kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm
...
SVN-Revision: 35938
2013-03-10 17:04:36 +00:00
Felix Fietkau
2b83c9bd8a
kernel: ensure that the arm exception handlers get preserved
...
SVN-Revision: 35937
2013-03-10 17:04:31 +00:00
Felix Fietkau
f0d7ba33ef
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors
...
SVN-Revision: 35936
2013-03-10 14:51:42 +00:00
Gabor Juhos
15718f5387
linux/3.8: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35931
2013-03-10 13:24:47 +00:00
Felix Fietkau
72af5b4b35
kernel: add a missing config symbol for 3.8
...
SVN-Revision: 35910
2013-03-09 19:04:37 +00:00
Felix Fietkau
85348d602e
kernel: fix mpcore watchdog symbol export
...
SVN-Revision: 35907
2013-03-09 18:51:39 +00:00
Gabor Juhos
26fbc15a86
kernel: update linux 3.8 to 3.8.1
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35862
2013-03-03 13:58:52 +00:00
Gabor Juhos
da79a4c698
linux/3.8: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35861
2013-03-03 13:58:10 +00:00
Gabor Juhos
23b3b3a194
kernel: update linux 3.7 to 3.7.10
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Gabor Juhos
babd5aa2fc
linux/3.8: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35726
2013-02-21 16:52:34 +00:00
Jonas Gorski
3010a0b616
generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLAN
...
Setting this bit stops BCM53125 (bgmac actually) from receiving any
packets. This bit is cleared conditionally in b53_switch_reset and it
seems the same is done in bcmrobo.c which never sets that bit again.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 35723
2013-02-21 11:45:38 +00:00
Jonas Gorski
23e71c56ba
generic: b53: remove empty spaces
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 35722
2013-02-21 11:45:36 +00:00
Gabor Juhos
7d0d29ab6e
linux/3.8: add missing Kconfig symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35686
2013-02-19 20:52:03 +00:00
Gabor Juhos
ed0f43f1e2
kernel: update linux 3.8-rcX to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35672
2013-02-19 09:17:38 +00:00
Gabor Juhos
451dd745bd
generic: ar8216: cleanup function/variable names
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35642
2013-02-17 12:48:25 +00:00
Gabor Juhos
51996304c4
generic: ar8216: rename struct ar8216_priv to ar8xxx_priv
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35641
2013-02-17 12:48:23 +00:00
Hauke Mehrtens
1a8218d6e4
brcm47xx: add initial support for kernel 3.8
...
This contains the following new bigger changes:
* new partition parser which still could lake some features or have bugs
* new nand flash driver
* using physmap-flash flash driver for parallel flash
* some changes to the serial flash driver
With these changes OpenWrt starts using more of the mainline flash drivers.
SVN-Revision: 35632
2013-02-16 20:28:24 +00:00
Jonas Gorski
dd77663fb0
kernel: add missing config options
...
r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35611
2013-02-16 11:39:45 +00:00
Gabor Juhos
162b8e23a5
kernel: update linux 3.7 to 3.7.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos
f35c369710
generic: ar8216: move PHY4 RGMII workaround code out of the loop
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35603
2013-02-14 14:55:40 +00:00
Gabor Juhos
d64888ffc0
generic: ar8216: register the switch from the probe routine
...
Currently the switch gets registered when an ethernet
driver connects to a PHY of the switch. This method does
not work with the ethernet drivers which are connecting
to the PHY from their ndo_open callback. With those
ethernet drivers, the driver tries to register the switch
each time when the etherned device is opened and this causes
a deadlock.
Move the switch registration into the probe routine to fix
this problem.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35602
2013-02-14 14:01:24 +00:00
Gabor Juhos
bae4bfe3f8
kernel: update linux 3.7 to 3.7.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos
9525a075c1
ar8216: remove superfluous code from ar8216_config_init
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35562
2013-02-11 16:57:31 +00:00
Gabor Juhos
9c86d268eb
generic: ar8216: don't use ethernet device name in register_switch
...
The switches are accessed via an MDIO bus. Set the alias
to the name of the MDIO bus, and show that in the message
along with the name of the switch switch device.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35560
2013-02-11 16:11:31 +00:00
Gabor Juhos
3f3eba88f6
generic: ar8216: reuse the private data from ar8216_probe
...
The private data of the switch is already
allocated in ar8216_priv, assign that to
each PHY on the same MDIO bus. Also remove
the redundant code from ar8216_config_init.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35559
2013-02-11 16:11:30 +00:00
Gabor Juhos
1afb759b35
generic: ar8216: use phydev instead of pdev everywhere
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35555
2013-02-11 13:25:43 +00:00
Gabor Juhos
0b1fe07e8e
generic: ar8216: use pr_* macros for kernel messages
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35554
2013-02-11 13:14:00 +00:00
Gabor Juhos
eea297884e
generic: ar8216: fix PHY features setup
...
Sujith says:
This commit breaks the WAN port on my AP96 - DHCP fails.
Reverting it fixes the issue.
commit b67cc3a0cdd02973610d4d5a63226d1c44841e94
Author: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri Feb 8 09:13:18 2013 +0000
generic: ar8216: simplify phy features setup
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@355183c298f89-4303-0410-b956-a3cf2f4a3e73
This change restores the previous behaviour and moves
the code into the ar8216_probe function.
Reported-by: Sujith Manoharan <sujith@msujith.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Sujith Manoharan <sujith@msujith.org>
SVN-Revision: 35549
2013-02-11 10:05:35 +00:00
Gabor Juhos
617076c613
generic: ar8216: add ar8xxx_probe_switch helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35547
2013-02-10 19:02:01 +00:00
Gabor Juhos
98b13e39ac
generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stop
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35546
2013-02-10 18:42:08 +00:00
Gabor Juhos
f97170a720
generic: ar8216: free mib counters from ar8xxx_free
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35545
2013-02-10 18:42:07 +00:00
Gabor Juhos
7924e517af
generic: ar8216: add ar8xxx_free helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35544
2013-02-10 18:42:05 +00:00