[DragonFlyBSD - Submit #1754] (In Progress) Do not announce I/O sizes that require 48-bit DMA on early ALI chipsets (via FreeBSD 206604)
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Mon Jan 19 05:31:58 PST 2015
Issue #1754 has been updated by tuxillo.
Tracker changed from Bug to Submit
Description updated
Category set to Driver
Status changed from New to In Progress
Assignee deleted (0)
Target version set to 4.2.x
Hi,
Still relevant, moving to Submit.
Cheers,
Antonio Huete
----------------------------------------
Submit #1754: Do not announce I/O sizes that require 48-bit DMA on early ALI chipsets (via FreeBSD 206604)
http://bugs.dragonflybsd.org/issues/1754#change-12527
* Author: vsrinivas
* Status: In Progress
* Priority: Normal
* Assignee:
* Category: Driver
* Target version: 4.2.x
----------------------------------------
FreeBSD commit 206604: "For early ALI chips do not announce I/O sizes that
require unsupported 48bit DMA commands."
--- /usr/src/sys/dev/disk/nata/ata-chipset.c 2010-02-23 09:32:42 -0800
+++ ata-chipset.c 2010-04-29 23:32:42 -0700
@@ -1167,8 +1167,11 @@
return ENXIO;
/* older chips can't do 48bit DMA transfers */
- if (ctlr->chip->chiprev <= 0xc4)
+ if (ctlr->chip->chiprev <= 0xc4) {
ch->flags |= ATA_NO_48BIT_DMA;
+ if (ch->dma->max_iosize > 256 * 512)
+ ch->dma->max_iosize = 256 * 512;
+ }
return 0;
}
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Submit
mailing list