From owner-cvs-all Mon Apr 3 9:12:19 2000 Delivered-To: cvs-all@freebsd.org Received: from caspian.plutotech.com (caspian.plutotech.com [206.168.67.80]) by hub.freebsd.org (Postfix) with ESMTP id B29E337B731; Mon, 3 Apr 2000 09:12:10 -0700 (PDT) (envelope-from gibbs@caspian.plutotech.com) Received: from caspian.plutotech.com (localhost [127.0.0.1]) by caspian.plutotech.com (8.9.3/8.9.1) with ESMTP id KAA17145; Mon, 3 Apr 2000 10:12:51 -0600 (MDT) (envelope-from gibbs@caspian.plutotech.com) Message-Id: <200004031612.KAA17145@caspian.plutotech.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Warner Losh Cc: Nick Hibma , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/cam cam_periph.h cam_xpt.c src/sys/dev/usb umass.c In-Reply-To: Your message of "Mon, 03 Apr 2000 09:22:47 MDT." <200004031522.JAA61478@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Apr 2000 10:12:51 -0600 From: "Justin T. Gibbs" Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >In message <200004031111.EAA05374@freefall.freebsd.org> Nick Hibma writes: >: The next thing to do is find someone to commit a change to vpo to do the >: same thing. Just port umass_cam_rescan and friends across to that >: driver. > >And the aic driver. And the two new pccard CAM drivers that are >currently being testing in the nomads list. And the anticipated ahc >driver cardbus attachment. Maybe there needs to be some generic thing >in CAM to do this so all of them don't have to replicate a lot of >code. I'll admit that I've not looked at Nick's umas_cam_rescan and >friends yet, so I don't know how large the code cut/paste would be. There are two issues here. One is a bus that can detect when a sub-device goes away (e.g. Fiber Channel, SPI-SCAM). This should be handled by CAM3's auto-discovery mechanism which we have yet to implement. The second is for a SIM that arrives/departs dynamically. It should be trivial to have a bus rescan occur when a SIM registers a new bus (a few lines in xpt_bus_register??). The umass driver has taken the first approach which is why Nick ran into trouble. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message