diff options
author | Helge Deller <deller@gmx.de> | 2021-09-24 10:34:06 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-09-24 11:10:17 +0200 |
commit | bcc894215bc60502046f8cf80ebd7bfc7f7f0c9b (patch) | |
tree | 995941c516b35bb89f63964a1cf7f3e345017b2f | |
parent | ef4ddc625fcb418f99c431cf6ffda5321ef26b1d (diff) | |
download | seabios-hppa-bcc894215bc60502046f8cf80ebd7bfc7f7f0c9b.zip seabios-hppa-bcc894215bc60502046f8cf80ebd7bfc7f7f0c9b.tar.gz seabios-hppa-bcc894215bc60502046f8cf80ebd7bfc7f7f0c9b.tar.bz2 |
boot: Fix qemu bootindex parameter on parisc architecture
On parisc qemu reports the main PCI bus as "/dino-pcihost" instead of
"/pci@i0cf8". This is important when using the bootindex parameter for
SCSI discs, because the seabios boot code uses this name as prefix when
identifying and sorting the bootable discs.
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/boot.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -49,7 +49,11 @@ glob_prefix(const char *glob, const char *str) } } +#if CONFIG_PARISC +#define FW_PCI_DOMAIN "/dino-pcihost" +#else #define FW_PCI_DOMAIN "/pci@i0cf8" +#endif static char * build_pci_path(char *buf, int max, const char *devname, struct pci_device *pci) |