mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 23:31:39 +00:00
Fix up fill_mca_nic.
This commit is contained in:
parent
97346a75f7
commit
3e8c2aa78b
@ -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
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define MCA_H
|
||||
|
||||
#include "isa_ids.h"
|
||||
#include "dev.h"
|
||||
#include "nic.h"
|
||||
|
||||
#define MCA_BUS_TYPE 3
|
||||
|
||||
@ -72,6 +72,12 @@ struct mca_driver {
|
||||
.id_count = sizeof ( _ids ) / sizeof ( _ids[0] ), \
|
||||
}
|
||||
|
||||
/*
|
||||
* Functions in mca.c
|
||||
*
|
||||
*/
|
||||
extern void fill_mca_nic ( struct nic *nic, struct mca_device *mca );
|
||||
|
||||
/*
|
||||
* MCA bus global definition
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user