diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-13 18:20:27 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-13 18:20:27 +0000 |
commit | dbce0563d624e43a50efa42f64600354ec7a28f1 (patch) | |
tree | cac340bfd3c30b51c5a5edd020ec58b8842568dc /sys/dev | |
parent | bbd71b0dcf62719b75605f8296564804f3cbd11f (diff) |
define PCI_COMMAND_STATUS_BITS for printfs, according to the enlisted defines
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/pcireg.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index b5f5d4e4e61..d3b3c70ed8b 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcireg.h,v 1.18 2002/04/06 04:29:43 jason Exp $ */ +/* $OpenBSD: pcireg.h,v 1.19 2002/07/13 18:20:26 mickey Exp $ */ /* $NetBSD: pcireg.h,v 1.26 2000/05/10 16:58:42 thorpej Exp $ */ /* @@ -89,6 +89,12 @@ typedef u_int16_t pci_product_id_t; #define PCI_STATUS_SPECIAL_ERROR 0x40000000 #define PCI_STATUS_PARITY_DETECT 0x80000000 +#define PCI_COMMAND_STATUS_BITS \ + ("\020\01IO\02MEM\03MASTER\04SPECIAL\05INVALIDATE\06PALETTE\07PARITY"\ + "\010STEPPING\011SERR\012BACKTOBACK\025CAPLIST\026CLK66\027UDF"\ + "\030BACK2BACK_STAT\031PARITY_STAT\032DEVSEL_MEDIUM\033DEVSEL_SLOW"\ + "\034TARGET_TARGET_ABORT\035MASTER_TARGET_ABORT\036MASTER_ABORT"\ + "\037SPECIAL_ERROR\040PARITY_DETECT") /* * PCI Class and Revision Register; defines type and revision of device. */ |