From owner-cvs-all Mon Jul 3 9: 5:15 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8BCD937B900; Mon, 3 Jul 2000 09:05:09 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA05854; Mon, 3 Jul 2000 10:05:08 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA23352; Mon, 3 Jul 2000 10:04:55 -0600 (MDT) Message-Id: <200007031604.KAA23352@harmony.village.org> To: Poul-Henning Kamp Subject: Re: cvs commit: src/sys/sys bus.h bus_private.h src/sys/kern subr_bus.c Cc: Nick Hibma , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Mon, 03 Jul 2000 16:27:59 +0200." <6433.962634479@critter.freebsd.dk> References: <6433.962634479@critter.freebsd.dk> Date: Mon, 03 Jul 2000 10:04:55 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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