summaryrefslogtreecommitdiffstats
path: root/include/pci.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-27 15:47:17 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 08:42:41 -0600
commit5f48d798eb151f50d79b93913b59190a679ee9b5 (patch)
tree691bb8c5bbd71ccf9cd1c16536a54ecafe96ccac /include/pci.h
parentf134ed7df1167c6b2f0a62e3765abedced3feacc (diff)
downloadblackbird-obmc-uboot-5f48d798eb151f50d79b93913b59190a679ee9b5.tar.gz
blackbird-obmc-uboot-5f48d798eb151f50d79b93913b59190a679ee9b5.zip
pci: Add a constant for an invalid interrupt
Rather than using 0xff in the code, add a constant. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pci.h b/include/pci.h
index dce159f277..628ede0957 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -231,6 +231,8 @@
#define PCI_MIN_GNT 0x3e /* 8 bits */
#define PCI_MAX_LAT 0x3f /* 8 bits */
+#define PCI_INTERRUPT_LINE_DISABLE 0xff
+
/* Header type 1 (PCI-to-PCI bridges) */
#define PCI_PRIMARY_BUS 0x18 /* Primary bus number */
#define PCI_SECONDARY_BUS 0x19 /* Secondary bus number */
OpenPOWER on IntegriCloud