summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2007-11-28 18:16:07 +0000
committerdlg <dlg@openbsd.org>2007-11-28 18:16:07 +0000
commitf8f4beaed6010b38d2046671ff2a302687cda9da (patch)
treebfe302c08eff5eaa4f66c23317046bce18b3524c /lib
parentcpu options are gone now. (diff)
downloadwireguard-openbsd-f8f4beaed6010b38d2046671ff2a302687cda9da.tar.xz
wireguard-openbsd-f8f4beaed6010b38d2046671ff2a302687cda9da.zip
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 'lib')
0 files changed, 0 insertions, 0 deletions