pnpreg.h (55206) | pnpreg.h (60374) |
---|---|
1/* 2 * Copyright (c) 1996, Sujal M. Patel 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 1/* 2 * Copyright (c) 1996, Sujal M. Patel 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/isa/pnpreg.h 55206 1999-12-29 05:07:58Z peter $ | 32 * $FreeBSD: head/sys/isa/pnpreg.h 60374 2000-05-11 11:09:50Z nyan $ |
33 * from: pnp.h,v 1.7 1998/09/13 22:15:44 eivind Exp 34 */ 35 36#ifndef _ISA_PNPREG_H_ 37#define _ISA_PNPREG_H_ 38 39/* Maximum Number of PnP Devices. 8 should be plenty */ 40#define PNP_MAX_CARDS 8 41 42#if 0 43/* 44 * the following is the maximum number of PnP Logical devices that 45 * userconfig can handle. 46 */ 47#define MAX_PNP_LDN 20 48#endif 49 50/* Static ports to access PnP state machine */ | 33 * from: pnp.h,v 1.7 1998/09/13 22:15:44 eivind Exp 34 */ 35 36#ifndef _ISA_PNPREG_H_ 37#define _ISA_PNPREG_H_ 38 39/* Maximum Number of PnP Devices. 8 should be plenty */ 40#define PNP_MAX_CARDS 8 41 42#if 0 43/* 44 * the following is the maximum number of PnP Logical devices that 45 * userconfig can handle. 46 */ 47#define MAX_PNP_LDN 20 48#endif 49 50/* Static ports to access PnP state machine */ |
51#if defined(PC98) && defined(_KERNEL) 52/* pnp.h is included from pnpinfo.c. */ | 51#ifdef PC98 |
53#define _PNP_ADDRESS 0x259 54#define _PNP_WRITE_DATA 0xa59 55#else 56#define _PNP_ADDRESS 0x279 57#define _PNP_WRITE_DATA 0xa79 58#endif 59 60/* PnP Registers. Write to ADDRESS and then use WRITE/READ_DATA */ --- 199 unchanged lines hidden --- | 52#define _PNP_ADDRESS 0x259 53#define _PNP_WRITE_DATA 0xa59 54#else 55#define _PNP_ADDRESS 0x279 56#define _PNP_WRITE_DATA 0xa79 57#endif 58 59/* PnP Registers. Write to ADDRESS and then use WRITE/READ_DATA */ --- 199 unchanged lines hidden --- |