Module Name: src
Committed By: cegger
Date: Mon May 11 17:14:31 UTC 2009
Modified Files:
src/sys/dev/ata: ata_raid_intel.c ata_raid_jmicron.c
Log Message:
use device_xname()
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ata/ata_raid_intel.c \
src/sys/dev/ata/ata_raid_jmicron.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/dev/ata/ata_raid_intel.c
diff -u src/sys/dev/ata/ata_raid_intel.c:1.3 src/sys/dev/ata/ata_raid_intel.c:1.4
--- src/sys/dev/ata/ata_raid_intel.c:1.3 Tue Sep 16 11:45:30 2008
+++ src/sys/dev/ata/ata_raid_intel.c Mon May 11 17:14:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ata_raid_intel.c,v 1.3 2008/09/16 11:45:30 tron Exp $ */
+/* $NetBSD: ata_raid_intel.c,v 1.4 2009/05/11 17:14:31 cegger Exp $ */
/*-
* Copyright (c) 2000-2008 Søren Schmidt <[email protected]>
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata_raid_intel.c,v 1.3 2008/09/16 11:45:30 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata_raid_intel.c,v 1.4 2009/05/11 17:14:31 cegger Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -224,7 +224,7 @@
break;
default:
DPRINTF(("%s: unknown Intel MatrixRAID type 0x%02x\n",
- sc->sc_dev->dv_xname, map->type));
+ device_xname(sc->sc_dev), map->type));
error = EINVAL;
goto out;
}
Index: src/sys/dev/ata/ata_raid_jmicron.c
diff -u src/sys/dev/ata/ata_raid_jmicron.c:1.3 src/sys/dev/ata/ata_raid_jmicron.c:1.4
--- src/sys/dev/ata/ata_raid_jmicron.c:1.3 Mon Sep 15 11:44:50 2008
+++ src/sys/dev/ata/ata_raid_jmicron.c Mon May 11 17:14:31 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ata_raid_jmicron.c,v 1.3 2008/09/15 11:44:50 tron Exp $ */
+/* $NetBSD: ata_raid_jmicron.c,v 1.4 2009/05/11 17:14:31 cegger Exp $ */
/*-
* Copyright (c) 2000-2008 Søren Schmidt <[email protected]>
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata_raid_jmicron.c,v 1.3 2008/09/15 11:44:50 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata_raid_jmicron.c,v 1.4 2009/05/11 17:14:31 cegger Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -223,7 +223,7 @@
break;
default:
DPRINTF(("%s: unknown JMicron RAID type 0x%02x\n",
- sc->sc_dev->dv_xname, info->type));
+ device_xname(sc->sc_dev), info->type));
error = EINVAL;
goto out;
}