Lines Matching refs:eth_flags
37 static unsigned char eth_vendor, eth_flags; variable
139 if (eth_flags & FLAG_16BIT)
148 if (eth_flags & FLAG_16BIT) {
191 if (eth_flags & FLAG_16BIT) in eth_pio_write()
201 if (eth_flags & FLAG_16BIT) { in eth_pio_write()
264 if (eth_flags & FLAG_790) in ns8390_reset()
270 if (eth_flags & FLAG_16BIT) in ns8390_reset()
281 if (eth_flags & FLAG_790) { in ns8390_reset()
295 if (eth_flags & FLAG_790) in ns8390_reset()
308 if (eth_flags & FLAG_790) in ns8390_reset()
344 if (eth_flags & FLAG_790) in eth_rx_overrun()
367 if (eth_flags & FLAG_790) in eth_rx_overrun()
400 if (!(eth_flags & FLAG_PIO)) { in ns8390_transmit()
412 if (eth_flags & FLAG_16BIT) { in ns8390_transmit()
418 if (eth_flags & FLAG_790) { in ns8390_transmit()
430 if (eth_flags & FLAG_790) { in ns8390_transmit()
440 if (eth_flags & FLAG_PIO) in ns8390_transmit()
460 if (eth_flags & FLAG_16BIT) { in ns8390_transmit()
464 if (eth_flags & FLAG_790) in ns8390_transmit()
475 if (eth_flags & FLAG_790) in ns8390_transmit()
517 if (eth_flags & FLAG_16BIT) { in ns8390_poll()
522 if (eth_flags & FLAG_790) { in ns8390_poll()
530 if (eth_flags & FLAG_PIO) in ns8390_poll()
548 if (eth_flags & FLAG_PIO) in ns8390_poll()
557 if (eth_flags & FLAG_PIO) in ns8390_poll()
565 if (eth_flags & FLAG_790) { in ns8390_poll()
570 if (eth_flags & FLAG_16BIT) { in ns8390_poll()
662 eth_flags = brd->flags; in eth_probe()
668 eth_flags = FLAG_16BIT; in eth_probe()
671 if ((c & WD_SOFTCONFIG) && (!(eth_flags & FLAG_790))) { in eth_probe()
689 if (eth_flags & FLAG_790) { in eth_probe()
693 eth_flags |= FLAG_PIO; /* force PIO mode */ in eth_probe()
710 if (eth_flags & FLAG_16BIT) { in eth_probe()
711 if (eth_flags & FLAG_790) { in eth_probe()
772 eth_flags = 0; in eth_probe()
788 eth_flags |= FLAG_PIO; in eth_probe()
800 eth_flags |= FLAG_PIO; /* force PIO mode */ in eth_probe()
820 if (eth_flags & FLAG_PIO) in eth_probe()
844 if (!(eth_flags & FLAG_PIO)) { in eth_probe()
879 eth_flags = FLAG_PIO; in eth_probe()
894 eth_flags |= FLAG_16BIT; /* force 16-bit mode */ in eth_probe()
901 eth_flags |= FLAG_16BIT; in eth_probe()
917 eth_flags |= FLAG_16BIT; in eth_probe()
921 nic->node_addr[i] = romdata[i + ((eth_flags & FLAG_16BIT) ? i : 0)]; in eth_probe()
925 (eth_flags & FLAG_16BIT) ? '2' : '1', eth_nic_base, in eth_probe()