diff options
author | 2002-07-13 18:20:26 +0000 | |
---|---|---|
committer | 2002-07-13 18:20:26 +0000 | |
commit | 0f6c77ae01ee1e91744c0f4976a1a89ce2c3bbe9 (patch) | |
tree | a40a8e96e370123d215f605f93d2700fdcf0ff90 | |
parent | Cleanup/Shrinkage. (diff) | |
download | wireguard-openbsd-0f6c77ae01ee1e91744c0f4976a1a89ce2c3bbe9.tar.xz wireguard-openbsd-0f6c77ae01ee1e91744c0f4976a1a89ce2c3bbe9.zip |
define PCI_COMMAND_STATUS_BITS for printfs, according to the enlisted defines
-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. */ |