Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145381519
D9221.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
954 B
Referenced Files
None
Subscribers
None
D9221.diff
View Options
Index: head/sys/dev/ahci/ahci.h
===================================================================
--- head/sys/dev/ahci/ahci.h
+++ head/sys/dev/ahci/ahci.h
@@ -598,6 +598,7 @@
#define AHCI_Q_FORCE_PI 0x00040000
#define AHCI_Q_RESTORE_CAP 0x00080000
#define AHCI_Q_NOMSIX 0x00100000
+#define AHCI_Q_MRVL_SR_DEL 0x00200000
#define AHCI_Q_BIT_STRING \
"\020" \
Index: head/sys/dev/ahci/ahci.c
===================================================================
--- head/sys/dev/ahci/ahci.c
+++ head/sys/dev/ahci/ahci.c
@@ -1598,6 +1598,14 @@
}
/*
+ * Some Marvell controllers require additional time
+ * after soft reset to work properly. Setup delay
+ * to 50ms after soft reset.
+ */
+ if (ch->quirks & AHCI_Q_MRVL_SR_DEL)
+ DELAY(50000);
+
+ /*
* Marvell HBAs with non-RAID firmware do not wait for
* readiness after soft reset, so we have to wait here.
* Marvell RAIDs do not have this problem, but instead
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 20, 2:04 AM (9 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28893683
Default Alt Text
D9221.diff (954 B)
Attached To
Mode
D9221: Enable optional soft reset in AHCI
Attached
Detach File
Event Timeline
Log In to Comment