SCSI - cache ID bug
This commit is contained in:
parent
a94551944e
commit
3ef068df41
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2010-10-02 Aleš Nesrsta <starous@volny.cz>
|
||||||
|
|
||||||
* grub-core/bus/usb/ohci.c, grub-core/bus/usb/uhci.c:
|
* grub-core/bus/usb/ohci.c, grub-core/bus/usb/uhci.c:
|
||||||
|
|
|
@ -40,7 +40,7 @@ static inline grub_uint32_t
|
||||||
grub_make_scsi_id (int subsystem, int bus, int lun)
|
grub_make_scsi_id (int subsystem, int bus, int lun)
|
||||||
{
|
{
|
||||||
return (subsystem << GRUB_SCSI_ID_SUBSYSTEM_SHIFT)
|
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
|
struct grub_scsi_dev
|
||||||
|
|
Loading…
Add table
Reference in a new issue