From owner-freebsd-mobile Sun Jan 16 6: 0:51 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id D4BB514CE8 for ; Sun, 16 Jan 2000 06:00:47 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id BE9221CD4; Sun, 16 Jan 2000 22:00:45 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Tatsumi Hosokawa Cc: mobile@FreeBSD.org Subject: Re: Better solution of "devclass_alloc_unit: ed1 already exists" problem? In-Reply-To: Message from Tatsumi Hosokawa of "Sun, 16 Jan 2000 07:32:08 +0900." <861z7jt193.wl@ringo.FromTo.Cc> Date: Sun, 16 Jan 2000 22:00:45 +0800 From: Peter Wemm Message-Id: <20000116140045.BE9221CD4@overcee.netplex.com.au> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tatsumi Hosokawa wrote: > > I wrote a patch for "devclass_alloc_unit: ed1 already exists" problem. > I only add a small patch to GENERIC to the hack I wrote in the last > mail, but I think it would be better than the patch for > pccard.conf.sample alone. > > Comments? I think this has probably already been answered, but the config file parts of this are not needed. "device sio4" actually does nothing at all to the system configuration.. The only reason we have "device fxp0" etc in the kernel for things like pci, pnp and pccard drivers is to cause the driver to be compiled. "device fxp" would actually make more sense as it doesn't imply that there are any unit number reservations. > Index: sys/i386/conf/GENERIC > =================================================================== > RCS file: /home/ncvs/src/sys/i386/conf/GENERIC,v > retrieving revision 1.229 > diff -u -r1.229 GENERIC > --- sys/i386/conf/GENERIC 2000/01/14 20:40:58 1.229 > +++ sys/i386/conf/GENERIC 2000/01/15 22:26:45 > @@ -143,6 +143,7 @@ > device sio1 at isa? port IO_COM2 irq 3 > device sio2 at isa? disable port IO_COM3 irq 5 > device sio3 at isa? disable port IO_COM4 irq 9 > +device sio4 # PCCARD > > # Parallel port > device ppc0 at isa? port? irq 7 > @@ -174,6 +175,7 @@ > > # ISA Ethernet NICs. > device ed0 at isa? port 0x280 irq 10 iomem 0xd8000 > +device ed1 # PCCARD > device ex0 > device ep0 > # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really > @@ -189,6 +191,7 @@ > # The probe order of these is presently determined by i386/isa/isa_compat.c. > device ie0 at isa? port 0x300 irq 10 iomem 0xd0000 > device fe0 at isa? port 0x300 irq ? > +device fe1 # PCCARD > device le0 at isa? port 0x300 irq 5 iomem 0xd0000 > device lnc0 at isa? port 0x280 irq 10 drq 0 > device cs0 at isa? port 0x300 irq ? Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message