From: niklas Date: Fri, 21 Feb 1997 10:52:09 +0000 (+0000) Subject: We do not use the rsr field X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d9a479f4742cc9fac3a197d77297e56517f10961;p=openbsd We do not use the rsr field --- diff --git a/sys/arch/amiga/isa/if_isaed.c b/sys/arch/amiga/isa/if_isaed.c index 5527ccd2b52..66ed20b1a85 100644 --- a/sys/arch/amiga/isa/if_isaed.c +++ b/sys/arch/amiga/isa/if_isaed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_isaed.c,v 1.14 1996/11/28 23:33:09 niklas Exp $ */ +/* $OpenBSD: if_isaed.c,v 1.15 1997/02/21 10:52:11 niklas Exp $ */ /* * Derived from sys/dev/isa/if_ed.c: @@ -1932,7 +1932,6 @@ ed_rint(sc) u_int16_t len; u_int8_t nlen; u_int8_t next_packet; /* pointer to next packet */ - u_int8_t rsr; /* receiver status */ u_int16_t count; /* bytes in packet (length + 4) */ u_int8_t packet_hdr[ED_RING_HDRSZ]; int packet_ptr; @@ -1973,7 +1972,6 @@ loop: else ed_pio_readmem(sc, (long)packet_ptr, packet_hdr, sizeof(packet_hdr)); - rsr = packet_hdr[ED_RING_RSR]; next_packet = packet_hdr[ED_RING_NEXT_PACKET]; len = count = packet_hdr[ED_RING_COUNT] + 256 * packet_hdr[ED_RING_COUNT + 1]; diff --git a/sys/dev/isa/if_ed.c b/sys/dev/isa/if_ed.c index dd814df825d..1675ce44b5c 100644 --- a/sys/dev/isa/if_ed.c +++ b/sys/dev/isa/if_ed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ed.c,v 1.25 1996/11/29 22:54:58 niklas Exp $ */ +/* $OpenBSD: if_ed.c,v 1.26 1997/02/21 10:52:09 niklas Exp $ */ /* $NetBSD: if_ed.c,v 1.105 1996/10/21 22:40:45 thorpej Exp $ */ /* @@ -1924,7 +1924,6 @@ ed_rint(sc) u_int16_t len; u_int8_t nlen; u_int8_t next_packet; /* pointer to next packet */ - u_int8_t rsr; /* receiver status */ u_int16_t count; /* bytes in packet (length + 4) */ u_int8_t packet_hdr[ED_RING_HDRSZ]; int packet_ptr; @@ -1965,7 +1964,6 @@ loop: else ed_pio_readmem(sc, (long)packet_ptr, packet_hdr, sizeof(packet_hdr)); - rsr = packet_hdr[ED_RING_RSR]; next_packet = packet_hdr[ED_RING_NEXT_PACKET]; len = count = packet_hdr[ED_RING_COUNT] + 256 * packet_hdr[ED_RING_COUNT + 1];