Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 301603 Details for
Bug 300861
sb600 system generates ATA errors during initscripts
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
backport AHCI_FLAG_SECT255 & add AHCI_FLAG_32BIT_ONLY
RHEL4_SB600_32bit_DMA_2.patch (text/plain), 1.68 KB, created by
Shane Huang
on 2008-04-08 06:08:22 UTC
(
hide
)
Description:
backport AHCI_FLAG_SECT255 & add AHCI_FLAG_32BIT_ONLY
Filename:
MIME Type:
Creator:
Shane Huang
Created:
2008-04-08 06:08:22 UTC
Size:
1.68 KB
patch
obsolete
>diff -ruN a/drivers/ata/ahci.c b/drivers/ata/ahci.c >--- a/drivers/ata/ahci.c 2008-04-08 10:52:58.000000000 +0800 >+++ b/drivers/ata/ahci.c 2008-04-08 10:53:02.000000000 +0800 >@@ -176,6 +176,7 @@ > AHCI_FLAG_HONOR_PI = (1 << 26), /* honor PORTS_IMPL */ > AHCI_FLAG_IGN_SERR_INTERNAL = (1 << 27), /* ignore SERR_INTERNAL */ > AHCI_FLAG_SECT255 = (1 << 28), /* max 255 sect */ >+ AHCI_FLAG_32BIT_ONLY = (1 << 29), /* force 32bit */ > }; > > struct ahci_cmd_hdr { >@@ -365,7 +366,8 @@ > ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | > ATA_FLAG_SKIP_D2H_BSY | > AHCI_FLAG_IGN_SERR_INTERNAL | >- AHCI_FLAG_SECT255, >+ AHCI_FLAG_SECT255 | >+ AHCI_FLAG_32BIT_ONLY, > .pio_mask = 0x1f, /* pio0-4 */ > .udma_mask = 0x7f, /* udma0-6 ; FIXME */ > .port_ops = &ahci_ops, >@@ -810,8 +812,11 @@ > { > struct ahci_host_priv *hpriv = ap->host->private_data; > >- if (hpriv->flags & AHCI_FLAG_SECT255) >+ if (hpriv->flags & AHCI_FLAG_SECT255) { > dev->max_sectors = 255; >+ ata_dev_printk(dev, KERN_INFO, >+ "SB600 AHCI: limiting to 255 sectors per cmd\n"); >+ } > } > > static unsigned int ahci_dev_classify(struct ata_port *ap) >@@ -1603,6 +1608,13 @@ > } else > probe_ent->n_ports = cap_n_ports; > >+ if ((hpriv->cap & HOST_CAP_64) && >+ (probe_ent->port_flags & AHCI_FLAG_32BIT_ONLY)) { >+ dev_printk(KERN_INFO, &pdev->dev, >+ "controller can't do 64bit DMA, forcing 32bit\n"); >+ hpriv->cap &= ~HOST_CAP_64; >+ } >+ > using_dac = hpriv->cap & HOST_CAP_64; > > if (using_dac && >@@ -1786,6 +1798,9 @@ > if (have_msi) > hpriv->flags |= AHCI_FLAG_MSI; > >+ if (probe_ent->port_flags & AHCI_FLAG_SECT255) >+ hpriv->flags |= AHCI_FLAG_SECT255; >+ > /* initialize adapter */ > rc = ahci_host_init(probe_ent); > if (rc)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 300861
:
210631
|
210641
|
229871
|
237431
|
237441
|
291697
|
301502
| 301603 |
312501