Change the name we register with DRIVER_MODULE() to include the leading

"if_".

Reviewed by:	msmith, wpaul
This commit is contained in:
obrien 1999-09-20 06:50:52 +00:00
parent 29eb7c44d8
commit 6ff8ce03d9
20 changed files with 20 additions and 20 deletions

View File

@ -701,7 +701,7 @@ static driver_t fxp_driver = {
static devclass_t fxp_devclass;
DRIVER_MODULE(fxp, pci, fxp_driver, fxp_devclass, 0, 0);
DRIVER_MODULE(if_fxp, pci, fxp_driver, fxp_devclass, 0, 0);
#endif /* __NetBSD__ */

View File

@ -208,7 +208,7 @@ static driver_t sf_driver = {
static devclass_t sf_devclass;
DRIVER_MODULE(sf, pci, sf_driver, sf_devclass, 0, 0);
DRIVER_MODULE(if_sf, pci, sf_driver, sf_devclass, 0, 0);
DRIVER_MODULE(miibus, sf, miibus_driver, miibus_devclass, 0, 0);
#define SF_SETBIT(sc, reg, x) \

View File

@ -181,7 +181,7 @@ static driver_t sk_driver = {
static devclass_t sk_devclass;
DRIVER_MODULE(skc, pci, sk_driver, sk_devclass, 0, 0);
DRIVER_MODULE(if_skc, pci, sk_driver, sk_devclass, 0, 0);
#define SK_SETBIT(sc, reg, x) \
CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | x)

View File

@ -224,7 +224,7 @@ static driver_t ti_driver = {
static devclass_t ti_devclass;
DRIVER_MODULE(ti, pci, ti_driver, ti_devclass, 0, 0);
DRIVER_MODULE(if_ti, pci, ti_driver, ti_devclass, 0, 0);
/*
* Send an instruction or address to the EEPROM, check for ACK.

View File

@ -202,7 +202,7 @@ static driver_t vr_driver = {
static devclass_t vr_devclass;
DRIVER_MODULE(vr, pci, vr_driver, vr_devclass, 0, 0);
DRIVER_MODULE(if_vr, pci, vr_driver, vr_devclass, 0, 0);
DRIVER_MODULE(miibus, vr, miibus_driver, miibus_devclass, 0, 0);
#define VR_SETBIT(sc, reg, x) \

View File

@ -197,7 +197,7 @@ static driver_t ax_driver = {
static devclass_t ax_devclass;
DRIVER_MODULE(ax, pci, ax_driver, ax_devclass, 0, 0);
DRIVER_MODULE(if_ax, pci, ax_driver, ax_devclass, 0, 0);
#define AX_SETBIT(sc, reg, x) \
CSR_WRITE_4(sc, reg, \

View File

@ -190,7 +190,7 @@ static driver_t dm_driver = {
static devclass_t dm_devclass;
DRIVER_MODULE(dm, pci, dm_driver, dm_devclass, 0, 0);
DRIVER_MODULE(if_dm, pci, dm_driver, dm_devclass, 0, 0);
DRIVER_MODULE(miibus, dm, miibus_driver, miibus_devclass, 0, 0);
#define DM_SETBIT(sc, reg, x) \

View File

@ -701,7 +701,7 @@ static driver_t fxp_driver = {
static devclass_t fxp_devclass;
DRIVER_MODULE(fxp, pci, fxp_driver, fxp_devclass, 0, 0);
DRIVER_MODULE(if_fxp, pci, fxp_driver, fxp_devclass, 0, 0);
#endif /* __NetBSD__ */

View File

@ -215,7 +215,7 @@ static driver_t mx_driver = {
static devclass_t mx_devclass;
DRIVER_MODULE(mx, pci, mx_driver, mx_devclass, 0, 0);
DRIVER_MODULE(if_mx, pci, mx_driver, mx_devclass, 0, 0);
#define MX_SETBIT(sc, reg, x) \
CSR_WRITE_4(sc, reg, \

View File

@ -207,7 +207,7 @@ static driver_t pn_driver = {
static devclass_t pn_devclass;
DRIVER_MODULE(pn, pci, pn_driver, pn_devclass, 0, 0);
DRIVER_MODULE(if_pn, pci, pn_driver, pn_devclass, 0, 0);
#define PN_SETBIT(sc, reg, x) \
CSR_WRITE_4(sc, reg, \

View File

@ -228,7 +228,7 @@ static driver_t rl_driver = {
static devclass_t rl_devclass;
DRIVER_MODULE(rl, pci, rl_driver, rl_devclass, 0, 0);
DRIVER_MODULE(if_rl, pci, rl_driver, rl_devclass, 0, 0);
DRIVER_MODULE(miibus, rl, miibus_driver, miibus_devclass, 0, 0);
#define EE_SET(x) \

View File

@ -208,7 +208,7 @@ static driver_t sf_driver = {
static devclass_t sf_devclass;
DRIVER_MODULE(sf, pci, sf_driver, sf_devclass, 0, 0);
DRIVER_MODULE(if_sf, pci, sf_driver, sf_devclass, 0, 0);
DRIVER_MODULE(miibus, sf, miibus_driver, miibus_devclass, 0, 0);
#define SF_SETBIT(sc, reg, x) \

View File

@ -185,7 +185,7 @@ static driver_t sis_driver = {
static devclass_t sis_devclass;
DRIVER_MODULE(sis, pci, sis_driver, sis_devclass, 0, 0);
DRIVER_MODULE(if_sis, pci, sis_driver, sis_devclass, 0, 0);
DRIVER_MODULE(miibus, sis, miibus_driver, miibus_devclass, 0, 0);
#define SIS_SETBIT(sc, reg, x) \

View File

@ -181,7 +181,7 @@ static driver_t sk_driver = {
static devclass_t sk_devclass;
DRIVER_MODULE(skc, pci, sk_driver, sk_devclass, 0, 0);
DRIVER_MODULE(if_skc, pci, sk_driver, sk_devclass, 0, 0);
#define SK_SETBIT(sc, reg, x) \
CSR_WRITE_4(sc, reg, CSR_READ_4(sc, reg) | x)

View File

@ -172,7 +172,7 @@ static driver_t ste_driver = {
static devclass_t ste_devclass;
DRIVER_MODULE(ste, pci, ste_driver, ste_devclass, 0, 0);
DRIVER_MODULE(if_ste, pci, ste_driver, ste_devclass, 0, 0);
DRIVER_MODULE(miibus, ste, miibus_driver, miibus_devclass, 0, 0);
#define STE_SETBIT4(sc, reg, x) \

View File

@ -224,7 +224,7 @@ static driver_t ti_driver = {
static devclass_t ti_devclass;
DRIVER_MODULE(ti, pci, ti_driver, ti_devclass, 0, 0);
DRIVER_MODULE(if_ti, pci, ti_driver, ti_devclass, 0, 0);
/*
* Send an instruction or address to the EEPROM, check for ACK.

View File

@ -361,7 +361,7 @@ static driver_t tl_driver = {
static devclass_t tl_devclass;
DRIVER_MODULE(tl, pci, tl_driver, tl_devclass, 0, 0);
DRIVER_MODULE(if_tl, pci, tl_driver, tl_devclass, 0, 0);
DRIVER_MODULE(miibus, tl, miibus_driver, miibus_devclass, 0, 0);
static u_int8_t tl_dio_read8(sc, reg)

View File

@ -202,7 +202,7 @@ static driver_t vr_driver = {
static devclass_t vr_devclass;
DRIVER_MODULE(vr, pci, vr_driver, vr_devclass, 0, 0);
DRIVER_MODULE(if_vr, pci, vr_driver, vr_devclass, 0, 0);
DRIVER_MODULE(miibus, vr, miibus_driver, miibus_devclass, 0, 0);
#define VR_SETBIT(sc, reg, x) \

View File

@ -229,7 +229,7 @@ static driver_t wb_driver = {
static devclass_t wb_devclass;
DRIVER_MODULE(wb, pci, wb_driver, wb_devclass, 0, 0);
DRIVER_MODULE(if_wb, pci, wb_driver, wb_devclass, 0, 0);
DRIVER_MODULE(miibus, wb, miibus_driver, miibus_devclass, 0, 0);
#define WB_SETBIT(sc, reg, x) \

View File

@ -284,7 +284,7 @@ static driver_t xl_driver = {
static devclass_t xl_devclass;
DRIVER_MODULE(xl, pci, xl_driver, xl_devclass, 0, 0);
DRIVER_MODULE(if_xl, pci, xl_driver, xl_devclass, 0, 0);
DRIVER_MODULE(miibus, xl, miibus_driver, miibus_devclass, 0, 0);
/*