int parport_device_coords (int devnum, int * parport, int * mux, int * daisy);
This function converts a device number into its coordinates in terms of which parallel port in the system it is attached to, which multiplexor port it is attached to if there is a multiplexor on that port, and which daisy chain address it has if it is in a daisy chain.
The caller must allocate storage for parport, mux, and daisy.
If there is no device with the specified device number, -ENXIO is returned. Otherwise, the values pointed to by parport, mux, and daisy are set to the coordinates of the device, with -1 for coordinates with no value.
This function is not actually very useful, but this interface was suggested by IEEE 1284.3.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
If you have comments on the formatting of this manpage, then please contact Michael Still (mikal@stillhq.com).
This documentation was generated with kernel version 2.6.0.