From 3ef068df41e64e3922e9adab0653325d44357dcc Mon Sep 17 00:00:00 2001 From: starous Date: Sat, 2 Oct 2010 20:55:10 +0200 Subject: [PATCH] SCSI - cache ID bug --- ChangeLog | 5 +++++ include/grub/scsi.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 326ce1a44..cc3c87445 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-10-02 Aleš Nesrsta + + * include/grub/scsi.h: + SCSI - cache ID bug + 2010-10-02 Aleš Nesrsta * grub-core/bus/usb/ohci.c, grub-core/bus/usb/uhci.c: diff --git a/include/grub/scsi.h b/include/grub/scsi.h index b3c60f3e8..b30d317c7 100644 --- a/include/grub/scsi.h +++ b/include/grub/scsi.h @@ -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