public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: dtor_core@ameritech.net,
	Patrick Mochel <mochel@digitalimplant.org>,
	Greg KH <greg@kroah.com>,
	Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Don't use a klist for drivers' set-of-devices
Date: Wed, 17 Aug 2005 16:33:03 +0200	[thread overview]
Message-ID: <58cb370e05081707335679e8ae@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0508170945580.4862-100000@iolanthe.rowland.org>

Hi,

On 8/17/05, Alan Stern <stern@rowland.harvard.edu> wrote:
> On Tue, 16 Aug 2005, Dmitry Torokhov wrote:
> 
> > Alan,
> >
> > I am sorry I don't have time to properly review the patch at
> > themoment, just a couple of comments about serio - I would not look at
> > serio for examples of typical use as it was trying very hard to work
> > around the original driver model limitation that prevented drivers to
> > register childern on the same bus from their probe function. I think
> > now that that limitation is lifted serio implemenation can be
> > simplified.
> 
> Okay.  The same comments may apply to the other users of
> device_bind_driver.  Apart from a couple in the USB stack that I can
> handle already, those users are:
> 
>         drivers/pnp/card.c
>         drivers/input/serio/serio.c
>         drivers/input/gameport/gameport.c
> 
> Presumably the gameport code is very similar to the serio code.
> Interestingly, callers of device_release_driver include:
> 
>         drivers/pnp/card.c
>         drivers/input/serio/serio.c
>         drivers/input/gameport/gameport.c
>         drivers/ide/ide-proc.c
>         drivers/ieee1394/nodemgr.c
> 
> It's not obvious (to me) why ide-proc.c and nodemgr.c call one but not the
> other.

ide-proc.c calls device_attach() instead of device_bind_driver()

"driver" interface in ide-proc.c will be scheduled for removal
since proper bind/unbind sysfs interface is available now.

Bartlomiej

      reply	other threads:[~2005-08-17 14:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-10 20:56 [PATCH] Don't use a klist for drivers' set-of-devices Alan Stern
2005-08-11 18:24 ` Greg KH
2005-08-11 18:53   ` Christoph Hellwig
2005-08-11 19:43     ` Alan Stern
2005-08-11 20:29       ` Dmitry Torokhov
2005-08-11 20:52         ` Alan Stern
2005-08-12 13:48         ` Alan Stern
2005-08-15 21:21         ` Alan Stern
2005-08-16 22:34           ` Dmitry Torokhov
2005-08-17 13:55             ` Alan Stern
2005-08-17 14:33               ` Bartlomiej Zolnierkiewicz [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=58cb370e05081707335679e8ae@mail.gmail.com \
    --to=bzolnier@gmail.com \
    --cc=dtor_core@ameritech.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@digitalimplant.org \
    --cc=stern@rowland.harvard.edu \
    /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