grub/commands
chrfranke 9ff516f3eb 2009-02-14 Christian Franke <franke@computer.org>
* commands/hdparm.c: New file.  Provides `hdparm' command
	which sends ATA commands via grub_disk_ata_pass_through ().

	* conf/i386-pc.rmk: Add ata_pthru.mod and hdparm.mod.

	* disk/ata.c: Include <grub/ata.h>.  Move <grub/misc.h>
	and <grub/cpu/io.h> to include/grub/ata.h.
	(enum grub_ata_addressing_t): Move to include/grub/ata.h.
	(GRUB_CDROM_SECTOR_SIZE): Remove.
	(GRUB_ATA_*): Move to include/grub/ata.h.
	(GRUB_ATAPI_*): Likewise.
	(enum grub_ata_commands): Likewise.
	(enum grub_ata_timeout_milliseconds): Likewise.
	(struct grub_ata_device): Likewise.
	(grub_ata_regset): Likewise.
	(grub_ata_regget): Likewise.
	(grub_ata_regset2): Likewise.
	(grub_ata_regget2): Likewise.
	(grub_ata_check_ready): Likewise.
	(grub_ata_wait_not_busy): Remove static, exported in
	include/grub/ata.h.
	(grub_ata_wait_drq): Likewise.
	(grub_ata_pio_read): Likewise.

	* disk/ata_pthru.c: New file.  Provides grub_ata_pass_through ()
	function for hdparm.mod.

	* include/grub/ata.h: New file, contains declarations from
	disk/ata.c.
	(enum grub_ata_commands): Add new commands for commands/hdparm.c.

	* include/grub/disk.h (grub_disk_ata_pass_through_parms): New struct.
	(grub_disk_ata_pass_through): New exported variable.

	* kern/disk.c (grub_disk_ata_pass_through): New variable.
2009-02-14 12:57:55 +00:00
..
i386 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
ieee1275 2008-02-12 Alexandre Boeglin <alex@boeglin.org> 2008-02-12 23:47:07 +00:00
blocklist.c 2008-07-14 Pavel Roskin <proski@gnu.org> 2008-07-14 04:46:19 +00:00
boot.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
cat.c 2008-05-29 Robert Millan <rmh@aybabtu.com> 2008-05-29 13:01:43 +00:00
cmp.c 2008-07-14 Pavel Roskin <proski@gnu.org> 2008-07-14 04:46:19 +00:00
configfile.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
crc.c 2008-07-27 Bean <bean123ch@gmail.com> 2008-07-27 13:51:30 +00:00
date.c 2008-08-15 Bean <bean123ch@gmail.com> 2008-08-15 15:39:02 +00:00
echo.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
halt.c 2008-08-06 Robert Millan <rmh@aybabtu.com> 2008-08-06 00:20:04 +00:00
hdparm.c 2009-02-14 Christian Franke <franke@computer.org> 2009-02-14 12:57:55 +00:00
help.c 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
hexdump.c 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
loadenv.c 2008-07-27 Bean <bean123ch@gmail.com> 2008-07-27 13:51:30 +00:00
ls.c 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
lsmmap.c 2009-01-27 Vesa Jääskeläinen <chaac@nic.fi> 2009-01-27 19:07:32 +00:00
lspci.c 2008-04-04 Pavel Roskin <proski@gnu.org> 2008-04-05 02:07:11 +00:00
read.c 2008-07-11 Pavel Roskin <proski@gnu.org> 2008-07-11 17:35:06 +00:00
reboot.c 2008-08-06 Robert Millan <rmh@aybabtu.com> 2008-08-06 00:20:04 +00:00
search.c 2009-01-26 Daniel Mierswa <impulze@impulze.org> 2009-01-26 04:26:47 +00:00
sleep.c 2008-08-05 Colin D Bennett <colin@gibibit.com> 2008-08-05 11:54:37 +00:00
terminal.c 2009-01-10 Robert Millan <rmh@aybabtu.com> 2009-01-10 13:07:44 +00:00
test.c 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
usbtest.c 2009-02-08 Marco Gerards <marco@gnu.org> 2009-02-08 17:58:32 +00:00
videotest.c 2009-01-06 Vesa Jääskeläinen <chaac@nic.fi> 2009-01-05 23:01:00 +00:00