~kris/9p

9hist

689e8fdddcba12c9948e9496df2ac0d6ab838958 — David du Colombier 25 years ago 8fb8593
Plan 9 from Bell Labs 2001-05-18
M ip/icmp.c => ip/icmp.c +1 -1
@@ 130,7 130,7 @@ icmpannounce(Conv *c, char **argv, int argc)
	char *e;

	e = Fsstdannounce(c, argv, argc);
	if(e != nil);
	if(e != nil)
		return e;
	Fsconnected(c, nil);


M pc/ether82543gc.c => pc/ether82543gc.c +3 -2
@@ 545,8 545,9 @@ gc82543replenish(Ctlr* ctlr)
	rdt = ctlr->rdt;
	while(NEXT(rdt, Nrdesc) != ctlr->rdh){
		rdesc = &ctlr->rdba[rdt];
		if(ctlr->rb[rdt] != nil)
			;
		if(ctlr->rb[rdt] != nil){
			/* nothing to do */
		}
		else if((bp = iallocb(2048)) != nil){
			ctlr->rb[rdt] = bp;
			rdesc->addr[0] = PCIWADDR(bp->rp);

M pc/etherelnk3.c => pc/etherelnk3.c +6 -4
@@ 1905,14 1905,16 @@ etherelnk3reset(Ether* ether)
			ether->mbps = 100;
			setfullduplex(port);
		}
		else if(anar & 0x0200)		/* 100BASE-T4 */
			;
		else if(anar & 0x0200){		/* 100BASE-T4 */
			/* nothing to do */
		}
		else if(anar & 0x0080)		/* 100BASE-TX */
			ether->mbps = 100;
		else if(anar & 0x0040)		/* 10BASE-TFD */
			setfullduplex(port);
		else				/* 10BASE-T */
			;
		else{				/* 10BASE-T */
			/* nothing to do */
		}
		break;

	case xcvr100BaseTX:

M pc/sdata.c => pc/sdata.c +3 -2
@@ 369,8 369,9 @@ ataready(int cmdport, int ctlport, int dev, int reset, int ready, int micro)
		 * can be used as a test for !Bsy.
		 */
		as = inb(ctlport+As);
		if(as & reset)
			;
		if(as & reset){
			/* nothing to do */
		}
		else if(dev){
			outb(cmdport+Dh, dev);
			dev = 0;

M pc/vgact65545.c => pc/vgact65545.c +3 -2
@@ 66,8 66,9 @@ ct65545initcursor(VGAscr* scr, int xo, int yo, int index)
		and = 0;
		xor = 0;
		for(i = 0; i < 16; i++){
			if(set & (1<<i))
				;
			if(set & (1<<i)){
				/* nothing to do */
			}
			else if(clr & (1<<i))
				xor |= 1<<i;
			else

M pc/vgaet4000.c => pc/vgaet4000.c +3 -2
@@ 168,8 168,9 @@ et4000load(VGAscr *scr, Cursor *c)

				p = 0x0000;
				for(i = 0; i < 8; i++){
					if(p1 & (1<<(7-i)))
						;
					if(p1 & (1<<(7-i))){
						/* nothing to do */
					}
					else if(p0 & (1<<(7-i)))
						p |= 0x01<<(2*i);
					else

M pc/vgamach64xx.c => pc/vgamach64xx.c +3 -2
@@ 510,8 510,9 @@ mach64xxcurload(VGAscr* scr, Cursor* curs)
		for(i = 0; i < 16; i++){
			if(s & (1<<(15-i)))
				m |= 0x01<<(2*i);
			else if(c & (1<<(15-i)))
				;
			else if(c & (1<<(15-i))){
				/* noting to do */
			}
			else
				m |= 0x02<<(2*i);
		}

M port/devns16552.c => port/devns16552.c +2 -4
@@ 311,10 311,8 @@ ns16552fifo(Uart *p, int n)

	/* empty buffer and interrupt conditions */
	for(i = 0; i < 16; i++){
		if(uartrdreg(p, Istat))
			;
		if(uartrdreg(p, Data))
			;
		uartrdreg(p, Istat);
		uartrdreg(p, Data);
	}

	/* turn on fifo */

M port/portfns.h => port/portfns.h +1 -1
@@ 7,7 7,7 @@ void		alarmkproc(void*);
Block*		allocb(int);
int		anyhigher(void);
int		anyready(void);
#define	assert(x)	if(x);else panic("assert(x) failed");
#define	assert(x)	if(x){}else panic("assert(x) failed");
void		_assert(char*);
Image*		attachimage(int, Chan*, ulong, ulong);
long		authcheck(Chan*, char*, int);