SCSI - cache ID bug

This commit is contained in:
starous 2010-10-02 20:56:12 +02:00
commit a61499a1c3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-10-02 Aleš Nesrsta <starous@volny.cz>
* include/grub/scsi.h:
SCSI - cache ID bug
2010-10-02 Aleš Nesrsta <starous@volny.cz>
* grub-core/bus/usb/ohci.c, grub-core/bus/usb/uhci.c:

View File

@ -40,7 +40,7 @@ static inline grub_uint32_t
grub_make_scsi_id (int subsystem, int bus, int lun)
{
return (subsystem << GRUB_SCSI_ID_SUBSYSTEM_SHIFT)
| (bus << GRUB_SCSI_ID_BUS_SHIFT) | (lun << GRUB_SCSI_ID_BUS_SHIFT);
| (bus << GRUB_SCSI_ID_BUS_SHIFT) | (lun << GRUB_SCSI_ID_LUN_SHIFT);
}
struct grub_scsi_dev