mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Prakash Punnoor <prakash@punnoor.de>
To: jgarzik@pobox.com
Cc: lkml <linux-kernel@vger.kernel.org>, linux-ide@vger.kernel.org
Subject: libata support for JMicron JMB360 ?
Date: Fri, 30 Dec 2005 15:41:31 +0100	[thread overview]
Message-ID: <200512301541.36483.prakash@punnoor.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 3767 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2005-12-30 14:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-30 14:41 Prakash Punnoor [this message]
2005-12-31  9:47 ` Prakash Punnoor
2006-01-27  9:08   ` Prakash Punnoor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200512301541.36483.prakash@punnoor.de \
    --to=prakash@punnoor.de \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®