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:50:57 +0000 [thread overview]
Message-ID: <3D6113E1.302@netscape.net> (raw)
In-Reply-To: Pine.LNX.4.44.0208191111100.1048-100000@cherise.pdx.osdl.net
mochel@osdl.org wrote:
>>Also if You're interested here's the write support for "driver".
>>
>
>Suppose we did support this. If you write the name of a driver to a file,
>we search the bus's list of drivers for a match. We then let the bus
>compare the hardware IDs and call probe if it matches.
>
That's exactly how my code works.
>
>
>One big problem is that the IDs in the driver are marked __devinitdata, so
>they're thrown away after init (if hotplugging is not enabled). So, we
>would have to change every driver.
>
Found that out when I tested binding the agpgart driver.
>
>
>Besides, it just doesn't make sense. If $user wants to use a different
>or third party driver, let them rmmod and insmod.
>
Ok, I guess that makes sense. My interface was primarily for special
cases anyway. What does need to be done is a user level program that
finds and loads the proper modules automatically. Maybe we could use
the existing hotplug scripts or we could even start from scratch. Maybe
we should make a file in the source tree where driver developers can
list their supported hardware IDs but more importantly documentation on
the attributes registered into driverfs.
>
>
>>PS: Would you be interested in a patch that would port the pnpbios
>>driver to the driver model?
>>
>
>Yes.
>
great!
Thanks,
Adam
next prev parent reply other threads:[~2002-08-19 19:44 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
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 [this message]
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=3D6113E1.302@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.