diff options
author | chuck <chuck@cvs.openbsd.org> | 1996-06-29 23:22:36 +0000 |
---|---|---|
committer | chuck <chuck@cvs.openbsd.org> | 1996-06-29 23:22:36 +0000 |
commit | 0b45702665ab1a9c4aae1138c52e0f00f022e7e1 (patch) | |
tree | f92c1407f8b808a7a044ac7caa4f871bb2d2d316 /sys/dev/ic/midwayvar.h | |
parent | 422b9f4754b2de04629bdbf5ecd1b40c8866f6f6 (diff) |
new: add a raw_threshold for raw mode. this basically tells the driver
to ignore inbound data sizes less than the threshold. otherwise,
when connected to a video aal0 input the driver gives us a massive
stream of 56 byte mbufs each with one aal0 cell in it and the
system just can't keep up with it, especially if the socket buffer
size is large [it hangs until you turn off the video source].
fixes: when turning off a vc, try and check the freshest copy of the mode
when seeing if we need to enter the "drain" state. also, don't
panic if we get unexpected rx interrupt on a VCI (instead make sure
the VC is off, print a warning, and move on!).
Diffstat (limited to 'sys/dev/ic/midwayvar.h')
-rw-r--r-- | sys/dev/ic/midwayvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/midwayvar.h b/sys/dev/ic/midwayvar.h index 32d7e0c7071..f83b62f42ac 100644 --- a/sys/dev/ic/midwayvar.h +++ b/sys/dev/ic/midwayvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: midwayvar.h,v 1.4 1996/06/29 19:59:39 chuck Exp $ */ +/* $OpenBSD: midwayvar.h,v 1.5 1996/06/29 23:22:35 chuck Exp $ */ /* * @@ -120,6 +120,7 @@ struct en_softc { u_int16_t atm_vci; /* backpointer to VCI */ u_int8_t atm_flags; /* copy of atm_flags from atm_ph */ u_int8_t oth_flags; /* other flags */ + u_int32_t raw_threshold; /* for raw mode */ struct ifqueue indma; /* mbufs being dma'd now */ struct ifqueue q; /* mbufs waiting for dma now */ } rxslot[EN_MAXNRX]; /* recv info */ |