Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Recognize ie @ vme as a network device.



details:   https://anonhg.NetBSD.org/src/rev/e14492eff77e
branches:  trunk
changeset: 751029:e14492eff77e
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Jan 22 16:11:26 2010 +0000

description:
Recognize ie @ vme as a network device.

diffstat:

 sys/arch/sparc/sparc/autoconf.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r e853e4128048 -r e14492eff77e sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c   Fri Jan 22 14:34:34 2010 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c   Fri Jan 22 16:11:26 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.238 2010/01/20 22:54:22 martin Exp $ */
+/*     $NetBSD: autoconf.c,v 1.239 2010/01/22 16:11:26 martin Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.238 2010/01/20 22:54:22 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.239 2010/01/22 16:11:26 martin Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1600,7 +1600,6 @@
                ofnode = PCITAG_NODE(pa->pa_tag);
                break;
        }
-       if (!ofnode) return;
 
        prom_getether(ofnode, eaddr);
        dict = device_properties(dev);
@@ -1783,7 +1782,8 @@
                }
        } else if (device_is_a(dev, "le") ||
                   device_is_a(dev, "hme") ||
-                  device_is_a(dev, "be")) {
+                  device_is_a(dev, "be") ||
+                  device_is_a(dev, "ie")) {
 
                set_network_props(dev, aux);
 



Home | Main Index | Thread Index | Old Index