Module Name: src Committed By: shattered Date: Sat Feb 25 10:15:50 UTC 2012
Modified Files: src/sys/dev/scsipi: st.c Log Message: Replace magic value 0x7 with constant MT_ISAR. OK by wiz@ To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/sys/dev/scsipi/st.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/scsipi/st.c diff -u src/sys/dev/scsipi/st.c:1.218 src/sys/dev/scsipi/st.c:1.219 --- src/sys/dev/scsipi/st.c:1.218 Thu Feb 2 19:43:06 2012 +++ src/sys/dev/scsipi/st.c Sat Feb 25 10:15:50 2012 @@ -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 @@ stioctl(dev_t dev, u_long cmd, void *arg } 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;