most_high_driver Struct Reference


Data Fields

const char * name
list_head sema_list
list_head spin_list
probe_func probe
remove_func remove
u8 interrupt_mask
irq_func int_handler

Detailed Description

This structure holds the information for all drivers which register themselves in the MOST base driver.

Definition at line 405 of file most-base.h.


Field Documentation

const char* most_high_driver::name

the name of the driver

Definition at line 406 of file most-base.h.

struct list_head most_high_driver::sema_list

list protected by a semaphore

Definition at line 407 of file most-base.h.

Referenced by most_deregister_high_driver(), most_register_high_driver(), and probe().

struct list_head most_high_driver::spin_list

list protected by a spinlock

Definition at line 408 of file most-base.h.

Referenced by handle_interrupt(), most_deregister_high_driver(), and most_register_high_driver().

probe_func most_high_driver::probe

the probe function that gets called if the card was found or the module was load (i.e. the driver was registered) and the card is already present

Definition at line 409 of file most-base.h.

Referenced by high_driver_registered(), and probe().

remove_func most_high_driver::remove

deregistration function

Definition at line 413 of file most-base.h.

Referenced by high_driver_deregistered(), and remove().

u8 most_high_driver::interrupt_mask

if interrupt_handler is non-NULL, you have to set the interrupt mask because this determines when the interrupt handler is called. It's the same as the INTMASK register on p. 54 of OS8604 specification (see most-general.h for symbolic constants). If 0, the interrupt_handler never will be called.

Definition at line 414 of file most-base.h.

Referenced by handle_interrupt().

irq_func most_high_driver::int_handler

interrupt handler, gets executed if an interrupt is handles by the most_pci driver

Definition at line 421 of file most-base.h.

Referenced by handle_interrupt(), and probe().


The documentation for this struct was generated from the following file:
Generated on Fri Mar 9 14:48:58 2007 for MOST Linux Drivers (Linux and RTAI) by  doxygen 1.5.0