HomeFreeBSD

Some code reorganization.

Description

Some code reorganization.

  • Remove code duplication by adding two new functions to execute prepared

queue entry via either mbox or request queue and wait for result.

  • Since the new function executing via request queue sleeps any way, make

it sleep also in case of overflows or handle shortages. It should make it
more reliable and less affecting other less flexible request queue users.

  • Turn isp_target_put_entry() into not target-specific isp_send_entry().
  • Make handling of responses with control handles more universal.
  • Move RQSTYPE_RPT_ID_ACQ handling into new function.
  • Inline isp_handle_other_response(), becoming trivial after above.
  • Clean the list of IOCBs from pre-24xx ones.

Details

Provenance
mavAuthored on
Parents
rS368104: MFC r367862: Microoptimize cam_num_doneqs math in xpt_done().
Branches
Unknown
Tags
Unknown