STRUCT VME_DRIVER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 whether probe should 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 peep struct 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