mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
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:
parent
f85e8fc5ca
commit
9fdb458452
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24989
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user