mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Fix bug introduced by the last commit, the caused some ATAPI
devices to fail to proberly initialize at boot..
This commit is contained in:
parent
ebc26de418
commit
db92bfc1b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85025
|
@ -299,7 +299,7 @@ atapi_transfer(struct atapi_request *request)
|
|||
|
||||
/* start ATAPI operation */
|
||||
if (ata_command(atp->controller, atp->unit, ATA_C_PACKET_CMD,
|
||||
request->bytecount, 0,
|
||||
(request->bytecount << 8), 0,
|
||||
(request->flags & ATPR_F_DMA_USED) ? ATA_F_DMA : 0,
|
||||
ATA_IMMEDIATE))
|
||||
ata_printf(atp->controller, atp->unit,
|
||||
|
|
Loading…
Reference in a new issue