summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-06-05 14:45:32 +0000
committerjhb <jhb@FreeBSD.org>2008-06-05 14:45:32 +0000
commite97a68f59ce54baed148f85417e07fa479c31338 (patch)
treeb21a3084006a90f3725f81b1d46408eb7de66659 /sys
parent8da84f3ad23b7d940ee9e733e027434dacfc8de9 (diff)
downloadFreeBSD-src-e97a68f59ce54baed148f85417e07fa479c31338.zip
FreeBSD-src-e97a68f59ce54baed148f85417e07fa479c31338.tar.gz
Rename the ie_EE16 module to just 'ie' so that at least one of the modules
for this driver is called 'ie'. Otherwise, ifconfig(8) doesn't recognize any of the modules as being the ie(4) driver and will always try to kldload the driver even when it is already present in the kernel. Reported by: Thierry Herbelot
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ie/if_ie_isa.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ie/if_ie_isa.c b/sys/dev/ie/if_ie_isa.c
index cc62fa3..5b0ba88 100644
--- a/sys/dev/ie/if_ie_isa.c
+++ b/sys/dev/ie/if_ie_isa.c
@@ -802,11 +802,13 @@ static device_method_t ie_isa_3C507_methods[] = {
DEVMETHOD(device_detach, ie_detach),
{ 0, 0 }
};
+
static driver_t ie_isa_3C507_driver = {
"ie",
ie_isa_3C507_methods,
sizeof(struct ie_softc),
};
+
DRIVER_MODULE(ie_3C507, isa, ie_isa_3C507_driver, ie_devclass, ie_modevent, 0);
MODULE_DEPEND(ie_3C507, elink, 1, 1, 1);
@@ -817,12 +819,14 @@ static device_method_t ie_isa_ee16_methods[] = {
DEVMETHOD(device_detach, ie_detach),
{ 0, 0 }
};
+
static driver_t ie_isa_ee16_driver = {
"ie",
ie_isa_ee16_methods,
sizeof(struct ie_softc),
};
-DRIVER_MODULE(ie_EE16, isa, ie_isa_ee16_driver, ie_devclass, ie_modevent, 0);
+
+DRIVER_MODULE(ie, isa, ie_isa_ee16_driver, ie_devclass, ie_modevent, 0);
static device_method_t ie_isa_sl_methods[] = {
DEVMETHOD(device_probe, ie_isa_sl_probe),
@@ -830,11 +834,13 @@ static device_method_t ie_isa_sl_methods[] = {
DEVMETHOD(device_detach, ie_detach),
{ 0, 0 }
};
+
static driver_t ie_isa_sl_driver = {
"ie",
ie_isa_sl_methods,
sizeof(struct ie_softc),
};
+
DRIVER_MODULE(ie_SL, isa, ie_isa_sl_driver, ie_devclass, ie_modevent, 0);
static int
OpenPOWER on IntegriCloud