kern/75582: [dc] [patch] Add support for Linksys PCMPC200
Cardbus card
Gary Palmer
freebsd-gnats at in-addr.com
Mon May 29 10:50:22 PDT 2006
The following reply was made to PR kern/75582; it has been noted by GNATS.
From: Gary Palmer <freebsd-gnats at in-addr.com>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/75582: [dc] [patch] Add support for Linksys PCMPC200 Cardbus card
Date: Mon, 29 May 2006 13:42:28 -0400
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
Patch still works on 6.x
mesg:
dc0: <Linksys PCMPC200 10/100> port 0xd000-0xd0ff mem 0xf6002000-0xf60023ff irq 11 at device 0.0 on cardbus0
miibus1: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:04:5a:a6:a5:1f
ifconfig:
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::204:5aff:fea6:a51f%dc0 prefixlen 64 scopeid 0x4
inet 10.10.10.101 netmask 0xffffff00 broadcast 10.10.10.255
ether 00:04:5a:a6:a5:1f
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
pciconf -lv:
dc0 at pci3:0:0: class=0x020000 card=0xab081737 chip=0xab081737 rev=0x11 hdr=0x00
vendor = 'Linksys'
device = '21x4x DEC-Tulip compatible 10/100 Ethernet'
class = network
subclass = ethernet
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dc-patch
Index: sys/pci/if_dc.c
===================================================================
RCS file: /home/ncvs/src/sys/pci/Attic/if_dc.c,v
retrieving revision 1.160.2.9
diff -u -r1.160.2.9 if_dc.c
--- sys/pci/if_dc.c 21 Mar 2006 21:10:58 -0000 1.160.2.9
+++ sys/pci/if_dc.c 4 Apr 2006 13:59:06 -0000
@@ -222,6 +222,8 @@
"Microsoft MN-130 10/100" },
{ DC_VENDORID_MICROSOFT, DC_DEVICEID_MSMN130_FAKE,
"Microsoft MN-130 10/100" },
+ { DC_VENDORID_LINKSYS, DC_DEVICEID_PCMPC200,
+ "Linksys PCMPC200 10/100" },
{ 0, 0, NULL }
};
Index: sys/pci/if_dcreg.h
===================================================================
RCS file: /home/ncvs/src/sys/pci/Attic/if_dcreg.h,v
retrieving revision 1.44.2.2
diff -u -r1.44.2.2 if_dcreg.h
--- sys/pci/if_dcreg.h 21 Mar 2006 21:10:58 -0000 1.44.2.2
+++ sys/pci/if_dcreg.h 4 Apr 2006 13:59:06 -0000
@@ -1007,6 +1007,18 @@
#define DC_DEVICEID_MSMN130_FAKE 0xFFF2
/*
+ * Linksys vendor ID
+ */
+
+#define DC_VENDORID_LINKSYS 0x1737
+
+/*
+ * Linksys device IDs.
+ */
+
+#define DC_DEVICEID_PCMPC200 0xab08
+
+/*
* PCI low memory base and low I/O base register, and
* other PCI registers.
*/
--a8Wt8u1KmwUX3Y2C--
More information about the freebsd-bugs
mailing list