From: Jeff Garzik <jeff@garzik.org>
To: saeed.bishara@gmail.com
Cc: linux-ide@vger.kernel.org, Saeed Bishara <saeed@marvell.com>
Subject: Re: [PATCH 2/2] [libata] sata_mv: Support integrated controllers
Date: Tue, 18 Dec 2007 17:02:01 -0500 [thread overview]
Message-ID: <47684359.9030706@garzik.org> (raw)
In-Reply-To: <11966102001423-git-send-email-saeed.bishara@gmail.com>
saeed.bishara@gmail.com wrote:
> From: Saeed Bishara <saeed@marvell.com>
>
> Marvell's Orion SoC includes SATA controllers based on Marvell's
> PCI-to-SATA 88SX controllers. The integrated SATA unit is connected
> directly to the internal bus of the Orion SoC, and not via PCI.
> This patch extends the libATA sata_mv driver to support those
> controllers.
>
> Signed-off-by: Saeed Bishara <saeed@marvell.com>
Overall, looks pretty good.
My main comment is that several changes, like
- void (*reset_bus)(struct pci_dev *pdev, void __iomem *mmio);
+ void (*reset_bus)(struct ata_host *host, void __iomem *mmio);
and
- if (unlikely(irq_stat & PCI_ERR)) {
+ if (unlikely(irq_stat & PCI_ERR) && HAS_PCI(host)) {
belong in patch #1, the PCI isolation patch, rather than this patch
implementing support for integrated controllers.
Finally, don't hardcode a 32-bit DMA mask in your platform_device setup,
pass that mask in via mv_sata_platform_data.
Jeff
next prev parent reply other threads:[~2007-12-18 22:02 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-02 15:43 [PATCH 0/2] [libata] sata_mv: Add support for Marvell's integrated SATA controller saeed.bishara
2007-12-02 15:43 ` [PATCH 1/2] [libata] sata_mv: Remove PCI dependency saeed.bishara
2007-12-02 15:43 ` [PATCH 2/2] [libata] sata_mv: Support integrated controllers saeed.bishara
2007-12-18 22:02 ` Jeff Garzik [this message]
2007-12-18 21:57 ` [PATCH 1/2] [libata] sata_mv: Remove PCI dependency Jeff Garzik
2007-12-18 21:58 ` Jeff Garzik
2007-12-25 16:42 ` saeed bishara
2008-01-09 11:59 ` saeed bishara
2008-01-10 4:35 ` Jeff Garzik
2008-01-16 10:01 ` Jeff Garzik
2008-01-16 16:17 ` saeed bishara
2008-01-16 19:01 ` Mark Lord
2008-01-17 14:24 ` saeed bishara
2008-01-29 17:12 ` Jeff Garzik
2008-01-29 17:17 ` saeed bishara
2008-01-21 7:31 ` Tejun Heo
2008-01-23 4:04 ` Jeff Garzik
2008-01-23 4:15 ` Tejun Heo
2008-01-29 8:51 ` saeed bishara
2008-01-29 16:20 ` Mark Lord
2008-01-29 16:28 ` Jeff Garzik
2008-01-29 16:26 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2007-12-02 15:26 [PATCH 0/2] [libata] sata_mv: Add support for Marvell's integrated SATA controller saeed.bishara
2007-12-02 15:26 ` [PATCH 1/2] [libata] sata_mv: Remove PCI dependency saeed.bishara
2007-12-02 15:26 ` [PATCH 2/2] [libata] sata_mv: Support integrated controllers saeed.bishara
2007-12-02 22:51 ` Mark Lord
2007-12-03 7:46 ` saeed bishara
2007-12-04 8:59 ` saeed bishara
2007-12-03 19:18 ` Jeff Garzik
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=47684359.9030706@garzik.org \
--to=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=saeed.bishara@gmail.com \
--cc=saeed@marvell.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 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.