parport_device_num(9)

parport_device_num9

Convert device coordinates

Usage

int parport_device_num(int parport, int mux, int daisy);

Arguments

parport

parallel port number

mux

multiplexor port number (-1 for no multiplexor)

daisy

daisy chain address (-1 for no daisy chain address)

Overview

This tries to locate a device on the given parallel port, multiplexor port and daisy chain address, and returns its device number or -ENXIO if no device with those coordinates exists.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.