adapter_init(9)
π adapter_init(9) β Kernel API Manual π
πΈ NAME πΈ
okay so bestie, adapter_init is the whole ritual where we grab the resource for the card, setup the adapter information, set the card into a known state, and create the various tables etc etc. Basically this gets all adapter information all up to date, initialised, and gets the chip in sync with it. Itβs giving βmake the adapter situation coherent and cuteβ energy, and honestly? Iconic. π
β¨
β¨ SYNOPSIS β¨
Hereβs the exact signature, no cap β character-for-character:
int adapter_init (struct AdapterCtlBlk *acb , unsigned long io_port ,
u32 io_port_len , unsigned int irq );
π ARGUMENTS π
Letβs do a lil vibe check on the args, bestie:
acbβ The adapter which we are to init. Our main character for this whole glow-up. πio_portβ The base I/O port.io_port_lenβ The I/O port size.irqβ IRQ.
π¦ DESCRIPTION π¦
Returns 0 if the initialization succeeds, any other value on failure. Thatβs the whole plot. 0 is the slay; anything else is the βnot todayβ text. No cap. ππ
π₯ SEE ALSO π₯
Kernel file ./drivers/scsi/dc395x.c is the mothership, and the SEE ALSO besties are:
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_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_uninit_chip(9),adapter_uninit(9)dc395x_init_one(9),dc395x_remove_one(9)
mwah π β source/version: ./drivers/scsi, 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