diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-02 09:09:25 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-10-02 09:09:25 +0000 |
| commit | 8c5d01375764917e67068524c353a21182547539 (patch) | |
| tree | c214d8704bb52b09008782c20f588c51ad68e54b /sys/dev/lnc | |
| parent | ae23634cab9e2e5775018fafb7b2b6af03057650 (diff) | |
Notes
Diffstat (limited to 'sys/dev/lnc')
| -rw-r--r-- | sys/dev/lnc/if_lnc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index 1b8030ec9fc0..73f8d4d13b77 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -317,7 +317,7 @@ alloc_mbuf_cluster(struct lnc_softc *sc, struct host_ring_entry *desc) MGET(m, M_DONTWAIT, MT_DATA); if (!m) return(1); - MCLGET(m, M_DONTWAIT); + MCLGET(m, M_DONTWAIT); if (!m->m_ext.ext_buf) { m_free(m); return(1); @@ -680,12 +680,12 @@ lnc_tint(struct lnc_softc *sc) next = sc->trans_ring + sc->trans_next; #ifdef DIAGNOSTIC - if (!(next->md->md1 & STP)) { - int unit = sc->arpcom.ac_if.if_unit; - log(LOG_ERR, "lnc%d: Transmit interrupt but not start of packet -- Resetting\n", unit); - lnc_reset(sc); - return; - } + if (!(next->md->md1 & STP)) { + int unit = sc->arpcom.ac_if.if_unit; + log(LOG_ERR, "lnc%d: Transmit interrupt but not start of packet -- Resetting\n", unit); + lnc_reset(sc); + return; + } #endif /* |
