aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcibios.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-08-31 11:06:27 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-08-31 11:06:27 -0400
commit5fdaa0346cb9d864ffff0e6fd2c2139c4a6b612f (patch)
treeccd6c13405c18a2397b191d187f820780bb0634d /src/pcibios.c
parent15b3165711bc3c94b4941e17bc9036cd151f997e (diff)
downloadseabios-5fdaa0346cb9d864ffff0e6fd2c2139c4a6b612f.tar.gz
Rename pci_find_class() to pci_find_classprog(), and add new functions.
New pci_find_class() searches by just class, not class and prog-if. Add some new pci config space definitions. Add inline functions for converting to/from bus/dev/fn to bdf to PCIDevice.
Diffstat (limited to 'src/pcibios.c')
-rw-r--r--src/pcibios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcibios.c b/src/pcibios.c
index 4e29a431..b189f0bf 100644
--- a/src/pcibios.c
+++ b/src/pcibios.c
@@ -49,7 +49,7 @@ static void
handle_1ab103(struct bregs *regs)
{
PCIDevice d;
- int ret = pci_find_class(regs->ecx, regs->si, &d);
+ int ret = pci_find_classprog(regs->ecx, regs->si, &d);
if (ret) {
set_code_fail(regs, RET_DEVICE_NOT_FOUND);
return;