Expand description

Generic support for drivers of different buses (e.g., PCI, Platform, Amba, etc.).

Each bus/subsystem is expected to implement DriverOps, which allows drivers to register using the Registration class.

Structs

A zero-terminated device id array, followed by context data.
A device id table.
A kernel module that only registers the given driver on init.
The registration of a driver.

Traits

Custom code within device removal.
A subsystem (e.g., PCI, Platform, Amba, etc.) that allows drivers to be written for it.
Conversion from a device id to a raw device id.