summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pcireg.h
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1997-05-28 11:15:18 +0000
committerse <se@FreeBSD.org>1997-05-28 11:15:18 +0000
commit19f636016113354fc26680afe2669faef603f393 (patch)
tree2caa8108eae9c0c0561cdd2e3d22119ebe2d8571 /sys/dev/pci/pcireg.h
parent364b813321a5a3ffb16442a39fbc3a5da9e56059 (diff)
downloadFreeBSD-src-19f636016113354fc26680afe2669faef603f393.zip
FreeBSD-src-19f636016113354fc26680afe2669faef603f393.tar.gz
Define command register enable bits, which are required for a consitency
test added to pci_compat.c
Diffstat (limited to 'sys/dev/pci/pcireg.h')
-rw-r--r--sys/dev/pci/pcireg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h
index cd5c6e8..6f91078 100644
--- a/sys/dev/pci/pcireg.h
+++ b/sys/dev/pci/pcireg.h
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: pcireg.h,v 1.15 1997/05/26 15:08:35 se Exp $
*
*/
@@ -53,6 +53,9 @@
#define PCIR_VENDOR 0x00
#define PCIR_DEVICE 0x02
#define PCIR_COMMAND 0x04
+#define PCIM_CMD_PORTEN 0x0001
+#define PCIM_CMD_MEMEN 0x0002
+#define PCIM_CMD_BUSMASTEREN 0x0004
#define PCIR_STATUS 0x06
#define PCIR_REVID 0x08
#define PCIR_PROGIF 0x09
OpenPOWER on IntegriCloud