[1013] in linux-net channel archive

home help back first fref pref prev next nref lref last post

3c509 driver

daemon@ATHENA.MIT.EDU (Jason Duerstock)
Tue Aug 29 22:19:38 1995

Date: Tue, 29 Aug 1995 13:25:39 -0400
From: Jason Duerstock <jduersto@kendall.mdcc.edu>
To: becker@cesdis1.gsfc.nasa.gov
cc: linux-net@vger.rutgers.edu

I'm running a P-75 (Triton chip set) with Linux 1.2.8 and 1.3.21, and 
it's having trouble detecting the card.  If I load LSL and 3C5X9 (the DOS 
ODI driver) first, and then load the kernel with loadlin, everything 
works fine.  However, if I boot with no drivers and then load the kernel 
via loadlin, it fails to detect the card.

I put in some code to trace down the error, and it chokes here:

	/* Set the adaptor tag so that the next card can be found. */
	outb(0xd0 + ++current_tag, ID_PORT);

	/* Activate the adaptor at the EEPROM location. */
	outb(0xff, ID_PORT);

	EL3WINDOW(0);
	if (inw(ioaddr) != 0x6d50)   /* This returns 0xffff when the
					ODI driver is not loaded */
		return -ENODEV;

Any idea what's going on?

Jason Duerstock
jduersto@kendall.mdcc.edu
jasond@mdcs2.cs.mdcc.edu

home help back first fref pref prev next nref lref last post