diff options
author | Peter Wemm <peter@FreeBSD.org> | 1996-03-17 00:29:35 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1996-03-17 00:29:35 +0000 |
commit | fe63158271a58cbe68e3225244489c7d81133806 (patch) | |
tree | b6b6c8f79811685b2b502e37d20f56b88b2d6642 /sys/dev/ic/hd64570.h | |
parent | 96caabce70b2d8925a5da4129589e07d3955b106 (diff) |
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>
Notes
Notes:
svn path=/head/; revision=14643
Diffstat (limited to 'sys/dev/ic/hd64570.h')
-rw-r--r-- | sys/dev/ic/hd64570.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ic/hd64570.h b/sys/dev/ic/hd64570.h index 706e33ac70ed..290e402c9796 100644 --- a/sys/dev/ic/hd64570.h +++ b/sys/dev/ic/hd64570.h @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: hd64570.h,v 1.2 1995/11/08 16:20:35 jhay Exp $ + * $Id: hd64570.h,v 1.1.1.1 1995/11/21 02:32:04 peter Exp $ */ #ifndef _HD64570_H_ #define _HD64570_H_ @@ -337,6 +337,12 @@ typedef struct sca_regs #define SCA_DIR_BOF 0x20 #define SCA_DIR_COF 0x10 +#define SCA_PCR_BRC 0x10 +#define SCA_PCR_CCC 0x08 +#define SCA_PCR_PR2 0x04 +#define SCA_PCR_PR1 0x02 +#define SCA_PCR_PR0 0x01 + typedef struct sca_descriptor { unsigned short cp; |