Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 2004 11:22:28 -0600
From:      <soralx@cydem.org>
To:        freebsd-hardware@freebsd.org
Subject:   [PATCH] Re: Linksys PCM200
Message-ID:  <200410171122.28021.soralx@cydem.org>
In-Reply-To: <200410132110.09915.soralx@cydem.org>
References:  <200410132110.09915.soralx@cydem.org>

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

I've just tested this on 5.3-BETA7 - works OK, no more watchdog timeouts.
So could someone review those patches and add 'em to the source tree?

--- ./if_dc.c   Sat Jan 24 22:23:21 2004
+++ /fd0/if_dc.c        Wed Oct 13 20:56:08 2004
@@ -217,6 +217,10 @@
                "Microsoft MN-130 10/100" },
	{ DC_VENDORID_MICROSOFT, DC_DEVICEID_MSMN130_FAKE,
                "Microsoft MN-130 10/100" },
+	{ DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB08,
+	"Linksys PCM200 EtherFast 10/100 CardBus ethernet adapter, v.03 (ADMtek 
Centaur-C)" },
+	{ DC_VENDORID_LINKSYS, DC_DEVICEID_PCM200_AB09,
+	"Linksys PCM200 EtherFast 10/100 CardBus ethernet adapter, v.03 (ADMtek 
Centaur-C)" },
        { 0, 0, NULL }
 };
 
@@ -1978,6 +1982,7 @@
        case DC_DEVICEID_3CSOHOB:
        case DC_DEVICEID_MSMN120:
        case DC_DEVICEID_MSMN130_FAKE: /* XXX avoid collision with PNIC*/
+	case DC_DEVICEID_PCM200_AB09:
                sc->dc_type = DC_TYPE_AN985;
                sc->dc_flags |= DC_64BIT_HASH;
                sc->dc_flags |= DC_TX_USE_TX_INTR;


/usr/src/sys/pci/if_dcreg.h udiff:

--- ./if_dcreg.h        Fri Jan  9 14:13:56 2004
+++ /fd0/if_dcreg.h     Wed Oct 13 20:44:50 2004
@@ -1002,6 +1002,18 @@
 #define DC_DEVICEID_MSMN130    0x0002
 #define DC_DEVICEID_MSMN130_FAKE       0xFFF2
 
+/*
+ * Linksys vendor ID
+ */
+#define DC_VENDORID_LINKSYS    0x1737
+
+/*
+ * Linksys device IDs
+ */
+#define DC_DEVICEID_PCM200_AB08        0xab08
+#define DC_DEVICEID_PCM200_AB09        0xab09
+
 /*
  * PCI low memory base and low I/O base register, and
  * other PCI registers.

Timestamp: 0x4172A6A5
[SorAlx]  http://cydem.org.ua/
ridin' VN1500-B2



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