Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2001 13:44:40 +0900
From:      Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To:        current@freebsd.org
Subject:   Fw: Stop annoying message of lnc
Message-ID:  <20010318134440S.matusita@jp.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
----Next_Part(Sun_Mar_18_13:44:39_2001_274)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


I've sent an email to paul@freebsd.org, 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

----Next_Part(Sun_Mar_18_13:44:39_2001_274)--
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit

X-Face: '*aj"d@ijeQ:/X}]oM5c5Uz{ZZZk90WPt>a^y4$cGQp8:!H\W=hSM;PuNiidkc]/%,;6VGu
 e+`&APmz|P;F~OL/QK%;P2vU>\j4X.8@i%j6[%DTs_3J,Fff0)*oHg$A.cDm&jc#pD24WK@{,"Ef!0
 P\):.2}8jo-BiZ?X&t$V
X-User-Agent: Mew/1.94.2 XEmacs/21.2 (Poseidon)
X-FaceAnim: (-O_O-)(O_O- )(_O-  )(O-   )(-   -)(   -O)(  -O_)( -O_O)(-O_O-)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Dispatcher: imput version 20000228(IM140)
Lines: 34
From: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To: paul@freebsd.org
Subject: Stop annoying message of lnc
Date: Wed, 07 Mar 2001 13:59:24 +0900
Message-Id: <20010307135924V.matusita@jp.FreeBSD.org>


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

----Next_Part(Sun_Mar_18_13:44:39_2001_274)----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010318134440S.matusita>