diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/r6040.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 7ac6fede6e6d..3354cceb75d2 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c | |||
@@ -1141,6 +1141,11 @@ static int __devinit r6040_init_one(struct pci_dev *pdev, | |||
1141 | adrp[1] = ioread16(ioaddr + MID_0M); | 1141 | adrp[1] = ioread16(ioaddr + MID_0M); |
1142 | adrp[2] = ioread16(ioaddr + MID_0H); | 1142 | adrp[2] = ioread16(ioaddr + MID_0H); |
1143 | 1143 | ||
1144 | /* Some bootloader/BIOSes do not initialize | ||
1145 | * MAC address, warn about that */ | ||
1146 | if (!(adrp[0] || adrp[1] || adrp[2])) | ||
1147 | printk(KERN_WARNING DRV_NAME ": MAC address not initialized\n"); | ||
1148 | |||
1144 | /* Link new device into r6040_root_dev */ | 1149 | /* Link new device into r6040_root_dev */ |
1145 | lp->pdev = pdev; | 1150 | lp->pdev = pdev; |
1146 | lp->dev = dev; | 1151 | lp->dev = dev; |