Rename "struct device" to "struct midway_device" to avoid clashing
with newbus.
This commit is contained in:
parent
1265230747
commit
da9ce5cf0c
@ -927,7 +927,7 @@ struct en_softc *sc;
|
||||
printf(" work for you, you'd better switch to a newer motherboard.\n");
|
||||
}
|
||||
#endif /* 1 */
|
||||
return;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
||||
#define EN_INTR_RET(X) return
|
||||
#define EN_IOCTL_CMDT u_long
|
||||
|
||||
struct device {
|
||||
struct midway_device {
|
||||
char dv_xname[IFNAMSIZ];
|
||||
};
|
||||
|
||||
@ -90,7 +90,7 @@ struct device {
|
||||
|
||||
struct en_softc {
|
||||
/* bsd glue */
|
||||
struct device sc_dev; /* system device */
|
||||
struct midway_device sc_dev; /* system device */
|
||||
struct ifnet enif; /* network ifnet handle */
|
||||
|
||||
/* bus glue */
|
||||
|
Loading…
Reference in New Issue
Block a user