Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2003 10:11:37 +0900 (JST)
From:      Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/51823: ADMtek 9511 Ethernet isn't probed
Message-ID:  <200305060111.h461BbUs020153@elam.kais.kyoto-u.ac.jp>
Resent-Message-ID: <200305060120.h461KEr5026060@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         51823
>Category:       kern
>Synopsis:       ADMtek 9511 Ethernet isn't probed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 05 18:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kaho Toshikazu
>Release:        FreeBSD 4.8-RC i386
>Organization:
Kyoto University
>Environment:
System: FreeBSD elam.kais.kyoto-u.ac.jp 4.8-RC FreeBSD 4.8-RC #1: Sun Mar 23 16:26:51 JST 2003 suguri@elam.kais.kyoto-u.ac.jp:/var/obj/usr/src/sys/ELAM i386


	
>Description:
ADMtek 9511 has Ethernet and Modem functions in a chip. Its data sheets
are published at http://www.admtek.com.tw/index/index/download.htm .
The part of Ethernet is compatible with AN983/985, but kernel dosen't
know its PCI ID. No device driver is attached.
`pciconf -lv` shows:

dc0@pci0:20:0:  class=0x020000 card=0x400e144f chip=0x95111317 rev=0x01 hdr=0x00
    vendor   = 'Admtek Inc'
    device   = 'ADM9511 cardbus ethernet-modem controller'
    class    = network
    subclass = ethernet
none7@pci0:20:1:        class=0x070301 card=0x400e144f chip=0x28501317 rev=0x02 hdr=0x00
    vendor   = 'Admtek Inc'
    class    = simple comms

	
>How-To-Repeat:
Insert card and boot kernel.

>Fix:
Please add ID to the dc drivers. Patch is here.

--- if_dc.c.orig        Thu May  1 18:31:01 2003
+++ if_dc.c     Fri May  2 18:09:33 2003
@@ -156,6 +156,8 @@
                "ADMtek AL981 10/100BaseTX" },
        { DC_VENDORID_ADMTEK, DC_DEVICEID_AN985,
                "ADMtek AN985 10/100BaseTX" },
+       { DC_VENDORID_ADMTEK, DC_DEVICEID_ADM9511,
+               "ADMtek ADM9511 10/100BaseTX" },
        { DC_VENDORID_ASIX, DC_DEVICEID_AX88140A,
                "ASIX AX88140A 10/100BaseTX" },
        { DC_VENDORID_ASIX, DC_DEVICEID_AX88140A,
@@ -1984,6 +1986,7 @@
                dc_read_srom(sc, sc->dc_romwidth);
                break;
        case DC_DEVICEID_AN985:
+       case DC_DEVICEID_ADM9511:
        case DC_DEVICEID_FE2500:
        case DC_DEVICEID_EN2242:
        case DC_DEVICEID_HAWKING_PN672TX:
--- if_dcreg.h.orig     Sat Apr 19 00:42:25 2003
+++ if_dcreg.h  Fri May  2 18:12:04 2003
@@ -866,6 +866,7 @@
  */
 #define DC_DEVICEID_AL981      0x0981
 #define DC_DEVICEID_AN985      0x0985
+#define DC_DEVICEID_ADM9511    0x9511
 
 /*
  * ASIX vendor ID.


	


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305060111.h461BbUs020153>