1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

Recognize ZNYX 314 cards that have a MAC address with the low bit set.

This commit is contained in:
Poul-Henning Kamp 1997-04-05 07:59:41 +00:00
parent aa733cd0c5
commit 35e68428eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24646
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: if_de.c,v 1.62 1997/03/23 05:10:14 kato Exp $
* $Id: if_de.c,v 1.63 1997/03/24 11:33:44 bde Exp $
*
*/
@ -3285,7 +3285,7 @@ tulip_read_macaddr(
sc->tulip_boardsw = &tulip_21140_znyx_zx34x_boardsw;
} else if (sc->tulip_chipid == TULIP_21040
&& (sc->tulip_hwaddr[3] & ~3) == 0xF0
&& (sc->tulip_hwaddr[5] & 3) == 0) {
&& (sc->tulip_hwaddr[5] & 2) == 0) {
sc->tulip_boardsw = &tulip_21040_zx314_master_boardsw;
sc->tulip_flags |= TULIP_SHAREDINTR;
}

View File

@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: if_de.c,v 1.62 1997/03/23 05:10:14 kato Exp $
* $Id: if_de.c,v 1.63 1997/03/24 11:33:44 bde Exp $
*
*/
@ -3285,7 +3285,7 @@ tulip_read_macaddr(
sc->tulip_boardsw = &tulip_21140_znyx_zx34x_boardsw;
} else if (sc->tulip_chipid == TULIP_21040
&& (sc->tulip_hwaddr[3] & ~3) == 0xF0
&& (sc->tulip_hwaddr[5] & 3) == 0) {
&& (sc->tulip_hwaddr[5] & 2) == 0) {
sc->tulip_boardsw = &tulip_21040_zx314_master_boardsw;
sc->tulip_flags |= TULIP_SHAREDINTR;
}