[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCH] support for ISAPnP code with ne2000 network driver
From:       Alan Cox <alan () lxorguk ! ukuu ! org ! uk>
Date:       1999-09-11 11:43:19
[Download RAW message or body]

> Attached is a patch to support initializing a ISAPnP ne2k clone
> with the ne.c driver. Unfortunately, deactivating the card at
> module unload seems to be impossible (or at least hard) due to
> a lack of a private field in struct net_dev. At least it works
> for me, but probably other ID's have to be added to the isapnp
> card list.

The ne driver uses the 8390 driver so its priv field is taken up by
ei_local. However, ei_device has a priv field too, so you an use

	struct ei_device *my_sub_dev = dev->private;
	my_sub_dev->priv = (whatever)

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic