Name

parport — representation of a parallel port

Synopsis

#include <ieee1284.h>

Description

A parport structure represents a parallel port.

Structure members

The structure has the following members:

struct parport {
  /* An artibrary name for the port. */
  const char *name;

  /* The base address of the port, if that has any meaning, or zero. */
  unsigned long base_addr;

  /* The ECR address of the port, if that has any meaning, or zero. */
  unsigned long hibase_addr;

  /* The filename associated with this port,
   * if that has any meaning, or NULL. */
  const char *filename;
};