aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-01-01 03:54:34 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-01-01 03:54:34 +0000
commitc38c2f7f9b2067d3aaa8164ab77aa762ddd83421 (patch)
tree7d113c7eb8fa603f587f2bb179bf328820e26dda
parent8c57ee9a120a9822f857525a9d57ec66eaa9fd58 (diff)
Notes
-rw-r--r--sys/dev/ed/if_ed.c5
-rw-r--r--sys/i386/isa/if_ed.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 629d8de77c85..46ac3fbdd84e 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -13,7 +13,7 @@
* the SMC Elite Ultra (8216), the 3Com 3c503, the NE1000 and NE2000,
* and a variety of similar clones.
*
- * $Id: if_ed.c,v 1.59 1994/12/22 21:56:03 wollman Exp $
+ * $Id: if_ed.c,v 1.60 1994/12/31 17:09:56 jkh Exp $
*/
#include "ed.h"
@@ -2154,13 +2154,10 @@ ed_pio_readmem(sc, src, dst, amount)
unsigned char *dst;
unsigned short amount;
{
- unsigned short tmp_amount;
-
/* select page 0 registers */
outb(sc->nic_addr + ED_P0_CR, ED_CR_RD2 | ED_CR_STA);
/* round up to a word */
- tmp_amount = amount;
if (amount & 1)
++amount;
diff --git a/sys/i386/isa/if_ed.c b/sys/i386/isa/if_ed.c
index 629d8de77c85..46ac3fbdd84e 100644
--- a/sys/i386/isa/if_ed.c
+++ b/sys/i386/isa/if_ed.c
@@ -13,7 +13,7 @@
* the SMC Elite Ultra (8216), the 3Com 3c503, the NE1000 and NE2000,
* and a variety of similar clones.
*
- * $Id: if_ed.c,v 1.59 1994/12/22 21:56:03 wollman Exp $
+ * $Id: if_ed.c,v 1.60 1994/12/31 17:09:56 jkh Exp $
*/
#include "ed.h"
@@ -2154,13 +2154,10 @@ ed_pio_readmem(sc, src, dst, amount)
unsigned char *dst;
unsigned short amount;
{
- unsigned short tmp_amount;
-
/* select page 0 registers */
outb(sc->nic_addr + ED_P0_CR, ED_CR_RD2 | ED_CR_STA);
/* round up to a word */
- tmp_amount = amount;
if (amount & 1)
++amount;