Re: Where to put new keyboard driver

Jes Sorensen (Jes.Sorensen@cern.ch)
09 Aug 1999 09:17:00 +0200


>>>>> "Bradley" == Bradley D LaRonde <brad@ltc.com> writes:

>> > arch/m68k/. I presume that when someone (Linus?) reorganizes
>> things that
>> > zorro/ will be moved to the arch/.../amiga/ directories. Does
>> that > further imply that the same kind of tree structure will be
>> applied to > arch/platform?
>>
>> Zorro is used by two platforms Linux-ppc Amiga and Linux-m68k
>> amiga.

It certainly wont be moved, zorro like PCI is a bus and the code in
drivers/zorro is for handling the bus, just like drivers/pci and
drivers/dio.

>> > called an Apple Network Server, that has an LCD display, unlike
>> > any other
>> > PowerMac. A character driver for the LCD display has been
>> written, the > only real question is where it should be placed. As
>> the current source
>>
>> I would assume drivers/macintosh
>>
>> Alan

Bradley> What is the rule of thumb for deciding whether to put a
Bradley> platform-specific driver in drivers/myplatform or
Bradley> arch/myarch/myplatform?

Right now there is no rule, I personally dislike things likes
drivers/macintosh and drivers/acorn _very_ much. If you have a serial
or a SCSI driver they should go in drivers/scsi or drivers/char
respectively. Sticking things in private directories means most people
will ignore things in there when they start looking for code for a
certain chip and we end up with even more code duplication.

So if you have a new keyboard driver stick it in drivers/char like the
rest of them.

Jes

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