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_printer.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_printer.c,v $
   29  * Revision 2.8  92/08/03  17:55:15  jfriedl
   30  *      removed silly prototypes
   31  *      [92/08/02            jfriedl]
   32  * 
   33  * Revision 2.7  92/05/21  17:24:42  jfriedl
   34  *      Cleanup to quiet gcc warnings.
   35  *      [92/05/16            jfriedl]
   36  * 
   37  * Revision 2.6  91/06/19  11:58:01  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.5  91/05/14  17:31:00  mrt
   43  *      Correcting copyright
   44  * 
   45  * Revision 2.4  91/02/05  17:46:07  mrt
   46  *      Added author notices
   47  *      [91/02/04  11:19:58  mrt]
   48  * 
   49  *      Changed to use new Mach copyright
   50  *      [91/02/02  12:18:44  mrt]
   51  * 
   52  * Revision 2.3  90/12/05  23:35:33  af
   53  * 
   54  * 
   55  * Revision 2.1.1.1  90/11/01  03:40:15  af
   56  *      Created, from the SCSI specs:
   57  *      "Small Computer Systems Interface (SCSI)", ANSI Draft
   58  *      X3T9.2/82-2 - Rev 17B December 1985
   59  *      "Small Computer System Interface - 2 (SCSI-II)", ANSI Draft
   60  *      X3T9.2/86-109 -  Rev 10C March 1990
   61  *      [90/10/11            af]
   62  */
   63 /*
   64  *      File: scsi_printer.c
   65  *      Author: Alessandro Forin, Carnegie Mellon University
   66  *      Date:   10/90
   67  *
   68  *      Middle layer of the SCSI driver: SCSI protocol implementation
   69  *
   70  * This file contains code for SCSI commands for PRINTER devices.
   71  */
   72 
   73 #include <mach/std_types.h>
   74 
   75 
   76 
   77 char *scprt_name(internal)
   78         boolean_t       internal;
   79 {
   80         return internal ? "lz" : "printer";
   81 }
   82 
   83 void scprt_optimize()
   84 {}
   85 
   86 #if 0
   87 scsi_print
   88 scsi_slew_and_print
   89 scsi_flush_buffer
   90 scsi_stop_print
   91 #endif

Cache object: 0f0dcff8b4f53fb1fd25fdefba520283


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