Quick and dirty attempt to get the zp device to work with the 3c589D.

Increase the delay in read_eeprom_data() by two orders of magnitude.

> A better fix would be to make read_eeprom_data() call
> f_is_eeprom_busy() after the DELAY().

Submitted by:	Samuel Lam <skl@ScalableNetwork.com>
This commit is contained in:
Nate Williams 1997-04-17 14:33:11 +00:00
parent f85e8fc5ca
commit 9fdb458452
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24989

View File

@ -34,7 +34,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
* $Id: if_zp.c,v 1.34 1997/02/22 09:36:38 peter Exp $
* $Id: if_zp.c,v 1.35 1997/03/24 11:32:57 bde Exp $
*/
/*-
* TODO:
@ -1123,7 +1123,7 @@ read_eeprom_data(id_port, offset)
{
outb(id_port + 10, 0x80 + offset);
DELAY(1000);
DELAY(100000);
return inw(id_port + 12);
}