]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
sfc: Store port number in net_device::dev_id
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 2 Jun 2010 10:39:56 +0000 (10:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2010 10:28:26 +0000 (03:28 -0700)
commit3df95ce948dc8ceef07b49003ab944aa047f2a79
tree9b6d8b911816cd233ec25dfef9b9d3b76549d1f6
parent9e2d11b926765681f72db0373d2ecbbac28359b3
sfc: Store port number in net_device::dev_id

This exposes the port number to userland through sysfs.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/net_driver.h
drivers/net/sfc/siena.c