libata support for JMicron JMB360 ?

From: Prakash Punnoor
Date: Fri Dec 30 2005 - 09:49:07 EST


Hi,

I read in an old thread that this question was asked once and you replied you
never heard of this chip. Maybe now the situation has changed? If not, please
take a look here:

http://www.jmicron.com/product/jmb360.htm

It claims the chip is ahci compatible, but the libata ahci driver can't detect
it (tried 2.6.14.2 and 2.6.15-rc7).

Maybe just adding some ids or such is enough for supporting it?
Following lspci -vvv -xxx regrading the Jmicron stuff:

in IDE compatibility mode (can be set in bios):
0000:03:00.0 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363
AHCI Controller (prog-if 85 [Master SecO PriO])
Subsystem: ASRock Incorporation: Unknown device 0360
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0, cache line size 10
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at cc00 [size=8]
Region 1: I/O ports at c880 [size=4]
Region 2: I/O ports at c800 [size=8]
Region 3: I/O ports at c480 [size=4]
Region 4: I/O ports at c400 [size=16]
Region 5: Memory at fe8fe000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [68] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] #10 [0211]
00: 7b 19 60 23 07 01 10 00 00 85 01 01 10 00 00 00
10: 01 cc 00 00 81 c8 00 00 01 c8 00 00 81 c4 00 00
20: 01 c4 00 00 00 e0 8f fe 00 00 00 00 49 18 60 03
30: 00 00 00 00 68 00 00 00 00 00 00 00 05 01 00 00
40: 11 f1 00 00 00 00 7f f0 30 00 00 0f 00 00 00 00
50: 10 00 11 02 00 00 00 00 00 20 09 00 11 f4 03 01
60: 00 00 11 10 00 00 00 00 01 50 02 40 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: c3 8b 48 00 03 45 02 00 9c 34 3f 00 00 03 09 00
d0: 18 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

diff in sata mode:
-0000:03:00.0 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363
AHCI Controller (prog-if 85 [Master SecO PriO])
+0000:03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363
AHCI Controller (prog-if 01 [AHCI 1.0])
Subsystem: ASRock Incorporation: Unknown device 0360
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
@@ -535,11 +535,11 @@
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] #10 [0211]
-00: 7b 19 60 23 07 01 10 00 00 85 01 01 10 00 00 00
+00: 7b 19 60 23 07 01 10 00 00 01 06 01 10 00 00 00
10: 01 cc 00 00 81 c8 00 00 01 c8 00 00 81 c4 00 00
20: 01 c4 00 00 00 e0 8f fe 00 00 00 00 49 18 60 03
30: 00 00 00 00 68 00 00 00 00 00 00 00 05 01 00 00
-40: 11 f1 00 00 00 00 7f f0 30 00 00 0f 00 00 00 00
+40: 11 f1 02 00 00 00 7f f0 30 00 00 0f 00 00 00 00
50: 10 00 11 02 00 00 00 00 00 20 09 00 11 f4 03 01
60: 00 00 11 10 00 00 00 00 01 50 02 40 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00


It would be nice if we could support in Linux. Maybe you want to contact
JMicron?

Cheers,
--
(°= =°)
//\ Prakash Punnoor /\\
V_/ \_V

Attachment: pgp00000.pgp
Description: PGP signature