From owner-freebsd-mobile Wed Mar 28 23:44: 5 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mailg.telia.com (mailg.telia.com [194.22.194.26]) by hub.freebsd.org (Postfix) with ESMTP id 3B44D37B719; Wed, 28 Mar 2001 23:43:51 -0800 (PST) (envelope-from martin@svenskabutiker.se) Received: from svenskabutiker.se (t2o79p107.telia.com [62.20.200.227]) by mailg.telia.com (8.9.3/8.9.3) with ESMTP id JAA28440; Thu, 29 Mar 2001 09:43:48 +0200 (CEST) Message-ID: <3AC2E7B1.8A4D7AD2@svenskabutiker.se> Date: Thu, 29 Mar 2001 09:43:45 +0200 From: Martin Nilsson X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Mike Smith Cc: freebsd-mobile@freebsd.org Subject: Re: Cardbus bridge doesn't attach anymore. References: <200103282118.f2SLINX01791@mass.dis.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Mike Smith wrote: > > > I applied Martin Nilsson's patches to my ThinkPad, and for a while, > > it correctly probed the O2Micro Cardbus bridge. (And the TI Bridge) > > > The pccbb probe logic is a bit stupid, I think. I'd be guessing that at > any rate, something has spammed over the patches you've applied. I > haven't actually seen this patch, so I can't comment, sorry, but if I > were you, I'd re-check-out the relevant files and re-patch them first. Well the patch was just to make pccbb aware of a new pci-id. The following is it what I posted before and it would be nice if somebody colud commit it to current. There were a followup from somebody else with another O2Micro cardbus controller that he managed to get working the same way. /Martin ----- This patch against current activates the O2Micro 6832 Cardbus controller in my Siemens M350. It works well together with an Intel Pro100 Cardbus adapter. How it works with other cards is unknown as this is the only card i have. /Martin diff -c -r pccbb/pccbb.c pccbb.mn/pccbb.c *** pccbb/pccbb.c Fri Feb 9 07:08:52 2001 --- pccbb.mn/pccbb.c Wed Mar 7 15:40:10 2001 *************** *** 173,178 **** --- 173,180 ---- CB_CIRRUS, PCCBB_PCIC_MEM_32}, {PCI_DEVICE_ID_PCIC_CLPD6833, "CLPD6833 PCI-CardBus Bridge", CB_CIRRUS, PCCBB_PCIC_MEM_32}, + {PCI_DEVICE_ID_PCIC_OZ6832, "OZ6832 PCI-CardBus Bridge", + CB_CIRRUS, PCCBB_PCIC_MEM_32}, /* sentinel */ {0 /* null id */, "unknown", diff -c -r pccbb/pccbbreg.h pccbb.mn/pccbbreg.h *** pccbb/pccbbreg.h Wed Oct 18 05:25:13 2000 --- pccbb.mn/pccbbreg.h Wed Mar 7 15:38:38 2001 *************** *** 160,165 **** --- 160,166 ---- /* Vendor/Device IDs */ #define PCI_DEVICE_ID_PCIC_OZ6729 0x67291217ul #define PCI_DEVICE_ID_PCIC_OZ6730 0x673A1217ul + #define PCI_DEVICE_ID_PCIC_OZ6832 0x68321217ul #define PCI_DEVICE_ID_PCIC_CLPD6729 0x11001013ul #define PCI_DEVICE_ID_PCIC_CLPD6832 0x11101013ul #define PCI_DEVICE_ID_PCIC_CLPD6833 0x11131013ul -- Martin Nilsson, Civilingenjör M.Sc. CS&E Svenska Butiker AB, S:t Larsväg 44, 222 70 Lund martin@svenskabutiker.se Tel: 046-304130 www.svenskabutiker.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message