From owner-freebsd-arch Wed Dec 15 9:50:47 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id BE7CE154DE for ; Wed, 15 Dec 1999 09:50:37 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id SAA27603 for ; Wed, 15 Dec 1999 18:50:35 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id SAA71921 for freebsd-arch@freebsd.org; Wed, 15 Dec 1999 18:50:35 +0100 (MET) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 302C914FDF for ; Wed, 15 Dec 1999 09:45:30 -0800 (PST) (envelope-from ambrisko@whistle.com) Received: from whistle.com (ibmpc.whistle.com [207.76.205.196]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id JAA83238; Wed, 15 Dec 1999 09:45:26 -0800 (PST) Received: (from ambrisko@localhost) by whistle.com (8.9.3/8.9.1) id JAA22360; Wed, 15 Dec 1999 09:17:14 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <199912151717.JAA22360@whistle.com> Subject: Re: The if_detach problem In-Reply-To: <199912150216.TAA17370@usr08.primenet.com> from Terry Lambert at "Dec 15, 1999 02:16:31 am" To: Terry Lambert Date: Wed, 15 Dec 1999 09:17:14 -0800 (PST) Cc: freebsd-arch@freebsd.org X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert writes: | Doug Ambrisko is running wireless in the office right now with a | PCMCIA card. It's unreasonable to not allow him to switch between | a wireless adapter and a docking bay or other PCMCIA card as his | default route as it becomes available. Well since I've been named I'll add my comments here. At work we have this nifty wireless network at home I just have an ethernet cable. Also I have a USB widget that can be a network device. Typically I have 2 network devices in my laptop so I have to swap the wireless for the ethernet between work & home. All these things can come an go during a "booted" session on my laptop. Current I halt my laptop take it home and plug it into the network there and boot it. I should be able to just suspend it and never turn it off since it will sleep for a long time (except for OS upgrade) and swap cards at will (okay maybe I may have to run a slot down command). Similar swaping between USB thingys should also work and with USB it easy to add lots of network widgets at the same time. Netgraph is also is an example. I don't want to end up with device ng4938758 after having a machine up for a year and doing various things with kld's. It would be nice to re-use the name space. However, there are times when we need somthing somewhat static (actually Nick solved the problem in USB land). The issue is that when a pccard is inserted you usually have to run something to configure it's IP address etc. However, you need to know what device it is. "usbd" has a psuedo various "DEVICE" that gives you the name of the device. So in the config file you can pass the device name. This was critical in USB for knowing what device to download firmware to so you don't blow away the wrong device. Currently what I have to do with pccard is to statically define my Ethernet cards as ed0 & ed1 in the config file but why should I? pccardd should just run the correct command on the device it just configured. Note the only way this works and I know which device is which, is that I use 2 ne2000 cards from different vendors. Same vendor is another tricky issue when there is no way to tell the difference (this happens in SCSI, ATA, USB etc). So the prior paradigms are changing and we need to look at solutions that get us closer to what we will need. Doug A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message