Date: Mon, 03 Jul 2000 18:40:23 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: Warner Losh <imp@village.org>, Nick Hibma <n_hibma@calcaphon.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys bus.h bus_private.h src/sys/kern subr_bus.c Message-ID: <7096.962642423@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 03 Jul 2000 12:34:53 EDT." <200007031634.MAA17071@khavrinen.lcs.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200007031634.MAA17071@khavrinen.lcs.mit.edu>, Garrett Wollman write s: ><<On Mon, 03 Jul 2000 10:04:55 -0600, Warner Losh <imp@village.org> said: > >> With pccard right now you'd lose it. The device is gone. Sure it >> might be replaced by another identical copy of the device in the >> future, but for now the device is gone. > >I think this is a bug in pccard (or rather, in the way removable >devices are currently implemented in newbus). If I reinsert the same >(or a functionally identical) device, I should be able to expect it to >start off from where it was before. > >In other words, devices which are removed need to be accounted for as >``still attached but not physically present'' rather than simply >``gone''. It's a hard call, and I'm not sure it is the best idea to decide this on a global basis: ie, the model we use for ethernets and disks may be radically different. In a way I like the way Windows did this, by having a set of configurations, ie: undocked, docked, undocked + pccard etc etc In fact the best idea may be to make this a per device variable: "if your hardware disappears, stay around" or "if your hardware disappears, go away" -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7096.962642423>