public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Belay <ambx1@netscape.net>
To: mochel@osdl.org
Cc: Greg KH <greg@kroah.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.5.31 driverfs: patch for your consideration
Date: Mon, 19 Aug 2002 15:35:42 +0000	[thread overview]
Message-ID: <3D61104E.7050002@netscape.net> (raw)
In-Reply-To: Pine.LNX.4.44.0208191103160.1048-100000@cherise.pdx.osdl.net



mochel@osdl.org wrote:

>
>patch -l does not imply cleanly. That will ignore the whitespace munging 
>that your MUA is doing. 
>
You're right it's incorrect to say cleanly

>>also I was wondering if you think resource management variables (irq,
>>io, dma, etc) should live in the device structure like power management
>>variables do?  Global resource management seams interesting to me,
>>although there already is a proc interface that does list resources, I'm
>>wondering if the driver model is a good place to put such an interface?
>>
>
>Yes. We talked about doing that from the very beginning, and were going to 
>see how things worked out. There was some discussion about this at OLS, 
>too. But, I'm not sure it's ready for it yet.
>
That's great, I think there's a big advantage doing this because if this 
data lies in the driver model code then it's very easy to standardize 
interfaces for hardware and power management

>
>
>What would be nice would be some way to cleanly represent conditional 
>attributes of devices, like resource and power management. I think I 
>almost have something with the device interface stuff, but I fear it's a 
>fine line to cross over into Abstraction Hell... 
>
Could you please send me a patch, if there is one, concerning your work 
with conditional attributes, I'd love to take a look.  If we could work 
something out like this it would solve all kinds of problems.  I'll look 
into it.  Remember that devfs patch I had a while ago.  Instead of using 
devfs handles I could use kdev_t and export the major and minor through 
a conditional attribute.  If so should a list of major and minor pairs 
be in one file?


Also when you say conditional attributes do you mean conditional in the 
device structure as well.  In other words do you mean a list or hash of 
attributes in the device structure?

Thanks,
Adam


  reply	other threads:[~2002-08-19 19:29 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-16 22:36 [PATCH] 2.5.31 driverfs: patch for your consideration Adam Belay
2002-08-17  3:06 ` Greg KH
2002-08-17 14:10   ` Adam Belay
2002-08-17 19:03     ` Greg KH
2002-08-17 22:32       ` Adam Belay
2002-08-18 21:46         ` Greg KH
2002-08-18 21:47         ` Greg KH
2002-08-23 17:45           ` [PATCH] 2.5.31 port PnP BIOS to the driver model Adam Belay
2002-08-27 21:40           ` [PATCH] 2.5.32 port PnP BIOS to the driver model RESEND #1 Adam Belay
2002-08-28  5:14             ` Greg KH
2002-08-29 20:36               ` Adam Belay
2002-08-30  5:28                 ` Greg KH
2002-08-30 14:47                   ` Adam Belay
2002-08-30 14:48                   ` [PATCH] 2.5.32 port PnP BIOS to the driver model - ready for inclusion Adam Belay
2002-08-19 18:10         ` [PATCH] 2.5.31 driverfs: patch for your consideration Patrick Mochel
2002-08-19 15:35           ` Adam Belay [this message]
2002-08-17 13:52 ` David D. Hagood
2002-08-17 19:43 ` Alan Cox
2002-08-19 18:19 ` Patrick Mochel
2002-08-19 15:50   ` Adam Belay
2002-08-19 19:59     ` Greg KH
2002-08-19 21:54       ` Adam Belay
2002-08-20  3:32         ` Greg KH
2002-08-20  6:51           ` jw schultz
2002-08-20 18:32             ` 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=3D61104E.7050002@netscape.net \
    --to=ambx1@netscape.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.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