VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / drivers / net / sun3_82586.c
index 669a02f..053fcaf 100644 (file)
@@ -53,6 +53,8 @@ static int fifo=0x8;  /* don't change */
 
 #include "sun3_82586.h"
 
+#define DRV_NAME "sun3_82586"
+
 #define DEBUG       /* debug on */
 #define SYSBUSVAL 0 /* 16 Bit */
 #define SUN3_82586_TOTAL_SIZE  PAGE_SIZE
@@ -336,7 +338,7 @@ static int __init sun3_82586_probe1(struct net_device *dev,int ioaddr)
 {
        int i, size, retval;
 
-       if (!request_region(ioaddr, SUN3_82586_TOTAL_SIZE, dev->name))
+       if (!request_region(ioaddr, SUN3_82586_TOTAL_SIZE, DRV_NAME))
                return -EBUSY;
 
        /* copy in the ethernet address from the prom */