mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* driver location for platform-specific drivers
@ 2002-02-11 19:17 John Hesterberg
  2002-02-11 19:54 ` Tom Rini
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: John Hesterberg @ 2002-02-11 19:17 UTC (permalink / raw)
  To: torvalds, marcelo; +Cc: linux-kernel, linux-ia64

Linus & Marcelo,

For SGI's upcoming Linux platform (nicknamed Scalable Node, or SN),
we have some platform specific device drivers.  Where should these go?
I see several precedents in the current kernels.

    1) Integrate in drivers/*.
       Integrate SN drivers into appropriate directories.
       Put them directly in char, net, misc, etc., as appropriate.

    2) Company (sgi) directory.
       There is already an sgi directory, strangely enough.
       I *think* this was meant to be a platform directory for the
       discontinued SGI 320/540 Visual Workstations.  However, maybe
       it was intended to be a new precedent of company specific
       directories.  In this case, we'd probably create a platform
       directory under the company directory, so there would likely
       be drivers/sgi/sn (some of our SN drivers are here today in
       our internal development tree).  However, there is no other
       precedent for "company" subdirectories under drivers.  Apple
       didn't do it.  IBM didn't do it.  HP hasn't done it.  Was the
       drivers/sgi directory really intended to start a new
       precedent of company specific directories under drivers?

    3) New platform directory.
       Create a platform directory for SN, probably drivers/sn.
       There is precedence for this with the drivers/macintosh
       and drivers/s390.  Also, as noted, the SGI Visual Workstation
       drivers are in drivers/sgi.  In this case, it might also make
       sense to rename drivers/sgi to drivers/visws to indicate
       these are drivers for the Visual Workstation platform, and
       not generic SGI drivers.

    4) New architecture directory.
       Another suggestion is to create an architecture directory,
       in this case drivers/ia64/{char,net,etc.}/.

I'm happy with whatever you'll accept.  To give you something to
either agree with or shoot down, I'll suggest #3.  SGI's Scalable
Node product will be different enough, with enough platform specific
drivers, that it justifies it's own subdirectory, and that this
should be called drivers/sn.

John Hesterberg
jh@sgi.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-02-12  3:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1013455503.17805.linux-kernel2news@redhat.com>
2002-02-11 20:57 ` driver location for platform-specific drivers Pete Zaitcev
2002-02-11 19:17 John Hesterberg
2002-02-11 19:54 ` Tom Rini
2002-02-11 22:58 ` Mike Mackovitch
2002-02-12  5:19 ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®