[netdrvr] forcedeth: improved probe info; dev_printk() cleanups
authorJeff Garzik <jeff@garzik.org>
Tue, 16 Oct 2007 08:09:09 +0000 (04:09 -0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 17 Oct 2007 00:50:10 +0000 (20:50 -0400)
commit3f88ce495b11bb4a68e4f291e8dc3057a1cf9daf
tree55f17b62c1dd0227a3d64c133e42abff1e21a09d
parentbcb5febb248f7cc1e4a39ff61507f6343ba1c594
[netdrvr] forcedeth: improved probe info; dev_printk() cleanups

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: Jeff Garzik <jgarzik@redhat.com>
drivers/net/forcedeth.c