A method and system for batching commands and status information between a
host computer and an adapter installed on the host computer. The method
for command batching includes the host storing command pointers, each
command pointer pointing to a command in an array, and providing an array
pointer to the array. When a predetermined threshold of stored commands
has been reached, the host can deliver a multitude of commands via the
array pointer with a single bus access. A method for status batching
includes transferring command statuses from the adapter to the host
computer and providing a pointer to the transferred statuses. When a
predetermined threshold of statuses has been reached, the adapter
interrupts the host computer once to fetch the pointer and the host can
then read the statuses without requiring any more bus interrupts.