#include <linux/module.h>
#include <linux/slab.h>
#include <linux/idr.h>
#include <asm/io.h>
#include "ipack.h"
Go to the source code of this file.
#define ipack_device_attr |
( |
|
field, |
|
|
|
format_string |
|
) |
| |
Value:static ssize_t \
return
sprintf(
buf, format_string, idev->field); \
}
Definition at line 113 of file ipack.c.
#define ipack_uevent NULL |
ipack_bus_register – register a new ipack bus
: pointer to the parent device, if any. : number of slots available in the bus device. : bus operations for the mezzanine drivers.
The carrier board device should call this function to register itself as available bus device in ipack.
Definition at line 208 of file ipack.c.
ipack_bus_unregister – unregister an ipack bus
Definition at line 243 of file ipack.c.
ipack_device_register – register a new mezzanine device
: ipack bus device it is plugged to. : slot position in the bus device.
Register a new ipack device (mezzanine device). The call is done by the carrier device driver.
Definition at line 429 of file ipack.c.
ipack_driver_register – Register a new driver
Called by a ipack driver to register itself as a driver that can manage ipack devices.
Definition at line 252 of file ipack.c.
MODULE_DESCRIPTION |
( |
"Industry-pack bus core" |
| ) |
|
module_exit |
( |
ipack_exit |
| ) |
|
module_init |
( |
ipack_init |
| ) |
|