Appendix B. The Linux 2.2 Parallel Port Subsystem

Although the interface described in this document is largely new with the 2.4 kernel, the sharing mechanism is available in the 2.2 kernel as well. The functions available in 2.2 are:

  • parport_register_device

  • parport_unregister_device

  • parport_claim

  • parport_claim_or_block

  • parport_release

  • parport_yield

  • parport_yield_blocking

In addition, negotiation to reverse nibble mode is supported:

int parport_ieee1284_nibble_mode_ok(struct parport *port, unsigned char mode);

The only valid values for mode are 0 (for reverse nibble mode) and 4 (for Device ID in reverse nibble mode).

This function is obsoleted by parport_negotiate in Linux 2.4, and has been removed.