Date: Mon, 03 Apr 2000 10:12:51 -0600 From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: Warner Losh <imp@village.org> Cc: Nick Hibma <n_hibma@FreeBSD.org>, 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 Message-ID: <200004031612.KAA17145@caspian.plutotech.com> In-Reply-To: Your message of "Mon, 03 Apr 2000 09:22:47 MDT." <200004031522.JAA61478@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004031612.KAA17145>