]> git.baikalelectronics.ru Git - kernel.git/commit
sd/ide-disk: apply extended minors to sd and ide
authorTejun Heo <tj@kernel.org>
Mon, 25 Aug 2008 10:47:24 +0000 (19:47 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:06 +0000 (08:56 +0200)
commit44a7b4eb48c8f2efd49c2d0ca85e6b866406c292
treea61ba32641118296ecc942814e03b4b0ababfa63
parentffd6851a2f05b0bc03cac52dc90c58dd5424dc12
sd/ide-disk: apply extended minors to sd and ide

Update sd and ide-disk such that they can take advantage of extended
minors.

ide-disk already has 64 minors per device and currently doesn't use
extended minors although after this patch it can be turned on by
simply tweaking constants.

sd only had 16 minors per device causing problems on certain peculiar
configurations.  This patch lifts the restriction and enables it to
use upto 64 minors.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/ide/ide-disk.c
drivers/scsi/sd.c