From: Christian Franke <Christian.Franke@t-online.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] hdparm.mod - get/set ATA disk parameters
Date: Sat, 07 Feb 2009 23:46:39 +0100 [thread overview]
Message-ID: <498E0F4F.6000503@t-online.de> (raw)
In-Reply-To: <20090207213813.GF6343@thorin>
Robert Millan wrote:
> On Sat, Jan 24, 2009 at 11:59:01PM +0100, Christian Franke wrote:
>
>> This patch adds a command which allows to change a few (S)ATA drive
>> settings. It relies on a new pass-through function in ata.mod.
>>
>
> Is this function going to be used for "normal" use of ata? Note that ata.mod
> should be as small as possible, since coreboot users usually want to include
> it the GRUB that is installed to flash.
>
>
Like 'hdparm.mod' itself, the ATA pass-through function is not needed
for normal boot.
> Would it make sense to put the function elsewhere?
>
>
I would suggest to move grub_ata_pass_through() to a new module (e.g.
ata2.mod, atax.mod, ataex.mod, ...)
The function should not be in hdparm.mod itself, because the hdparm
command would also work with other ATA pass-through functions. For
example with some future ahci.mod or even in conjunction with native USB
support through a SAT tunnel.
Christian
next prev parent reply other threads:[~2009-02-07 22:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-24 22:59 [PATCH] hdparm.mod - get/set ATA disk parameters Christian Franke
2009-02-07 21:38 ` Robert Millan
2009-02-07 22:46 ` Christian Franke [this message]
2009-02-07 22:59 ` Robert Millan
2009-02-07 23:12 ` Christian Franke
2009-02-08 0:32 ` Robert Millan
2009-02-09 19:42 ` Christian Franke
2009-02-12 22:21 ` Christian Franke
2009-02-14 14:13 ` Christian Franke
2009-02-21 13:05 ` Robert Millan
2009-02-21 18:00 ` Christian Franke
2009-02-21 19:51 ` Robert Millan
2009-02-21 20:38 ` Christian Franke
2009-02-21 20:46 ` Robert Millan
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=498E0F4F.6000503@t-online.de \
--to=christian.franke@t-online.de \
--cc=grub-devel@gnu.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.