Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Recognize Belkin Gigabit Desktop Network PCI card.



details:   https://anonhg.NetBSD.org/src/rev/fc59d6d8f883
branches:  trunk
changeset: 573225:fc59d6d8f883
user:      fredb <fredb%NetBSD.org@localhost>
date:      Sun Jan 23 03:06:07 2005 +0000

description:
Recognize Belkin Gigabit Desktop Network PCI card.

diffstat:

 sys/dev/pci/if_sk.c |  6 +++++-
 sys/dev/pci/pcidevs |  3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 193fe62bdfc4 -r fc59d6d8f883 sys/dev/pci/if_sk.c
--- a/sys/dev/pci/if_sk.c       Sun Jan 23 01:25:57 2005 +0000
+++ b/sys/dev/pci/if_sk.c       Sun Jan 23 03:06:07 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_sk.c,v 1.12 2004/10/30 18:09:22 thorpej Exp $       */
+/*     $NetBSD: if_sk.c,v 1.13 2005/01/23 03:06:07 fredb Exp $ */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -255,6 +255,7 @@
        { PCI_VENDOR_SCHNEIDERKOCH, PCI_PRODUCT_SCHNEIDERKOCH_SKNET_GE, },
        { PCI_VENDOR_SCHNEIDERKOCH, PCI_PRODUCT_SCHNEIDERKOCH_SK9821v2, },
        { PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_SKNET, },
+       { PCI_VENDOR_GALILEO, PCI_PRODUCT_GALILEO_BELKIN, },
        { 0, 0, }
 };
 
@@ -1571,6 +1572,9 @@
                        }
                }
                break;
+       case PCI_ID_CODE(PCI_VENDOR_GALILEO,PCI_PRODUCT_GALILEO_BELKIN):
+               sc->sk_name = sc->sk_vpd_prodname;
+               break;
        default:
                sc->sk_name = "Unkown Marvell";
        }
diff -r 193fe62bdfc4 -r fc59d6d8f883 sys/dev/pci/pcidevs
--- a/sys/dev/pci/pcidevs       Sun Jan 23 01:25:57 2005 +0000
+++ b/sys/dev/pci/pcidevs       Sun Jan 23 03:06:07 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.686 2005/01/18 06:23:01 tsubai Exp $
+$NetBSD: pcidevs,v 1.687 2005/01/23 03:06:07 fredb Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -1499,6 +1499,7 @@
 product GALILEO        GT64011         0x4146  GT-64011 System Controller
 product GALILEO        SKNET           0x4320  SK-NET Gigabit Ethernet
 product GALILEO        GT64120         0x4620  GT-64120 System Controller
+product GALILEO        BELKIN          0x5005  Belkin Gigabit Ethernet
 product GALILEO        GT64130         0x6320  GT-64130 System Controller
 product GALILEO        GT64260         0x6430  GT-64260 System Controller
 product GALILEO        GT64360         0x6460  MV6436x System Controller



Home | Main Index | Thread Index | Old Index