Project

General

Profile

Actions

Submit #1754

closed

Do not announce I/O sizes that require 48-bit DMA on early ALI chipsets (via FreeBSD 206604)

Added by vsrinivas over 14 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Driver
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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;
}
Actions #1

Updated by tuxillo almost 10 years ago

  • Tracker changed from Bug to Submit
  • Description updated (diff)
  • Category set to Driver
  • Status changed from New to In Progress
  • Assignee deleted (0)
  • Target version set to 4.2

Hi,

Still relevant, moving to Submit.

Cheers,
Antonio Huete

Actions #2

Updated by dillon almost 10 years ago

  • Status changed from In Progress to Closed

committed - 44de769701873813cb3ad7234931903522533e9f

-Matt

Actions

Also available in: Atom PDF