kern/75582: Add support for Linksys PCMPC200 Cardbus card
Gary Palmer
freebsd-gnats at in-addr.com
Tue Dec 28 10:20:38 PST 2004
>Number: 75582
>Category: kern
>Synopsis: Add support for Linksys PCMPC200 Cardbus card
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Dec 28 18:20:32 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Gary Palmer
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
>Description:
The Linksys PCMPC200 card can be used with the if_dc driver.
This patch adds the needed code to recognise the card
>How-To-Repeat:
Plug in PCMPC200 card
>Fix:
(patch relative to 5.3-RELEASE)
Index: sys/pci/if_dc.c
===================================================================
RCS file: /home/ncvs/src/sys/pci/if_dc.c,v
retrieving revision 1.148.2.2
diff -u -r1.148.2.2 if_dc.c
--- sys/pci/if_dc.c 16 Oct 2004 00:53:44 -0000 1.148.2.2
+++ sys/pci/if_dc.c 24 Oct 2004 23:51:47 -0000
@@ -218,6 +218,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/if_dcreg.h,v
retrieving revision 1.42
diff -u -r1.42 if_dcreg.h
--- sys/pci/if_dcreg.h 29 Jun 2004 20:38:44 -0000 1.42
+++ sys/pci/if_dcreg.h 19 Sep 2004 00:33:37 -0000
@@ -998,6 +998,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.
*/
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list