diff options
author | wilko <wilko@FreeBSD.org> | 2003-11-12 23:01:15 +0000 |
---|---|---|
committer | wilko <wilko@FreeBSD.org> | 2003-11-12 23:01:15 +0000 |
commit | e4c017da4f5bf2ed1b33ccc7628959f965021168 (patch) | |
tree | 7872532563aa1fa839d98db5a767938ef5093a78 | |
parent | b2ca74654c0329457867bc2f5e14784c5968f5a7 (diff) | |
download | FreeBSD-src-e4c017da4f5bf2ed1b33ccc7628959f965021168.zip FreeBSD-src-e4c017da4f5bf2ed1b33ccc7628959f965021168.tar.gz |
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
-rw-r--r-- | sys/dev/sk/if_sk.c | 5 | ||||
-rw-r--r-- | sys/dev/sk/if_skreg.h | 5 | ||||
-rw-r--r-- | sys/pci/if_sk.c | 5 | ||||
-rw-r--r-- | sys/pci/if_skreg.h | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index 0358635..9331328 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 04c2930..7309841 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 0358635..9331328 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 04c2930..7309841 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 |