Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/dev Adjust to allow SII driver to work with MI...
details: https://anonhg.NetBSD.org/src/rev/5c0f005369ea
branches: trunk
changeset: 487069:5c0f005369ea
user: mhitch <mhitch%NetBSD.org@localhost>
date: Fri Jun 02 20:12:57 2000 +0000
description:
Adjust to allow SII driver to work with MI SCSI.
diffstat:
sys/arch/pmax/dev/device.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r f29070e66f33 -r 5c0f005369ea sys/arch/pmax/dev/device.h
--- a/sys/arch/pmax/dev/device.h Fri Jun 02 18:34:05 2000 +0000
+++ b/sys/arch/pmax/dev/device.h Fri Jun 02 20:12:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: device.h,v 1.15 2000/03/23 06:43:01 thorpej Exp $ */
+/* $NetBSD: device.h,v 1.16 2000/06/02 20:12:57 mhitch Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -103,7 +103,9 @@
* needs to execute a SCSI command.
*/
typedef struct ScsiCmd {
+#if NXSII == 0 /* Not used for MI SCSI */
struct pmax_scsi_device *sd; /* device requesting the command */
+#endif
int unit; /* unit number passed to device done routine */
int flags; /* control flags for this command (see below) */
int buflen; /* length of the data buffer in bytes */
@@ -111,6 +113,7 @@
int cmdlen; /* length of data in cmdbuf */
u_char *cmd; /* buffer for the SCSI command */
int error; /* compatibility hack for new scsi */
+ int lun; /* LUN for MI SCSI */
struct callout timo_ch; /* timeout callout handle */
} ScsiCmd;
Home |
Main Index |
Thread Index |
Old Index