From owner-freebsd-bugs Mon Jun 29 09:41:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA17927 for freebsd-bugs-outgoing; Mon, 29 Jun 1998 09:41:05 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA17882 for ; Mon, 29 Jun 1998 09:40:53 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA10462; Mon, 29 Jun 1998 09:40:02 -0700 (PDT) Date: Mon, 29 Jun 1998 09:40:02 -0700 (PDT) Message-Id: <199806291640.JAA10462@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Greg Troxel Subject: Re: kern/4849: 2.2.5-RELEASE does not detect TI PCI-1130 CardBus PCMCIA controller Reply-To: Greg Troxel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/4849; it has been noted by GNATS. From: Greg Troxel To: freebsd-gnats-submit@freebsd.org, dcarmich@mcs.com Cc: Subject: Re: kern/4849: 2.2.5-RELEASE does not detect TI PCI-1130 CardBus PCMCIA controller Date: Mon, 29 Jun 1998 12:38:31 -0400 I had this problem on 2.2.1, and just brought my fix forward to 2.2.6. I have not tried the stock 2.2.6 sources with pccard support (the boot floppy worked ok with zp0, but I needed custom stuff anyway). Hardware is an IBM Thinkpad 760ED. The resulting kernel doesn't suspend/resume 100% right, but it basically works ok. This patch avoids recognizing the 1130 as a pci device; this allowed (under 2.2.1) it to be probed in isa compatibility mode, where it acted like the normal bridge chip. Index: src/sys/pci/pcic_p.c =================================================================== RCS file: /my-CVS/FreeBSD/src/sys/pci/pcic_p.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 pcic_p.c --- pcic_p.c 1998/06/24 14:28:34 1.1.1.1 +++ pcic_p.c 1998/06/26 15:34:21 @@ -72,7 +72,12 @@ case PCI_DEVICE_ID_PCIC_CLPD6832: return ("Cirrus Logic PD6832 CardBus Adapter"); case PCI_DEVICE_ID_PCIC_TI1130: +#if 0 return ("TI 1130 PCMCIA/CardBus Bridge"); +#else + printf("ignoring 1130; fallthrough to compat mode\n"); + break; +#endif case PCI_DEVICE_ID_PCIC_TI1131: return ("TI 1131 PCI to PCMCIA/CardBus bridge"); default: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message