mega_adapinq(9)
π NAME π
mega_adapinq β the original page leaves the dash empty, bestie, so thereβs literally no description after it and we are not inventing one.
okay so this is mega_adapinq(9) from the Kernel API Manual, and weβre about to get into it π
β¨
β¨ SYNOPSIS β¨
int mega_adapinq (adapter_t *adapter , dma_addr_t dma_handle );
thatβs the signature, character for character π«Ά
π ARGUMENTS π
adapterβ pointer to our soft state, iykyk πdma_handleβ DMA address of the buffer, iconic πΈ
π¦ DESCRIPTION π¦
okay so the vibe is: issue internal commands while interrupts are available. thatβs the move β¨
we only issue direct mailbox commands from within the driver. no cap, thatβs the boundary π«Ά
the ioctl interface using these routines can issue passthru commands. periodt π
π SEE ALSO π
the Kernel file ./drivers/scsi/megaraid.c is where this lives, and the whole bestie squad is:
mega_setup_mailbox(9)mega_runpendq(9)mega_allocate_scb(9)mega_get_ldrv_num(9)mega_build_cmd(9)mega_prepare_passthru(9)mega_prepare_extpassthru(9)issue_scb(9)issue_scb_block(9)megaraid_isr_iomapped(9)megaraid_isr_memmapped(9)mega_cmd_done(9)megaraid_abort_and_reset(9)mega_allocate_inquiry(9)proc_show_config(9)proc_show_stat(9)proc_show_mbox(9)proc_show_rebuild_rate(9)proc_show_battery(9)proc_show_pdrv(9)proc_show_pdrv_ch0(9)proc_show_pdrv_ch1(9)proc_show_pdrv_ch2(9)proc_show_pdrv_ch3(9)proc_show_rdrv(9)proc_show_rdrv_10(9)proc_show_rdrv_20(9)proc_show_rdrv_30(9)proc_show_rdrv_40(9)mega_create_proc_entry(9)mega_init_scb(9)megadev_open(9)megadev_ioctl(9)mega_m_to_n(9)mega_is_bios_enabled(9)mega_enum_raid_scsi(9)mega_get_boot_drv(9)mega_support_random_del(9)mega_support_ext_cdb(9)mega_del_logdrv(9)mega_get_max_sgl(9)mega_support_cluster(9)mega_internal_dev_inquiry(9)mega_internal_command(9)
cute sign-off bestie: source/version says ./drivers/scsi, date says October 2026 β thatβs the whole page, slay π
πβ¨
π¦ 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