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_jukebox.c,v $
29 * Revision 2.7 93/03/09 10:58:26 danner
30 * Enabled code unconditionally. Removed optim function.
31 * [93/03/06 af]
32 *
33 * Revision 2.6 91/06/19 11:57:53 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:30:46 mrt
39 * Correcting copyright
40 *
41 * Revision 2.4 91/02/05 17:45:58 mrt
42 * Added author notices
43 * [91/02/04 11:19:47 mrt]
44 *
45 * Changed to use new Mach copyright
46 * [91/02/02 12:18:31 mrt]
47 *
48 * Revision 2.3 90/12/05 23:35:17 af
49 * Cleanups.
50 * [90/12/03 23:48:23 af]
51 *
52 * Revision 2.1.1.1 90/11/01 03:40:04 af
53 * Created, from the SCSI specs:
54 * "Small Computer Systems Interface (SCSI)", ANSI Draft
55 * X3T9.2/82-2 - Rev 17B December 1985
56 * "Small Computer System Interface - 2 (SCSI-II)", ANSI Draft
57 * X3T9.2/86-109 - Rev 10C March 1990
58 * [90/10/11 af]
59 */
60 /*
61 * File: scsi_jukebox.c
62 * Author: Alessandro Forin, Carnegie Mellon University
63 * Date: 10/90
64 *
65 * Middle layer of the SCSI driver: SCSI protocol implementation
66 *
67 * This file contains code for SCSI commands for MEDIA CHANGER devices.
68 */
69
70 #include <mach/std_types.h>
71
72 char *scjb_name(internal)
73 boolean_t internal;
74 {
75 return internal ? "jz" : "jukebox";
76 }
77
78 #if 0
79 scsi_exchange_medium
80 scsi_init_element_status
81 scsi_move_medium
82 scsi_position_to_element
83 scsi_read_element_status
84 scsi_request_volume_address
85 scsi_send_volume_tag
86 #endif
87
Cache object: 4276a29e88e01f0666a82d4b7d150ad9
|