• Stephen Hemminger's avatar
    [PATCH] acenic - don't print eth%d in messages · c34150c3
    Stephen Hemminger authored
    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: default avatarStephen Hemminger <shemminger@osdl.org>
    c34150c3
acenic.c 86.2 KB