Re: TI-1420 PCMCIA Chipset Problems
"M. Warner Losh" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
[[ Private email cc'd to mobile to make things into the archive, hope it is OK with marius ]] In message: <[email protected]> Marius Strom <[email protected]> writes: : Where can I get the o2micro workaround code? I have no problem merging : existing patch code in to see if that fixes the cbb problems. Right now it is in sys/dev/pccbb/pccbb.c. There are two places where it is relevant. Rather than try to describe what to do, here's a patch. It isn't good enough to commit, but it might help you out none the less. Warner Index: pccbb.c =================================================================== RCS file: /home/ncvs/src/sys/dev/pccbb/pccbb.c,v retrieving revision 1.78 diff -u -r1.78 pccbb.c --- pccbb.c 12 Jun 2003 06:06:14 -0000 1.78 +++ pccbb.c 22 Jun 2003 23:32:29 -0000 @@ -486,7 +486,7 @@ * on some machines. */ pci_write_config(sc->dev, CBBR_MMCTRL, 0, 4); - break; +/* break; */ case CB_O2MICRO: /* * Issue #1: INT# generated at the same time as @@ -1206,7 +1206,7 @@ if (cbb_get(sc, CBB_SOCKET_CONTROL) == sock_ctrl) return (1); /* no change necessary */ DEVPRINTF((sc->dev, "cbb_power: %dV\n", volts)); - if (volts != 0 && sc->chipset == CB_O2MICRO) + if (volts != 0 /* && sc->chipset == CB_O2MICRO*/ ) reg = cbb_o2micro_power_hack(sc); cbb_set(sc, CBB_SOCKET_CONTROL, sock_ctrl); @@ -1248,7 +1248,7 @@ } retval = 1; done:; - if (volts != 0 && sc->chipset == CB_O2MICRO) + if (volts != 0 /* && sc->chipset == CB_O2MICRO */) cbb_o2micro_power_hack2(sc, reg); return (retval); } _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"