From stox@stox.sa.enteract.com  Mon Sep 16 19:22:22 2002
Return-Path: <stox@stox.sa.enteract.com>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4F4C437B400
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Sep 2002 19:22:22 -0700 (PDT)
Received: from stox.sa.enteract.com (stox.sa.enteract.com [207.229.132.161])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 575E443E65
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Sep 2002 19:22:17 -0700 (PDT)
	(envelope-from stox@stox.sa.enteract.com)
Received: from stox.sa.enteract.com (localhost [127.0.0.1])
	by stox.sa.enteract.com (8.12.6/8.12.3) with ESMTP id g8H2MBmZ055760
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Sep 2002 21:22:12 -0500 (CDT)
	(envelope-from stox@stox.sa.enteract.com)
Received: (from stox@localhost)
	by stox.sa.enteract.com (8.12.6/8.12.3/Submit) id g8H2MABT055759;
	Mon, 16 Sep 2002 21:22:10 -0500 (CDT)
Message-Id: <200209170222.g8H2MABT055759@stox.sa.enteract.com>
Date: Mon, 16 Sep 2002 21:22:10 -0500 (CDT)
From: "Kenneth P. Stox" <stox@imagescape.com>
Reply-To: "Kenneth P. Stox" <stox@imagescape.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Support for Netgear FA-511 pccard.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         42858
>Category:       kern
>Synopsis:       Support for Netgear FA-511 pccard.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 16 19:30:00 PDT 2002
>Closed-Date:    Fri Jul 18 23:59:43 MDT 2003
>Last-Modified:  Fri Jul 18 23:59:43 MDT 2003
>Originator:     Kenneth P. Stox
>Release:        FreeBSD 5.0-CURRENT
>Organization:
Imaginary Landscape, LLC.
>Environment:
System: FreeBSD cerebrus.stox.sa.enteract.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Sep 15 12:58:39 CDT 2002     stox@cerebrus.stox.sa.enteract.com:/usr/src/sys/i386/compile/CEREBRUS  i386


>Description:
	FreeBSD does not currently support the Netgear FA-511 PCCARD.
>How-To-Repeat:
	Insert Netgear FA-511 PCCARD into PCCARD slot.
>Fix:

	It appears that the FA-511 is actually a rebadged ADMTek AN985.

The following context diffs in /usr/src/sys/pci will add support for this device:

*** if_dc.c	Mon Sep 16 20:50:53 2002
--- if_dc.c.new	Sun Sep 15 12:58:15 2002
***************
*** 43,48 ****
--- 43,49 ----
   * ASIX Electronics AX88141 (www.asix.com.tw)
   * ADMtek AL981 (www.admtek.com.tw)
   * ADMtek AN985 (www.admtek.com.tw)
+  * Netgear FA511 (www.netgear.com) Appears to be rebadged ADMTek AN985
   * Davicom DM9100, DM9102, DM9102A (www.davicom8.com)
   * Accton EN1217 (www.accton.com)
   * Xircom X3201 (www.xircom.com)
***************
*** 156,161 ****
--- 157,164 ----
  		"ADMtek AL981 10/100BaseTX" },
  	{ DC_VENDORID_ADMTEK, DC_DEVICEID_AN985,
  		"ADMtek AN985 10/100BaseTX" },
+ 	{ DC_VENDORID_ADMTEK, DC_DEVICEID_FA511,
+ 		"Netgear FA511 10/100BaseTX" },
  	{ DC_VENDORID_ASIX, DC_DEVICEID_AX88140A,
  		"ASIX AX88140A 10/100BaseTX" },
  	{ DC_VENDORID_ASIX, DC_DEVICEID_AX88140A,
***************
*** 1918,1923 ****
--- 1921,1927 ----
  		sc->dc_pmode = DC_PMODE_MII;
  		break;
  	case DC_DEVICEID_AN985:
+ 	case DC_DEVICEID_FA511:
  	case DC_DEVICEID_FE2500:
  	case DC_DEVICEID_EN2242:
  		sc->dc_type = DC_TYPE_AN985;
***************
*** 2056,2061 ****
--- 2060,2066 ----
  		break;
  	case DC_TYPE_AL981:
  	case DC_TYPE_AN985:
+ 	case DC_DEVICEID_FA511:
  		dc_read_eeprom(sc, (caddr_t)&eaddr, DC_AL_EE_NODEADDR, 3, 0);
  		break;
  	case DC_TYPE_CONEXANT:

*** if_dcreg.h	Mon Sep 16 20:50:53 2002
--- if_dcreg.h.new	Sun Sep 15 12:52:07 2002
***************
*** 862,867 ****
--- 862,868 ----
   */
  #define DC_DEVICEID_AL981	0x0981
  #define DC_DEVICEID_AN985	0x0985
+ #define DC_DEVICEID_FA511	0x1985
  

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: kris 
Responsible-Changed-When: Sat Jul 12 17:01:31 PDT 2003 
Responsible-Changed-Why:  
Assign to pccard maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42858 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Fri Jul 18 23:59:31 MDT 2003 
State-Changed-Why:  
Commited! 


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