Annotation of coherent/d/PS2_KERNEL/io.286/gr.c, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Driver Kit Version 1.1.0
                      3:  *     Copyright (c) 1982, 1990 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*
                      7:  * Graphics Display Driver for PC Color Card
                      8:  */
                      9: 
                     10: #include <sys/coherent.h>
                     11: #include <sys/sched.h>
                     12: #include <sys/types.h>
                     13: #include <errno.h>
                     14: #include <sys/con.h>
                     15: #include <sys/devices.h>
                     16: 
                     17: int grread();
                     18: int grwrite();
                     19: int nonedev();
                     20: int nulldev();
                     21: 
                     22: /*
                     23:  * Driver Configuration.
                     24:  */
                     25: CON
                     26: grcon = {
                     27:        DFCHR,                          /* Flags                          */
                     28:        GR_MAJOR,                               /* Major Index                    */
                     29:        nulldev,                        /* Open                           */
                     30:        nulldev,                        /* Close                          */
                     31:        nonedev,                        /* Block                          */
                     32:        grread,                         /* Read                           */
                     33:        grwrite,                        /* Write                          */
                     34:        nonedev,                        /* Ioctl                          */
                     35:        nulldev,                        /* Power fail                     */
                     36:        nulldev,                        /* Timeout                        */
                     37:        nulldev,                        /* Load                           */
                     38:        nulldev                         /* Unload                         */
                     39: };

unix.superglobalmegacorp.com

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