Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2000 22:00:45 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
Cc:        mobile@FreeBSD.org
Subject:   Re: Better solution of "devclass_alloc_unit: ed1 already exists" problem? 
Message-ID:  <20000116140045.BE9221CD4@overcee.netplex.com.au>
In-Reply-To: Message from Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>  of "Sun, 16 Jan 2000 07:32:08 %2B0900." <861z7jt193.wl@ringo.FromTo.Cc> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000116140045.BE9221CD4>