From a27dc81adad65f1e3f0ea146aed97961b20ccb0c Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 12 Feb 1992 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1992-02-12 --- pc/inconsubs.s | 1 + port/devbit.c | 2 +- port/portdat.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pc/inconsubs.s b/pc/inconsubs.s index b5337abc2e554af19325f582c5b95052f75fca09..90c0f157a3cbca26e24a3e07de0b2dcbde670d35 100644 --- a/pc/inconsubs.s +++ b/pc/inconsubs.s @@ -42,6 +42,7 @@ TEXT Irdnext(SB),$0 MOVL $(Finitbar|Faf|Fsi),AX ADDL $1,DX /* points to control register */ OUTB + OUTB ANDL $0xf8,CX SHLL $2,CX SUBL $1,DX /* points to status register */ diff --git a/port/devbit.c b/port/devbit.c index 48e36bddea8760175e8f6328d15694d5e2666329..6a115c1ad27bc88059b9e9baaf3843860811cab4 100644 --- a/port/devbit.c +++ b/port/devbit.c @@ -1170,7 +1170,7 @@ bitwrite(Chan *c, void *va, long n, ulong offset) * load font from subfont * 'y' 1 * id 2 - * cache pos 2 + * cache index 2 * subfont id 2 * subfont index 2 */ diff --git a/port/portdat.h b/port/portdat.h index 2d22822166ac41788354aefef3b72adb7de2e902..424b88d527d1ffd86c060b680b676e475ee5e46a 100644 --- a/port/portdat.h +++ b/port/portdat.h @@ -669,7 +669,7 @@ struct Network #define MINOR(q) ((q) & 0xff) #define DEVICE(a,i) (((a)<<8) | (i)) -#define MAXSYSARG 6 /* for mount(fd, mpt, flag, arg, srv, crypt) */ +#define MAXSYSARG 5 /* for mount(fd, mpt, flag, arg, srv) */ #define PRINTSIZE 256 #define NUMSIZE 12 /* size of formatted number */