original_kernel/drivers/ide
Tejun Heo 3e1a7ff8a0 block: allow disk to have extended device number
Now that disk and partition handlings are mostly unified, it's easy to
allow disk to have extended device number.  This patch makes
add_disk() use extended device number if disk->minors is zero.  Both
sd and ide-disk are updated to use this.

* sd_format_disk_name() is implemented which can generically determine
  the drive name.  This removes disk number restriction stemming from
  limited device names.

* If sd index goes over SD_MAX_DISKS (which can be increased now BTW),
  sd simply doesn't initialize minors letting block layer choose
  extended device number.

* If CONFIG_DEBUG_EXT_DEVT is set, both sd and ide-disk always set
  minors to 0 and use extended device numbers.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-10-09 08:56:08 +02:00
..
arm palm_bk3710: improve IDE registration 2008-09-02 20:18:47 +02:00
h8300
legacy
mips IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
pci ide: Fix pointer arithmetic in hpt3xx driver code (3rd try) 2008-09-10 22:22:34 +02:00
ppc
Kconfig IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
Makefile
ide-acpi.c
ide-atapi.c
ide-cd.c block: move policy from disk to part0 2008-10-09 08:56:07 +02:00
ide-cd.h
ide-cd_ioctl.c
ide-cd_verbose.c
ide-disk.c block: allow disk to have extended device number 2008-10-09 08:56:08 +02:00
ide-dma.c ide-dma: fix ide_build_dmatable() for TRM290 2008-10-05 18:23:27 +02:00
ide-floppy.c
ide-generic.c
ide-io.c
ide-iops.c
ide-lib.c
ide-pio-blacklist.c
ide-pnp.c
ide-probe.c block: implement and use {disk|part}_to_dev() 2008-10-09 08:56:07 +02:00
ide-proc.c
ide-scan-pci.c
ide-tape.c ide-tape: fix vendor strings 2008-09-27 19:32:17 +02:00
ide-taskfile.c
ide-timings.c
ide.c
setup-pci.c