Bug 132238 - [ral] ral driver does not support RT2860
Summary: [ral] ral driver does not support RT2860
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 00:50 UTC by Jack Twilley
Modified: 2019-01-18 11:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Twilley 2009-03-02 00:50:03 UTC
The ral(4) driver does not support the RT2860 chipset.  The website run by the original author of the driver indicates that the original author is now focusing on OpenBSD, and a quick search through the OpenBSD CVS commit mailing list shows that the RT2860 chipset has been supported there since last November.

Fix: 

The simplistic answer is to import all the changes from the OpenBSD driver that aren't currently in the FreeBSD driver, but I doubt it's that simple.
How-To-Repeat: Build and install an up-to-date 8.0-CURRENT kernel including the devices listed in the ral(4) manual page.  Boot verbosely, and see the following lines of dmesg output:

ACPI: Found matching pin for 1.0.INTA at func 0: 11
pci1: <ACPI PCI bus> on pcib4
pci1: domain=0, physical bus=1
found-> vendor=0x1814, dev=0x0781, revid=0x00
        domain=0, bus=1, slot=0, func=0
        class=02-80-00, hdrtype=0x00, mfdev=0
        cmdreg=0x0007, statreg=0x0010, cachelnsz=8 (dwords)
        lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
        intpin=a, irq=11
        powerspec 3  supports D0 D3  current D0
        MSI supports 32 messages, 64 bit
        map[10]: type Memory, range 32, base rxfbef0000, size 16, enabled
pcib4: requested memory range 0xfbef0000-0xfbefffff: good
pcib4: matched entry for 1.0.INTA (src \\_SB_.LNKD:0)
pcib4: slot 0 INTA routed to irq 11 via \\_SB_.LNKD
pci1: <network> at device 0.0 (no driver attached)
pci0:1:0:0: Transition from D0 to D3
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:09 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Andriy Voskoboinyk freebsd_committer freebsd_triage 2019-01-18 11:20:02 UTC
The support was added in base r235233.