From owner-freebsd-current Sat Mar 17 20:45: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from updraft.jp.freebsd.org (updraft.jp.FreeBSD.ORG [210.157.158.42]) by hub.freebsd.org (Postfix) with ESMTP id B357637B718 for ; Sat, 17 Mar 2001 20:45:05 -0800 (PST) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by updraft.jp.freebsd.org (8.11.3+3.4W/8.11.3) with ESMTP/inet id f2I4ixW79578 for ; Sun, 18 Mar 2001 13:45:00 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) 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: Multipart/Mixed; boundary="--Next_Part(Sun_Mar_18_13:44:39_2001_274)--" Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 70 From: Makoto MATSUSHITA To: current@freebsd.org Subject: Fw: Stop annoying message of lnc Date: Sun, 18 Mar 2001 13:44:40 +0900 Message-Id: <20010318134440S.matusita@jp.FreeBSD.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----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 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