~kris/9p

9hist

004f5d08f4ccfa9e6a4016dddb72b1746113d884 — David du Colombier 30 years ago 0e7e58a
Plan 9 from Bell Labs 1996-02-28
1 files changed, 1 insertions(+), 15 deletions(-)

M pc/ether509.c
M pc/ether509.c => pc/ether509.c +1 -15
@@ 482,24 482,10 @@ activate(void)
static ulong
tcm509(Ether *ether)
{
	static int untag;
	ulong port;
	Adapter *ap;

	/*
	 * One time only:
	 *	write ID sequence to get the attention of all adapters;
	 *	untag all adapters.
	 * If we do a global reset here on all adapters we'll confuse any
	 * ISA cards configured for EISA mode.
	 */
	if(untag == 0){
		idseq();
		outb(IDport, 0xD0);
		untag = 1;
	}

	/*
	 * Attempt to activate adapters until one matches the
	 * address criteria. If adapter is set for EISA mode (0x3F0),
	 * tag it and ignore. Otherwise, activate it fully.


@@ 520,7 506,7 @@ tcm509(Ether *ether)
		delay(20);

		/*
		 * 8. Now we can talk to the adapter's I/O base addresses.
		 * 8. Can now talk to the adapter's I/O base addresses.
		 *    Use the I/O base address from the acr just read.
		 *
		 *    Enable the adapter.