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:
Blue Swirl
2008-11-29 13:18:32 +00:00
parent f34790fc87
commit f446864114
7 changed files with 83 additions and 40 deletions

View File

@@ -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 \