|
@@ -278,14 +278,6 @@ static int __init do_ne2_probe(struct net_device *dev)
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
}
|
|
}
|
|
|
|
|
|
-static void cleanup_card(struct net_device *dev)
|
|
|
|
-{
|
|
|
|
- mca_mark_as_unused(ei_status.priv);
|
|
|
|
- mca_set_adapter_procfn( ei_status.priv, NULL, NULL);
|
|
|
|
- free_irq(dev->irq, dev);
|
|
|
|
- release_region(dev->base_addr, NE_IO_EXTENT);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
#ifndef MODULE
|
|
#ifndef MODULE
|
|
struct net_device * __init ne2_probe(int unit)
|
|
struct net_device * __init ne2_probe(int unit)
|
|
{
|
|
{
|
|
@@ -812,6 +804,14 @@ int init_module(void)
|
|
return -ENXIO;
|
|
return -ENXIO;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static void cleanup_card(struct net_device *dev)
|
|
|
|
+{
|
|
|
|
+ mca_mark_as_unused(ei_status.priv);
|
|
|
|
+ mca_set_adapter_procfn( ei_status.priv, NULL, NULL);
|
|
|
|
+ free_irq(dev->irq, dev);
|
|
|
|
+ release_region(dev->base_addr, NE_IO_EXTENT);
|
|
|
|
+}
|
|
|
|
+
|
|
void cleanup_module(void)
|
|
void cleanup_module(void)
|
|
{
|
|
{
|
|
int this_dev;
|
|
int this_dev;
|