asd_init_scbs(9)
π asd_init_scbs(9) π
okay bestie, this page is from the Kernel API Manual β and it's all about manually allocating the first SCB. it's giving "setup era, but make it cute." π«Ά
β¨ NAME β¨
asd_init_scbs β manually allocate the first SCB.
π SYNOPSIS π
int asd_init_scbs (struct asd_ha_struct *asd_ha );
π ARGUMENTS π
asd_haβ pointer to host adapter structure.
πΈ DESCRIPTION πΈ
okay so this one allocates the very first SCB β the one that would be sent to the sequencer for execution. its bus address is written to CSEQ_Q_NEW_POINTER, mode page 2, mode 8. β¨
and here's the why, bestie: the bus address of the next scb to be DMA-ed to the host adapter is read from the last SCB DMA-ed to the host adapter. so we have to always stay one step ahead of the sequencer and keep one SCB already allocated. literally cannot be caught lacking. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/scsi/aic94xx/aic94xx_hwi.c asd_init_escbs(9)asd_chip_hardrst(9)asd_init_chip(9)asd_init_ctxmem(9)asd_chip_reset(9)asd_process_donelist_isr(9)asd_com_sas_isr(9)asd_dch_sas_isr(9)asd_rbi_exsi_isr(9)asd_hst_pcix_isr(9)asd_hw_isr(9)asd_ascb_alloc_list(9)asd_swap_head_scb(9)asd_start_scb_timers(9)asd_post_ascb_list(9)asd_post_escb_list(9)asd_turn_led(9)asd_control_led(9)
π that's the tea: ./drivers/scsi/aic94xx, October 2026, asd_init_scbs(9) β bye 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