Reference

parport_device_num(9)

convert device coordinates

NAME

parport_device_num - convert device coordinates

SYNOPSIS

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)

DESCRIPTION

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.

COPYRIGHT