Subject: Re: device tree traversal
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Daniel Carosone <dan@geek.com.au>
List: tech-kern
Date: 07/04/2006 15:38:00
--5CUMAwwhRxlRszMD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Mon, Jul 03, 2006 at 10:22:57PM -0700, Garrett D'Amore wrote:
> I am unaware of any buses besides pcmcia and USB/firewire which are
> designed to support hot detach without advance notification to the
> driver. Indeed, even Cardbus doesn't support this properly -- a detach
> notification is required from userland _before_ physical removal in
> order to guarantee safe operation.
One possible fly in the ointment: there are usb-to-pci bridges (and
many other weird things besides), so you can have a pci bus behind a
hot-deteached usb device. I've seen them get used for USB video cards
among other things.
Trying to deal with these might well lead to otherwise-unnecessary
overengineering, of course, but it's worth mentioning.
--
Dan.
--5CUMAwwhRxlRszMD
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)
iD8DBQFEqf64EAVxvV4N66cRApc6AKCClIZR/1hUQF2kK7uJauQ2FodtxgCeONpU
AfheVKfgWf+6leF9e9edJyA=
=SQ27
-----END PGP SIGNATURE-----
--5CUMAwwhRxlRszMD--