summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/ppb_1284.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-08-03 19:14:33 +0000
committermsmith <msmith@FreeBSD.org>1998-08-03 19:14:33 +0000
commit2fdb23234a18b64b994328bb4be606a420e3b56d (patch)
treef8a4d5d9ba99cb367e9263ec96d08ecb8919f529 /sys/dev/ppbus/ppb_1284.h
parentcfef94c8ca2347c78a745676fe6061eb1f172be7 (diff)
downloadFreeBSD-src-2fdb23234a18b64b994328bb4be606a420e3b56d.zip
FreeBSD-src-2fdb23234a18b64b994328bb4be606a420e3b56d.tar.gz
Major ppbus updates from the author.
- ppbus now supports PLIP via the if_plip driver - ieee1284 infrastructure added, including parallel-port PnP - port microsequencer added, for scripting the sort of port I/O that is common with parallel devices without endless calls up and down through the driver structure. - improved bus ownership behaviour among the ppbus-using drivers. - improved I/O chipset feature detection The vpo driver is now implemented using the microsequencer, leading to some performance improvements as well as providing an extensive example of its use. Reviewed by: msmith Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
Diffstat (limited to 'sys/dev/ppbus/ppb_1284.h')
-rw-r--r--sys/dev/ppbus/ppb_1284.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/ppbus/ppb_1284.h b/sys/dev/ppbus/ppb_1284.h
index 527d90a..980fe68 100644
--- a/sys/dev/ppbus/ppb_1284.h
+++ b/sys/dev/ppbus/ppb_1284.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: ppb_1284.h,v 1.1 1997/08/16 14:05:33 msmith Exp $
*
*/
#ifndef __1284_H
@@ -32,9 +32,12 @@
#define NIBBLE_1284_NORMAL 0
#define NIBBLE_1284_REQUEST_ID 4
-extern void nibble_1284_sync(struct ppb_device *);
+extern int do_1284_wait(struct ppb_device *, char, char);
+
+extern int byte_1284_inbyte(struct ppb_device *, char *);
+
extern int nibble_1284_inbyte(struct ppb_device *, char *);
-extern int nibble_1284_wait(struct ppb_device *, char, char);
+extern void nibble_1284_sync(struct ppb_device *);
extern int nibble_1284_mode(struct ppb_device *, int);
#endif
OpenPOWER on IntegriCloud