Date: Tue, 6 Mar 2001 23:41:40 -0500 (EST) From: kabaev@mail.ru To: FreeBSD-gnats-submit@freebsd.org Subject: kern/25582: lnc network card driver module name is incorrect Message-ID: <200103070441.f274feS46802@kan.dnsalias.net>
next in thread | raw e-mail | index | archive | help
>Number: 25582 >Category: kern >Synopsis: lnc driver uses wrong driver name >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 06 20:50:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Alexander N. Kabaev >Release: FreeBSD 5.0-CURRENT i386 >Organization: Verizon Laboratories Inc. >Environment: System: FreeBSD kan.dnsalias.net 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Mar 6 21:03:40 EST 2001 kan@kan.dnsalias.net:/usr/src/sys/compile/KAN i386 >Description: lnc driver uses lnc_pci and lnc_isa names for its bus interface parts. It should use "if_lnc" name instead, otherwise ifconfig will attempt to load dynamic module each time if is invoked for lncX interface. This produces fairly annoying "lnc_pc failed to register: 17" messages. >How-To-Repeat: Compile in lnc driver and try to configure IP on it (you'll need a card obviously, or you should be running FreeBSD under VMWare) >Fix: Index: if_lnc_isa.c =================================================================== RCS file: /home/ncvs/src/sys/dev/lnc/if_lnc_isa.c,v retrieving revision 1.10 diff -u -r1.10 if_lnc_isa.c --- if_lnc_isa.c 2000/12/29 11:59:41 1.10 +++ if_lnc_isa.c 2001/03/07 04:08:10 @@ -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); Index: if_lnc_pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/lnc/if_lnc_pci.c,v retrieving revision 1.23 diff -u -r1.23 if_lnc_pci.c --- if_lnc_pci.c 2001/03/02 00:40:06 1.23 +++ if_lnc_pci.c 2001/03/07 04:08:31 @@ -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); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103070441.f274feS46802>