mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Rename "struct device" to "struct midway_device" to avoid clashing
with newbus.
This commit is contained in:
parent
651dde1b81
commit
61ddb5c9d7
2 changed files with 3 additions and 3 deletions
|
|
@ -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 a new issue