Date: Mon, 03 Jul 2000 10:04:55 -0600 From: Warner Losh <imp@village.org> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: 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: <200007031604.KAA23352@harmony.village.org> In-Reply-To: Your message of "Mon, 03 Jul 2000 16:27:59 %2B0200." <6433.962634479@critter.freebsd.dk> References: <6433.962634479@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <6433.962634479@critter.freebsd.dk> Poul-Henning Kamp writes: : Example: Hot-plug. My cPCI card fails, I pull it and plug another one : in, I will very likely not want to loose my softc in that case. 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. : The "1-newbus-instance : 1-device-instance" assumption is a grave : mistake, and we shall not lock our selves down in a dogmatic : postulate about how the world is according to our perception, rather : we need to be flexible enough to handle all the weird shit (TM) : out there. I agree with this. It is making things difficult to migrate old device drivers that we have here that don't do that, or have extra device instances (meta devices) that force all device instances to have a mapping function to get back to the newbus instance. Warner 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?200007031604.KAA23352>