aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilko Bulte <wilko@FreeBSD.org>2003-11-12 23:01:15 +0000
committerWilko Bulte <wilko@FreeBSD.org>2003-11-12 23:01:15 +0000
commitdafa8355229b784cc095b6ca022a4bca03992cea (patch)
tree7872532563aa1fa839d98db5a767938ef5093a78
parent48b0f4b67d72e1b46dbbcc8ada323769e24ce178 (diff)
downloadsrc-dafa8355229b784cc095b6ca022a4bca03992cea.tar.gz
src-dafa8355229b784cc095b6ca022a4bca03992cea.zip
Add vendor ID to make Marvell chipset work. E.g. to be found
on SMC9452TX it seems Submitted by: Jung-uk Kim <jkim@niksun.com> Tested by: <Radu Bogdan 'veedee' Rusu> veedee@c7.campus.utcluj.ro MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=122586
-rw-r--r--sys/dev/sk/if_sk.c5
-rw-r--r--sys/dev/sk/if_skreg.h5
-rw-r--r--sys/pci/if_sk.c5
-rw-r--r--sys/pci/if_skreg.h5
4 files changed, 20 insertions, 0 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c
index 0358635415c3..93313284caf6 100644
--- a/sys/dev/sk/if_sk.c
+++ b/sys/dev/sk/if_sk.c
@@ -152,6 +152,11 @@ static struct sk_type sk_devs[] = {
"SysKonnect Gigabit Ethernet (V2.0)"
},
{
+ VENDORID_MARVELL,
+ DEVICEID_SK_V2,
+ "Marvell Gigabit Ethernet"
+ },
+ {
VENDORID_3COM,
DEVICEID_3COM_3C940,
"3Com 3C940 Gigabit Ethernet"
diff --git a/sys/dev/sk/if_skreg.h b/sys/dev/sk/if_skreg.h
index 04c2930482ca..7309841592b0 100644
--- a/sys/dev/sk/if_skreg.h
+++ b/sys/dev/sk/if_skreg.h
@@ -60,6 +60,11 @@
#define VENDORID_SK 0x1148
/*
+ * Marvell PCI vendor ID
+ */
+#define VENDORID_MARVELL 0x11AB
+
+/*
* SK-NET gigabit ethernet device IDs
*/
#define DEVICEID_SK_V1 0x4300
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 0358635415c3..93313284caf6 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -152,6 +152,11 @@ static struct sk_type sk_devs[] = {
"SysKonnect Gigabit Ethernet (V2.0)"
},
{
+ VENDORID_MARVELL,
+ DEVICEID_SK_V2,
+ "Marvell Gigabit Ethernet"
+ },
+ {
VENDORID_3COM,
DEVICEID_3COM_3C940,
"3Com 3C940 Gigabit Ethernet"
diff --git a/sys/pci/if_skreg.h b/sys/pci/if_skreg.h
index 04c2930482ca..7309841592b0 100644
--- a/sys/pci/if_skreg.h
+++ b/sys/pci/if_skreg.h
@@ -60,6 +60,11 @@
#define VENDORID_SK 0x1148
/*
+ * Marvell PCI vendor ID
+ */
+#define VENDORID_MARVELL 0x11AB
+
+/*
* SK-NET gigabit ethernet device IDs
*/
#define DEVICEID_SK_V1 0x4300