~kris/9p

9hist

7e31ac8efc369ce6cd69e44f188441c45bb11a77 — David du Colombier 25 years ago f816adb
Plan 9 from Bell Labs 2001-06-17
3 files changed, 3 insertions(+), 2 deletions(-)

M bitsy/devpcmcia.c
M bitsy/devsac.c
M port/cis.c
M bitsy/devpcmcia.c => bitsy/devpcmcia.c +1 -0
@@ 329,6 329,7 @@ pcmctlwrite(char *p, long n, ulong, PCMslot *sp)
		}

		/* configure device */
		cf.type = nil;
		kstrdup(&cf.type, cmd->f[2]);
		cf.mem = (ulong)sp->mem;
		cf.port = (ulong)sp->regs;

M bitsy/devsac.c => bitsy/devsac.c +1 -1
@@ 231,7 231,7 @@ sacwalk(Chan *c, Chan *nc, char **name, int nname)
		if(sac == nil) {
			if(j == 0)
				error(Enonexist);
			strncpy(up->error, Enonexist, NAMELEN);
			strncpy(up->error, Enonexist, ERRMAX);
			break;
		}
		pathtoqid(getl(sac->qid), &nc->qid);

M port/cis.c => port/cis.c +1 -1
@@ 304,7 304,7 @@ iospaces(Cisdat *cis, PCMconftab *ct)
	nio = (c&0xf)+1;
	for(i = 0; i < nio; i++){
		ct->io[i].start = getlong(cis, (c>>4)&0x3);
		ct->io[0].len = getlong(cis, (c>>6)&0x3);
		ct->io[i].len = getlong(cis, (c>>6)&0x3);
	}
	ct->nio = nio;
}