diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-11-16 01:55:11 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-11-16 01:55:11 +0000 |
commit | f9460dde7ef76729646024d96bee4c0938a6d958 (patch) | |
tree | 60058e5ebc446a09568b9818a5586f45479e7207 /sys/dev/ic | |
parent | 603f3055ec80df27d6aeaef7284fa0fba5409fca (diff) |
dont restrict the number of tx descriptors to what can fit on a cpu page.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/re.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index 5103c053e83..509855a026a 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.195 2016/11/16 01:27:45 dlg Exp $ */ +/* $OpenBSD: re.c,v 1.196 2016/11/16 01:55:10 dlg Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -900,12 +900,6 @@ re_attach(struct rl_softc *sc, const char *intrstr) printf(", %s, address %s\n", intrstr, ether_sprintf(sc->sc_arpcom.ac_enaddr)); - if (sc->rl_ldata.rl_tx_desc_cnt > - PAGE_SIZE / sizeof(struct rl_desc)) { - sc->rl_ldata.rl_tx_desc_cnt = - PAGE_SIZE / sizeof(struct rl_desc); - } - /* Allocate DMA'able memory for the TX ring */ if ((error = bus_dmamem_alloc(sc->sc_dmat, RL_TX_LIST_SZ(sc), RL_RING_ALIGN, 0, &sc->rl_ldata.rl_tx_listseg, 1, |