mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brad Hards <bhards@bigpond.net.au>
To: Greg KH <greg@kroah.com>, oliver@neukum.name
Cc: Brian Craft <bcboy@thecraftstudio.com>, linux-kernel@vger.kernel.org
Subject: Re: delay before open() works
Date: Sun, 15 Sep 2002 16:38:32 +1000	[thread overview]
Message-ID: <200209151638.32883.bhards@bigpond.net.au> (raw)
In-Reply-To: <20020915061026.GA484@kroah.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 15 Sep 2002 16:10, Greg KH wrote:
> This "second" hotplug event will happen when the driver registers with
> the "class".  So for the example of the USB scanner driver, it registers
> itself with the USB "class" to set up the file_ops structure (this is
> done in usb_register_dev().  At that point in time, /sbin/hotplug will
> be called again.
This is too soon, at least for the scanner driver. Look at how much code runs 
in scanner_probe() between the fops registration and the devfs registration.

Hmmm, that is probably a race anyway. Oliver?

Brad
- -- 
http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9hCroW6pHgIdAuOMRAgJpAJ9WpQ66Oj5v7zaXqxqqTvVVhiukqACeJ3IP
T2oB/3+HODH36m9gSivzERw=
=Ov+1
-----END PGP SIGNATURE-----


  reply	other threads:[~2002-09-15  6:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-14 16:42 Brian Craft
2002-09-15  5:25 ` Brad Hards
2002-09-15  6:10   ` Greg KH
2002-09-15  6:38     ` Brad Hards [this message]
2002-09-15  6:49       ` Greg KH
2002-09-15  6:20   ` 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=200209151638.32883.bhards@bigpond.net.au \
    --to=bhards@bigpond.net.au \
    --cc=bcboy@thecraftstudio.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oliver@neukum.name \
    /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

all inboxes | Powered by JetHome®