[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4FCCAF5D.7050808@dkrz.de>
Date: Mon, 04 Jun 2012 14:51:41 +0200
From: Thomas Jahns <jahns@...z.de>
To: linux-ide@...r.kernel.org
CC: linux-kernel@...r.kernel.org
Subject: ASMedia 106x devices
Hello,
I found a description on how to make the following device functional in Linux at
https://bugzilla.kernel.org/show_bug.cgi?id=42804
My adapter is a USB 3.0/S-ATA 6g controller which shows up as follows
(after patching kernel 3.2.17 as distributed by Debian):
$ lspci -v
04:00.0 USB Controller: Device 1b21:1040 (prog-if 30)
Subsystem: Device 174c:2104
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d2100000 (64-bit, non-prefetchable) [size=32K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd
05:00.0 IDE interface: Device 1b21:0611 (rev 01) (prog-if 85 [Master SecO PriO])
Subsystem: Device 1b21:1060
Flags: bus master, fast devsel, latency 0, IRQ 51
I/O ports at 5020 [size=8]
I/O ports at 5014 [size=4]
I/O ports at 5018 [size=8]
I/O ports at 5010 [size=4]
I/O ports at 5000 [size=16]
Memory at d2200000 (32-bit, non-prefetchable) [size=512]
Capabilities: <access denied>
Kernel driver in use: ahci
Therefore I wanted to ask someone to please apply the attached patch.
Like the original author, Hiroaki Nito, I've had good experience using this
patch with my card, a Delock 89299.
The patch fixes, from my incomplete understanding, the fact that the device
"lies" about its capabilities, by presenting itself as an IDE device when in
fact it's an AHCI controller.
I hope this completes the process. Which, from my investigation of the email
archive, Hiroaki Nito started, but did not follow through because the advice to
follow Documentation/SubmittingPatches was given much later.
Regards, Thomas Jahns
P.S.: I'm not subscribed to either linux-ide or linux-kernel. So, if this patch
is still insufficient to be included, please email me directly.
--
Thomas Jahns
DKRZ GmbH, Department: Application software
Deutsches Klimarechenzentrum
Bundesstraße 45a
D-20146 Hamburg
Phone: +49-40-460094-151
Fax: +49-40-460094-270
Email: Thomas Jahns <jahns@...z.de>
View attachment "ahci-asmedia.patch" of type "text/x-patch" (607 bytes)
Download attachment "smime.p7s" of type "application/pkcs7-signature" (5884 bytes)
Powered by blists - more mailing lists