From nobody@FreeBSD.org  Mon Mar  2 00:48:47 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 97EEE106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  2 Mar 2009 00:48:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 862AA8FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  2 Mar 2009 00:48:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n220ml7G030228
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 2 Mar 2009 00:48:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n220mlNB030224;
	Mon, 2 Mar 2009 00:48:47 GMT
	(envelope-from nobody)
Message-Id: <200903020048.n220mlNB030224@www.freebsd.org>
Date: Mon, 2 Mar 2009 00:48:47 GMT
From: Jack Twilley <mathuin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ral driver does not support RT2860
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         132238
>Category:       kern
>Synopsis:       [ral] ral driver does not support RT2860
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 02 00:50:03 UTC 2009
>Closed-Date:    
>Last-Modified:  Mon Mar 02 00:58:30 UTC 2009
>Originator:     Jack Twilley
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD eeeve 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Feb 28 13:25:00 PST 2009     root@eeeve:/usr/obj/usr/src/sys/ASUS-EEEPC-901-8.0  i386


>Description:
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.



>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 0xfbef0000, 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


>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.

>Release-Note:
>Audit-Trail:
>Unformatted:
