Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 kill dead code.



details:   https://anonhg.NetBSD.org/src/rev/024cbdcf6379
branches:  trunk
changeset: 510086:024cbdcf6379
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri May 18 21:53:26 2001 +0000

description:
kill dead code.

diffstat:

 sys/arch/sparc64/sparc64/autoconf.c |  31 ++-----------------------------
 1 files changed, 2 insertions(+), 29 deletions(-)

diffs (66 lines):

diff -r 492cd195b245 -r 024cbdcf6379 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Fri May 18 21:50:45 2001 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Fri May 18 21:53:26 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.45 2001/05/10 23:11:53 petrov Exp $ */
+/*     $NetBSD: autoconf.c,v 1.46 2001/05/18 21:53:26 mrg Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -1043,9 +1043,6 @@
        { "simba",      BUSCLASS_PCI },
        { "pciide",     BUSCLASS_PCI },
        { "pci",        BUSCLASS_PCI },
-       { "vme",        BUSCLASS_VME },
-       { "xdc",        BUSCLASS_XDC },
-       { "xyc",        BUSCLASS_XYC },
        { "fdc",        BUSCLASS_FDC },
 };
 
@@ -1163,22 +1160,6 @@
                    bp->val[1] == pa->pa_function)
                        return (1);
                break;
-#if 0
-       case BUSCLASS_XDC:
-       case BUSCLASS_XYC:
-               {
-               /*
-                * XXX - x[dy]c attach args are not exported right now..
-                * XXX   we happen to know they look like this:
-                */
-               struct xxxx_attach_args { int driveno; } *aap = aux;
-
-               if (aap->driveno == bp->val[0])
-                       return (1);
-
-               }
-               break;
-#endif
        default:
                break;
        }
@@ -1259,7 +1240,7 @@
        } else if (strcmp(dvname, "le") == 0 ||
                   strcmp(dvname, "hme") == 0) {
                /*
-                * ethernet devices: LANCE, Happy Meal Ethernet.
+                * ethernet devices.
                 */
                if (instance_match(dev, aux, bp) != 0) {
                        nail_bootdev(dev, bp);
@@ -1303,14 +1284,6 @@
                            dev->dv_xname));
                        return;
                }
-       } else if (strcmp("xd", dvname) == 0 || strcmp("xy", dvname) == 0) {
-               /* A Xylogic disk */
-               if (instance_match(dev, aux, bp) != 0) {
-                       nail_bootdev(dev, bp);
-                       DPRINTF(ACDB_BOOTDEV, ("\t-- found x[yd] disk %s\n",
-                           dev->dv_xname));
-                       return;
-               }
        } else if (strcmp("wd", dvname) == 0) {
                /* IDE disks. */
                struct ata_atapi_attach *aa = aux;



Home | Main Index | Thread Index | Old Index