patch-2.4.11-dontuse linux/drivers/net/tulip/tulip_core.c
Next file: linux/drivers/net/tun.c
Previous file: linux/drivers/net/tulip/interrupt.c
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Tue Oct 2 09:00:58 2001
- Orig file:
v2.4.10/linux/drivers/net/tulip/tulip_core.c
- Orig date:
Sun Sep 23 11:40:58 2001
diff -u --recursive --new-file v2.4.10/linux/drivers/net/tulip/tulip_core.c linux/drivers/net/tulip/tulip_core.c
@@ -15,8 +15,8 @@
*/
#define DRV_NAME "tulip"
-#define DRV_VERSION "0.9.15-pre6"
-#define DRV_RELDATE "July 2, 2001"
+#define DRV_VERSION "0.9.15-pre7"
+#define DRV_RELDATE "Oct 2, 2001"
#include <linux/config.h>
#include <linux/module.h>
@@ -101,6 +101,7 @@
MODULE_AUTHOR("The Linux Kernel Team");
MODULE_DESCRIPTION("Digital 21*4* Tulip ethernet driver");
+MODULE_LICENSE("GPL");
MODULE_PARM(tulip_debug, "i");
MODULE_PARM(max_interrupt_work, "i");
MODULE_PARM(rx_copybreak, "i");
@@ -1466,8 +1467,6 @@
goto err_out_free_res;
#endif
- pci_set_master(pdev);
-
pci_read_config_byte (pdev, PCI_REVISION_ID, &chip_rev);
/*
@@ -1511,6 +1510,8 @@
/* Stop the chip's Tx and Rx processes. */
tulip_stop_rxtx(tp);
+
+ pci_set_master(pdev);
/* Clear the missed-packet counter. */
inl(ioaddr + CSR8);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)