Busmaster DMA address fix in VIA 6421 case.
This commit is contained in:
parent
fe0a1dc586
commit
6e6b04c407
@ -4869,7 +4869,7 @@ ata_via_allocate(device_t dev)
|
||||
ata_default_registers(dev);
|
||||
for (i = ATA_BMCMD_PORT; i <= ATA_BMDTP_PORT; i++) {
|
||||
ch->r_io[i].res = ctlr->r_res1;
|
||||
ch->r_io[i].offset = i - ATA_BMCMD_PORT;
|
||||
ch->r_io[i].offset = (i - ATA_BMCMD_PORT)+(ch->unit * ATA_BMIOSIZE);
|
||||
}
|
||||
ata_pci_hw(dev);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user