s2io: Fixing debug message
authorBreno Leitao <leitao@linux.vnet.ibm.com>
Thu, 4 Mar 2010 10:40:44 +0000 (10:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Mar 2010 22:00:19 +0000 (14:00 -0800)
commit3a22813a5aaf8e8c72be575dabe0ba26f9352f4d
tree1fb39d81f4bcad55d0ad2ee94b24530b34557f11
parenta80483d3722b603dae8a52495f8d88a7d4b1bf1c
s2io: Fixing debug message

Currently s2io is dumping debug messages using the interface name
before it was allocated, showing a message like the following:

s2io: eth%d: Ring Mem PHY: 0x7ef80000
s2io: s2io_reset: Resetting XFrame card eth%d

This patch just fixes it, printing the pci bus information for
the card instead of the interface name.

Signed-off-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c