diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2009-12-08 08:07:52 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2009-12-08 08:07:52 +0000 |
commit | da3e327d76817f3d36ea42bbef28c21a630f54e2 (patch) | |
tree | b34caff3c67aed495818b15b4b34eb20bd35cb2a /usr.sbin/rip6query | |
parent | c8fdfcf6c8ddd694cc584d07abe3848d3414cee1 (diff) |
krw and marco found another problem with my atascsi chanages.
turns out you cant send atapi devices the ata IDENTIFY command, they dont
grok it. you have to send a PACKET IDENTIFY instead, which is exactly the
same but with a different command id.
this diff changes it so we send a PACKET IDENTIFY to atapi devices.
my diff "broke" this because it actually checks to see if the IDENTIFY
succeeded rather than just completed. the previous code was wrong with
regard to atapi devices. it is just lucky we dont use the IDENTIFY output
for atapi devs.
my apologies to marco@ and krw@
Diffstat (limited to 'usr.sbin/rip6query')
0 files changed, 0 insertions, 0 deletions