summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-11-28 18:16:09 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-11-28 18:16:09 +0000
commita669e3158c630c02666a52c479490553287d5db1 (patch)
treebefaae03e05be8280d6e86df55f0746a766e7b96 /sys/arch/i386
parentfba896bed93b1b9a0c05f59228068f2603eb4be9 (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