public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: LKML <linux-kernel@vger.kernel.org>, Patrick Mochel <mochel@osdl.org>
Subject: Re: Driver core change request
Date: Thu, 21 Oct 2004 07:50:51 -0700	[thread overview]
Message-ID: <20041021145051.GB5718@kroah.com> (raw)
In-Reply-To: <200410210205.43399.dtor_core@ameritech.net>

On Thu, Oct 21, 2004 at 02:05:40AM -0500, Dmitry Torokhov wrote:
> On Tuesday 12 October 2004 01:29 am, Dmitry Torokhov wrote:
> > For now I added:
> > 
> > - "driver" default device attribute that produces name of currently bound
> >   driver uppon read.
> > - bus->rebind_handler method that is called when someone writes to "driver"
> >   attribute and allows to perform bunctions like disconnecting device or
> >   rebinding it to alternative driver in bus-specific way.
> > - "bind_mode" default device and driver attributes that can be "auto" or
> >   "manual". When device or driver marked as manual bind device_attach()
> >   and driver_attach() will ignore them. They are expected to be bound by
> >   bus->rebind_handler (via driver_probe_device()).
> > 
> > I also renamed bus_match to driver_probe_device() and exported it, along
> > with device_attach and driver_attach.
> > 
> > Please let me know if its acceptable.
> > 
> 
> Greg,
> 
> Sorry for bothering you but cold you tell me if you are staisfied with the
> patches or I need to look for some alternative. As an example of usage
> please find my working copy of serio.c below.

I like part of them :)

But I'm still swamped with syncing up with Linus's tree, but should be
able to get to these later this afternoon.  I haven't forgotten about
these, they are still in my todo queue.

thanks,

greg k-h

      reply	other threads:[~2004-10-21 15:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-07  4:54 Driver core change request Dmitry Torokhov
2004-10-07 21:40 ` Greg KH
2004-10-08  2:59   ` Dmitry Torokhov
2004-10-08 21:48     ` Greg KH
2004-10-12  6:29       ` Dmitry Torokhov
2004-10-12  6:31         ` [PATCH 1/4] Driver core: export device_attach Dmitry Torokhov
2004-10-12  6:31           ` [PATCH 2/4] Driver core: add driver_probe_device Dmitry Torokhov
2004-10-12  6:32             ` [PATCH 3/4] Driver core: add "driver" default attribute Dmitry Torokhov
2004-10-12  6:33               ` [PATCH 4/4] Driver core: add "bind_mode" " Dmitry Torokhov
2004-10-29 16:37             ` [PATCH 2/4] Driver core: add driver_probe_device Greg KH
2004-10-29 18:24               ` Dmitry Torokhov
2004-10-29 18:32                 ` Greg KH
2004-10-29 16:37           ` [PATCH 1/4] Driver core: export device_attach Greg KH
2004-10-21  7:05         ` Driver core change request Dmitry Torokhov
2004-10-21 14:50           ` Greg KH [this message]

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=20041021145051.GB5718@kroah.com \
    --to=greg@kroah.com \
    --cc=dtor_core@ameritech.net \
    --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