From owner-freebsd-current Sat Sep 15 14: 5: 6 2001 Delivered-To: freebsd-current@freebsd.org Received: from rj.sgi.com (rj.SGI.COM [204.94.215.100]) by hub.freebsd.org (Postfix) with ESMTP id D20C437B409 for ; Sat, 15 Sep 2001 14:05:00 -0700 (PDT) Received: from yog-sothoth.sgi.com (eugate.neu.sgi.com [144.253.131.5]) by rj.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f8FL4S519789; Sat, 15 Sep 2001 14:04:29 -0700 Received: from sgiger.munich.sgi.com (sgiger.munich.sgi.com [144.253.192.2]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via SMTP id XAA628223; Sat, 15 Sep 2001 23:04:26 +0200 (CEST) mail_from (gwk@sgi.com) Received: from cuckoo.munich.sgi.com (cuckoo.munich.sgi.com [144.253.192.109]) by sgiger.munich.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id XAA28843; Sat, 15 Sep 2001 23:03:59 +0200 Received: from hunter.munich.sgi.com ([192.26.53.56]) by cuckoo.munich.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id XAA38053; Sat, 15 Sep 2001 23:03:50 +0200 (CEST) Received: from hunter.munich.sgi.com (localhost.munich.sgi.com [127.0.0.1]) by hunter.munich.sgi.com (8.11.5/8.11.5) with ESMTP id f8FL3Ph01017; Sat, 15 Sep 2001 23:03:27 +0200 (CEST) (envelope-from gwk@sgi.com) Date: Sat, 15 Sep 2001 23:03:25 +0200 Message-ID: From: "Georg-W. Koltermann" To: "Vladimir V. Egorin" Cc: freebsd-current@freebsd.org Subject: Re: Dell laptop cardbus problem In-Reply-To: <20010915144338.A27604@math.uic.edu> References: <20010915144338.A27604@math.uic.edu> User-Agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: SGI X-Attribution: gwk MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: multipart/mixed; boundary="Multipart_Sat_Sep_15_23:03:25_2001-1" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --Multipart_Sat_Sep_15_23:03:25_2001-1 Content-Type: text/plain; charset=US-ASCII At Sat, 15 Sep 2001 14:43:38 -0500, Vladimir V. Egorin wrote: > > I have a Dell Latitude CPx with a Xircom RealPort > CardBus Ethernet 10/100+Modem 56 card. The card used > to work on an Aug 1, 2001 -CURRENT. I've cvsup'ed and > built the system yesterday (sep 15) and cannot make the card > work anymore. Any ideas what might be wrong? I am attaching > dmesg and kernel config (NEWCARD). I have the following > in sio.c: > > static struct pci_ids pci_ids[] = { > { 0x0103115d, "Xircom Cardbus modem", 0x10 }, > { 0x00000000, NULL, 0 } > }; > > [...] > > sio3: configured irq 9 not in bitmap of probed irqs 0 > sio3: irq maps: 0x201 0x201 0x201 0x201 > sio3: probe failed test(s): 0 1 2 4 6 7 9 > sio3 failed to probe at port 0x2e8-0x2ef irq 9 on isa0 I remember the probe failure. My card needed to be re-initialized to 8 bit CFCR. I'm attaching my current patch which I'm using on an early August -current. Warner, how about committing this patch? -- Regards, Georg. --Multipart_Sat_Sep_15_23:03:25_2001-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="sio.c.diff" Content-Transfer-Encoding: 7bit --- sio.c.orig Tue Aug 7 09:36:17 2001 +++ sio.c Tue Aug 7 09:39:25 2001 @@ -580,6 +580,7 @@ { 0x100812b9, "3COM PCI FaxModem", 0x10 }, { 0x048011c1, "Lucent kermit based PCI Modem", 0x14 }, { 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 }, + { 0x0103115d, "Xircom Cardbus modem", 0x10 }, /* { 0xXXXXXXXX, "Xircom Cardbus modem", 0x10 }, */ { 0x00000000, NULL, 0 } }; @@ -928,6 +929,13 @@ */ /* EXTRA DELAY? */ sio_setreg(com, com_mcr, mcr_image); + + /* + * It seems my Xircom CBEM56G Cardbus modem wants to be reset + * to 8 bits *again*, or else probe test 0 will fail. + * gwk@sgi.com, 4/19/2001 + */ + sio_setreg(com, com_cfcr, CFCR_8BITS); /* * Some pcmcia cards have the "TXRDY bug", so we check everyone --Multipart_Sat_Sep_15_23:03:25_2001-1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message