diff options
author | kato <kato@FreeBSD.org> | 2000-03-29 03:15:22 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 2000-03-29 03:15:22 +0000 |
commit | 7af5f89a60b2c01199275c6b9d0271c6bf342100 (patch) | |
tree | 5dc25460c10069bc1ccdfe095d12f26393bd7444 /sys/i386/include/bus_pio_ind.h | |
parent | beae0af3f39d85f6aa06dc4e1d97ef7170c32883 (diff) | |
download | FreeBSD-src-7af5f89a60b2c01199275c6b9d0271c6bf342100.zip FreeBSD-src-7af5f89a60b2c01199275c6b9d0271c6bf342100.tar.gz |
Added indirect pio into the bus space stuff for the NEC PC-98. bus.h
includes one of bus_at386.h and bus_pc98.h. Becuase only bus_pc98.h
supports indirect pio and bus_at386.h is identical to old bus.h, there
is no functional change in PC-AT's kernels. That is, it cannot cause
performance loss.
Submitted by: nyan
Reviewed by: imp
bde and luoqi provided useful comments for earlier version.
Diffstat (limited to 'sys/i386/include/bus_pio_ind.h')
-rw-r--r-- | sys/i386/include/bus_pio_ind.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sys/i386/include/bus_pio_ind.h b/sys/i386/include/bus_pio_ind.h new file mode 100644 index 0000000..c4d7169 --- /dev/null +++ b/sys/i386/include/bus_pio_ind.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 1997 Justin Gibbs. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions, and the following disclaimer, + * without modification, immediately at the beginning of the file. + * 2. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR + * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ + */ + +#ifndef _I386_BUS_PIO_IND_H_ +#define _I386_BUS_PIO_IND_H_ +#endif /* _I386_BUS_PIO_IND_H_ */ |