• Jeff Garzik's avatar
    [netdrvr] forcedeth: improved probe info; dev_printk() cleanups · 3f88ce49
    Jeff Garzik authored
    main change:
    * greatly improve per-NIC probe diagnostic output.  Similar to other
      net drivers, print out MAC address, PHY info, and various hardware and
      software flags that may be relevant.
    
    other changes:
    * similar to other net drivers, only print the initial version message
      when we have found at least one board.
    
    * don't bother to print error message when pci_enable_device() fails,
      it will do so for us.
    
    * use dev_printk() rather than printk() in nv_probe().  This gives
      use a standardized output similar to the rest of the kernel, and
      eliminates the need to manually print out PCI bus id.
    
    * use DRV_NAME constant where appropriate
    
    * clean struct pci_driver indentation
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    3f88ce49
forcedeth.c 168 KB