Apply OpenBSD's rev. 1.14 via patch:
> remove another Yukon Lite workaround.
This commit is contained in:
parent
b70c89dfa7
commit
89a3deccf1
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_msk.c,v 1.6 2007/01/30 11:58:10 msaitoh Exp $ */
|
||||
/* $NetBSD: if_msk.c,v 1.7 2007/01/31 09:57:45 msaitoh Exp $ */
|
||||
/* $OpenBSD: if_msk.c,v 1.42 2007/01/17 02:43:02 krw Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -2040,14 +2040,10 @@ msk_init_yukon(struct sk_if_softc *sc_if)
|
|||
YU_RXSTAT_JABBER;
|
||||
SK_IF_WRITE_2(sc_if, 0, SK_RXMF1_FLUSH_MASK, v);
|
||||
|
||||
/* Disable RX MAC FIFO Flush for YUKON-Lite Rev. A0 only */
|
||||
if (sc->sk_type == SK_YUKON_LITE && sc->sk_rev == SK_YUKON_LITE_REV_A0)
|
||||
v = SK_TFCTL_OPERATION_ON;
|
||||
else
|
||||
v = SK_TFCTL_OPERATION_ON | SK_RFCTL_FIFO_FLUSH_ON;
|
||||
/* Configure RX MAC FIFO */
|
||||
SK_IF_WRITE_1(sc_if, 0, SK_RXMF1_CTRL_TEST, SK_RFCTL_RESET_CLEAR);
|
||||
SK_IF_WRITE_2(sc_if, 0, SK_RXMF1_CTRL_TEST, v);
|
||||
SK_IF_WRITE_2(sc_if, 0, SK_RXMF1_CTRL_TEST, SK_RFCTL_OPERATION_ON |
|
||||
SK_RFCTL_FIFO_FLUSH_ON);
|
||||
|
||||
/* Increase flush threshould to 64 bytes */
|
||||
SK_IF_WRITE_2(sc_if, 0, SK_RXMF1_FLUSH_THRESHOLD,
|
||||
|
|
Loading…
Reference in New Issue