mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Jonathan Mayer <jonmayer@google.com>
Cc: Patrick Mochel <mochel@digitalimplant.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] added sysdev attribute to sysdev show/store methods - for linux-2.6.13.4
Date: Thu, 20 Oct 2005 18:03:06 -0500	[thread overview]
Message-ID: <d120d5000510201603n50c068dcyade2ce2cfd2311e0@mail.gmail.com> (raw)
In-Reply-To: <4a45da430510201503v74874acoca37bba3aa5a2d07@mail.google.com>

On 10/20/05, Jonathan Mayer <jonmayer@google.com> wrote:
> Surely, the organization of sysfs is logical (by grouping relating
> things) rather than functional (by grouping things that need common
> back-end interfaces).
>
> Er .. no?
>
> In general, where can I find guidance on where to put things within
> sysfs?  Has anybody written some kind of Plan?
>

If it is a device it goes onto corresponding bus. Platform bus is a
kind of a kitchen sink for things that do not have a "real" bus -
things like keyboard controller, older ISA devices, etc. Only things
that necessary to get the box going and have to be suspended last with
interrupts off (like IRQ controller) should be implemented as system
devices.

--
Dmitry

  reply	other threads:[~2005-10-20 23:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-20 21:47 Jonathan Mayer
2005-10-20 21:59 ` Dmitry Torokhov
2005-10-20 22:03   ` Jonathan Mayer
2005-10-20 23:03     ` Dmitry Torokhov [this message]
2005-10-20 23:07       ` Jonathan Mayer
2005-10-21  0:26         ` Greg KH
2005-10-21  0:42           ` Jonathan Mayer
2005-10-21  4:07             ` Greg KH
2005-10-20 22:00 ` Jonathan Mayer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d120d5000510201603n50c068dcyade2ce2cfd2311e0@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=dtor_core@ameritech.net \
    --cc=jonmayer@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@digitalimplant.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®