public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Artem B. Bityutskiy" <dedekind@yandex.ru>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: device model and character devices
Date: Wed, 05 Apr 2006 11:52:57 +0400	[thread overview]
Message-ID: <44337759.4040507@yandex.ru> (raw)
In-Reply-To: <20060404164823.GA31398@kroah.com>

Greg KH wrote:
> Because "struct device" generally is not related to a major:minor pair
> at all.  That is what a struct class_device is for.  Lots of struct
> device users have nothing to do with a char device, and some have
> multiple char devices associated with a single struct device.
Well, OK, but AFAIK, your long-term plan is to merge class_device and 
device, so in the long-term perspective it does not matter. And those 
who do not need a character device support may have a possibility to 
disable it.

> All that being said, yes, there is a disconnect between the driver model
> parts and the char subsystem.  It's been something that I've wanted to
> fix for a number of years, but never had the time to do so.  If you want
> to work toward doing this, I'd be glad to review any patches.
Will see. At this point my knowledge and understanding is not so deep, 
so I don't think I'm able to provide decent patches. May be in future. 
For now I'm only wondering.

Thanks.

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.

  reply	other threads:[~2006-04-05  7:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04  8:12 device model and character devices Artem B. Bityutskiy
2006-04-04 16:48 ` Greg KH
2006-04-05  7:52   ` Artem B. Bityutskiy [this message]
2006-04-05 18:31     ` Greg KH

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=44337759.4040507@yandex.ru \
    --to=dedekind@yandex.ru \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.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