First part of better pciide resume. Wake the channel by performing two
authormlarkin <mlarkin@openbsd.org>
Thu, 22 Jul 2010 18:10:37 +0000 (18:10 +0000)
committermlarkin <mlarkin@openbsd.org>
Thu, 22 Jul 2010 18:10:37 +0000 (18:10 +0000)
commitdff40dca7f0d8de1527bbdff9ef0d1f91d5894c6
treee4bf8f9d9c97842fd80aac1ce1c7d1381cae4eef
parent255c06afcf301031f78aeb7d236e77f632e2a5d1
First part of better pciide resume. Wake the channel by performing two
resets separated by a small delay (a delay intended to offend jsg who will
definitely want to fix it by checking for RDY instead)

Tested on a variety of amd and i386 hardware by myself and deraadt@

ok deraadt
sys/dev/ata/wd.c