From 5f48d798eb151f50d79b93913b59190a679ee9b5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 27 Jul 2015 15:47:17 -0600 Subject: pci: Add a constant for an invalid interrupt Rather than using 0xff in the code, add a constant. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- include/pci.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/pci.h') diff --git a/include/pci.h b/include/pci.h index dce159f..628ede0 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 */ -- cgit v1.1