patch-2.1.90 linux/drivers/net/tulip.c

Next file: linux/drivers/scsi/ncr53c8xx.c
Previous file: linux/drivers/net/slip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.89/linux/drivers/net/tulip.c linux/drivers/net/tulip.c
@@ -636,7 +636,7 @@
 		for (i = 0; i < 5; i++)
 			dev->dev_addr[i] = last_phys_addr[i];
 		dev->dev_addr[i] = last_phys_addr[i] + 1;
-#if defined(__i386)		/* This BIOS bug doesn't exist on Alphas. */
+#if defined(__i386__)		/* This BIOS bug doesn't exist on Alphas. */
 		irq = last_irq;
 #endif
 	}
@@ -1094,7 +1094,7 @@
 	outl(0x00200000 | 0xE000, ioaddr + CSR0);
 #elif defined(__powerpc__)
 	outl(0x00200080 | 0x8000, ioaddr + CSR0);
-#elif defined(__i386)
+#elif defined(__i386__)
 #if defined(MODULE)
 	/* When a module we don't have 'x86' to check. */
 	outl(0x00200000 | 0x4800, ioaddr + CSR0);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov