From nobody@FreeBSD.org  Sat Jan 20 13:25:56 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 3F3E316A402
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Jan 2007 13:25:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 3047A13C44C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Jan 2007 13:25:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l0KDPrgG055884
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 20 Jan 2007 13:25:53 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l0KDPrY8055874;
	Sat, 20 Jan 2007 13:25:53 GMT
	(envelope-from nobody)
Message-Id: <200701201325.l0KDPrY8055874@www.freebsd.org>
Date: Sat, 20 Jan 2007 13:25:53 GMT
From: Chu<chu@rambler.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ASUS NX1001 (if_ste) hardware support
X-Send-Pr-Version: www-3.0

>Number:         108150
>Category:       kern
>Synopsis:       [ste] [patch] ASUS NX1001 (if_ste) hardware support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 20 13:30:26 GMT 2007
>Closed-Date:    Sat Mar 10 03:12:52 GMT 2007
>Last-Modified:  Sat Mar 10 03:20:03 GMT 2007
>Originator:     Chu
>Release:        6.2 PRERELEASE; 6.2 RELEASE
>Organization:
-
>Environment:
FreeBSD host2.df 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Jan 15 11:45:54 EET 2007     root@host2.df:/usr/src/sys/i386/compile/GATEWAY  i386
>Description:
if_ste don't support ASUS NX1001 ethernet adapter.

pciconf -lv
ste0@pci1:0:0:  class=0x020000 card=0x82131043 chip=0x020013f0 rev=0x31 hdr=0x00
    vendor   = 'Sundance Technology Inc'
    class    = network
    subclass = ethernet

>How-To-Repeat:
insert ASUS NX1001 ethernet card into computer...
>Fix:
if_ste.c:

static struct ste_type ste_devs[] = {
        { ST_VENDORID, ST_DEVICEID_ST201, "Sundance ST201 10/100BaseTX" },
        { AS_VENDORID, AS_DEVICEID_NX1001, "ASUS NX1001 10/100BaseTX" },
        { DL_VENDORID, DL_DEVICEID_DL10050, "D-Link DL10050 10/100BaseTX" },
        { 0, 0, NULL }
};

if_stereg.h:

/*
* card=0x82131043 chip=0x020013f0
* ASUS NX1001
*/

#define AS_VENDORID             0x13F0
#define AS_DEVICEID_NX1001      0x0200

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Feb 13 00:59:36 UTC 2007 
Responsible-Changed-Why:  
Try to bring this to the attention of a wider audience. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108150 

From: Eugene Grosbein <eugen@grosbein.pp.ru>
To: bug-followup@freebsd.org
Cc: Chu <chu@rambler.ru>, stable@freebsd.org
Subject: Re: kern/108150: [ste] [patch] ASUS NX1001 (if_ste) hardware support
Date: Fri, 9 Mar 2007 23:01:30 +0700

 Hi!
 
 I confirm that the problem exists and proposed solution works.
 
 I've just installed a router with ASUS NX1001 PCI card
 and have been forced to rebuild kernel with device id
 manually added to the driver. Only then the card was attached by the driver.
 Please commit this.
 
 
 Eugene Grosbein
State-Changed-From-To: open->closed 
State-Changed-By: yongari 
State-Changed-When: Sat Mar 10 03:11:32 UTC 2007 
State-Changed-Why:  
Committed with minor changes. Thank you very much. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=108150 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/108150: commit references a PR
Date: Sat, 10 Mar 2007 03:10:41 +0000 (UTC)

 yongari     2007-03-10 03:10:34 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/pci              if_ste.c if_stereg.h 
   Log:
   Add new ST201 PCI id.
   
   PR:     kern/108150
   
   Revision  Changes    Path
   1.98      +2 -1      src/sys/pci/if_ste.c
   1.22      +2 -1      src/sys/pci/if_stereg.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
