Annotation of coherent/a/usr/include/sys/fdioctl.h, revision 1.1

1.1     ! root        1: /* (-lgl
        !             2:  *     COHERENT Version 3.0
        !             3:  *     Copyright 1989 by Inetco Systems, Ltd.
        !             4:  *     All rights reserved. May not be copied without permission.
        !             5:  -lgl) */
        !             6: /*
        !             7:  * Floppy io control commands.
        !             8:  */
        !             9: 
        !            10: #ifndef FDIOCTL_H
        !            11: #define FDIOCTL_H      FDIOCTL_H
        !            12: 
        !            13: #define FDFORMAT       0100    /* Format diskette track */
        !            14: 
        !            15: /*
        !            16:  * Formatting information is largely supplied
        !            17:  * by the low nibble of the minor device number opened for formatting
        !            18:  * which will specify the number of heads and the track density.
        !            19:  *     0       1 head, 40 tracks, 8 sectors per track
        !            20:  *     1       2 heads, 40 tracks, 8 sectors per track
        !            21:  *     2       2 heads, 80 tracks, 8 sectors per track
        !            22:  *     3       1 head, 40 tracks, 9 sectors per track
        !            23:  *     4       2 heads, 40 tracks, 9 sectors per track
        !            24:  *     5       2 heads, 80 tracks, 9 sectors per track
        !            25:  * Each FDFORMAT command will format a single track.
        !            26:  * The parameter block consists of an array of fform structures
        !            27:  * one for each sector being formatted specifying the cylinder,
        !            28:  * head, sector number, and size of the sector.
        !            29:  */
        !            30: struct fform {
        !            31:        char    ff_cylin;       /* 0 .. number of tracks - 1 */
        !            32:        char    ff_head;        /* 0 or 1 */
        !            33:        char    ff_sect;        /* 1 .. number of sectors */
        !            34:        char    ff_size;        /* 1, 2, or 3 for 256, 512, or 1024 */
        !            35: };
        !            36: 
        !            37: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.