I've sent an email to [EMAIL PROTECTED], a maintainer of lnc ethernet
driver, to fix the module name of lnc almost two weeks before.

However, he maybe too busy working, there is no response from him. Are
there any committers to check my patch and fix the driver?

-- -
Makoto MATSUSHITA



It seems that module name of lnc is not 'if_xxx', which is assumed by
ifconfig(8) or friends. Because of this, we've got annoying messages
while booting (if kernel has lnc driver already):

        module_register: module pci/lnc_pci already exists!
        Module pci/lnc_pci failed to register: 17
        module_register: module isa/lnc_isa already exists!
        Module isa/lnc_isa failed to register: 17

Fixing is too trivial, change the module's name; attached below is a
sample patch:

--- if_lnc_isa.c.dist   Wed Mar  7 13:42:29 2001
+++ if_lnc_isa.c        Wed Mar  7 13:44:12 2001
@@ -310,4 +310,4 @@
        sizeof(struct lnc_softc),
 };
 
-DRIVER_MODULE(lnc_isa, isa, lnc_isa_driver, lnc_devclass, 0, 0);
+DRIVER_MODULE(if_lnc, isa, lnc_isa_driver, lnc_devclass, 0, 0);
--- if_lnc_pci.c.dist   Wed Mar  7 13:42:29 2001
+++ if_lnc_pci.c        Wed Mar  7 13:43:42 2001
@@ -223,4 +223,4 @@
        sizeof(struct lnc_softc),
 };
 
-DRIVER_MODULE(lnc_pci, pci, lnc_pci_driver, lnc_devclass, 0, 0);
+DRIVER_MODULE(if_lnc, pci, lnc_pci_driver, lnc_devclass, 0, 0);

Would you please check this patch out and commit ?

-- -
Makoto `MAR' MATSUSHITA


Reply via email to