Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2001 09:43:45 +0200
From:      Martin Nilsson <martin@svenskabutiker.se>
To:        Mike Smith <msmith@freebsd.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: Cardbus bridge doesn't attach anymore.
Message-ID:  <3AC2E7B1.8A4D7AD2@svenskabutiker.se>
References:  <200103282118.f2SLINX01791@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC2E7B1.8A4D7AD2>