Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 00:07:43 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        mobile@FreeBSD.ORG
Subject:   Re: Non-sio pccard devices end up being sio devices?
Message-ID:  <20011030000743.A483@dhcp01.pn.xcllnt.net>
In-Reply-To: <20011029113544.A37920@gauss.cup.hp.com>
References:  <20011029113544.A37920@gauss.cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 29, 2001 at 11:35:44AM -0800, Marcel Moolenaar wrote:
> 
> I'm unable to keep up with -current on my laptop, because as soon as
> I boot with the latest kernel, networking stops working. Nothing major,
> it's just that both the ed0 and wi0 devices are added as if they are
> sio devices :-)

The following patch (i386 only) solves the problem:

\begin{verbatim}
Index: files.i386
===================================================================
RCS file: /home/ncvs/src/sys/conf/files.i386,v
retrieving revision 1.378
diff -u -r1.378 files.i386
--- files.i386  26 Oct 2001 17:42:35 -0000      1.378
+++ files.i386  30 Oct 2001 07:50:52 -0000
@@ -114,7 +114,6 @@
 dev/sio/sio.c                  optional        sio
 dev/sio/sio_isa.c              optional        sio isa
 dev/sio/sio_pccard.c           optional        sio card
-dev/sio/sio_pccard.c           optional        sio pccard
 dev/sio/sio_pci.c              optional        sio pci
 dev/sr/if_sr_isa.c             optional        sr isa
 dev/syscons/apm/apm_saver.c    optional        apm_saver apm
\end{verbatim}

It looks like the recent changes to /sys/dev/sio are the culprit.
The pccard related probing used to be guarded by "#if NCARD > 0",
but when the code has been moved to sio_pccard.c, this has been
omitted. My guess is that sio_pccard should not be included for
newcard, but only for oldcard.

Warner, do I make sense?

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

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?20011030000743.A483>