diff options
author | Eric Biederman <ebiederm@xmission.com> | 2003-07-21 23:30:29 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2003-07-21 23:30:29 +0000 |
commit | 860ad373efdadde9bbc11ee49b8967a6428a404c (patch) | |
tree | ba8afe4d78c341f27bd2511209c14024a98b4d54 /src/include/device/pci_def.h | |
parent | 2c018fba95a5f40c4eaaa20421e8c893dffdb62e (diff) | |
download | coreboot-860ad373efdadde9bbc11ee49b8967a6428a404c.tar.xz |
- First pass at code for generic link width and size determination
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@999 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device/pci_def.h')
-rw-r--r-- | src/include/device/pci_def.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h index 6a22cbe67f..ad8f1e6b88 100644 --- a/src/include/device/pci_def.h +++ b/src/include/device/pci_def.h @@ -182,7 +182,18 @@ #define PCI_CAP_ID_HT 0x08 #define PCI_CAP_LIST_NEXT 1 /* Next capability in the list */ #define PCI_CAP_FLAGS 2 /* Capability defined flags (16 bits) */ -#define PCI_CAP_SIZEOF 4 + +/* Hypertransport Registers */ +#define PCI_HT_CAP_SIZEOF 4 +#define PCI_HT_CAP_HOST_WIDTH 6 /* width value & capability */ +#define PCI_HT_CAP_HOST_FREQ 0x09 /* Host frequency */ +#define PCI_HT_CAP_HOST_FREQ_CAP 0x0a /* Host Frequency capability */ +#define PCI_HT_CAP_SLAVE_WIDTH0 6 /* width value & capability */ +#define PCI_HT_CAP_SLAVE_WIDTH1 0x0a /* width value & capability to */ +#define PCI_HT_CAP_SLAVE_FREQ0 0x0d /* Slave frequency from */ +#define PCI_HT_CAP_SLAVE_FREQ1 0x011 /* Slave frequency to */ +#define PCI_HT_CAP_SLAVE_FREQ_CAP0 0x0e /* Frequency capability from */ +#define PCI_HT_CAP_SLAVE_FREQ_CAP1 0x12 /* Frequency capability to */ /* Power Management Registers */ |