1 /*
2 * Mach Operating System
3 * Copyright (c) 1991,1990 Carnegie Mellon University
4 * All Rights Reserved.
5 *
6 * Permission to use, copy, modify and distribute this software and its
7 * documentation is hereby granted, provided that both the copyright
8 * notice and this permission notice appear in all copies of the
9 * software, derivative works or modified versions, and any portions
10 * thereof, and that both notices appear in supporting documentation.
11 *
12 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
13 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
14 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
15 *
16 * Carnegie Mellon requests users of this software to return to
17 *
18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
19 * School of Computer Science
20 * Carnegie Mellon University
21 * Pittsburgh PA 15213-3890
22 *
23 * any improvements or extensions that they make and grant Carnegie Mellon
24 * the rights to redistribute these changes.
25 */
26 /*
27 * HISTORY
28 * $Log: scsi_scanner.c,v $
29 * Revision 2.7 93/03/09 10:58:36 danner
30 * Turn on code unconditionally. Remove optim function.
31 * [93/03/06 af]
32 *
33 * Revision 2.6 91/06/19 11:58:09 rvb
34 * File moved here from mips/PMAX since it is now "MI" code, also
35 * used by Vax3100 and soon -- the omron luna88k.
36 * [91/06/04 rvb]
37 *
38 * Revision 2.5 91/05/14 17:31:17 mrt
39 * Correcting copyright
40 *
41 * Revision 2.4 91/02/05 17:46:18 mrt
42 * Added author notices
43 * [91/02/04 11:20:10 mrt]
44 *
45 * Changed to use new Mach copyright
46 * [91/02/02 12:19:00 mrt]
47 *
48 * Revision 2.3 90/12/05 23:35:47 af
49 *
50 *
51 * Revision 2.1.1.1 90/11/01 03:40:27 af
52 * Created, from the SCSI specs:
53 * "Small Computer Systems Interface (SCSI)", ANSI Draft
54 * X3T9.2/82-2 - Rev 17B December 1985
55 * "Small Computer System Interface - 2 (SCSI-II)", ANSI Draft
56 * X3T9.2/86-109 - Rev 10C March 1990
57 * [90/10/11 af]
58 */
59 /*
60 * File: scsi_scanner.c
61 * Author: Alessandro Forin, Carnegie Mellon University
62 * Date: 10/90
63 *
64 * Middle layer of the SCSI driver: SCSI protocol implementation
65 *
66 * This file contains code for SCSI commands for SCANNER devices.
67 */
68
69 #include <mach/std_types.h>
70
71 char *scscn_name(internal)
72 boolean_t internal;
73 {
74 return internal ? "oz" : "scanner";
75 }
76
77 #if 0
78 scsi_get_buffer_status
79 scsi_get_window
80 scsi_object_position
81 scsi_scan
82 scsi_set_window
83 #endif
Cache object: 19efffb1bbacd2810b95dd28c9ea9ae4
|