The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/scsi/scsi_optical.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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_optical.c,v $
   29  * Revision 2.7  93/03/09  10:58:29  danner
   30  *      This is really just a removable hard disk, call it rz.
   31  *      Verified it works with an  "HP C1716C 3238" drive.
   32  *      [93/02/18            jeffreyh]
   33  * 
   34  * Revision 2.6  91/06/19  11:57:57  rvb
   35  *      File moved here from mips/PMAX since it is now "MI" code, also
   36  *      used by Vax3100 and soon -- the omron luna88k.
   37  *      [91/06/04            rvb]
   38  * 
   39  * Revision 2.5  91/05/14  17:30:53  mrt
   40  *      Correcting copyright
   41  * 
   42  * Revision 2.4  91/02/05  17:46:03  mrt
   43  *      Added author notices
   44  *      [91/02/04  11:19:52  mrt]
   45  * 
   46  *      Changed to use new Mach copyright
   47  *      [91/02/02  12:18:38  mrt]
   48  * 
   49  * Revision 2.3  90/12/05  23:35:26  af
   50  * 
   51  * 
   52  * Revision 2.1.1.1  90/11/01  03:40:10  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_optical.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 OPTICAL MEMORY devices.
   68  */
   69 
   70 #include <mach/std_types.h>
   71 
   72 char *scmem_name(internal)
   73         boolean_t       internal;
   74 {
   75         return internal ? "rz" : "optical disk";
   76 }
   77 
   78 #if 0
   79 scsi_erase_long
   80 scsi_medium_scan
   81 scsi_read_defect_data
   82 scsi_read_generation
   83 scsi_read_updated_block
   84 scsi_update_block
   85 scsi_write_verify_long
   86 #endif
   87 

Cache object: 922919283a55a9b402990034fb656bb6


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.