Bug 14122

Summary: lnc driver is not working
Product: Base System Reporter: boxiao63 <boxiao63>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description boxiao63 1999-10-04 19:10:00 UTC
3.2 and 3.3 claimed AMD fastether chips(79C752) were supported but 
it never worked (for me). Does anyone have it running?

GENERIC does NOT see lnc0. I built my own kernel. It found the card
as lnc1 but failed at port mapping. 

I went in the code pci/if_lnc_p.c and found it failed because 
pci_porten(pcicfgregs *cfg) returned 0 in pci_map_port(). cmdreg
was all 0. I tried to enable the port like many other drivers,
then re-read the cmdreg. It passed this point. So there is an 
order problem.

Then the kernel complains int 255 was too high although I config
it as 0x0a. intline was 0xff. I forced it to 0x0a. 

Now pci_wiredunit(cfg, dvp->pd_name) in pci_drvattach() gives a
huge negitive number. And my unit number is set to 1 after all.

Boots up fine. Finds the device and I can config the card.
But it is getting timeouts all the time and keeps resetting.
Never works. 

So after spending a day on this, it seems a better option
is to get another card. 

But I thought it was worth to report what I saw so some one 
else may get it fixed. 

Thanks.

Bo

How-To-Repeat: boot up the kernel.
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-10-04 23:22:01 UTC
State Changed
From-To: open->closed

Superseded by PR 14123 (this one contains the improper model number)