Added PnP I/O port address of NEC PC-98.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
This commit is contained in:
parent
7fa939e201
commit
a424913c23
@ -29,7 +29,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: pnp.h,v 1.4 1997/09/20 06:26:28 peter Exp $
|
||||
* $Id: pnp.h,v 1.5 1997/11/18 11:47:04 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_ISA_PNP_H_
|
||||
@ -44,9 +44,14 @@
|
||||
#define MAX_PNP_LDN 20
|
||||
|
||||
/* Static ports to access PnP state machine */
|
||||
#if defined(PC98) && defined(KERNEL)
|
||||
/* pnp.h is included from pnpinfo.c. */
|
||||
#define _PNP_ADDRESS 0x259
|
||||
#define _PNP_WRITE_DATA 0xa59
|
||||
#else
|
||||
#define _PNP_ADDRESS 0x279
|
||||
#define _PNP_WRITE_DATA 0xa79
|
||||
|
||||
#endif
|
||||
|
||||
/* PnP Registers. Write to ADDRESS and then use WRITE/READ_DATA */
|
||||
#define SET_RD_DATA 0x00
|
||||
|
Loading…
Reference in New Issue
Block a user