diff options
author | gibbs <gibbs@FreeBSD.org> | 2002-06-05 22:25:51 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2002-06-05 22:25:51 +0000 |
commit | 0ec97c71b67864501c4c2d55bc37205da76150e2 (patch) | |
tree | 5b6badfdf307a8f79669893e9bb624c0a6d595df /sys/dev/pci | |
parent | 0642a9650fe4b6103c0451e05fb070f112e607df (diff) | |
download | FreeBSD-src-0ec97c71b67864501c4c2d55bc37205da76150e2.zip FreeBSD-src-0ec97c71b67864501c4c2d55bc37205da76150e2.tar.gz |
Add some PCI-X register definitions.
PCIM_CMD_SERREN -> PCIM_CMD_SERRESPEN to be consistent with
the PERR definition.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pcireg.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/sys/dev/pci/pcireg.h b/sys/dev/pci/pcireg.h index 52c0af1..b1a45dd 100644 --- a/sys/dev/pci/pcireg.h +++ b/sys/dev/pci/pcireg.h @@ -56,7 +56,7 @@ #define PCIM_CMD_SPECIALEN 0x0008 #define PCIM_CMD_MWRICEN 0x0010 #define PCIM_CMD_PERRESPEN 0x0040 -#define PCIM_CMD_SERREN 0x0100 +#define PCIM_CMD_SERRESPEN 0x0100 #define PCIM_CMD_BACKTOBACK 0x0200 #define PCIR_STATUS 0x06 #define PCIM_STATUS_CAPPRESENT 0x0010 @@ -292,6 +292,23 @@ #define PCIR_POWER_DATA 0x7 +/* PCI-X definitions */ +#define PCIXR_COMMAND 0x96 +#define PCIXR_DEVADDR 0x98 +#define PCIXM_DEVADDR_FNUM 0x0003 /* Function Number */ +#define PCIXM_DEVADDR_DNUM 0x00F8 /* Device Number */ +#define PCIXM_DEVADDR_BNUM 0xFF00 /* Bus Number */ +#define PCIXR_STATUS 0x9A +#define PCIXM_STATUS_64BIT 0x0001 /* Active 64bit connection to device. */ +#define PCIXM_STATUS_133CAP 0x0002 /* Device is 133MHz capable */ +#define PCIXM_STATUS_SCDISC 0x0004 /* Split Completion Discarded */ +#define PCIXM_STATUS_UNEXPSC 0x0008 /* Unexpected Split Completion */ +#define PCIXM_STATUS_CMPLEXDEV 0x0010 /* Device Complexity (set == bridge) */ +#define PCIXM_STATUS_MAXMRDBC 0x0060 /* Maximum Burst Read Count */ +#define PCIXM_STATUS_MAXSPLITS 0x0380 /* Maximum Split Transactions */ +#define PCIXM_STATUS_MAXCRDS 0x1C00 /* Maximum Cumulative Read Size */ +#define PCIXM_STATUS_RCVDSCEM 0x2000 /* Received a Split Comp w/Error msg */ + #if 0 /* some PCI vendor definitions (only used to identify ancient devices !!! */ |