Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi Replace magic value 0x7 with constant MT_ISAR.
details: https://anonhg.NetBSD.org/src/rev/9f93c56b151a
branches: trunk
changeset: 777606:9f93c56b151a
user: shattered <shattered%NetBSD.org@localhost>
date: Sat Feb 25 10:15:50 2012 +0000
description:
Replace magic value 0x7 with constant MT_ISAR.
OK by wiz@
diffstat:
sys/dev/scsipi/st.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5eb84e756454 -r 9f93c56b151a sys/dev/scsipi/st.c
--- a/sys/dev/scsipi/st.c Sat Feb 25 09:19:30 2012 +0000
+++ b/sys/dev/scsipi/st.c Sat Feb 25 10:15:50 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: st.c,v 1.218 2012/02/02 19:43:06 tls Exp $ */
+/* $NetBSD: st.c,v 1.219 2012/02/25 10:15:50 shattered Exp $ */
/*-
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.218 2012/02/02 19:43:06 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.219 2012/02/25 10:15:50 shattered Exp $");
#include "opt_scsi.h"
@@ -1398,7 +1398,7 @@
}
SC_DEBUG(st->sc_periph, SCSIPI_DB1, ("[ioctl: get status]\n"));
memset(g, 0, sizeof(struct mtget));
- g->mt_type = 0x7; /* Ultrix compat *//*? */
+ g->mt_type = MT_ISAR; /* Ultrix compat *//*? */
g->mt_blksiz = st->blksize;
g->mt_density = st->density;
g->mt_mblksiz[0] = st->modes[0].blksize;
Home |
Main Index |
Thread Index |
Old Index