~kris/9p

9hist

840c8c353931bf7f1a623119e1b8532a1cd7c73f — David du Colombier 25 years ago 5bcc83d
Plan 9 from Bell Labs 2001-01-16
2 files changed, 4 insertions(+), 1 deletions(-)

M port/cis.c
M port/unthwack.c
M port/cis.c => port/cis.c +2 -1
@@ 214,7 214,8 @@ nanoamps(Cisdat *cis)
}

/*
 *  only nominal voltage is important for config
 * only nominal voltage (feature 1) is important for config,
 * other features must read card to stay in sync.
 */
static ulong
power(Cisdat *cis)

M port/unthwack.c => port/unthwack.c +2 -0
@@ 168,6 168,8 @@ unthwack(Unthwack *ut, uchar *dst, int ndst, uchar *src, int nsrc, ulong seq)
					lit = (lit - 64) & 0xff;
				}
			}
			if(d >= dmax)
				return -1;
			*d++ = lit;
			lithist = (lithist << 1) | (lit < 32) | (lit > 127);
			blocks->maxoff++;