diff options
author | nsouch <nsouch@FreeBSD.org> | 1999-01-30 15:35:39 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 1999-01-30 15:35:39 +0000 |
commit | 10ef2b8422913dafa8c05f64b5d0c07a3d2ad9c0 (patch) | |
tree | 40df97b8849853b739d2d4fdbd234d29a62ee63a /sys/dev/ppbus/if_plip.c | |
parent | c9bc4bf0090c71bd80805b53e37129f6052a7407 (diff) | |
download | FreeBSD-src-10ef2b8422913dafa8c05f64b5d0c07a3d2ad9c0.zip FreeBSD-src-10ef2b8422913dafa8c05f64b5d0c07a3d2ad9c0.tar.gz |
Distinguish EPP address/data register. Add EPP address register access to ppi.
Change microseq offsets. Previously, offsets of the program counter where
added to the index of the current microinstruction. Make them rely on the
index of the next executed microinstruction.
Suggested by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
Diffstat (limited to 'sys/dev/ppbus/if_plip.c')
-rw-r--r-- | sys/dev/ppbus/if_plip.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c index d3b85a4..886158c 100644 --- a/sys/dev/ppbus/if_plip.c +++ b/sys/dev/ppbus/if_plip.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * From Id: lpt.c,v 1.55.2.1 1996/11/12 09:08:38 phk Exp - * $Id: if_plip.c,v 1.7 1999/01/09 18:10:37 nsouch Exp $ + * $Id: if_plip.c,v 1.8 1999/01/23 17:07:49 nsouch Exp $ */ /* @@ -131,11 +131,12 @@ #define LPIPTBLSIZE 256 /* Size of octet translation table */ -#ifndef PLIP_DEBUG -#define lprintf (void) -#else #define lprintf if (lptflag) printf + +#ifdef PLIP_DEBUG static int volatile lptflag = 1; +#else +static int volatile lptflag = 0; #endif struct lpt_softc { |