Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
struct zorro_device_id * | zorro_match_device (const struct zorro_device_id *ids, const struct zorro_dev *z) |
EXPORT_SYMBOL (zorro_match_device) | |
int | zorro_register_driver (struct zorro_driver *drv) |
EXPORT_SYMBOL (zorro_register_driver) | |
void | zorro_unregister_driver (struct zorro_driver *drv) |
EXPORT_SYMBOL (zorro_unregister_driver) | |
EXPORT_SYMBOL (zorro_bus_type) | |
postcore_initcall (zorro_driver_init) | |
Variables | |
struct bus_type | zorro_bus_type |
EXPORT_SYMBOL | ( | zorro_match_device | ) |
EXPORT_SYMBOL | ( | zorro_register_driver | ) |
EXPORT_SYMBOL | ( | zorro_unregister_driver | ) |
EXPORT_SYMBOL | ( | zorro_bus_type | ) |
postcore_initcall | ( | zorro_driver_init | ) |
|
read |
zorro_match_device - Tell if a Zorro device structure has a matching Zorro device id structure : array of Zorro device id structures to search in : the Zorro device structure to match against
Used by a driver to check whether a Zorro device present in the system is in its list of supported devices. Returns the matching zorro_device_id structure or NULL if there is no match.
Definition at line 30 of file zorro-driver.c.
zorro_register_driver - register a new Zorro driver : the driver structure to register
Adds the driver structure to the list of registered drivers Returns zero or a negative error value.
Definition at line 86 of file zorro-driver.c.
zorro_unregister_driver - unregister a zorro driver : the driver structure to unregister
Deletes the driver structure from the list of registered Zorro drivers, gives it a chance to clean up by calling its remove() function for each device it was responsible for, and marks those devices as driverless.
Definition at line 108 of file zorro-driver.c.
Definition at line 167 of file zorro-driver.c.