aboutsummaryrefslogtreecommitdiffstats
path: root/src/dev-i440fx.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-07-10 13:12:37 -0400
committerKevin O'Connor <kevin@koconnor.net>2010-07-10 13:12:37 -0400
commit0d6b8d5ff2df9dea30003b03c6af6e6bfb461ce9 (patch)
treed917c50af36fae8aba471101edac4bfb3dd29fa5 /src/dev-i440fx.h
parent968d3a889cc35fd647e6e05ec7537fffad09227d (diff)
downloadseabios-0d6b8d5ff2df9dea30003b03c6af6e6bfb461ce9.tar.gz
seabios: pciinit: use pci device initializer helper function.
This patch makes use of pci device initialization helper function to convert if/switch clause to table driven. So this makes it easier to add q35 initialization code. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'src/dev-i440fx.h')
-rw-r--r--src/dev-i440fx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dev-i440fx.h b/src/dev-i440fx.h
new file mode 100644
index 00000000..ded5740d
--- /dev/null
+++ b/src/dev-i440fx.h
@@ -0,0 +1,10 @@
+#ifndef __I440FX_H
+#define __I440FX_H
+
+#include "types.h" // u16
+
+void piix_isa_bridge_init(u16 bdf, void *arg);
+void piix_ide_init(u16 bdf, void *arg);
+void piix4_pm_init(u16 bdf, void *arg);
+
+#endif // __I440FX_H