summaryrefslogtreecommitdiff
path: root/sys/dev/ic/midwayreg.h
diff options
context:
space:
mode:
authorchuck <chuck@cvs.openbsd.org>1996-06-26 04:07:03 +0000
committerchuck <chuck@cvs.openbsd.org>1996-06-26 04:07:03 +0000
commita376a797853ac0cb54c113cb1a2980cc3ae168a0 (patch)
tree5a09b2d63a0788aac09e1666670731d3264b24ca /sys/dev/ic/midwayreg.h
parent2333f9633b94f25c04c44fb46b8384a969e37e07 (diff)
fixes:
[1] rxslot "cur" pointer wasn't updated if we copied all data and didn't have any fill. this could cause a service id mismatch panic under load. [2] recv of aal0 forgot to include the cell header in the data length calc [add cell header length to midwayreg.h] [3] fix control info "chop" for raw mode and aal0 [4] handle rxsb better for native atm connections (XXX: still working on this ... not complete and needs revision)
Diffstat (limited to 'sys/dev/ic/midwayreg.h')
-rw-r--r--sys/dev/ic/midwayreg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/midwayreg.h b/sys/dev/ic/midwayreg.h
index 7da75a415e2..e2f04895ba4 100644
--- a/sys/dev/ic/midwayreg.h
+++ b/sys/dev/ic/midwayreg.h
@@ -1,5 +1,4 @@
-/* $OpenBSD: midwayreg.h,v 1.1 1996/06/21 15:27:20 chuck Exp $ */
-/* (sync'd to midwayreg.h 1.4) */
+/* $OpenBSD: midwayreg.h,v 1.2 1996/06/26 04:07:02 chuck Exp $ */
/*
* m i d w a y r e g . h
@@ -255,7 +254,8 @@ typedef caddr_t bus_mem_addr_t;
* recv buffer desc. (1 u_int32_t at start of buffer)
*/
-#define MID_RBD_SIZE 4
+#define MID_RBD_SIZE 4 /* RBD size */
+#define MID_CHDR_SIZE 4 /* on aal0, cell header size */
#define MID_RBD_ID(X) ((X) & 0xfe000000) /* get ID */
#define MID_RBD_STDID 0x36000000 /* standard ID */
#define MID_RBD_CLP 0x01000000 /* CLP: cell loss priority */