name:"S2IO",
id_table:s2io_tbl,
probe:s2io_init_nic,
- remove:s2io_rem_nic,
+ remove:__devexit_p(s2io_rem_nic),
};
/*
struct net_device *dev = (struct net_device *) dev_id;
nic_t *sp = dev->priv;
XENA_dev_config_t *bar0 = (XENA_dev_config_t *) sp->bar0;
-#ifndef CONFIG_S2IO_NAPI
- int i, ret;
-#endif
u64 reason = 0, general_mask = 0;
mac_info_t *mac_control;
struct config_param *config;
* and free up all resource held up by the device. This could be in response
* to a Hot plug event or when the driver is to be removed from memory.
*/
-static void __exit s2io_rem_nic(struct pci_dev *pdev)
+static void __devexit s2io_rem_nic(struct pci_dev *pdev)
{
struct net_device *dev =
(struct net_device *) pci_get_drvdata(pdev);