From owner-freebsd-mobile Sat Jan 15 18:24:34 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id 8BDC814CCA for ; Sat, 15 Jan 2000 18:24:25 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 18379 invoked from network); 16 Jan 2000 02:24:18 -0000 Received: from ppp160.dialup.st.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.27.160) by afs.itc.keio.ac.jp with SMTP; 16 Jan 2000 02:24:18 -0000 Date: Sun, 16 Jan 2000 11:25:29 +0900 Message-ID: <86wvpasqg6.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: imp@village.org Cc: mobile@FreeBSD.ORG Subject: Re: Better solution of "devclass_alloc_unit: ed1 already exists" problem? In-Reply-To: In your message of "Sat, 15 Jan 2000 16:23:58 -0700" <200001152323.QAA01357@harmony.village.org> References: <861z7jt193.wl@ringo.FromTo.Cc> <867lhbt4rg.wl@ringo.FromTo.Cc> <864scft38i.wl@ringo.FromTo.Cc> <863drzt2xe.wl@ringo.FromTo.Cc> <200001152323.QAA01357@harmony.village.org> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sorry I read this mail after I sent the last mail about patches without fe0. At Sat, 15 Jan 2000 16:23:58 -0700, Warner Losh wrote: > Ufff. That's ugly, but less ugly than some of the alternatives. I > don't think that you need ed1/sio4 in the kernel config file. That > will happen all by itself since the number of devices is no longer > known at compile time. > > A better solution might be to have the system create the device and > return it to pccardd so that it could pass it as an argument to the > insert command, but even that has its problems. I thought a solution like that, but I haven't use it because it's too difficult to do this in a few hours :-). But, in fact, that's because I've replaced all hardwired device names in insert/remove lines with symbolic $device's. I'll try to implement it, and won't commit the last patch. Thank you. -- --------------------------- Tatsumi Hosokawa hosokawa@itc.keio.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message