rl.4 (71895) | rl.4 (72640) |
---|---|
1.\" Copyright (c) 1997, 1998 2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29.\" THE POSSIBILITY OF SUCH DAMAGE. 30.\" | 1.\" Copyright (c) 1997, 1998 2.\" Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29.\" THE POSSIBILITY OF SUCH DAMAGE. 30.\" |
31.\" $FreeBSD: head/share/man/man4/rl.4 71895 2001-02-01 16:38:02Z ru $ | 31.\" $FreeBSD: head/share/man/man4/rl.4 72640 2001-02-18 10:25:42Z asmodai $ |
32.\" 33.Dd November 4, 1998 34.Dt RL 4 35.Os FreeBSD 36.Sh NAME 37.Nm rl 38.Nd 39RealTek 8129/8139 fast ethernet device driver --- 162 unchanged lines hidden (view full) --- 202buffer while the driver is busy handling the first one. 203If the driver 204manages to finish processing the first frame before the chip is done 205DMAing the rest of the next frame, the driver may attempt to process 206the next frame in the buffer before the chip has had a chance to finish 207DMAing all of it. 208.Pp 209The driver can check for an incomplete frame by inspecting the frame | 32.\" 33.Dd November 4, 1998 34.Dt RL 4 35.Os FreeBSD 36.Sh NAME 37.Nm rl 38.Nd 39RealTek 8129/8139 fast ethernet device driver --- 162 unchanged lines hidden (view full) --- 202buffer while the driver is busy handling the first one. 203If the driver 204manages to finish processing the first frame before the chip is done 205DMAing the rest of the next frame, the driver may attempt to process 206the next frame in the buffer before the chip has had a chance to finish 207DMAing all of it. 208.Pp 209The driver can check for an incomplete frame by inspecting the frame |
210length in the header preceeding the actual packet data: an incomplete | 210length in the header preceding the actual packet data: an incomplete |
211frame will have the magic length of 0xFFF0. 212When the driver encounters 213this value, it knows that it has finished processing all currently 214available packets. 215Neither this magic value nor its significance are 216documented anywhere in the RealTek data sheets. | 211frame will have the magic length of 0xFFF0. 212When the driver encounters 213this value, it knows that it has finished processing all currently 214available packets. 215Neither this magic value nor its significance are 216documented anywhere in the RealTek data sheets. |