diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-07-10 13:12:37 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-07-10 13:12:37 -0400 |
commit | 0d6b8d5ff2df9dea30003b03c6af6e6bfb461ce9 (patch) | |
tree | d917c50af36fae8aba471101edac4bfb3dd29fa5 /src/dev-i440fx.h | |
parent | 968d3a889cc35fd647e6e05ec7537fffad09227d (diff) | |
download | seabios-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.h | 10 |
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 |