Maintenace: add definitions for command status register.

This commit is contained in:
haya 2000-04-19 01:19:04 +00:00
parent 008e7d1528
commit edfd8044ec

View File

@ -1,4 +1,4 @@
/* $NetBSD: cardbusvar.h,v 1.19 2000/04/17 09:15:58 joda Exp $ */
/* $NetBSD: cardbusvar.h,v 1.20 2000/04/19 01:19:04 haya Exp $ */
/*
* Copyright (c) 1998, 1999 and 2000
@ -70,9 +70,16 @@ typedef u_int16_t cardbus_product_id_t;
#define CARDBUS_COMMAND_STATUS_REG 0x04
# define CARDBUS_COMMAND_IO_ENABLE 0x00000001
# define CARDBUS_COMMAND_MEM_ENABLE 0x00000002
# define CARDBUS_COMMAND_MASTER_ENABLE 0x00000004
# define CARDBUS_COMMAND_IO_ENABLE 0x00000001
# define CARDBUS_COMMAND_MEM_ENABLE 0x00000002
# define CARDBUS_COMMAND_MASTER_ENABLE 0x00000004
# define CARDBUS_COMMAND_SPECIAL_ENABLE 0x00000008
# define CARDBUS_COMMAND_INVALIDATE_ENABLE 0x00000010
# define CARDBUS_COMMAND_PALETTE_ENABLE 0x00000020
# define CARDBUS_COMMAND_PARITY_ENABLE 0x00000040
# define CARDBUS_COMMAND_STEPPING_ENABLE 0x00000080
# define CARDBUS_COMMAND_SERR_ENABLE 0x00000100
# define CARDBUS_COMMAND_BACKTOBACK_ENABLE 0x00000200
#define CARDBUS_CLASS_REG 0x08