Bug 26800

Summary: Support for Netgear MA-301 wireless
Product: Base System Reporter: stox <stox>
Component: kernAssignee: Bill Paul <wpaul>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description stox 2001-04-23 19:10:01 UTC
	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.

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.
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.
Comment 1 Murray Stokely freebsd_committer freebsd_triage 2001-08-31 23:24:17 UTC
Responsible Changed
From-To: freebsd-bugs->wpaul

Can you please look at this Bill, I think the user provides plenty of information.
Comment 2 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2002-04-08 06:11:07 UTC
State Changed
From-To: open->feedback

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.
Comment 3 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2002-04-08 18:40:21 UTC
State Changed
From-To: feedback->closed

Confirmed to work under 4.5-STABLE. 

Thanks!