diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2011-06-19 10:46:28 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2011-06-19 10:46:28 -0400 |
commit | baac6b6e1a3fc2d5e662e685a6bbe196292c2522 (patch) | |
tree | 46f373a4d019a0b43233d5bab03ea6e463827853 /src/ata.c | |
parent | b9457ec8818db62cf13cbcc791103720e5730edb (diff) | |
download | seabios-hppa-baac6b6e1a3fc2d5e662e685a6bbe196292c2522.zip seabios-hppa-baac6b6e1a3fc2d5e662e685a6bbe196292c2522.tar.gz seabios-hppa-baac6b6e1a3fc2d5e662e685a6bbe196292c2522.tar.bz2 |
Rename foreachpci macro to foreachbdf.
Diffstat (limited to 'src/ata.c')
-rw-r--r-- | src/ata.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ #include "cmos.h" // inb_cmos #include "pic.h" // enable_hwirq #include "biosvar.h" // GET_EBDA -#include "pci.h" // foreachpci +#include "pci.h" // foreachbdf #include "pci_ids.h" // PCI_CLASS_STORAGE_OTHER #include "pci_regs.h" // PCI_INTERRUPT_LINE #include "boot.h" // boot_add_hd @@ -1035,7 +1035,7 @@ ata_init(void) // Scan PCI bus for ATA adapters int pcicount=0; int bdf, max; - foreachpci(bdf, max) { + foreachbdf(bdf, max) { pcicount++; pci_init_device(pci_ata_tbl, bdf, NULL); } |