Bug 25582

Summary: lnc driver uses wrong driver name
Product: Base System Reporter: kabaev <kabaev>
Component: kernAssignee: Paul Richards <paul>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description kabaev 2001-03-07 04:50:02 UTC
	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)
Comment 1 joe freebsd_committer freebsd_triage 2001-03-07 09:18:00 UTC
Responsible Changed
From-To: freebsd-bugs->paul

Paul's the maintainter of this code IIRC. 
.
Comment 2 iedowse freebsd_committer freebsd_triage 2001-03-08 00:54:21 UTC
State Changed
From-To: open->analyzed

Paul says that he has been aware of this issue for some time, but 
that he would like to retain the ability to load/unload the ISA 
and PCI parts of the lnc driver separately. Apparently the logic 
in ifconfig(8) for loading interface driver modules is not very 
flexible in this respect. It may be ifconfig that needs to be 
improved to handle such cases correctly.
Comment 3 iedowse freebsd_committer freebsd_triage 2001-03-18 17:52:51 UTC
State Changed
From-To: analyzed->suspended

I have committed your patch - this may not result in the most 
desirable behaviour, but it will do for now. It avoids the annoying 
warnings and makes lnc consistent with other drivers. Thanks for 
the problem report!
Comment 4 ak03 2001-10-29 16:43:33 UTC
This PR can be closed. With kldxref introduction, the original problem 
is non-issue.
Comment 5 dannyboy freebsd_committer freebsd_triage 2001-12-16 20:11:05 UTC
State Changed
From-To: suspended->closed

Originator says issue is resolved.