summaryrefslogtreecommitdiff
path: root/include/linux/backing-dev.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>2004-03-16 00:46:25 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-03-16 00:46:25 -0800
commit54cdbb65405e1fbe1b7f5ca6a59169018c062729 (patch)
tree324f38e2e9f9585d60295ef28b908682da0a9bad /include/linux/backing-dev.h
parent3da04c35902148897b7d5d890bbd47f73f198b82 (diff)
[PATCH] ide-scsi.c: fix ATAPI multi-lun support
ATAPI multi-lun support has been broken for a long time. It used to be that "(drive->id->last_id & 0x7) + 1" was used as shost->max_lun and the "hdXlun=" kernel parameter could be used to override this value. However it was far from optimal: - people played with "hdXlun=" and then complained about multiple instances of the same device (most ATAPI drives respond to each LUN) - probably some devices return 7 not 0 in id->last_id (=> 7 x same device) This patch from Willem Riede <wrlk@riede.org> fixes it w/o need for "hdXlun=" option. It was tested by Willem on ATAPI PD/CD drive.
Diffstat (limited to 'include/linux/backing-dev.h')
0 files changed, 0 insertions, 0 deletions