Re: Where to put new keyboard driver

Bradley D. LaRonde (brad@ltc.com)
Sun, 8 Aug 1999 12:50:19 -0400


> > > I would assume drivers/macintosh
> > >
> > What is the rule of thumb for deciding whether to put a
platform-specific
> > driver in drivers/myplatform or arch/myarch/myplatform?
>
> Generally "is this ever going to be used by more than one very machine
specific
> case". Things like LCD panels are a bit more complex because there are
multiple
> machines with them and even if the drivers are unique you might want to
put
> them in drivers/ so that a common LCD panel API can be evolved

Thanks for the advice. I will put it in arch/myarch/myplatform. I wonder
though, that since my driver implements the keyboard interface (api) if that
might justify it being promoted to drivers/char. Probably not, eh? I
didnt't think so. :)

Regards,
Brad

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