[PATCH] USB: fix ub issues 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 <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit 9f793d2c77ec5818679e4747c554d9333cecf476 tree 47904d2099435d4527432479e869311be7c6515b parent 03e49d40ea3436cae0fe43708f11584130ee4a0c author Pete Zaitcev <[EMAIL PROTECTED]> Mon, 06 Jun 2005 13:54:59 -0700 committer Greg Kroah-Hartman <[EMAIL PROTECTED]> Thu, 09 Jun 2005 01:38:11 -0700 drivers/block/ub.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/ub.c b/drivers/block/ub.c --- a/drivers/block/ub.c +++ b/drivers/block/ub.c @@ -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 nluns = rc; break; } - mdelay(100); + msleep(100); } for (i = 0; i < nluns; i++) { [EMAIL PROTECTED] [PATCH] USB: fix ub issues [PATCH] USB: fix ub issues 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 <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit 9f793d2c77ec5818679e4747c554d9333cecf476 tree 47904d2099435d4527432479e869311be7c6515b parent 03e49d40ea3436cae0fe43708f11584130ee4a0c author Pete Zaitcev <[EMAIL PROTECTED]> Mon, 06 Jun 2005 13:54:59 -0700 committer Greg Kroah-Hartman <[EMAIL PROTECTED]> Thu, 09 Jun 2005 01:38:11 -0700 drivers/block/ub.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/ub.c b/drivers/block/ub.c --- a/drivers/block/ub.c +++ b/drivers/block/ub.c @@ -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 nluns = rc; break; } - mdelay(100); + msleep(100); } for (i = 0; i < nluns; i++) { ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel