From: Pavel Machek <pavel@suse.cz>
To: linux-hotplug@vger.kernel.org
Subject: Re: [linux-usb-devel] Re: device model documentation 2/3
Date: Thu, 06 Jun 2002 19:24:44 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-102339272711066@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-102339217310406@msgid-missing>
Hi!
> What did seem to be missing was anything saying whether
> those device methods would be called in_interrupt() or
> whether instead they could sleep. I'd hope all of them
> would be specified to allow blocking as needed, like their
> current analogues in PCI and USB.
Look better, it was there.
> Also, there was some mention not that long ago about
> desirability of some kind of device abort() call. That
> would differ from the current remove() call because an
> abort() would pass the explicit knowledge that hardware
> was gone ... unplugged before driver shutdown, for one
> example. That could also be achieved using some kind
> of mode parameter to remove() -- perhaps three values,
> saying whether the hardware was present, removed, or
> in some indeterminate state.
I'd prefer parameter to remove...
Your hardware may die physically, and driver should try to be able to
remove() even if hardware dies.
Pavel
--
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2002-06-06 19:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-06 19:15 [linux-usb-devel] Re: device model documentation 2/3 David Brownell
2002-06-06 19:24 ` Pavel Machek [this message]
2002-06-06 20:00 ` Oliver Neukum
-- strict thread matches above, loose matches on Subject: below --
2002-06-05 12:51 Oliver Neukum
2002-06-05 19:11 ` Patrick Mochel
2002-06-02 4:49 ` Pavel Machek
2002-06-06 19:15 ` [linux-usb-devel] " David Brownell
2002-06-06 19:24 ` Pavel Machek
2002-06-06 20:00 ` Oliver Neukum
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=marc-linux-hotplug-102339272711066@msgid-missing \
--to=pavel@suse.cz \
--cc=linux-hotplug@vger.kernel.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.