Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Remove an entry for AMD PCNETS_PCI.



details:   https://anonhg.NetBSD.org/src/rev/dde227655817
branches:  trunk
changeset: 539368:dde227655817
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Nov 15 22:13:11 2002 +0000

description:
Remove an entry for AMD PCNETS_PCI.

AMD Am79C974 PCnet-SCSI Ethernet and SCSI conrtoller is
a multi-function PCI device which has two device IDs
of Am53C974(PCscsi-PCI) and Am79C970(PCnet-PCI),
and there is no its own ID.

diffstat:

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

diffs (45 lines):

diff -r 212a0752a088 -r dde227655817 sys/dev/pci/pcidevs
--- a/sys/dev/pci/pcidevs       Fri Nov 15 21:48:06 2002 +0000
+++ b/sys/dev/pci/pcidevs       Fri Nov 15 22:13:11 2002 +0000
@@ -1,4 +1,4 @@
-$NetBSD: pcidevs,v 1.485 2002/11/15 13:41:27 ad Exp $
+$NetBSD: pcidevs,v 1.486 2002/11/15 22:13:11 tsutsui Exp $
 
 /*
  * Copyright (c) 1995, 1996 Christopher G. Demetriou
@@ -780,7 +780,6 @@
 product AMD PCNET_PCI  0x2000  PCnet-PCI Ethernet
 product AMD PCNET_HOME 0x2001  PCnet-Home HomePNA Ethernet
 product AMD PCSCSI_PCI 0x2020  PCscsi-PCI SCSI
-product AMD PCNETS_PCI 0x2040  PCnet-PCI Ethernet & SCSI
 product AMD SC520_SC   0x3000  Elan SC520 System Controller
 product AMD SC751_SC   0x7006  AMD751 System Controller
 product AMD SC751_PPB  0x7007  AMD751 PCI-to-PCI Bridge
diff -r 212a0752a088 -r dde227655817 sys/dev/pci/pcscp.c
--- a/sys/dev/pci/pcscp.c       Fri Nov 15 21:48:06 2002 +0000
+++ b/sys/dev/pci/pcscp.c       Fri Nov 15 22:13:11 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pcscp.c,v 1.20 2002/10/02 16:51:53 thorpej Exp $       */
+/*     $NetBSD: pcscp.c,v 1.21 2002/11/15 22:13:12 tsutsui Exp $       */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcscp.c,v 1.20 2002/10/02 16:51:53 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcscp.c,v 1.21 2002/11/15 22:13:12 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -153,9 +153,6 @@
 
        switch (PCI_PRODUCT(pa->pa_id)) {
        case PCI_PRODUCT_AMD_PCSCSI_PCI:
-#if 0
-       case PCI_PRODUCT_AMD_PCNETS_PCI:
-#endif
                return 1;
        }
        return 0;



Home | Main Index | Thread Index | Old Index