patch-2.4.18 linux/drivers/net/dmfe.c
Next file: linux/drivers/net/eepro100.c
Previous file: linux/drivers/net/dl2k.h
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
Thu Jan 17 19:23:50 2002
- Orig file:
linux.orig/drivers/net/dmfe.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/net/dmfe.c linux/drivers/net/dmfe.c
@@ -61,8 +61,8 @@
*/
#define DRV_NAME "dmfe"
-#define DRV_VERSION "1.36.3"
-#define DRV_RELDATE "2001-11-06"
+#define DRV_VERSION "1.36.4"
+#define DRV_RELDATE "2002-01-17"
#include <linux/module.h>
@@ -98,7 +98,6 @@
#define PCI_DM9100_ID 0x91001282 /* Davicom DM9100 ID */
#define PCI_DM9009_ID 0x90091282 /* Davicom DM9009 ID */
-#define DMFE_SUCC 0
#define DM9102_IO_SIZE 0x80
#define DM9102A_IO_SIZE 0x100
#define TX_MAX_SEND_CNT 0x1 /* Maximum tx packet per time */
@@ -527,7 +526,7 @@
}
-static void __exit dmfe_remove_one (struct pci_dev *pdev)
+static void __devexit dmfe_remove_one (struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
struct dmfe_board_info *db = dev->priv;
@@ -2059,7 +2058,7 @@
name: "dmfe",
id_table: dmfe_pci_tbl,
probe: dmfe_init_one,
- remove: dmfe_remove_one,
+ remove: __devexit_p(dmfe_remove_one),
};
MODULE_AUTHOR("Sten Wang, sten_wang@davicom.com.tw");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)