lkml.org 
[lkml]   [1999]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] support for ISAPnP code with ne2000 network driver
Date
From
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.046 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site