Module Name:    src
Committed By:   martin
Date:           Fri Jan 22 16:11:26 UTC 2010

Modified Files:
        src/sys/arch/sparc/sparc: autoconf.c

Log Message:
Recognize ie @ vme as a network device.


To generate a diff of this commit:
cvs rdiff -u -r1.238 -r1.239 src/sys/arch/sparc/sparc/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sparc/sparc/autoconf.c
diff -u src/sys/arch/sparc/sparc/autoconf.c:1.238 src/sys/arch/sparc/sparc/autoconf.c:1.239
--- src/sys/arch/sparc/sparc/autoconf.c:1.238	Wed Jan 20 22:54:22 2010
+++ src/sys/arch/sparc/sparc/autoconf.c	Fri Jan 22 16:11:26 2010
@@ -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);
 

Reply via email to