diff options
| author | Michael Brown | 2005-04-22 04:47:39 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-22 04:47:39 +0200 |
| commit | 3e8c2aa78b94bdea867414d81b60c6196a8726c7 (patch) | |
| tree | 491aaabaae81a11b1c54b5205a775157d09b939f /src | |
| parent | Added friendly enable/disable functions (diff) | |
| download | ipxe-3e8c2aa78b94bdea867414d81b60c6196a8726c7.tar.gz ipxe-3e8c2aa78b94bdea867414d81b60c6196a8726c7.tar.xz ipxe-3e8c2aa78b94bdea867414d81b60c6196a8726c7.zip | |
Fix up fill_mca_nic.
Diffstat (limited to 'src')
| -rw-r--r-- | src/drivers/bus/mca.c | 3 | ||||
| -rw-r--r-- | src/include/mca.h | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/drivers/bus/mca.c b/src/drivers/bus/mca.c index 51f81d8d9..9d572ef48 100644 --- a/src/drivers/bus/mca.c +++ b/src/drivers/bus/mca.c @@ -8,7 +8,6 @@ #include "string.h" #include "io.h" #include "console.h" -#include "nic.h" #include "mca.h" /* @@ -145,7 +144,7 @@ struct bus_driver mca_driver __bus_driver = { * Fill in a nic structure * */ -void mca_fill_nic ( struct nic *nic, struct mca_device *mca ) { +void fill_mca_nic ( struct nic *nic, struct mca_device *mca ) { /* ioaddr and irqno must be read in a device-dependent way * from the POS registers diff --git a/src/include/mca.h b/src/include/mca.h index 236c90021..3961375ab 100644 --- a/src/include/mca.h +++ b/src/include/mca.h @@ -9,7 +9,7 @@ #define MCA_H #include "isa_ids.h" -#include "dev.h" +#include "nic.h" #define MCA_BUS_TYPE 3 @@ -73,6 +73,12 @@ struct mca_driver { } /* + * Functions in mca.c + * + */ +extern void fill_mca_nic ( struct nic *nic, struct mca_device *mca ); + +/* * MCA bus global definition * */ |
