diff options
author | Joe Perches <joe@perches.com> | 2011-05-09 05:45:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-09 15:51:15 -0400 |
commit | 163ef0b5922b14751e93218bdf2c9fe8f74b9c9d (patch) | |
tree | 9a4179070e26d63170ec005e1f9ffff48b0e541b /drivers/net/tulip/winbond-840.c | |
parent | 54668b84bd2ee808e6b43ed9bd7aa3338fa95857 (diff) |
tulip: Convert printks to netdev_<level>
Use the current more descriptive logging styles.
Add pr_fmt and remove PFX where appropriate.
Use netif_<level>, netdev_<level>
Indent a few blocks in xircom_cb where appropriate.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip/winbond-840.c')
-rw-r--r-- | drivers/net/tulip/winbond-840.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/tulip/winbond-840.c b/drivers/net/tulip/winbond-840.c index f0b231035dee..939c96e2438a 100644 --- a/drivers/net/tulip/winbond-840.c +++ b/drivers/net/tulip/winbond-840.c | |||
@@ -44,6 +44,8 @@ | |||
44 | * Wake-On-LAN | 44 | * Wake-On-LAN |
45 | */ | 45 | */ |
46 | 46 | ||
47 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
48 | |||
47 | #define DRV_NAME "winbond-840" | 49 | #define DRV_NAME "winbond-840" |
48 | #define DRV_VERSION "1.01-e" | 50 | #define DRV_VERSION "1.01-e" |
49 | #define DRV_RELDATE "Sep-11-2006" | 51 | #define DRV_RELDATE "Sep-11-2006" |
@@ -375,8 +377,8 @@ static int __devinit w840_probe1 (struct pci_dev *pdev, | |||
375 | irq = pdev->irq; | 377 | irq = pdev->irq; |
376 | 378 | ||
377 | if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { | 379 | if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { |
378 | pr_warning("Winbond-840: Device %s disabled due to DMA limitations\n", | 380 | pr_warn("Device %s disabled due to DMA limitations\n", |
379 | pci_name(pdev)); | 381 | pci_name(pdev)); |
380 | return -EIO; | 382 | return -EIO; |
381 | } | 383 | } |
382 | dev = alloc_etherdev(sizeof(*np)); | 384 | dev = alloc_etherdev(sizeof(*np)); |