summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-12-29 09:44:46 +0000
committerkettenis <kettenis@openbsd.org>2015-12-29 09:44:46 +0000
commit1d84b43843563672061fae076a97e99ab6eabc24 (patch)
treeb5aa58a1421947907b7de5c612479701cf7a79e6 /usr.bin/patch/patch.c
parentRemove NULL-checks before free(). (diff)
downloadwireguard-openbsd-1d84b43843563672061fae076a97e99ab6eabc24.tar.xz
wireguard-openbsd-1d84b43843563672061fae076a97e99ab6eabc24.zip
Set UltraDMA transfer mode. Some (early?) SATA drives, such as the Maxtor
7Y250M0, refuse to do DMA unless the transfer mode has been set. This causes reads (and presumably writes) to time out. Unlike the wdc code, this only sets the UltraDMA transfer mode. If we ever want to support ancient PATA drivers through the atascsi layer, we probably need to set the PIO and/or MWDMA transfer modes as well. ok jmatthew@, dlg@)
Diffstat (limited to 'usr.bin/patch/patch.c')
0 files changed, 0 insertions, 0 deletions