diff options
| author | cegger <cegger@NetBSD.org> | 2009-05-11 17:14:31 +0000 |
|---|---|---|
| committer | cegger <cegger@NetBSD.org> | 2009-05-11 17:14:31 +0000 |
| commit | fcd92f8a6e7e7b387cf015825024eced0fa175b5 (patch) | |
| tree | 23aebbd7675acbecb972dad797ef49d8e61cc59d /sys/dev/ata | |
| parent | 114be8c5be04650af4fd51a1c3c0c4dd27dfb017 (diff) | |
use device_xname()
Diffstat (limited to 'sys/dev/ata')
| -rw-r--r-- | sys/dev/ata/ata_raid_intel.c | 6 | ||||
| -rw-r--r-- | sys/dev/ata/ata_raid_jmicron.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ata/ata_raid_intel.c b/sys/dev/ata/ata_raid_intel.c index 962707cd6d6..3bfe8b745b4 100644 --- a/sys/dev/ata/ata_raid_intel.c +++ b/sys/dev/ata/ata_raid_intel.c @@ -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 <sos@FreeBSD.org> @@ -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 @@ findvol: 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; } diff --git a/sys/dev/ata/ata_raid_jmicron.c b/sys/dev/ata/ata_raid_jmicron.c index ac4e3a17bb2..afbddb95f0a 100644 --- a/sys/dev/ata/ata_raid_jmicron.c +++ b/sys/dev/ata/ata_raid_jmicron.c @@ -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 <sos@FreeBSD.org> @@ -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 @@ ata_raid_read_config_jmicron(struct wd_softc *sc) 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; } |
