diff options
author | imp <imp@FreeBSD.org> | 2001-11-11 06:58:43 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2001-11-11 06:58:43 +0000 |
commit | b00f702070d408f3fe648da22fd32d5cc52c14e4 (patch) | |
tree | 08189e087e41741b7b45ba39c6e1a5ecf7d94d55 /sys/pccard/pccard.c | |
parent | 04fd477246dc609ffb61d27afce54eb4176712a5 (diff) | |
download | FreeBSD-src-b00f702070d408f3fe648da22fd32d5cc52c14e4.zip FreeBSD-src-b00f702070d408f3fe648da22fd32d5cc52c14e4.tar.gz |
Introduce the concept of "default" voltage. Have pccard layer use this
value (-1) in lue of 50 (which assumes a 5.0V card). The rest of the
pccard system doesn't detect the proper voltage for the card, so we have
to do it on powerup. Many (all?) 3.3V cards can tolerate 5.0V for reading
the CIS, but may fail to operate properly when so powered.
Idea from: Chiharu Shibata-san <chi@bd.mbn.or.jp> in bsd-nomads:15867
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r-- | sys/pccard/pccard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index 6eeeabe..36556f9 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -305,7 +305,7 @@ inserted(void *arg) /* * Enable 5V to the card so that the CIS can be read. */ - slt->pwr.vcc = 50; + slt->pwr.vcc = -1; slt->pwr.vpp = 50; /* |