diff options
author | Helge Deller <deller@gmx.de> | 2021-02-10 20:40:34 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2021-09-24 11:10:17 +0200 |
commit | 25958c2cb21262a54c56166c9721d2780ed63848 (patch) | |
tree | 528358a64a5614296d11571b0a74446d41006388 | |
parent | 711bd2f3e52dcb2b1b3133da8467a1848de45066 (diff) | |
download | seabios-hppa-25958c2cb21262a54c56166c9721d2780ed63848.zip seabios-hppa-25958c2cb21262a54c56166c9721d2780ed63848.tar.gz seabios-hppa-25958c2cb21262a54c56166c9721d2780ed63848.tar.bz2 |
ata.c: Allow to boot on PA-RISC
Fix linkage problem on PA-RISC, no functional change on x86.
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/hw/ata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/ata.c b/src/hw/ata.c index fb3b581..af44541 100644 --- a/src/hw/ata.c +++ b/src/hw/ata.c @@ -358,9 +358,9 @@ struct sff_dma_prd { static int ata_try_dma(struct disk_op_s *op, int iswrite, int blocksize) { - ASSERT16(); if (! CONFIG_ATA_DMA) return -1; + ASSERT16(); // behind ATA_DMA, needed on parisc to boot via ata u32 dest = (u32)op->buf_fl; if (dest & 1) // Need minimum alignment of 1. |