asd_ms_get_phy_params(9)
π asd_ms_get_phy_params(9) π
okay so welcome to the Kernel API Manual, bestie β this is the page for asd_ms_get_phy_params(9), and it is literally all about getting phy parameters from the manufacturing sector. β¨
πΈ NAME πΈ
asd_ms_get_phy_params β get phy parameters from the manufacturing sector π
β¨ SYNOPSIS β¨
int asd_ms_get_phy_params (struct asd_ha_struct *asd_ha , struct
asd_manuf_sec *manuf_sec );
π ARGUMENTS π
asd_haβ pointer to the host adapter structure, bestie π«Άmanuf_secβ pointer to the manufacturing sector β¨
π¦ DESCRIPTION π¦
The manufacturing sector also contains the linked list of sub-segments β because when it was read, its size was taken from the flash directory, not from the structure size. no cap, that detail matters π
Okay so hereβs the phy situation, and itβs giving very specific rules:
- HIDDEN phys do not count in the total count.
- REPORTED phys cannot be enabled, but they are reported and counted towards the total.
- ENABLED phys are enabled by default and count towards the total.
The absolute total phy number is ASD_MAX_PHYS. hw_prof->num_phys merely specifies the number of phys the host adapter decided to report. π
E.g., it is possible for phys 0, 1 and 2 to be HIDDEN, phys 3, 4 and 5 to be REPORTED, and phys 6 and 7 to be ENABLED. In this case ASD_MAX_PHYS is 8, hw_prof->num_phys is 5, and only 2 are actually enabled (enabled by default, max number of phys enableable in this case). ππ₯
π SEE ALSO π
Kernel file ./drivers/scsi/aic94xx/aic94xx_sds.c β and the whole squad is:
asd_read_ocm_seg(9)asd_write_ocm_seg(9)asd_read_ocm(9)asd_find_flash_dir(9)asd_find_ll_by_id(9)asd_process_ms(9)asd_process_ctrl_a_user(9)asd_read_flash(9)asd_verify_flash_seg(9)asd_write_flash_seg(9)asd_erase_nv_sector(9)
xoxo, your Unix bestie π«Ά β source: ./drivers/scsi/aic94xx, date: October 2026 π
π¦ 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