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/sys/wormio.h

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 /* Shared between kernel & process */
    2 
    3 #ifndef _SYS_WORMIO_H_
    4 #define _SYS_WORMIO_H_
    5 
    6 #include <sys/ioccom.h>
    7 
    8 /***************************************************************\
    9 * Ioctls for the WORM drive                                     *
   10 \***************************************************************/
   11 
   12 /*
   13  * Quirk select: chose the set of quirk functions to use for this
   14  * device.
   15  */
   16 
   17 struct wormio_quirk_select
   18 {
   19         const char *vendor;     /* vendor name */
   20         const char *model;      /* model name */
   21 };
   22 
   23 #define WORMIOCQUIRKSELECT      _IOW('W', 10, struct wormio_quirk_select)
   24 
   25 /*
   26  * Prepare disk-wide parameters.
   27  */
   28 
   29 struct wormio_prepare_disk
   30 {
   31         int dummy;              /* use dummy writes, laser turned off */
   32         int speed;              /* drive speed selection */
   33 };
   34 
   35 #define WORMIOCPREPDISK         _IOW('W', 20, struct wormio_prepare_disk)
   36 
   37 /*
   38  * Prepare track-specific parameters.
   39  */
   40 
   41 struct wormio_prepare_track
   42 {
   43         int audio;              /* audio track (data track if 0) */
   44         int preemp;             /* audio with preemphasis */
   45 };
   46 
   47 #define WORMIOCPREPTRACK        _IOW('W', 21, struct wormio_prepare_track)
   48 
   49 /*
   50  * Fixation: write leadins and leadouts.  Select table-of-contents
   51  * type for this session.  If onp is != 0, another session will be
   52  * opened.
   53  */
   54 
   55 struct wormio_fixation
   56 {
   57         int toc_type;           /* TOC type */
   58         int onp;                /* open next program area */
   59 };
   60 
   61 #define WORMIOCFIXATION         _IOW('W', 22, struct wormio_fixation)
   62 #define WORMIOCFINISHTRACK      _IO('W', 23)
   63 #define WORMIOCFINISHTRACK      _IO('W', 23)
   64 
   65 #endif /* !_SYS_WORMIO_H_ */

Cache object: 8a673f887848a69f00ee7bd0a637c8be


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