]> git.baikalelectronics.ru Git - 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)
commitbb73f221866bc8a80b0195b74ef4e44b3794b6ca
tree9b6d8b911816cd233ec25dfef9b9d3b76549d1f6
parent3b3104f83c9e5c47b9da7b119386c00d36bc856a
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