/** * struct mdev_driver - Mediated device driver * @device_api: string to return for the device_api sysfs * @max_instances: maximum number of instances supported (optional) * @probe: called when new device created * @remove: called when device removed * @get_available: Return the max number of instances that can be created * @show_description: Print a description of the mtype * @driver: device driver structure
**/ struct mdev_driver { constchar *device_api; unsignedint max_instances; int (*probe)(struct mdev_device *dev); void (*remove)(struct mdev_device *dev); unsignedint (*get_available)(struct mdev_type *mtype);
ssize_t (*show_description)(struct mdev_type *mtype, char *buf); struct device_driver driver;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.