grub/disk
marco_g 965c75ca69 2008-08-27 Marco Gerards <marco@gnu.org>
* conf/common.rmk (pkglib_MODULES): Add scsi.mod.
	(scsi_mod_SOURCES): New variable.
	(scsi_mod_CFLAGS): Likewise
	(scsi_mod_LDFLAGS): Likewise.

	* disk/scsi.c: New file.

	* include/grub/scsi.h: Likewise.

	* include/grub/scsicmd.h: Likewise.

	* disk/ata.c: Include <grub/scsi.h>.
	(grub_atapi_packet): Do not use grub_ata_cmd, use registers
	instead.
	(grub_ata_iterate): Skip ATAPI devices.
	(grub_ata_open): Only handle ATAPI devices.
	(struct grub_atapi_read): Removed.
	(grub_atapi_readsector): Likewise.
	(grub_ata_read): No longer handle ATAPI devices.
	(grub_ata_write): Likewise.
	(grub_atapi_iterate): New function.
	(grub_atapi_read): Likewise.
	(grub_atapi_write): Likewise.
	(grub_atapi_open): Likewise.
	(grub_atapi_close): Likewise.
	(grub_atapi_dev): New variable.
	(GRUB_MOD_INIT(ata)): Register ATAPI as SCSI device.
	(GRUB_MOD_FINI(ata)): Unregister ATAPI.

	* include/grub/disk.h (enum grub_disk_dev_id): Add
	`GRUB_DISK_DEVICE_SCSI_ID'.
2008-08-27 15:05:00 +00:00
..
efi 2008-07-17 Pavel Roskin <proski@gnu.org> 2008-07-18 01:11:33 +00:00
i386/pc 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
ieee1275 2008-04-25 Bean <bean123ch@gmail.com> 2008-04-25 19:41:51 +00:00
ata.c 2008-08-27 Marco Gerards <marco@gnu.org> 2008-08-27 15:05:00 +00:00
dmraid_nvidia.c 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
fs_uuid.c 2008-07-01 Pavel Roskin <proski@gnu.org> 2008-07-02 01:07:37 +00:00
host.c 2008-04-01 Pavel Roskin <proski@gnu.org> 2008-04-02 04:25:41 +00:00
loopback.c 2008-04-01 Pavel Roskin <proski@gnu.org> 2008-04-02 04:25:41 +00:00
lvm.c 2008-08-16 Robert Millan <rmh@aybabtu.com> 2008-08-16 12:52:34 +00:00
mdraid_linux.c 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
memdisk.c 2008-08-02 Robert Millan <rmh@aybabtu.com> 2008-08-02 12:17:44 +00:00
raid.c 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
raid5_recover.c 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
raid6_recover.c 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
scsi.c 2008-08-27 Marco Gerards <marco@gnu.org> 2008-08-27 15:05:00 +00:00