~kris/9p

9hist

a0102ef78051c1bc4b8c00cbb57027d221b97ca2 — David du Colombier 31 years ago da74faf
Plan 9 from Bell Labs 1995-05-04
2 files changed, 8 insertions(+), 2 deletions(-)

M pc/devether.c
M pc/ether509.c
M pc/devether.c => pc/devether.c +7 -2
@@ 209,8 209,13 @@ etherreset(void)
				ctlr->irq = 9;
			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);
			print("ether%d: %s: port 0x%lux irq %d",
				ctlrno, ctlr->type, ctlr->port, ctlr->irq);
			if(ctlr->mem)
				print(" addr 0x%lux", ctlr->mem);
			if(ctlr->mem)
				print(" size %d", ctlr->size);
			print(": ea");
			for(i = 0; i < sizeof(ctlr->ea); i++)
				print(" %2.2ux", ctlr->ea[i]);
			print("\n");

M pc/ether509.c => pc/ether509.c +1 -0
@@ 68,6 68,7 @@ enum {
	TxComplete	= 0x0004,	/* TX Complete */
	TxAvailable	= 0x0008,	/* TX Available */
	RxComplete	= 0x0010,	/* RX Complete */
	Update		= 0x0080,	/* Update Statistics */
	AllIntr		= 0x00FE,	/* All Interrupt Bits */
	CmdInProgress	= 0x1000,	/* Command In Progress */