Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!image.soe.clarkson.edu!news From: nelson@sun.soe.clarkson.edu (Russ Nelson) Newsgroups: alt.hackers Subject: The packet drivers Message-ID: Date: 10 Jan 90 03:00:46 GMT Sender: news@sun.soe.clarkson.edu Reply-To: nelson@clutx.clarkson.edu Organization: Clarkson University, Potsdam NY Lines: 27 Approved: me. The PC packet drivers hide the difference between Ethernet cards and also allow multiple protocols to use the same Ethernet card. I'm hacking at them to provide automagic location of the I/O port associated with the board. I'm doing this by searching for the Ethernet address. Since we know the manufacturer of the board, we can verify that the manufacturer prefix is correct. I'm also trying to automagically determine the interrupt vector. I'm disabling interrupts, generating an interrupt on the board, and then checking the 8259 to see which interrupt vector has an interrupt pending. It isn't working. If someone else has done this before, I'd appreciate hearing about it. Unfortunately, I can't automagically find the I/O memory because some 386 BIOSes remap system memory into every hole they can find. Oh, and all this magic is overridable by manually specifying the port number. The defaults will be to use magic. You can force a parameter to be magically determined by specifying a '?' in place of a number, -- --russ (nelson@clutx [.bitnet | .clarkson.edu]) Russ.Nelson@$315.268.6667 Live up to the light thou hast, and more will be granted thee. A recession now appears more than 2 years away -- John D. Mathon, 4 Oct 1989. I think killing is value-neutral in and of itself. -- Gary Strand, 8 Nov 1989. Liberals run this country, by and large. -- Clayton Cramer, 20 Nov 1989. Shut up and mind your Canadian business, you meddlesome foreigner. -- TK, 23 N.