Previous Next Table of Contents

The Linux LP (parallel) device driver.

Paul Dwerryhouse

6th December, 1997


This document describes the operation of the Linux parallel device driver verb, found in drivers/char/lp.c, in the Linux kernel tree. It is based on the code found in the 2.1.x series of the Linux kernel.

1. Introduction

2. lp_char(char lpchar, int minor, int use_polling);

3. lp_write_buf(unsigned int minor, const char *buf, int count)

4. lp_write(struct file * file, const char * buf, size_t count, loff_t *ppos)

5. lp_open(struct inode * inode, struct file * file)

6. lp_release(struct inode * inode, struct file * file)

7. lp_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg)


Previous Next Table of Contents