Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun68k/sun68k use device_xname() (from chs@)
details: https://anonhg.NetBSD.org/src/rev/1a295ddf2804
branches: trunk
changeset: 782026:1a295ddf2804
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Oct 13 06:38:08 2012 +0000
description:
use device_xname() (from chs@)
diffstat:
sys/arch/sun68k/sun68k/autoconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 573d93f5ecb5 -r 1a295ddf2804 sys/arch/sun68k/sun68k/autoconf.c
--- a/sys/arch/sun68k/sun68k/autoconf.c Sat Oct 13 06:37:16 2012 +0000
+++ b/sys/arch/sun68k/sun68k/autoconf.c Sat Oct 13 06:38:08 2012 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index