parport_register_port man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

PARPORT_REGISTER_POR(9)	     Parallel Port Devices     PARPORT_REGISTER_POR(9)

NAME
       parport_register_port - register a parallel port

SYNOPSIS
       struct parport * parport_register_port(unsigned long base, int irq,
					      int dma,
					      struct parport_operations * ops);

ARGUMENTS
       base
	   base I/O address

       irq
	   IRQ line

       dma
	   DMA channel

       ops
	   pointer to the port driver´s port operations structure

DESCRIPTION
       When a parallel port (lowlevel) driver finds a port that should be made
       available to parallel port device drivers, it should call
       parport_register_port. The base, irq, and dma parameters are for the
       convenience of port drivers, and for ports where they aren´t meaningful
       needn´t be set to anything special. They can be altered afterwards by
       adjusting the relevant members of the parport structure that is
       returned and represents the port. They should not be tampered with
       after calling parport_announce_port, however.

       If there are parallel port device drivers in the system that have
       registered themselves using parport_register_driver, they are not told
       about the port at this time; that is done by parport_announce_port.

       The ops structure is allocated by the caller, and must not be
       deallocated before calling parport_remove_port.

       If there is no memory to allocate a new parport structure, this
       function will return NULL.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013	       PARPORT_REGISTER_POR(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net