diff options
Diffstat (limited to 'usr.sbin/pcvt/set2061')
-rw-r--r-- | usr.sbin/pcvt/set2061/ICD2061Aalt.c | 4 | ||||
-rw-r--r-- | usr.sbin/pcvt/set2061/Makefile | 2 | ||||
-rw-r--r-- | usr.sbin/pcvt/set2061/compiler.h | 10 | ||||
-rw-r--r-- | usr.sbin/pcvt/set2061/main.c | 10 |
4 files changed, 13 insertions, 13 deletions
diff --git a/usr.sbin/pcvt/set2061/ICD2061Aalt.c b/usr.sbin/pcvt/set2061/ICD2061Aalt.c index 248476a..a74ec4e 100644 --- a/usr.sbin/pcvt/set2061/ICD2061Aalt.c +++ b/usr.sbin/pcvt/set2061/ICD2061Aalt.c @@ -24,7 +24,7 @@ unsigned short card; unsigned short crtcaddr; unsigned short clockreg; -static double range[15] = {50.0, 51.0, 53.2, 58.5, 60.7, 64.4, 66.8, 73.5, +static double range[15] = {50.0, 51.0, 53.2, 58.5, 60.7, 64.4, 66.8, 73.5, 75.6, 80.9, 83.2, 91.5, 100.0, 120.0, 120.0}; #ifdef __STDC__ @@ -216,7 +216,7 @@ static void init_clock(setup, crtcport) int i; unsigned char c; -#ifndef PCVT_STANDALONE +#ifndef PCVT_STANDALONE (void)xf86DisableInterrupts(); #endif diff --git a/usr.sbin/pcvt/set2061/Makefile b/usr.sbin/pcvt/set2061/Makefile index db71830..0cbeff7 100644 --- a/usr.sbin/pcvt/set2061/Makefile +++ b/usr.sbin/pcvt/set2061/Makefile @@ -10,4 +10,4 @@ install: ${DEMOS} .include <bsd.prog.mk> -$(PROG): compiler.h +$(PROG): compiler.h diff --git a/usr.sbin/pcvt/set2061/compiler.h b/usr.sbin/pcvt/set2061/compiler.h index 3a0e99a..9fbdb56 100644 --- a/usr.sbin/pcvt/set2061/compiler.h +++ b/usr.sbin/pcvt/set2061/compiler.h @@ -20,7 +20,7 @@ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. * - * $Header: /proj/X11/mit/server/ddx/x386/RCS/compiler.h,v 1.2 1991/06/27 00:01:11 root Exp $ + * $Header: /home/ncvs/src/usr.sbin/pcvt/set2061/compiler.h,v 1.1.1.1 1995/02/05 13:49:25 jkh Exp $ */ @@ -221,7 +221,7 @@ inw(port) /* * rdinx - read the indexed byte port 'port', index 'ind', and return its value */ -static __inline__ unsigned char +static __inline__ unsigned char #ifdef __STDC__ rdinx(unsigned short port, unsigned char ind) #else @@ -239,7 +239,7 @@ unsigned char ind; /* * wrinx - write 'val' to port 'port', index 'ind' */ -static __inline__ void +static __inline__ void #ifdef __STDC__ wrinx(unsigned short port, unsigned char ind, unsigned char val) #else @@ -258,7 +258,7 @@ unsigned char ind, val; */ static __inline__ void #ifdef __STDC__ -modinx(unsigned short port, unsigned char ind, +modinx(unsigned short port, unsigned char ind, unsigned char mask, unsigned char new) #else modinx(port, ind, mask, new) @@ -322,7 +322,7 @@ unsigned char ind, mask; } /* - * testinx - returns true iff all bits of register 'port', index 'ind' are + * testinx - returns true iff all bits of register 'port', index 'ind' are * readable & writable. */ static __inline__ int diff --git a/usr.sbin/pcvt/set2061/main.c b/usr.sbin/pcvt/set2061/main.c index 03a482d..e16b1df 100644 --- a/usr.sbin/pcvt/set2061/main.c +++ b/usr.sbin/pcvt/set2061/main.c @@ -41,7 +41,7 @@ static char *id = * -hm start using 132 columns on my Elsa Winner * *---------------------------------------------------------------------------*/ - + #include <stdio.h> #include <fcntl.h> #include <machine/pcvt_ioctl.h> @@ -62,7 +62,7 @@ char *argv[]; int c; long freq = -1; int no = -1; - + while( (c = getopt(argc, argv, "f:n:")) != EOF) { switch(c) @@ -70,11 +70,11 @@ char *argv[]; case 'f': freq = atoi(optarg); break; - + case 'n': no = atoi(optarg); break; - + case '?': default: usage(); @@ -82,7 +82,7 @@ char *argv[]; } } - if(freq == -1 || no == -1) + if(freq == -1 || no == -1) usage(); if((fd = open("/dev/console", O_RDONLY)) < 0) |