struct pardevice * parport_open (int devnum, const char * name, int (*pf) void *, void (*kf) void *, void (*irqf) int, void *, struct pt_regs *, int flags, void * handle);
This function is similar to parport_register_device, except that it locates a device by its number rather than by the port it is attached to. See parport_find_device and parport_find_class.
All parameters except for devnum are the same as for parport_register_device. The return value is the same as for parport_register_device.
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.5.75.