Man Page: parport_register_driver
Operating Environment: suse
Section: 9
PARPORT_REGISTER_DRI(9) Parallel Port Devices PARPORT_REGISTER_DRI(9)NAMEparport_register_driver - register a parallel port device driverSYNOPSISint parport_register_driver(struct parport_driver * drv);ARGUMENTSdrv structure describing the driverDESCRIPTIONThis can be called by a parallel port device driver in order to receive notifications about ports being found in the system, as well as ports no longer available. The drv structure is allocated by the caller and must not be deallocated until after calling parport_unregister_driver. The driver's attach function may block. The port that attach is given will be valid for the duration of the callback, but if the driver wants to take a copy of the pointer it must call parport_get_port to do so. Calling parport_register_device on that port will do this for you. The driver's detach function may block. The port that detach is given will be valid for the duration of the callback, but if the driver wants to take a copy of the pointer it must call parport_get_port to do so. Returns 0 on success. Currently it always succeeds.COPYRIGHTKernel Hackers Manual 2.6. July 2010 PARPORT_REGISTER_DRI(9)
| Related Man Pages |
|---|
| parport_register_device(9) - centos |
| tavor(7d) - sunos |
| hermon(7d) - opensolaris |
| lpt(4) - linux |
| lpt(4) - posix |
| Similar Topics in the Unix Linux Community |
|---|
| Migrating to UNIX |
| Cut command on RHEL 6.8 compatibility issues |
| SOCKS proxy & PAM configuration exposure |
| Tar Command |
| The Future of the PM (Private Message) System at UNIX.com |