- Intro
- introduction to SDI Driver Utility Routines
- sdi_access
- claim or release ownership of a given device
- sdi_acfree
- free idata memory and detach interrupts
- sdi_addevent
- add a driver event handler
- sdi_aen
- asyncrhonous event notification routine
- sdi_blkio
- blocks and issues non-block-aligned or non-block-sized requests
- sdi_buf_ptr
- Access the sb_bufp member of the sb_extra structure
- sdi_buf_restore
- restore the value of the b_iodone member of a buf(D4) structure
- sdi_buf_store
- save values in the buf(D4) structure
- sdi_bus_reset
- send SFB_BUS_RESET to HBA driver
- sdi_callback
- call the target driver interrupt routine to signal completion of a request
- sdi_clrconfig
- free devices claimed by target controllers
- sdi_datapt_ptr
- Return pointer to the sb_datapt member of the sb_extra structure
- sdi_data_type
- zzz
- sdi_deregister
- de-register a Host Bus Adapter (HBA) with SDI
- sdi_device_add
- register a layered device with SDI
- sdi_device_alloc
- allocate an SDI layered device descriptor structure
- sdi_device_copy
- copy an sdi_device(D4sdi) structure
- sdi_device_free
- free an SDI layered device description structure
- sdi_device_prep
- prepare an SDI layered device description structure for use
- sdi_device_reset
- send SFB_DEVICE_RESET to HBA driver
- sdi_device_rm
- de-register a layered device with SDI
- sdi_dev_read_opr
- read the SDI description structure
- sdi_dev_write_opr
- update the SDI device description structure
- sdi_doconfig
- allow a target driver to find devices in the Equipped Device Table (EDT)
- sdi_driver_add
- register a layered I/O driver with SDI
- sdi_driver_desc_alloc
- allocate a layered SDI device structure
- sdi_driver_desc_free
- free an SDI layered driver description structure
- sdi_driver_desc_prep
- prepare an SDI layered driver description structure
- sdi_enable_instance
- notify SDI of device intances that are not ready to accept I/O requests
- sdi_end_gauntlet
- signal error recovery has completed for job
- sdi_errmsg
- format and print an error message
- sdi_event_alloc
- allocate a driver event structure
- sdi_event_free
- release a previously allocated sdi_event
- sdi_ext_address
- determine if HBA is using the extended addressing scheme
- sdi_findspec
- allocate a structure from the pool of structures
- sdi_free
- return a previously allocated piece of memory back to the pool
- sdi_freebcb
- free SDI breakup control block
- sdi_freeblk
- release a previously allocated sb(D4sdi) (Not in current SDI version
- sdi_get
- allocate a structure from the pool of structures
- sdi_getbcb
- get a breakup control block for the HBA device (Not supported in current SDI version)
- sdi_getblk
- allocate an sb(D4sdi) command block for the target driver (not in current SDI version)
- sdi_get_blkno
- retrieve stored blkno
- sdi_getdev
- convert device number to SCSI pass-through device number
- sdi_gethbano
- get/validate host bus adapter controller number
- sdi_get_idata_ptr
- get value of the target-driver instance
- sdi_hba_autoconf
- allocate new idata array containing resource manager information
- sdi_hba_getconf
- retrieve idata structure corresponding to a resource manager key
- sdi_hba_xfreeblk
- release a previously allocated sdi_ext_address(D4sdi) structure
- sdi_icmd
- perform requested operation immediately (not in current SDI version)
- sdi_idata_alloc
- allocate and initialize a idata structure for a controller instance
- sdi_idata_free
- free idata structure and detaches interrupts
- sdi_idata_modify
- modify idata element for a controller instance to match the current settings
- sdi_init
- initialize the SDI driver
- sdi_intr_attach
- attach interrupts for a HBA device
- sdi_kmem_alloc_phys
- allocate DMA addressable, driver accessible memory
- sdi_mca_conf
- interpret MCA HBA driver information and store in resource manager database
- sdi_name
- get name of addressed SDI controller (not in current SDI version)
- sdi_notifyevent
- driver event notification routine
- sdi_redt
- search the EDT for an entry (Not in current SDI version)
- sdi_register
- register a Host Bus Adapter (HBA) with SDI
- sdi_rmevent
- remove a driver event handler
- sdi_rxedt
- search the EDT for an extended entry
- sdi_send
- send SCSI control block to HBA in FIFO order
- sdi_sense_ptr
- Return the address of the sense data for this sb(D4sdi)
- sdi_set_idata_ptr
- set value of the target driver instance
- sdi_start_gauntlet
- start error recovery gauntlet for failed I/O request
- sdi_swap
- swaps bytes in a 16-, 24-, or 32-bit data type
- sdi_swap16
- swap bytes in a 16-bit data type
- sdi_swap24
- swap bytes in a 24-bit data type
- sdi_swap32
- swaps bytes in a 16-, 24-, or 32-bit data type
- sdi_swap34
- swap bytes in a 34-bit data type
- sdi_target_hotregister
- register hot insertion/removal support with SDI
- sdi_timeout
- call the appropriate kernel timeout routine
- sdi_translate
- translate scb virtual to physical address for HBA
- sdi_unlink_target
- unlink an owner structure from an owner list
- sdi_wedt
- modify an existing Equipped Device Table (EDT) entry
- sdi_xaen
- asynchronous event notification routine
- sdi_xfreeblk
- release a previously allocated sb(D4sdi)
- sdi_xgetbcb
- get a breakup control block for the HBA device
- sdi_xgetblk
- allocate an sb(D4sdi) command block for the target driver
- sdi_xicmd
- perform requested operation immediately
- sdi_xname
- get name of addressed SDI controller
- sdi_xsend
- send SCSI control block to HBA in FIFO order
- sdi_xtranslate
- translate scb virtual to physical address for HBA