summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pccard.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-09-20 20:02:49 +0000
committerimp <imp@FreeBSD.org>2000-09-20 20:02:49 +0000
commitef70022f844efbe7329a5fe222fa0b475c9374cf (patch)
treee452b4f76729f165545134d00a187e75443eac58 /sys/pccard/pccard.c
parent67b1b035aaaf584d26a90553e435b9cb2f923e47 (diff)
downloadFreeBSD-src-ef70022f844efbe7329a5fe222fa0b475c9374cf.zip
FreeBSD-src-ef70022f844efbe7329a5fe222fa0b475c9374cf.tar.gz
o Remove 9 unnecessary includes.
o Add Vpp power at 5.0V rather than 0. Setting it to zero violates the pccard spec. Most pcic devices in use today don't let us violate the spec, but some older ones do. Bill Paul sent this to me a long time ago and I thought I'd commit it before now. o Add some debug stuff hidden behind bootverbose.
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r--sys/pccard/pccard.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index a59133a..f3187a9 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -41,16 +41,11 @@
#include <sys/select.h>
#include <sys/sysctl.h>
#include <sys/conf.h>
-#include <sys/module.h>
#include <sys/uio.h>
#include <sys/poll.h>
#include <sys/bus.h>
#include <machine/bus.h>
-#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-#include <i386/isa/intr_machdep.h>
-
#include <pccard/cardinfo.h>
#include <pccard/driver.h>
#include <pccard/pcic.h>
@@ -282,7 +277,7 @@ inserted(void *arg)
* Enable 5V to the card so that the CIS can be read.
*/
slt->pwr.vcc = 50;
- slt->pwr.vpp = 0;
+ slt->pwr.vpp = 50;
/*
* Disable any pending timeouts for this slot, and explicitly
OpenPOWER on IntegriCloud