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

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


> The problem is that this will raise another issue (which I've mentioned
> before) ...

Argh I forgot that.

> Shouldn't pppdev.dev be a pointer to a 'struct device' structure?? How can
> I solve this problem???

That is one solution. I've no objection to changing it to work that way

> I think this problem wasn't spotted before because all the other WAN card
> drivers currently available are only "compileable" as modules.

Nod

> To make things worse, imagine the case where the driver supports several
> different protocols (which actually is the case of my driver -- it
> supports X.25 as well as PPP/Cisco HDLC). In this case, I would have to
> declare the ppp_device structure anyway just to use the struct device
> inside it, and this doesn't sound right to me. Do you agree??

Yes

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