This smoothes two imperfections:
- Increase number of LUNs per device from 4 to 9. The best solution
  would be to remove this limit altogether, but that has to wait until
  the time when more than 26 hosts are allowed.
- Replace mdelay with msleep in a probing routine.

Signed-off-by: Pete Zaitcev <zaitcev@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Pete Zaitcev 2005-06-06 13:54:59 -07:00 коммит произвёл Greg Kroah-Hartman
Родитель 03e49d40ea
Коммит 9f793d2c77
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -51,7 +51,7 @@
* This many LUNs per USB device.
* Every one of them takes a host, see UB_MAX_HOSTS.
*/
#define UB_MAX_LUNS 4
#define UB_MAX_LUNS 9
/*
*/
@ -2100,7 +2100,7 @@ static int ub_probe(struct usb_interface *intf,
nluns = rc;
break;
}
mdelay(100);
msleep(100);
}
for (i = 0; i < nluns; i++) {