grub/conf
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
..
common.mk 2008-08-27 Marco Gerards <marco@gnu.org> 2008-08-27 15:05:00 +00:00
common.rmk 2008-08-27 Marco Gerards <marco@gnu.org> 2008-08-27 15:05:00 +00:00
i386-coreboot.mk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
i386-coreboot.rmk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
i386-efi.mk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
i386-efi.rmk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
i386-ieee1275.mk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
i386-ieee1275.rmk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
i386-pc-cygwin-img-ld.sc 2008-07-24 Bean <bean123ch@gmail.com> 2008-07-24 14:56:30 +00:00
i386-pc.mk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
i386-pc.rmk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
powerpc-ieee1275.mk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
powerpc-ieee1275.rmk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
sparc64-ieee1275.mk Urgh, and now actually add the files :-) 2008-08-05 12:26:29 +00:00
sparc64-ieee1275.rmk 2008-08-05 Colin D Bennett <colin@gibibit.com> 2008-08-05 11:54:37 +00:00
x86_64-efi.mk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00
x86_64-efi.rmk 2008-08-23 Bean <bean123ch@gmail.com> 2008-08-23 14:51:19 +00:00