Re: Building WAN card driver as monolythic (2nd round)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 3 Dec 1999 22:26:38 +0000 (GMT)


> - cpc_init() is the function that detects the boards and initializes the
> network devices (cpc0, cpc1, etc.);
> - cpc_probe returns -1 so that the invalid and useless device "cpc" is
> removed from the device chain.

Yeah. The kernel is still walking the list building the driver table at
this point, so shit could happen. You probably will need to preallocate
them in 2.2.x - ick

>

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