vme_register_driver(9)
β¨ vme_register_driver(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a shortie but a goodie β it's the entry-level slay for getting your VME driver into the subsystem.
πΈ NAME πΈ
vme_register_driver β literally registers a VME driver, that's the whole vibe π
π¦ SYNOPSIS π¦
int vme_register_driver (struct vme_driver *drv , unsigned int ndevs );
π ARGUMENTS π
drvβ pointer to the VME driver structure you wanna register. it's giving "here's my driver, pls take it" π«Άndevsβ the maximum number of devices you're allowing to be enumerated. think of it as your device capacity limit, no cap π
π DESCRIPTION π
so basically you call this and it registers a VME device driver with the VME subsystem. that's it. that's the function. iconic behaviour honestly β
π RETURN π
0on success β we love a zero, that's the good ending π- an error value on registration failure β not the vibe, but at least it tells you π
π₯ SEE ALSO π₯
kernel file ./drivers/staging/vme_user/vme.c, plus the whole friend group:
vme_alloc_consistent(9)vme_free_consistent(9)vme_get_size(9)vme_slave_request(9)vme_slave_set(9)vme_slave_get(9)vme_slave_free(9)vme_master_request(9)vme_master_set(9)vme_master_get(9)vme_master_read(9)vme_master_write(9)vme_master_rmw(9)vme_master_mmap_prepare(9)vme_master_free(9)vme_dma_request(9)vme_new_dma_list(9)vme_dma_pattern_attribute(9)vme_dma_pci_attribute(9)vme_dma_vme_attribute(9)vme_dma_free_attribute(9)vme_dma_list_add(9)vme_dma_list_exec(9)vme_dma_list_free(9)vme_dma_free(9)vme_irq_request(9)vme_irq_free(9)vme_irq_generate(9)vme_lm_request(9)vme_lm_count(9)vme_lm_set(9)vme_lm_get(9)vme_lm_attach(9)vme_lm_detach(9)vme_lm_free(9)vme_slot_num(9)vme_bus_num(9)vme_unregister_driver(9)
ok that's the whole page, go register something cute π β¨
β mwah, this one's from ./drivers/staging/vme_user, dated October 2026, and it's titled vme_register_driver(9) in case you forgot already π§π
π¦ 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