Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 05/22/2001 18:29:31
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue May 22 15:29:30 UTC 2001

Modified Files:
	syssrc/sys/dev/ic: i82557.c i82557reg.h i82557var.h

Log Message:
Some changes from the new FreeBSD `fxp' driver:
- Add some additional config block bits for the i82558/i82559.
- Change the config block template to only fill in the must-be-one
  reserved bits, leave fxp_init() to fill in all the important things.
- On the i82558/i82559, we can use "Receive Long Frames" rather than
  "Save Bad Frames" to support the VLAN MTU.
- Use 802.3x flow control on the i82558/i82559.  This is all handled
  transparently by the hardware.  When in promiscuous mode, allow
  wire-watchers to see the flow control frames.
- Use the Extended TxCB format on the i82558/i82559.  This places two
  Transmit Buffer Descriptors directly in the TxCB, which should cover
  the vast majority of packets transmitted.  This saves PCI transactions
  that would otherwise be required to fetch the TBD list.

With the tansmit queue length changes from yesterday, this gets us up to
11.5MB/s TCP transmit speed, out of an absolute maximum of 12MB/s possible
on a 100Mb/s link.


To generate a diff of this commit:
cvs rdiff -r1.51 -r1.52 syssrc/sys/dev/ic/i82557.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/dev/ic/i82557reg.h
cvs rdiff -r1.22 -r1.23 syssrc/sys/dev/ic/i82557var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.