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_worm.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_worm.c,v $
   29  * Revision 2.9  92/08/03  17:55:48  jfriedl
   30  *      removed silly prototypes
   31  *      [92/08/02            jfriedl]
   32  * 
   33  * Revision 2.8  92/05/21  17:24:58  jfriedl
   34  *      tried prototypes.
   35  *      [92/05/20            jfriedl]
   36  * 
   37  * Revision 2.7  91/06/19  11:58:17  rvb
   38  *      File moved here from mips/PMAX since it is now "MI" code, also
   39  *      used by Vax3100 and soon -- the omron luna88k.
   40  *      [91/06/04            rvb]
   41  * 
   42  * Revision 2.6  91/05/14  17:31:36  mrt
   43  *      Correcting copyright
   44  * 
   45  * Revision 2.5  91/05/13  06:05:51  af
   46  *      Added our name function.
   47  *      [91/05/12  16:19:38  af]
   48  * 
   49  * Revision 2.4  91/02/05  17:46:31  mrt
   50  *      Added author notices
   51  *      [91/02/04  11:20:26  mrt]
   52  * 
   53  *      Changed to use new Mach copyright
   54  *      [91/02/02  12:19:16  mrt]
   55  * 
   56  * Revision 2.3  90/12/05  23:35:57  af
   57  * 
   58  * 
   59  * Revision 2.1.1.1  90/11/01  03:40:36  af
   60  *      Created, from the SCSI specs:
   61  *      "Small Computer Systems Interface (SCSI)", ANSI Draft
   62  *      X3T9.2/82-2 - Rev 17B December 1985
   63  *      "Small Computer System Interface - 2 (SCSI-II)", ANSI Draft
   64  *      X3T9.2/86-109 -  Rev 10C March 1990
   65  *      [90/10/11            af]
   66  */
   67 /*
   68  *      File: scsi_worm.c
   69  *      Author: Alessandro Forin, Carnegie Mellon University
   70  *      Date:   10/90
   71  *
   72  *      Middle layer of the SCSI driver: SCSI protocol implementation
   73  *
   74  * This file contains code for SCSI commands for WORM devices,
   75  * e.g. disks that employ write once / read multiple media.
   76  */
   77 
   78 #include <mach/std_types.h>
   79 
   80 
   81 
   82 char *scworm_name(internal)
   83         boolean_t       internal;
   84 {
   85         return internal ? "rz" : "WORM-disk";
   86 }
   87 
   88 #ifdef  SCSI2
   89 see optical mem:
   90         - no format
   91         - no "update"
   92 #endif  SCSI2

Cache object: 85eea661e39f7d8ee1f744e502ca8baa


[ 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.