Rename "struct device" to "struct midway_device" to avoid clashing

with newbus.
This commit is contained in:
phk 2002-09-28 21:59:59 +00:00
parent 1265230747
commit da9ce5cf0c
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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 */