diff options
author | imp <imp@FreeBSD.org> | 2002-06-23 01:55:10 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-06-23 01:55:10 +0000 |
commit | 2ca74898871c4224db1bf10217625a45c33e8ff4 (patch) | |
tree | 05a095e4d4f89c8b1934038308b4bf47dfbc9361 /sys/pccard/i82365.h | |
parent | 4bc342b5535ab65f0c43d675318f1186a9eb5272 (diff) | |
download | FreeBSD-src-2ca74898871c4224db1bf10217625a45c33e8ff4.zip FreeBSD-src-2ca74898871c4224db1bf10217625a45c33e8ff4.tar.gz |
What:
o ToPIC is happy with two cards now, even when the two cards are
modems.
o Fix (all?) hangs on boot when power is applied to the card. I
suspect that this will make the Ricoh bridges happier and also
make a lot of VAIO owners happy (confirm to me in private email
please :-).
o All Cardbus bridges should now support 3.3V, X.XV and Y.YV cards,
to the extent that the underlying hardware supports such cards.
(X.X and Y.Y haven't been assigned values yet :-).
o Better 3.3V support for Ricoh ISA bridges.
How:
o Don't mess with the power register when scanning the cards. It
is unnecessary and causes BADVcc conditions on many chipsets. These
in turn can cause an interrupt storm.
o Make pcic_disable reset the slot's voltage.
o Move initializing voltage for the slot until after it has been
disabled.
o Fix a lot of issues with the pcic_cardbus_power routine. We
now properly enable the card and take it out of reset after
a power change.
o When detecting the card's voltage, if we're in a BadVcc state,
direct the bridge to rescan the card for what it supports.
(we might need to in the future set the power register to 0
before doing this).
o Don't preserve CLKSTOP. need to revisit this.
o Better support for Ricoh ISA bridges for 3.3V cards.
o Don't write to PCIC_POWER directly as offten, but instead go
through the pcic_power interface.
o All cardbus bridges now default to use cardbus power control.
o Add misc register definitions.
o remove some (now) bogus comments.
Extra Special Thanks To: Scott Lamber for his kind and generous loan
of a Toshiba laptop with a ToPIC 100 in it for my use.
Diffstat (limited to 'sys/pccard/i82365.h')
-rw-r--r-- | sys/pccard/i82365.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pccard/i82365.h b/sys/pccard/i82365.h index 6f19bb4..7e2ca8d 100644 --- a/sys/pccard/i82365.h +++ b/sys/pccard/i82365.h @@ -118,7 +118,8 @@ #define PCIC_IBM3 0x8a /* IBM KING PCIC clone; Both Memory and I/O */ /* For Interface Status register (PCIC_STATUS) */ -#define PCIC_VPPV 0x80 /* Vpp_valid */ +#define PCIC_VPPV 0x80 /* Vpp_valid or reserved*/ +#define PCIC_RICOH_5VCARD 0x80 /* 5V card detected */ #define PCIC_POW 0x40 /* PC Card power active */ #define PCIC_READY 0x20 /* Ready/~Busy */ #define PCIC_MWP 0x10 /* Memory Write Protect */ |