aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-02-02 20:31:11 +0100
committerHelge Deller <deller@gmx.de>2024-02-06 22:47:50 +0100
commitce6e0d3e7720227885bfbe618f8ace7b0177615f (patch)
tree82fc3d434cca578a11bf1894b7cd2a11f5d787ad
parent79cba61e851cf91f4775bde225587a725457685d (diff)
downloadseabios-hppa-ce6e0d3e7720227885bfbe618f8ace7b0177615f.zip
seabios-hppa-ce6e0d3e7720227885bfbe618f8ace7b0177615f.tar.gz
seabios-hppa-ce6e0d3e7720227885bfbe618f8ace7b0177615f.tar.bz2
parisc: Resolve device name with hpa_name() on 64-bit devices
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--src/parisc/parisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index bd7ae79..d1021e5 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -372,7 +372,7 @@ static const char *hpa_name(unsigned long hpa)
struct pci_device *pci;
int i;
- #define DO(x) if (hpa == x) return #x;
+ #define DO(x) if (hpa == F_EXTEND(x)) return #x;
DO(GSC_HPA)
DO(DINO_HPA)
DO(DINO_UART_HPA)