summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic_isa.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-11-09 07:33:54 +0000
committerimp <imp@FreeBSD.org>2001-11-09 07:33:54 +0000
commit66dabcc793efb40567d212a22a6bd88f4d264dc0 (patch)
tree2faca828cbc4923f603cb0cbe57b4077cdd20f36 /sys/pccard/pcic_isa.c
parentdab2d92b007935a860120ec3ec7963659c29706f (diff)
downloadFreeBSD-src-66dabcc793efb40567d212a22a6bd88f4d264dc0.zip
FreeBSD-src-66dabcc793efb40567d212a22a6bd88f4d264dc0.tar.gz
o Try to do 3.3V support better for the 6722 and 6729/30.
o Bite the bullet and create controller types for the 6729 and also for the 673x. Rename the 672x to 6722. o Define minimal extended register info (just register 0xa for reading VS[12]). # I think the last version may have broken 673x controllers, but this should # fix them. Tested on the 6722, but not the 6729. Ideas from: Chiharu Shibata-san's article in bsd-nomads:15866
Diffstat (limited to 'sys/pccard/pcic_isa.c')
-rw-r--r--sys/pccard/pcic_isa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pccard/pcic_isa.c b/sys/pccard/pcic_isa.c
index e20eedf..a35dc01 100644
--- a/sys/pccard/pcic_isa.c
+++ b/sys/pccard/pcic_isa.c
@@ -63,7 +63,7 @@ static struct {
{ "Intel i82365SL-A/B", PCIC_AB_POWER},
{ "IBM PCIC", PCIC_AB_POWER},
{ "VLSI 82C146", PCIC_AB_POWER},
- { "Cirrus logic 672x", PCIC_PD_POWER},
+ { "Cirrus logic 6722", PCIC_PD_POWER},
{ "Cirrus logic 6710", PCIC_PD_POWER},
{ "Vadem 365", PCIC_VG_POWER},
{ "Vadem 465", PCIC_VG_POWER},
@@ -251,7 +251,7 @@ pcic_isa_probe(device_t dev)
c = sp->getb(sp, PCIC_CLCHIP);
if ((c & PCIC_CLC_TOGGLE) == 0) {
if (c & PCIC_CLC_DUAL)
- sp->controller = PCIC_PD672X;
+ sp->controller = PCIC_PD6722;
else
sp->controller = PCIC_PD6710;
sp->revision = 8 - ((c & 0x1F) >> 2);
@@ -272,7 +272,7 @@ pcic_isa_probe(device_t dev)
* that claims to reduce power consumption by 30%, so
* enable it and hope for the best.
*/
- if (sp->controller == PCIC_PD672X) {
+ if (sp->controller == PCIC_PD6722) {
pcic_setb(sp, PCIC_MISC1, PCIC_MISC1_SPEAKER);
pcic_setb(sp, PCIC_MISC2, PCIC_LPDM_EN);
}
OpenPOWER on IntegriCloud