[PATCH] acenic - don't print eth%d in messages
Get rid of all the places the acenic driver could print "eth%d" because
the device hasn't been registered yet. Use the method of having a name pointer
in the private device structure that changes from pci_name() to dev->name.
There was already a field named 'name[]' in the private data structure, but
it was set and never used!
Use netdev_priv(dev) rather than dev->priv as well.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Showing
This diff is collapsed.
Please register or sign in to comment