patch-2.2.0-pre7 linux/drivers/net/tulip.c
Next file: linux/drivers/scsi/AM53C974.c
Previous file: linux/drivers/net/hp100.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Sun Jan 10 09:59:59 1999
- Orig file:
v2.2.0-pre6/linux/drivers/net/tulip.c
- Orig date:
Thu Jan 7 15:11:37 1999
diff -u --recursive --new-file v2.2.0-pre6/linux/drivers/net/tulip.c linux/drivers/net/tulip.c
@@ -104,9 +104,6 @@
#define NEW_MULTICAST
#include <linux/delay.h>
#endif
-#if (LINUX_VERSION_CODE >= 0x20100)
-char kernel_version[] = UTS_RELEASE;
-#endif
#ifdef SA_SHIRQ
#define IRQ(irq, dev_id, pt_regs) (irq, dev_id, pt_regs)
#else
@@ -465,7 +462,7 @@
#endif
for (;pci_index < 0xff; pci_index++) {
u16 vendor, device, pci_command, new_command;
- u32 pci_ioaddr;
+ unsigned long pci_ioaddr = 0;
int chip_idx = 0;
if (pcibios_find_class
@@ -503,7 +500,7 @@
pci_ioaddr &= ~3;
if (tulip_debug > 2)
- printk(KERN_DEBUG "Found %s at I/O %#x.\n",
+ printk(KERN_DEBUG "Found %s at I/O %#lx.\n",
tulip_tbl[chip_idx].chip_name, pci_ioaddr);
if (check_region(pci_ioaddr, tulip_tbl[chip_idx].io_size))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov