1 diff -durN linux-2.4.2.orig/drivers/net/pcnet32.c linux-2.4.2/drivers/net/pcnet32.c
2 --- linux-2.4.2.orig/drivers/net/pcnet32.c Tue Feb 13 22:15:05 2001
3 +++ linux-2.4.2/drivers/net/pcnet32.c Wed Mar 7 11:11:36 2001
5 id_table: pcnet32_pci_tbl,
9 +MODULE_PARM(irq, "i");
10 MODULE_PARM(debug, "i");
11 MODULE_PARM(max_interrupt_work, "i");
12 MODULE_PARM(rx_copybreak, "i");
14 /* An additional parameter that may be passed in... */
15 static int debug = -1;
16 static int tx_start_pt = -1;
20 static int __init pcnet32_init_module(void)
22 @@ -1505,6 +1509,13 @@
23 pcnet32_debug = debug;
24 if ((tx_start_pt >= 0) && (tx_start_pt <= 3))
25 tx_start = tx_start_pt;
28 + if (check_region(io, PCNET32_TOTAL_SIZE) == 0)
29 + return pcnet32_probe1(io, irq, 0, 0, NULL);
35 /* find the PCI devices */