diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1999-09-06 23:29:50 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1999-09-06 23:29:50 +0000 |
| commit | 3b0ecb8e180598573a160ea385d139d1d8278dda (patch) | |
| tree | 9a39b08c7c0b92bbf7d27cc898d2226827239959 /sys/pci | |
| parent | 6fb4dca4744b5ae1f1d9f3babe6a875d2a2854c3 (diff) | |
Notes
Diffstat (limited to 'sys/pci')
| -rw-r--r-- | sys/pci/if_dm.c | 2 | ||||
| -rw-r--r-- | sys/pci/if_sis.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_dm.c b/sys/pci/if_dm.c index 9f9511e9dfea..4f797cc84466 100644 --- a/sys/pci/if_dm.c +++ b/sys/pci/if_dm.c @@ -1350,7 +1350,7 @@ static int dm_encap(sc, m_head, txidx) for (m = m_new; m != NULL; m = m->m_next) { if (m->m_len != 0) { - if ((DM_RX_LIST_CNT - + if ((DM_TX_LIST_CNT - (sc->dm_cdata.dm_tx_cnt + cnt)) < 2) return(ENOBUFS); f = &sc->dm_ldata->dm_tx_list[frag]; diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c index daeb06c61816..c43a4cb12226 100644 --- a/sys/pci/if_sis.c +++ b/sys/pci/if_sis.c @@ -1105,7 +1105,7 @@ static int sis_encap(sc, m_head, txidx) for (m = m_head; m != NULL; m = m->m_next) { if (m->m_len != 0) { - if ((SIS_RX_LIST_CNT - + if ((SIS_TX_LIST_CNT - (sc->sis_cdata.sis_tx_cnt + cnt)) < 2) return(ENOBUFS); f = &sc->sis_ldata->sis_tx_list[frag]; |
