summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/pcmciavar.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-07-20 21:51:22 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1999-07-20 21:51:22 +0000
commit6f8ae11c5d50d06b8bdafe0dd2361bc49b000cfe (patch)
treec9f8f006d574fc34b2665a5e2da644092a64d11f /sys/dev/pcmcia/pcmciavar.h
parentfeaab9b632e8d8522dd4335e62b3db9d937feedd (diff)
Add wdc pcmcia controller. As the other new ATA code, it needs to be
uncommented.
Diffstat (limited to 'sys/dev/pcmcia/pcmciavar.h')
-rw-r--r--sys/dev/pcmcia/pcmciavar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/pcmciavar.h b/sys/dev/pcmcia/pcmciavar.h
index 17420dbdc71..8432ac08fa6 100644
--- a/sys/dev/pcmcia/pcmciavar.h
+++ b/sys/dev/pcmcia/pcmciavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcmciavar.h,v 1.9 1999/05/27 13:36:55 niklas Exp $ */
+/* $OpenBSD: pcmciavar.h,v 1.10 1999/07/20 21:51:21 fgsch Exp $ */
/* $NetBSD: pcmciavar.h,v 1.5 1998/07/19 17:28:17 christos Exp $ */
/*
@@ -253,6 +253,9 @@ void pcmcia_function_disable __P((struct pcmcia_function *));
(pcmcia_chip_io_alloc((pf)->sc->pct, pf->sc->pch, (start), \
(size), (align), (pciop)))
+#define pcmcia_io_free(pf, pciohp) \
+ (pcmcia_chip_io_free((pf)->sc->pct, (pf)->sc->pch, (pciohp)))
+
int pcmcia_io_map __P((struct pcmcia_function *, int, bus_addr_t,
bus_size_t, struct pcmcia_io_handle *, int *));