summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xlreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-10-19 22:08:56 +0000
committerwpaul <wpaul@FreeBSD.org>1998-10-19 22:08:56 +0000
commit3c0d8db9217e8fdac7bc7134d0c52f220ecd767e (patch)
treeb0f47630608ebecba1c5b8fe07f74e7a3497f0a1 /sys/pci/if_xlreg.h
parent142da85ef5052de403921320b197883828b42117 (diff)
downloadFreeBSD-src-3c0d8db9217e8fdac7bc7134d0c52f220ecd767e.zip
FreeBSD-src-3c0d8db9217e8fdac7bc7134d0c52f220ecd767e.tar.gz
Modify the transmit packet queuing strategy a bit to be a little less
agressive. With the old code, if a descriptor chain was already on its way to the chip, xl_start() would try to splice new chains onto the end of the current chain by stopping the transmitter, modifying the tail pointer of the current chain to point to the head of the new chain, then restart the transmitter. The manual says you're allowed to do this and it works, but I'm not too keen on it anymore. The new code waits until the eixsting chain has been sent and then queues the next waiting chain in the 'transmit ok' handler. Performance still looks good one way or the other.
Diffstat (limited to 'sys/pci/if_xlreg.h')
-rw-r--r--sys/pci/if_xlreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index b260473..3d56b39 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_xlreg.h,v 1.16 1998/09/25 17:43:57 wpaul Exp wpaul $
+ * $Id: if_xlreg.h,v 1.6 1998/10/09 03:59:24 wpaul Exp $
*/
#define XL_EE_READ 0x0080 /* read, 5 bit address */
@@ -554,6 +554,7 @@ struct xl_softc {
u_int8_t xl_want_auto;
u_int8_t xl_autoneg;
u_int8_t xl_stats_no_timeout;
+ u_int8_t xl_txeoc;
caddr_t xl_ldata_ptr;
struct xl_list_data *xl_ldata;
struct xl_chain_data xl_cdata;
OpenPOWER on IntegriCloud