From: Jeff Garzik <jeff@garzik.org>
To: Tejun Heo <tj@kernel.org>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
unsik Kim <donari75@gmail.com>,
linux-kernel@vger.kernel.org,
Linux IDE mailing list <linux-ide@vger.kernel.org>
Subject: Re: [PATCH 2/3] mg_disk: fix dependency on libata
Date: Sun, 26 Apr 2009 00:02:29 -0400 [thread overview]
Message-ID: <49F3DCD5.2070909@garzik.org> (raw)
In-Reply-To: <49F3D994.7020304@kernel.org>
Tejun Heo wrote:
> Bartlomiej Zolnierkiewicz wrote:
>> Add local copies of ata_id_string() and ata_id_c_string() to mg_disk
>> so there is no need for the driver to depend on ATA and SCSI.
>>
>> Cc: unsik Kim <donari75@gmail.com>
>> Cc: Tejun Heo <tj@kernel.org>
>> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
>
> Ah.. right, that's a rather large dependency to pull in just for the
> string functions. Yeah, I think it would be better to keep local
> copy at elast for now.
>
> Acked-by: Tejun Heo <tj@kernel.org>
Actually... NVMHCI[1] uses the same style of id string extraction, even
though its command set is wholly new and unrelated to ATA. I copied
into drivers/block/nvmhci.c[2] id_string, id_c_string and another
useful, generic routine: ata_wait_register.
So, once nvmhci goes upstream, that will be a third copy... nvmhci
still has rough edges, but it's mainly waiting on hardware "it works"
verification at this point.
Jeff
[1] http://download.intel.com/standards/nvmhci/spec.pdf
[2] 'nvmhci' branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git
next prev parent reply other threads:[~2009-04-26 4:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-25 13:09 [PATCH 2/3] mg_disk: fix dependency on libata Bartlomiej Zolnierkiewicz
2009-04-26 3:48 ` Tejun Heo
2009-04-26 4:02 ` Jeff Garzik [this message]
2009-04-26 4:08 ` Tejun Heo
2009-04-26 4:11 ` Jeff Garzik
2009-04-26 9:39 ` Bartlomiej Zolnierkiewicz
2009-04-26 4:04 ` Jeff Garzik
2009-04-26 9:53 ` Bartlomiej Zolnierkiewicz
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=49F3DCD5.2070909@garzik.org \
--to=jeff@garzik.org \
--cc=bzolnier@gmail.com \
--cc=donari75@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@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.