From stox@stox.sa.enteract.com  Mon Apr 23 11:09:51 2001
Return-Path: <stox@stox.sa.enteract.com>
Received: from stox.sa.enteract.com (stox.sa.enteract.com [207.229.132.161])
	by hub.freebsd.org (Postfix) with ESMTP id C2A1737B422
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Apr 2001 11:09:49 -0700 (PDT)
	(envelope-from stox@stox.sa.enteract.com)
Received: (from stox@localhost)
	by stox.sa.enteract.com (8.11.3/8.11.3) id f3NI9jD06933;
	Mon, 23 Apr 2001 13:09:45 -0500 (CDT)
	(envelope-from stox)
Message-Id: <200104231809.f3NI9jD06933@stox.sa.enteract.com>
Date: Mon, 23 Apr 2001 13:09:45 -0500 (CDT)
From: stox@imagescape.com
Reply-To: stox@imagescape.com
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: support for Netgear MA-301 wireless 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         26800
>Category:       kern
>Synopsis:       Support for Netgear MA-301 wireless
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    wpaul
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 23 11:10:01 PDT 2001
>Closed-Date:    Mon Apr 08 10:40:41 PDT 2002
>Last-Modified:  Mon Apr 08 10:40:41 PDT 2002
>Originator:     Kenneth P. Stox
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Imaginary Landscape, LLC.
>Environment:
System: FreeBSD stox.sa.enteract.com 5.0-CURRENT FreeBSD 5.0-CURRENT #22: Sun Apr 22 11:56:59 CDT 2001 root@stox.sa.enteract.com:/usr/src/sys/compile/CORNELIUS i386

>Description:

	Currently FreeBSD does not support the Netgear MA-301 wireless 
interface. The MA-301 is a PCI card which a MA-401 PCCARD may be plugged into.

>How-To-Repeat:
	Plug a MA-301 into a FreeBSD machine, it will not be properly 
recognized. The system sees it as a unrecognized PCI network device.

>Fix:

	The MA-301 is a PRISM2 based interface. If the following defines in 
src/sys/dev/wi/if_wireg.h are changed, the interface appears to work fine:

#define WI_PCI_VENDOR_EUMITCOM          0x1638
#define WI_PCI_DEVICE_PRISM2STA         0x1100

to

#define WI_PCI_VENDOR_EUMITCOM          0x1385
#define WI_PCI_DEVICE_PRISM2STA         0x4100

Obviously, this is a gross hack. The "real" solution would probably adding a 
case for a new define WI_PCI_VENDOR_NETGEAR, but I am concerned with the
difference in WI_PCI_DEVICE_PRISM2STA. This is probably due to my own ignorance
and lack of experience with this chipset and wireless interfaces. The hack does
appear to work perfectly, and I am now happily enjoying wireless support. BTW,
the MA-401 is supported without changes on my laptop. 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->wpaul 
Responsible-Changed-By: murray 
Responsible-Changed-When: Fri Aug 31 15:24:17 PDT 2001 
Responsible-Changed-Why:  
Can you please look at this Bill, I think the user provides plenty of information. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=26800 
State-Changed-From-To: open->feedback 
State-Changed-By: asmodai 
State-Changed-When: Sun Apr 7 22:11:07 PDT 2002 
State-Changed-Why:  
According to Warner Losh we should have support for this in CURRENT 
and very likely STABLE. 

Could you verify your problems have been resolved? 

Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26800 
State-Changed-From-To: feedback->closed 
State-Changed-By: asmodai 
State-Changed-When: Mon Apr 8 10:40:21 PDT 2002 
State-Changed-Why:  
Confirmed to work under 4.5-STABLE. 

Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26800 
>Unformatted:
