Re: Subject: Linux Kernel -Open Call inside a Driver!

Olaf Titz (olaf@bigred.inka.de)
Wed, 03 Mar 1999 12:14:23 +0100


> On the second, I attempted to have a module driver install multiple
> network devices (register_netdev() I believe) based on data passed to
> it from a SIOCDEVPRIVATE call to the installed module. This failed
> because SIOCDEVPRIVATE calls get a kernel lock, and register_netdev()
> attempts to get the same lock.

I ran across exactly this problem too. The solution is to use
register_netdevice() instead of register_netdev() under 2.1/2.2.

Olaf

-
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/