Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Sep 2001 23:03:25 +0200
From:      "Georg-W. Koltermann" <gwk@sgi.com>
To:        "Vladimir V. Egorin" <vladimir@math.uic.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Dell laptop cardbus problem
Message-ID:  <lthwv30jheq.wl@hunter.munich.sgi.com>
In-Reply-To: <20010915144338.A27604@math.uic.edu>
References:  <20010915144338.A27604@math.uic.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <vladimir@math.uic.edu> 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




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