From: Tejun Heo <htejun@gmail.com>
To: saeed bishara <saeed.bishara@gmail.com>
Cc: "Jérôme VUARAND" <jerome.vuarand@gmail.com>, linux-ide@vger.kernel.org
Subject: Re: SiI3124 + SiI3726 pm
Date: Thu, 25 May 2006 13:54:44 -0700 [thread overview]
Message-ID: <44761994.2050303@gmail.com> (raw)
In-Reply-To: <c70ff3ad0605251329m34af33bfj3ace5d5f9b32af38@mail.gmail.com>
saeed bishara wrote:
> Hi,
> I think the 6th port is for the SEMB(Sata Enclosure Management
> Bridge) device, this device reportssignature with lbam=0x3c and lbah
> 0xc3, but the linux classifies it as a disk:
>
> if (((tf->lbam == 0) && (tf->lbah == 0)) ||
> ((tf->lbam == 0x3c) && (tf->lbah == 0xc3))) {
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> DPRINTK("found ATA device by sig\n");
> return ATA_DEV_ATA;
>
> Can you print the signature of the device on that port?
> Anyway, the 0x3C, 0xC3 signature should be classifies as a SEMB device
> and not a disk according to the SATA standard.
I haven't actually checked that signature but that's probably the same
class code mix up described for PM in the classification function. For
the time being, libata is just ignoring the extra port. It probably
should be exported as a SCSI device without HLD attached (/dev/sgX
only). I'll try that once hotplug stuff settles.
Thanks.
--
tejun
next prev parent reply other threads:[~2006-05-25 20:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <89d273ba0605242046x3d19dd06h74885048f229d519@mail.gmail.com>
[not found] ` <89d273ba0605242202l354ec106w22bccf649e5e1dfc@mail.gmail.com>
2006-05-25 5:07 ` SiI3124 + SiI3726 pm Tejun Heo
2006-05-25 20:29 ` saeed bishara
2006-05-25 20:54 ` Tejun Heo [this message]
2009-07-27 18:03 ` Jerome Vuarand
2009-07-28 2:38 ` Tejun Heo
2009-07-28 15:01 ` Jerome Vuarand
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=44761994.2050303@gmail.com \
--to=htejun@gmail.com \
--cc=jerome.vuarand@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=saeed.bishara@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).