Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi Revert previous change.
details: https://anonhg.NetBSD.org/src/rev/c64ad1489178
branches: trunk
changeset: 553190:c64ad1489178
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Oct 12 03:21:56 2003 +0000
description:
Revert previous change.
diffstat:
sys/dev/scsipi/scsipi_base.c | 17 +++--------------
1 files changed, 3 insertions(+), 14 deletions(-)
diffs (52 lines):
diff -r de51c3adab30 -r c64ad1489178 sys/dev/scsipi/scsipi_base.c
--- a/sys/dev/scsipi/scsipi_base.c Sun Oct 12 01:05:36 2003 +0000
+++ b/sys/dev/scsipi/scsipi_base.c Sun Oct 12 03:21:56 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsipi_base.c,v 1.94 2003/10/10 05:58:56 thorpej Exp $ */
+/* $NetBSD: scsipi_base.c,v 1.95 2003/10/12 03:21:56 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002, 2003 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsipi_base.c,v 1.94 2003/10/10 05:58:56 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsipi_base.c,v 1.95 2003/10/12 03:21:56 thorpej Exp $");
#include "opt_scsi.h"
@@ -2229,8 +2229,6 @@
splx(s);
}
-#define SCSI_MIN_DT_PERIOD 1250 /* FAST-80 and faster require DT */
-
/*
* scsipi_print_xfer_mode:
*
@@ -2281,15 +2279,6 @@
printf(", tagged queueing");
printf("\n");
-
- /*
- * Warn if a sync period requiring DT was negotiated on a peripheral
- * not capable of DT.
- */
- if (period < SCSI_MIN_DT_PERIOD &&
- (periph->periph_mode & PERIPH_CAP_DT) == 0)
- printf("%s: WARNING: %d.%02dns period on non-DT device\n",
- periph->periph_dev->dv_xname, period / 100, period % 100);
}
/*
@@ -2353,7 +2342,7 @@
* Clamp the xfer mode down to this periph's capabilities.
*/
mode = xm->xm_mode & periph->periph_cap;
- if (mode & (PERIPH_CAP_SYNC | PERIPH_CAP_DT)) {
+ if (mode & PERIPH_CAP_SYNC) {
period = xm->xm_period;
offset = xm->xm_offset;
} else {
Home |
Main Index |
Thread Index |
Old Index