diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-11-28 18:16:09 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-11-28 18:16:09 +0000 |
commit | a669e3158c630c02666a52c479490553287d5db1 (patch) | |
tree | befaae03e05be8280d6e86df55f0746a766e7b96 /sys/arch/i386 | |
parent | fba896bed93b1b9a0c05f59228068f2603eb4be9 (diff) |
when we probe a port send an ata inquiry to the device and cache
the result in the ata_port struct. use this cached inquiry data
when building the replies to scsi commands rather than fetching a
new copy of ata inq every time.
this shrinks the code by 100 lines. it also avoids a malloc in a
scsi io path, which could be issued at a time when malloc isnt
guaranteed to succeed, but a real scsi io definitely should.
Diffstat (limited to 'sys/arch/i386')
0 files changed, 0 insertions, 0 deletions