|
|
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 <sys/uproc.h> ! 14: #include <errno.h> ! 15: #include <sys/con.h> ! 16: #include <sys/devices.h> ! 17: ! 18: int grread(); ! 19: int grwrite(); ! 20: int nonedev(); ! 21: int nulldev(); ! 22: ! 23: /* ! 24: * Driver Configuration. ! 25: */ ! 26: CON ! 27: grcon = { ! 28: DFCHR, /* Flags */ ! 29: GR_MAJOR, /* Major Index */ ! 30: nulldev, /* Open */ ! 31: nulldev, /* Close */ ! 32: nonedev, /* Block */ ! 33: grread, /* Read */ ! 34: grwrite, /* Write */ ! 35: nonedev, /* Ioctl */ ! 36: nulldev, /* Power fail */ ! 37: nulldev, /* Timeout */ ! 38: nulldev, /* Load */ ! 39: nulldev /* Unload */ ! 40: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.