From dafa8355229b784cc095b6ca022a4bca03992cea Mon Sep 17 00:00:00 2001 From: Wilko Bulte Date: Wed, 12 Nov 2003 23:01:15 +0000 Subject: Add vendor ID to make Marvell chipset work. E.g. to be found on SMC9452TX it seems Submitted by: Jung-uk Kim Tested by: veedee@c7.campus.utcluj.ro MFC after: 2 weeks --- sys/dev/sk/if_sk.c | 5 +++++ sys/dev/sk/if_skreg.h | 5 +++++ sys/pci/if_sk.c | 5 +++++ sys/pci/if_skreg.h | 5 +++++ 4 files changed, 20 insertions(+) (limited to 'sys') 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 @@ -151,6 +151,11 @@ static struct sk_type sk_devs[] = { DEVICEID_SK_V2, "SysKonnect Gigabit Ethernet (V2.0)" }, + { + VENDORID_MARVELL, + DEVICEID_SK_V2, + "Marvell Gigabit Ethernet" + }, { VENDORID_3COM, DEVICEID_3COM_3C940, 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 @@ -59,6 +59,11 @@ */ #define VENDORID_SK 0x1148 +/* + * Marvell PCI vendor ID + */ +#define VENDORID_MARVELL 0x11AB + /* * SK-NET gigabit ethernet device IDs */ 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 @@ -151,6 +151,11 @@ static struct sk_type sk_devs[] = { DEVICEID_SK_V2, "SysKonnect Gigabit Ethernet (V2.0)" }, + { + VENDORID_MARVELL, + DEVICEID_SK_V2, + "Marvell Gigabit Ethernet" + }, { VENDORID_3COM, DEVICEID_3COM_3C940, 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 @@ -59,6 +59,11 @@ */ #define VENDORID_SK 0x1148 +/* + * Marvell PCI vendor ID + */ +#define VENDORID_MARVELL 0x11AB + /* * SK-NET gigabit ethernet device IDs */ -- cgit v1.3