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);
canonical device number
name to associate with the device
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.