PARPORT_OPEN
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
parport_open - find a device by canonical device number
SYNOPSIS
"SYNOPSIS"
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);
ARGUMENTS
- devnum
-
canonical device number
- name
-
name to associate with the device
- pf
-
preemption callback
- kf
-
kick callback
- irqf
-
interrupt handler
- flags
-
registration flags
- handle
-
driver data
DESCRIPTION
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.
All parameters except for devnum are the same as for
parport_register_device. The return value is the same as
for parport_register_device.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:35 GMT, October 09, 2005