Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: Where to put new keyboard driver | Date | 8 Aug 1999 21:55:14 GMT |
| |
Followup to: <006f01bee1b6$360cd260$b8119526@ltc.com> By author: "Bradley D. LaRonde" <brad@ltc.com> In newsgroup: linux.dev.kernel > > > > 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. > > > > > 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 > > What is the rule of thumb for deciding whether to put a platform-specific > driver in drivers/myplatform or arch/myarch/myplatform? >
In general, if <myplatform> is tied to a specific *CPU* architecture, then it goes under arch, otherwise drivers/<myplatform> is definitely the choice.
Not very many platforms are really that tied to the CPU.
-hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private!
- 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/
| |