Module Name: src
Committed By: tsutsui
Date: Sat Oct 13 06:38:08 UTC 2012
Modified Files:
src/sys/arch/sun68k/sun68k: autoconf.c
Log Message:
use device_xname() (from chs@)
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/sun68k/sun68k/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/sun68k/sun68k/autoconf.c
diff -u src/sys/arch/sun68k/sun68k/autoconf.c:1.29 src/sys/arch/sun68k/sun68k/autoconf.c:1.30
--- src/sys/arch/sun68k/sun68k/autoconf.c:1.29 Sun Jul 29 18:05:46 2012
+++ src/sys/arch/sun68k/sun68k/autoconf.c Sat Oct 13 06:38:08 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.29 2012/07/29 18:05:46 mlelstv Exp $ */
+/* $NetBSD: autoconf.c,v 1.30 2012/10/13 06:38:08 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.29 2012/07/29 18:05:46 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.30 2012/10/13 06:38:08 tsutsui Exp $");
#include "opt_kgdb.h"
@@ -349,7 +349,7 @@ cpu_rootconf(void)
if (find)
booted_device = (*find)(promname, prom_ctlr, prom_unit);
if (booted_device) {
- devname = booted_device->dv_xname;
+ devname = device_xname(booted_device);
if (device_class(booted_device) == DV_DISK) {
booted_partition = prom_part & 7;
partname[0] = 'a' + booted_partition;