From: "Krzysztof Błaszkowski" <kb@sysmikro.com.pl>
To: jgarzik@pobox.com
Cc: linux-ide@vger.kernel.org, DL-MPTFusionLinux@lsi.com
Subject: ATA_16 support on mptsas
Date: Mon, 23 Jun 2008 18:00:08 +0200 [thread overview]
Message-ID: <200806231800.08659.kb@sysmikro.com.pl> (raw)
Hello,
I found that any HDIO_DRIVE_CMD ioctl on sata drive connected through mpsas
and backplane will fail. Basically the scsi_host_template structure is
missing ioctl callback. after adding it and temporary tweaking domain_device
structure associated to scsi_device (rphy only) i reached a point where
ata_scsi_ioctl returns EIO and this why i need some clue on a way of adding
such support similar way to aic94 where it has been done.
I found also that mptsas leaves domain_device rather uninitialized. the
example is rphy but there more fields i don't know if they are revelant to
proper processing of HDIO_DRIVE_CMD.
i need additional references on libata design, call flow and structures
relationship.
probably it would be the best to design mptsas from scratch using libsas but
this seems to me as huge work although if i was guided i would probably
complete this.
I tried another approach where i used SG_IO ioctl and prepared ATA_16 cdb
(just like libata does) but this failed on mptsas connected drives too
altough this way works on drives connected to ICH6.
Regards,
Krzysztof Blaszkowski
next reply other threads:[~2008-06-23 16:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 16:00 Krzysztof Błaszkowski [this message]
2008-06-23 19:40 ` ATA_16 support on mptsas Moore, Eric
2008-06-27 9:02 ` Krzysztof Błaszkowski
2008-06-27 14:24 ` Krzysztof Błaszkowski
2008-06-27 15:07 ` Moore, Eric
2008-06-27 17:14 ` Krzysztof Błaszkowski
-- strict thread matches above, loose matches on Subject: below --
2008-06-23 22:09 Richard Scobie
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=200806231800.08659.kb@sysmikro.com.pl \
--to=kb@sysmikro.com.pl \
--cc=DL-MPTFusionLinux@lsi.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.