dc395x_sdev_init(9)
πΈ NAME πΈ
okay so bestie, meet dc395x_sdev_init β the function the scsi mid layer literally calls to be like "hey, new scsi device, deal with it π
". And what do we do? We allocate a new device and then insert that device into the adapter's device list. That's the whole vibe. Clean, iconic, no cap.
β¨ SYNOPSIS β¨
int dc395x_sdev_init (struct scsi_device *scsi_device );
π ARGUMENTS π
scsi_deviceβ the brand-new scsi device we need to handle. it's giving "fresh arrival, main character energy" π¦
π₯ SEE ALSO π₯
so if you wanna go down the rabbit hole (and honestly? you should, it's a whole saga), everything here lives in the kernel file ./drivers/scsi/dc395x.c. say it with me: iykyk π
set_safe_settings(9)fix_settings(9)eeprom_index_to_delay(9)delay_to_eeprom_index(9)eeprom_override(9)dc395x_queue_command_lck(9)dc395x_handle_interrupt(9)device_alloc(9)adapter_add_device(9)adapter_remove_device(9)adapter_remove_and_free_device(9)adapter_remove_and_free_all_devices(9)dc395x_sdev_destroy(9)trms1040_wait_30us(9)trms1040_write_cmd(9)trms1040_set_data(9)trms1040_write_all(9)trms1040_get_data(9)trms1040_read_all(9)check_eeprom(9)print_eeprom_settings(9)adapter_print_config(9)adapter_init_params(9)adapter_init_scsi_host(9)adapter_init_chip(9)adapter_init(9)adapter_uninit_chip(9)adapter_uninit(9)dc395x_init_one(9)dc395x_remove_one(9)
like, that's the whole friend group right there π«Ά go say hi.
mwah π that's the page! this little gem is from the Kernel API Manual, it lives over in ./drivers/scsi, and it's stamped October 2026. drink some water, read your source files, periodt. πβ¨
π¦ 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