Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/next68k/dev Remove straggling NEXT_TURBO #ifdefs.



details:   https://anonhg.NetBSD.org/src/rev/c68b9583bad2
branches:  trunk
changeset: 536208:c68b9583bad2
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Wed Sep 11 07:17:33 2002 +0000

description:
Remove straggling NEXT_TURBO #ifdefs.

diffstat:

 sys/arch/next68k/dev/mb8795.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 63b3321c2e6a -r c68b9583bad2 sys/arch/next68k/dev/mb8795.c
--- a/sys/arch/next68k/dev/mb8795.c     Wed Sep 11 07:06:16 2002 +0000
+++ b/sys/arch/next68k/dev/mb8795.c     Wed Sep 11 07:17:33 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mb8795.c,v 1.28 2002/09/11 01:46:31 mycroft Exp $      */
+/*     $NetBSD: mb8795.c,v 1.29 2002/09/11 07:17:33 mycroft Exp $      */
 /*
  * Copyright (c) 1998 Darrin B. Jewell
  * All rights reserved.
@@ -140,7 +140,6 @@
        ifp->if_flags =
                IFF_BROADCAST | IFF_NOTRAILERS;
 
-#ifndef NEXT_TURBO
        /* Initialize media goo. */
        ifmedia_init(&sc->sc_media, 0, mb8795_mediachange,
                     mb8795_mediastatus);
@@ -153,7 +152,6 @@
                ifmedia_add(&sc->sc_media, IFM_ETHER|IFM_MANUAL, 0, NULL);
                ifmedia_set(&sc->sc_media, IFM_ETHER|IFM_MANUAL);
        }
-#endif
 
   /* Attach the interface. */
   if_attach(ifp);
@@ -483,9 +481,7 @@
 
        MB_WRITE_REG(sc, MB8795_RESET,  MB8795_RESET_MODE);
 
-#ifndef NEXT_TURBO
        mb8795_mediachange(&sc->sc_ethercom.ec_if);
-#endif
                
 #if 0 /* This interrupt was sometimes failing to ack correctly
        * causing a loop @@@



Home | Main Index | Thread Index | Old Index