From owner-cvs-all Mon Mar 13 14:35:25 2000 Delivered-To: cvs-all@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id A9C6737B65E; Mon, 13 Mar 2000 14:35:17 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from daniel.sobral (root@p11-dn01kiryunisiki.gunma.ocn.ne.jp [211.0.245.12]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id HAA16964; Tue, 14 Mar 2000 07:35:14 +0900 (JST) Received: (from dcs@localhost) by daniel.sobral (8.9.3/8.9.3) id HAA20097; Tue, 14 Mar 2000 07:33:55 +0900 (JST) (envelope-from dcs) From: "Daniel C. Sobral" Message-Id: <200003132233.HAA20097@daniel.sobral> Subject: Re: cvs commit: src/etc pccard.conf.sample In-Reply-To: <200003132208.PAA39708@harmony.village.org> from "Warner Losh" at "Mar 13, 2000 03:08:08 pm" To: "Warner Losh" Date: Tue, 14 Mar 2000 07:33:54 +0900 (JST) Cc: "Daniel C. Sobral" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Disclaimer: Klaatu Barada Nikto! X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Unheedful of thy elder's warnings, Warner Losh wrote: > In message <200003132041.MAA53757@freefall.freebsd.org> "Daniel C. Sobral" writes: > : Rescan the SCSI bus of just-added aic devices, so they can be used > : during installation. > : > > $device isn't quite the right thing to use, although it appears to > work. It evaluates to aic0, which strtol resolves to 0. The rescan > subcommand takes a scsi bus number to rescan, not the device name. > That's why I hadn't committed it before now. > > Personally, I'd love to see camcontrol take a device name and map it > to the proper bus number here, but I'm too lazy to give Ken the > patches to do this... :-) Ah, that certainly goes to explain why it works for me. I never suspected it used strtol instead of dtrt. It evaluates to aic1, for me, btw. I'm wondering if this should be backed out or not. Being able to install from a cd-rom/hd through a pcmcia card is useful. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org Captain's Log, star date 21:34.5... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message