diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-12-09 08:39:45 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-12-12 14:00:33 -0500 |
commit | c19fc71c7acac9d2b591469ee6f714b297db2d3c (patch) | |
tree | 5b1a43abce4347e668c890657ff2b100c85386c8 /src | |
parent | 80c2b6e91b9025e67d5b11ff7c8122506a760057 (diff) | |
download | seabios-c19fc71c7acac9d2b591469ee6f714b297db2d3c.tar.gz |
ahci: set dma feature flag
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/ahci.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -50,6 +50,7 @@ static void sata_prep_readwrite(struct sata_cmd_fis *fis, command = (iswrite ? ATA_CMD_WRITE_DMA : ATA_CMD_READ_DMA); } + SET_FLATPTR(fis->feature, 1); /* dma */ SET_FLATPTR(fis->command, command); SET_FLATPTR(fis->sector_count, op->count); SET_FLATPTR(fis->lba_low, lba); @@ -62,6 +63,7 @@ static void sata_prep_atapi(struct sata_cmd_fis *fis, u16 blocksize) { memset_fl(fis, 0, sizeof(*fis)); SET_FLATPTR(fis->command, ATA_CMD_PACKET); + SET_FLATPTR(fis->feature, 1); /* dma */ SET_FLATPTR(fis->lba_mid, blocksize); SET_FLATPTR(fis->lba_high, blocksize >> 8); } |