My Kernel v0.1.0
device_driver::driver_operations Struct Reference

Vector table of the common operations used to control drivers.

#include <driver.h>

Data Fields

error_t(* probe )(device_t *)
 Bind the driver to a device.
 
bool(* match )(const driver_t *, const device_t *)
 Check if the driver should be used for this device This function should be the same for each driver on the same bus (PCI, ACPI, ...). More...
 

Field Documentation

◆ match

bool(* device_driver::driver_operations::match) (const driver_t *, const device_t *)

Typically inserted by the per-bus driver API.


The documentation for this struct was generated from the following file: