STRUCT VME_DRIVER(9)
π NAME π
struct vme_driver β okay bestie, this is the structure that represents a VME driver, and it's kind of a big deal π
This is page struct vme_driver(9) from the Kernel API Manual, and we're gonna get into it β¨
β¨ SYNOPSIS β¨
Here's the whole struct, laid out exactly how the kernel wants it, no cap:
struct vme_driver {
const char *name;
int (*match)(struct vme_dev *vdev);
int (*probe)(struct vme_dev *vdev);
void (*remove)(struct vme_dev *vdev);
struct device_driver driver;
struct list_head devices;
};
π Members π
nameβ the driver's name, and it should be unique among VME drivers. Usually it's just the same as the module name. iykyk πΈmatchβ the callback that decides whetherprobeshould even be run. it's giving vibe check but for devices πprobeβ the callback for device binding. it gets called when a new device is detected. main character energy fr π₯removeβ the callback that gets called when the device is removed π«Άdriverβ the underlying generic device driver structure. the support system, lowkey essential πdevicesβ the list of VME devices (struct vme_dev) that are associated with this driver. obsessed with a tidy little list π
π SEE ALSO π
- Kernel file
./drivers/staging/vme_user/vme.hβ and also peepstruct vme_dev(9)while you're in there π¦
okay that's the whole page, you ate that honestly π
no notes. this cutie came from ./drivers/staging/vme_user, dated October 2026, and it's filed under struct vme_driver(9) in the Kernel API Manual β go be iconic with it bestie ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms