From: Tejun Heo <htejun@gmail.com>
To: albertl@mail.com
Cc: Jeff Garzik <jgarzik@pobox.com>, Linux IDE <linux-ide@vger.kernel.org>
Subject: Re: About the naming of ata_drive_probe_reset()
Date: Thu, 18 May 2006 12:24:05 +0900 [thread overview]
Message-ID: <446BE8D5.5010404@gmail.com> (raw)
In-Reply-To: <446BE350.5000504@tw.ibm.com>
Albert Lee wrote:
> Hi Tejun,
>
> The ata_drive_probe_reset() is not drive-specific.
> Actually what got reset is the port. (I guess the "drive" doesn't mean device here.)
> Maybe something like ata_port_probe_reset() or ata_do_probe_reset() is less ambiguous?
The 'drive' is actually a verb. The function drives (verb) probe_reset
(object) using the given methods. Maybe a bad naming. Anyways, the
whole probe_reset stuff is gonna be removed with the hotplug patchset,
so I think it can be left as it is until then.
However, I also used the ata_drive_*() naming convention else where,
like ata_bmdma_drive_eh(). We may need to rename them. I still want to
signify that the function isn't actually a callback but something that
can be used to drive a callback. I like 'drive' but as you have pointed
out it can be confused with hard 'drive'. Maybe ata_steer_*()? Any
other ideas?
--
tejun
next prev parent reply other threads:[~2006-05-18 3:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 3:00 About the naming of ata_drive_probe_reset() Albert Lee
2006-05-18 3:24 ` Tejun Heo [this message]
2006-05-18 17:15 ` Doug Maxey
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=446BE8D5.5010404@gmail.com \
--to=htejun@gmail.com \
--cc=albertl@mail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox