mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue