Date: Sat, 04 May 1996 18:19:42 +0200 From: sthaug@nethelp.no To: freebsd-current@freebsd.org, freebsd-bugs@freebsd.org Subject: Minor update to if_de.c to recognize ZNYX cards Message-ID: <199605041619.SAA17210@trane.uninett.no>
next in thread | raw e-mail | index | archive | help
The following patch to /sys/pci/if_de.c is necessary to recognize some
ZNYX Ethernet cards (for instance one ZNYX 314 card I used). The reason
it's needed is that the ROM on ZNYX cards sometimes contains something
different from 0xff in the *two* bytes following the Ethernet address.
Please verify this with Matt Thomas - I believe it's already in his
newest version of if_de.c
Steinar Haug, Nethelp consulting, sthaug@nethelp.no
----------------------------------------------------------------------
*** if_de.c.orig Sat Mar 23 20:29:09 1996
--- if_de.c Sat May 4 18:07:08 1996
***************
*** 1671,1677 ****
* of the rom and let the rest be all 0xffs. (Can we say
* ZNYX???)
*/
! for (idx = 6; idx < 32; idx++) {
if (sc->tulip_rombuf[idx] != 0xFF)
return -4;
}
--- 1671,1677 ----
* of the rom and let the rest be all 0xffs. (Can we say
* ZNYX???)
*/
! for (idx = 8; idx < 32; idx++) {
if (sc->tulip_rombuf[idx] != 0xFF)
return -4;
}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605041619.SAA17210>
