]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitf615b48cc7df7cac3865ec76ac1a5bb04d3e07f4
treea61ba32641118296ecc942814e03b4b0ababfa63
parent1f0142905d4812966831613847db38a66da29eb8
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