diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-12-12 02:13:33 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-12-12 02:13:33 +0000 |
commit | e89c45a8be43f1ee0187f9b6d8ab0d4aa31cf818 (patch) | |
tree | 9ed6e0a390e086f69df9dd1a2fb6bb4bb69e3578 /sys/dev/dec | |
parent | 36fdd91a757640f79b72e7cfce049b075ff3d924 (diff) |
introduce the command control blocks, and the concept that they are managed
per port rather than as a big list for the whole controller. the softc
has an array of pointers to a struct that manages all the shizz relevant to
a particular port. when we map the controllers ports, we'll allocate these
as needed.
if the port isnt implemented, we leave its pointer in the softc null and
use that to decide if a drive might be there or not, rather than lookup up
the PI register all the time. a comparison has to null has to be cheaper
than doing bit operations, surely.
Diffstat (limited to 'sys/dev/dec')
0 files changed, 0 insertions, 0 deletions