linux/drivers/net
Shawn Guo c828827f84 net/fec: fix fec1 check in fec_enet_mii_init()
In function fec_enet_mii_init(), it uses non-zero pdev->id as part
of the condition to check the second fec instance (fec1).  This works
before the driver supports device tree probe.  But in case of device
tree probe, pdev->id is -1 which is also non-zero, so the logic becomes
broken when device tree probe gets supported.

The patch change the logic to check "pdev->id > 0" as the part of the
condition for identifying fec1.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-23 13:55:26 -04:00
..
appletalk
arcnet drivers/net: Kconfig & Makefile cleanup 2011-08-27 00:58:49 -07:00
bonding net: consolidate and fix ethtool_ops->get_settings calling 2011-09-15 17:32:26 -04:00
caif caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
can Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
cris
ethernet net/fec: fix fec1 check in fec_enet_mii_init() 2011-09-23 13:55:26 -04:00
fddi skfp: Fix SysKonnect FDDI driver compile issues 2011-08-27 00:58:23 -07:00
hamradio
hippi hippi: Move the HIPPI driver 2011-08-27 00:58:30 -07:00
irda net/irda: sh_irda: add PM support 2011-09-15 17:19:28 -04:00
phy Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
plip plip: Move the PLIP driver 2011-08-27 00:58:33 -07:00
ppp Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
slip slip: Move the SLIP drivers 2011-08-27 00:58:36 -07:00
tokenring drivers/net: Kconfig & Makefile cleanup 2011-08-27 00:58:49 -07:00
usb Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
vmxnet3 vmxnet3: convert to SKB paged frag API. 2011-09-22 16:04:19 -04:00
wan wan: make LAPB callbacks const 2011-09-16 19:20:20 -04:00
wimax
wireless Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
xen-netback
dummy.c
eql.c
ifb.c
Kconfig pch_gbe: support ML7831 IOH 2011-09-15 17:31:45 -04:00
LICENSE.SRC
loopback.c
macvlan.c net: consolidate and fix ethtool_ops->get_settings calling 2011-09-15 17:32:26 -04:00
macvtap.c macvtap: fix the uninitialized var using in macvtap_alloc_skb() 2011-09-20 14:37:22 -04:00
Makefile net: Fix duplicate CONFIG_SLIP entry in driver/net/Makefile 2011-08-29 22:55:53 -04:00
mdio.c
mii.c
netconsole.c netconsole: switch init_netconsole() to late_initcall 2011-09-20 15:45:07 -04:00
rionet.c rapidio: fix use of non-compatible registers 2011-08-25 16:25:34 -07:00
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c virtionet: convert to SKB paged frag API. 2011-09-22 16:04:18 -04:00
xen-netfront.c