aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ed/if_edreg.h
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-08-04 17:42:35 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-08-04 17:42:35 +0000
commit0f8a0292a286a669b59db2c87498c0eda5c8cf92 (patch)
treeea85b2d08510ee16dec548691266c341035b6344 /sys/dev/ed/if_edreg.h
parent35b0a40abb5aef3ede18a862e6614d5a7120d30c (diff)
Notes
Diffstat (limited to 'sys/dev/ed/if_edreg.h')
-rw-r--r--sys/dev/ed/if_edreg.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/sys/dev/ed/if_edreg.h b/sys/dev/ed/if_edreg.h
index f691a6e3f20e1..1d56fdc006e35 100644
--- a/sys/dev/ed/if_edreg.h
+++ b/sys/dev/ed/if_edreg.h
@@ -6,7 +6,7 @@
* of this software, nor does the author assume any responsibility
* for damages incurred with its use.
*
- * $Id: if_edreg.h,v 1.14 1994/04/10 20:06:28 davidg Exp $
+ * $Id: if_edreg.h,v 1.15 1994/08/02 07:39:30 davidg Exp $
*/
/*
* National Semiconductor DS8390 NIC register definitions
@@ -547,19 +547,11 @@
* A contiguous portion of those blocks are marked for receive packets
* by setting start and end block #'s in the NIC. For each packet that
* is put into the receive ring, one of these headers (4 bytes each) is
- * tacked onto the front.
+ * tacked onto the front. The first byte is a copy of the receiver status
+ * register at the time the packet was received.
*/
struct ed_ring {
- struct edr_status { /* received packet status */
- u_char rs_prx:1, /* packet received intack */
- rs_crc:1, /* crc error */
- rs_fae:1, /* frame alignment error */
- rs_fo:1, /* fifo overrun */
- rs_mpa:1, /* packet received intack */
- rs_phy:1, /* packet received intack */
- rs_dis:1, /* packet received intack */
- rs_dfr:1; /* packet received intack */
- } ed_rcv_status; /* received packet status */
+ u_char rsr; /* receiver status */
u_char next_packet; /* pointer to next packet */
u_short count; /* bytes in packet (length + 4) */
};