diff options
author | peter <peter@FreeBSD.org> | 1996-03-17 00:29:35 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-03-17 00:29:35 +0000 |
commit | f5f9b2ee23f286f9f5932ac00601b253ec59836c (patch) | |
tree | b6b6c8f79811685b2b502e37d20f56b88b2d6642 /sys/i386/isa/if_arregs.h | |
parent | a084148f20ceacd920e3ef933d795b2e90013735 (diff) | |
download | FreeBSD-src-f5f9b2ee23f286f9f5932ac00601b253ec59836c.zip FreeBSD-src-f5f9b2ee23f286f9f5932ac00601b253ec59836c.tar.gz |
Changes to the Digi/Arnet SYNC driver:
1. Create 2 x 8k transmit buffer blocks in place of the 16k block previously.
With this change the speed as tested with ttcp on a 2Mbit link went up
from 206kbyte/s to 236kbyte/s.
2. Change the rest of the functions to also have the definition of the
return value on a sepperate line.
3. Remove some unused variables.
4. Add code to recover from DMA underruns.
5. Reorder ar_get_packets() to handle errors better.
6. Only allocate a mbuf cluster if the data is more than the mbuf.
(and in a second diff in addition to the above)
7. Stops the occasional DMA underruns that occurred when 2 channels
are running at 2Mbit/s.
Submitted by: John Hay <jhay@mikom.csir.co.za>
Diffstat (limited to 'sys/i386/isa/if_arregs.h')
-rw-r--r-- | sys/i386/isa/if_arregs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/if_arregs.h b/sys/i386/isa/if_arregs.h index c4f1733..d64c11e 100644 --- a/sys/i386/isa/if_arregs.h +++ b/sys/i386/isa/if_arregs.h @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_arregs.h,v 1.6 1995/11/14 19:50:57 jhay Exp $ + * $Id: if_arregs.h,v 1.1.1.1 1995/11/21 02:32:04 peter Exp $ */ #ifndef _IF_ARREGS_H_ #define _IF_ARREGS_H_ @@ -39,6 +39,7 @@ /* channels */ #define AR_BUF_SIZ 512 +#define AR_TX_BLOCKS 2 #define ARC_IO_SIZ 0x10 #define ARC_WIN_SIZ 0x00004000 #define ARC_WIN_MSK (ARC_WIN_SIZ - 1) |