mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Use pci_arch_t also on Sparc64 (but disable PCI probing for now, hangs)
git-svn-id: svn://coreboot.org/openbios/openbios-devel@270 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "asm/io.h"
|
||||
|
||||
#if !(PCI_CONFIG_1 || PCI_CONFIG_2)
|
||||
#if !(defined(PCI_CONFIG_1) || defined(PCI_CONFIG_2))
|
||||
#define PCI_CONFIG_1 1 /* default */
|
||||
#endif
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
|
||||
/* PCI Configuration Mechanism #1 */
|
||||
|
||||
extern pci_arch_t *arch;
|
||||
|
||||
#define PCI_ADDR(bus, dev, fn) \
|
||||
((pci_addr) (arch->cfg_base \
|
||||
| (uint32_t) (bus) << 16 \
|
||||
|
||||
Reference in New Issue
Block a user