lkml.org 
[lkml]   [1999]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Where to put new keyboard driver
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.082 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site