Bug 17831

Summary: FreeBSD 4.0 doesn't detect EpoX 7KXA properly
Product: Base System Reporter: cwasser <cwasser>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description cwasser 2000-04-06 20:10:01 UTC
FreeBSD 4.0 is missing device ID support for certain devices on the
EpoX 7KXA AMD Athlon motherboard.

Fix: 

Here's the "fix" (still haven't found out how to correctly ID the
Host-to-PCI Bridge) in /usr/src/sys/pci/pcisupport.c add:

case 0x83911106:
return ("VIA 82C686 PCI-PCI (AGP) bridge");

Before:
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <PCI to PCI bridge (vendor=1106 device=8391)> at device 1.0 on pci0
pci1: <PCI bus> on pcib2

After:
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C686 PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2

If someone can point me out how to ID the Host-to-PCI controller, I'll
submit a ID fix for that too. Not sure why the pcib device skipped from
0 to 2, but I'll deal with that as it comes along.

Detects every other 82C686 device just fine however:

isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
atapci0: <VIA 82C686 ATA66 controller> port 0xd000-0xd00f at device 7.1 on pci0
chip1: <VIA 82C686 ACPI interface> at device 4.4 on pci0
How-To-Repeat: Install FreeBSD 4.0 on a EpoX 7KXA Athlon system.
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-10-22 19:46:01 UTC
State Changed
From-To: open->closed

Superseeded by PR 22052 which has a patch.