summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-21 10:52:12 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-21 10:52:12 +0000
commit8f71eff229d88f022578d0813d555ea635dbe509 (patch)
treea40a4eec7ca5ef31c26536bde7d3e44c721f65b3
parentaf19376f3fb67edb8c1d5c043c59b20781b4cc3f (diff)
We do not use the rsr field
-rw-r--r--sys/arch/amiga/isa/if_isaed.c4
-rw-r--r--sys/dev/isa/if_ed.c4
2 files changed, 2 insertions, 6 deletions
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];