From owner-freebsd-mobile Tue Oct 30 0: 7:45 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id E4DF937B408 for ; Tue, 30 Oct 2001 00:07:42 -0800 (PST) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.4/8.11.4) with ESMTP id f9U87gp12955 for ; Tue, 30 Oct 2001 00:07:42 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.11.6/8.11.3) id f9U87hk00551 for mobile@FreeBSD.ORG; Tue, 30 Oct 2001 00:07:43 -0800 (PST) (envelope-from marcel) Date: Tue, 30 Oct 2001 00:07:43 -0800 From: Marcel Moolenaar To: mobile@FreeBSD.ORG Subject: Re: Non-sio pccard devices end up being sio devices? Message-ID: <20011030000743.A483@dhcp01.pn.xcllnt.net> References: <20011029113544.A37920@gauss.cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011029113544.A37920@gauss.cup.hp.com> User-Agent: Mutt/1.3.21i Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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