Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/scsipi delay() is used here, so need to include mach...
details: https://anonhg.NetBSD.org/src/rev/c10aea889e4c
branches: trunk
changeset: 752060:c10aea889e4c
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Feb 12 11:39:33 2010 +0000
description:
delay() is used here, so need to include machine/param.h.
diffstat:
sys/dev/scsipi/scsipi_base.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r a619818df518 -r c10aea889e4c sys/dev/scsipi/scsipi_base.c
--- a/sys/dev/scsipi/scsipi_base.c Fri Feb 12 10:54:53 2010 +0000
+++ b/sys/dev/scsipi/scsipi_base.c Fri Feb 12 11:39:33 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scsipi_base.c,v 1.150 2009/10/21 21:12:05 rmind Exp $ */
+/* $NetBSD: scsipi_base.c,v 1.151 2010/02/12 11:39:33 pooka Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsipi_base.c,v 1.150 2009/10/21 21:12:05 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsipi_base.c,v 1.151 2010/02/12 11:39:33 pooka Exp $");
#include "opt_scsi.h"
@@ -59,6 +59,8 @@
#include <dev/scsipi/scsi_all.h>
#include <dev/scsipi/scsi_message.h>
+#include <machine/param.h>
+
static int scsipi_complete(struct scsipi_xfer *);
static void scsipi_request_sense(struct scsipi_xfer *);
static int scsipi_enqueue(struct scsipi_xfer *);
Home |
Main Index |
Thread Index |
Old Index