linux/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 ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
legacy ht6560b: remove old history 2008-07-24 22:53:35 +02:00
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 ide/powermac: Fix use of uninitialized pointer on media-bay 2008-07-30 15:26:53 +10:00
Kconfig IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
Makefile ide: remove stale comments from drivers/ide/Makefile 2008-07-24 22:53:36 +02:00
ide-acpi.c ide: remove obsoleted "ide=" kernel parameters 2008-07-15 21:21:47 +02:00
ide-atapi.c ide: remove unused PC_FLAG_DRQ_INTERRUPT 2008-07-23 19:56:01 +02:00
ide-cd.c block: move policy from disk to part0 2008-10-09 08:56:07 +02:00
ide-cd.h ide-cd: convert to using the new atapi_flags 2008-07-23 19:56:02 +02:00
ide-cd_ioctl.c ide: ide-cd_ioctl.c fix sparse integer as NULL pointer warnings 2008-07-23 19:56:02 +02:00
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
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: fix regression caused by ide_device_{get,put}() addition (take 2) 2008-08-05 18:16:59 +02:00
ide-generic.c ide-generic: remove ide_default_{io_base,irq}() inlines (take 3) 2008-07-24 22:53:31 +02:00
ide-io.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
ide-iops.c ide: fix ide_fix_driveid() 2008-08-05 18:16:56 +02:00
ide-lib.c ide: add struct ide_tp_ops (take 2) 2008-07-23 19:55:56 +02:00
ide-pio-blacklist.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
ide-pnp.c ide: add ide_host_add() helper 2008-07-23 19:55:57 +02:00
ide-probe.c block: implement and use {disk|part}_to_dev() 2008-10-09 08:56:07 +02:00
ide-proc.c ide: trivial sparse annotations 2008-07-24 22:53:34 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide-tape: fix vendor strings 2008-09-27 19:32:17 +02:00
ide-taskfile.c ide: enable local IRQs in all handlers for TASKFILE_NO_DATA data phase 2008-07-24 22:53:36 +02:00
ide-timings.c ide: move ide_pio_cycle_time() to ide-timings.c 2008-07-16 20:33:39 +02:00
ide.c ide: add ide_device_{get,put}() helpers 2008-07-24 22:53:15 +02:00
setup-pci.c ide: drop 'name' parameter from ->init_chipset method 2008-07-24 22:53:33 +02:00