FreeBSD Bugzilla – Attachment 158282 Details for
Bug 199495
CAM status: command timeout (fix in HEAD, still in 9.3, 10.1) (relates to bug 195349)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ahci quirk corrupt debug
corruption-debug.patch (text/plain), 1.79 KB, created by
Steven Hartland
on 2015-07-03 10:52:25 UTC
(
hide
)
Description:
ahci quirk corrupt debug
Filename:
MIME Type:
Creator:
Steven Hartland
Created:
2015-07-03 10:52:25 UTC
Size:
1.79 KB
patch
obsolete
>Index: sys/dev/ahci/ahci.c >=================================================================== >--- sys/dev/ahci/ahci.c (revision 285086) >+++ sys/dev/ahci/ahci.c (working copy) >@@ -175,6 +175,7 @@ ahci_attach(device_t dev) > resource_int_value(device_get_name(dev), > device_get_unit(dev), "ccc", &ctlr->ccc); > >+device_printf(dev, "quirks1=0x%b\n", ctlr->quirks, AHCI_Q_BIT_STRING); > /* Setup our own memory management for channels. */ > ctlr->sc_iomem.rm_start = rman_get_start(ctlr->r_mem); > ctlr->sc_iomem.rm_end = rman_get_end(ctlr->r_mem); >@@ -190,6 +191,7 @@ ahci_attach(device_t dev) > rman_fini(&ctlr->sc_iomem); > return (error); > } >+device_printf(dev, "quirks2=0x%b\n", ctlr->quirks, AHCI_Q_BIT_STRING); > /* Get the HW capabilities */ > version = ATA_INL(ctlr->r_mem, AHCI_VS); > ctlr->caps = ATA_INL(ctlr->r_mem, AHCI_CAP); >@@ -212,6 +214,7 @@ ahci_attach(device_t dev) > device_printf(dev, "Forcing PI to %d ports (mask = %x)\n", > nports, nmask); > } >+device_printf(dev, "quirks3=0x%b\n", ctlr->quirks, AHCI_Q_BIT_STRING); > > ctlr->ichannels = ATA_INL(ctlr->r_mem, AHCI_PI); > >@@ -234,6 +237,7 @@ ahci_attach(device_t dev) > ctlr->caps |= 3; > ctlr->ichannels &= 0x0f; > } >+device_printf(dev, "quirks4=0x%b\n", ctlr->quirks, AHCI_Q_BIT_STRING); > ctlr->channels = MAX(flsl(ctlr->ichannels), > (ctlr->caps & AHCI_CAP_NPMASK) + 1); > if (ctlr->quirks & AHCI_Q_NOPMP) >@@ -255,6 +259,7 @@ ahci_attach(device_t dev) > rman_fini(&ctlr->sc_iomem); > return (ENXIO); > } >+device_printf(dev, "quirks5=0x%b\n", ctlr->quirks, AHCI_Q_BIT_STRING); > > ahci_ctlr_setup(dev); > >@@ -266,6 +271,7 @@ ahci_attach(device_t dev) > rman_fini(&ctlr->sc_iomem); > return (error); > } >+device_printf(dev, "quirks6=0x%b\n", ctlr->quirks, AHCI_Q_BIT_STRING); > > i = 0; > for (u = ctlr->ichannels; u != 0; u >>= 1)
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 199495
:
158218
|
158236
|
158237
|
158260
| 158282 |
158338
|
158562
|
158570
|
158572
|
158605