adapter_add_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– adapter_add_device β€” Kernel API Manual ✨

okay so bestie, welcome to adapter_add_device(9), a Kernel API Manual moment, and honestly it's giving "small function, big responsibility" πŸŽ€ the way this one just adds the device instance to the adaptor instance β€” that's the whole gig, no cap πŸ’…


🌸 NAME 🌸

adapter_add_device β€” Adds the device instance to the adaptor instance. periodt πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

void adapter_add_device (struct AdapterCtlBlk *acb , struct DeviceCtlBlk
*dcb );

look at her, returning void and everything β€” she's not here to give you a status code, she's here to link things up ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • acb β€” The adapter device to be updated πŸ’« this is the adaptor instance catching feels (and a new device).
  • dcb β€” A newly created and initialised device instance to add. fresh out the oven, already initialised, ready to be added πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

so like, the whole friend group lives in Kernel file ./drivers/scsi/dc395x.c and honestly they're all icons, go say hi:

  • 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_remove_device(9)
  • adapter_remove_and_free_device(9)
  • adapter_remove_and_free_all_devices(9)
  • dc395x_sdev_init(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 entire friend group chat right there, iykyk 🫢


πŸ’€ also the source path is literally ./drivers/scsi so if you're lost, that's where home is 🏑

and that's the page, bestie! 🌈 this one's from ./drivers/scsi, stamped October 2026, slay πŸ’…βœ¨

πŸ“¦ where this page comes from