Skip to contentSkip to conversation

Xilinx Temac

DISCUSSION Guillaume Dargaud 1 participant 1 message Oct 12, 2012

lore
Share & tools
lore
#0 lore raw

Hello all,
I'm upgrading the kernel on an embedded system and the network driver I was using seems to have changed and the new one doesn't seem to work:

My working config, from 2.6.38 (I believe):

$ grep "NET\|MII\|TEMAC\|MARVELL" ../linux-2.6-xlnx-CodalemaC/.config | grep -v "^#"
CONFIG_NET=y
CONFIG_INET=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_NETDEVICES=y
CONFIG_NETDEV_1000=y
CONFIG_XILINX_LLTEMAC=y
CONFIG_XILINX_LLTEMAC_MARVELL_88E1111_MII=y
CONFIG_NET_DMA=y
CONFIG_NETWORK_FILESYSTEMS=y

And the new one:

$ grep "NET\|MII\|TEMAC\|MARVELL" .config | grep -v "^#"
CONFIG_NET=y
CONFIG_INET=y
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
CONFIG_OF_NET=y
CONFIG_NETDEVICES=y
CONFIG_NET_CORE=y
CONFIG_ETHERNET=y
CONFIG_NET_VENDOR_MARVELL=y
CONFIG_NET_VENDOR_XILINX=y
CONFIG_XILINX_LL_TEMAC=y
CONFIG_NET_DMA=y

On boot the device gets probed, but not activated:

# dmesg | grep -i "net\|mac"
[    0.017515] NET: Registered protocol family 16
[    0.102621] device class 'net': registering
[    0.241017] NET: Registered protocol family 2
[    0.249435] NET: Registered protocol family 1
[    5.098813] device: 'xps-ll-temac.1': device_add
[    5.098984] bus: 'platform': add device xps-ll-temac.1
[    5.101050] device: '81880000.ethernet': device_add
[    5.101221] bus: 'platform': add device 81880000.ethernet
[    5.484077] bus: 'platform': add driver xilinx_temac
[    5.484491] bus: 'platform': driver_probe_device: matched device 81880000.ethernet with driver xilinx_temac
[    5.484726] bus: 'platform': really_probe: probing driver xilinx_temac with device 81880000.ethernet
[    5.487175] Xilinx TEMAC MDIO: probed
[    5.495719] driver: '81880000.ethernet': driver_bound: bound to device 'xilinx_temac'
[    5.495827] bus: 'platform': really_probe: bound device 81880000.ethernet to driver xilinx_temac
[    5.530592] NET: Registered protocol family 17

Is there something I'm missing about this LLTEMAC to LL_TEMAC change ? Thanks

Signature · 2 lines
Guillaume Dargaud
http://www.gdargaud.net/