~kris/9p

9hist

da10b6db9fb3a22e079bdb7f518d2e866bd4e047 — David du Colombier 32 years ago 8024199
Plan 9 from Bell Labs 1994-07-13
2 files changed, 3 insertions(+), 8 deletions(-)

M boot/boot.c
M pc/devether.c
M boot/boot.c => boot/boot.c +2 -2
@@ 215,13 215,13 @@ rootserver(char *arg)
			outin(prompt, reply, sizeof(reply));
		mp = findmethod(reply);
		if(mp){
			for(cp = reply; bargc < Nbarg-1 && *cp; cp++){
			for(cp = reply; bargc < Nbarg-1 && *cp;){
				while(*cp && *cp != ' ')
					cp++;
				while(*cp == ' ')
					*cp++ = 0;
				if(*cp)
					bargv[bargc++] = cp;
					bargv[bargc++] = cp++;
			}
			cp = strchr(reply, '!');
			if(cp)

M pc/devether.c => pc/devether.c +1 -6
@@ 175,9 175,7 @@ etherreset(void)
{
	Ether *ctlr;
	int i, n, ctlrno;
	ulong irqmask;

	irqmask = 0;
	for(ctlr = 0, ctlrno = 0; ctlrno < MaxEther; ctlrno++){
		if(ctlr == 0)
			ctlr = malloc(sizeof(Ether));


@@ 197,10 195,7 @@ etherreset(void)
			 */
			if(ctlr->irq == 2)
				ctlr->irq = 9;
			if((irqmask & (1<<ctlr->irq)) == 0){
				setvec(Int0vec+ctlr->irq, ctlr->interrupt, ctlr);
				irqmask |= 1<<ctlr->irq;
			}
			setvec(Int0vec+ctlr->irq, ctlr->interrupt, ctlr);

			print("ether%d: %s: port %lux irq %d addr %lux size %d:",
				ctlrno, ctlr->type, ctlr->port, ctlr->irq, ctlr->mem, ctlr->size);