kernel-ark/drivers/ide
Sergei Shtylyov 0505b55fb5 ide: fix PCI refcounting
The IDE core never marked the PCI IDE devices as being in use after succesfull
driver probe call (the devices were marked in use only while being probed), and
so was susceptible to issues caused by unsolicited PCI hotplug device removal.
So, add pci_dev_get() call to ide_scan_pcidev() and convert this function to
the kernel style, also dropping a bunch of useless curly braces from its caller,
ide_scan_pcibus() and somewhat beautifying printk() call there, while at it...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-09-11 22:28:34 +02:00
..
arm drivers/ide/arm/icside.c: kmalloc + memset conversion to kzalloc 2007-08-01 23:46:44 +02:00
cris ide-cris: fix ->set_pio_mode method to set transfer mode on the device 2007-08-20 22:42:54 +02:00
h8300 ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
legacy [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
mips ide: add PIO masks 2007-07-20 01:11:59 +02:00
pci [libata, IDE] add new VIA bridge to VIA PATA drivers 2007-09-10 22:06:01 -04:00
ppc mpc8xx: Only build mpc8xx on arch/ppc 2007-09-11 22:28:33 +02:00
ide-acpi.c ide-acpi support warning fix 2007-02-07 18:19:42 +01:00
ide-cd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ide-cd.h ide-cd: replace C code with call to ARRAY_SIZE() macro 2007-07-09 23:17:57 +02:00
ide-disk.c ide-disk: workaround for buggy HPA support on ST340823A (take 3) 2007-08-20 22:42:57 +02:00
ide-dma.c ide: add cable detection for early UDMA66 devices (take 3) 2007-08-20 22:42:56 +02:00
ide-floppy.c ide: add support for SCSI ioctls to ide-floppy 2007-07-20 01:11:59 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ide-iops.c ide-disk: workaround for buggy HPA support on ST340823A (take 3) 2007-08-20 22:42:57 +02:00
ide-lib.c ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide-pnp.c ide: add "initializing" argument to ide_register_hw() 2007-05-10 00:01:10 +02:00
ide-probe.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ide-proc.c ide: use mutex instead of ide_setting_sem semaphore in IDE driver 2007-07-09 23:17:56 +02:00
ide-tape.c ide: eliminate warnings in ide-tape.c 2007-08-01 23:46:44 +02:00
ide-taskfile.c ide: never called printk statement in ide-taskfile.c::wait_drive_not_busy 2007-07-03 22:28:34 +02:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: add support for SCSI ioctls to ide-floppy 2007-07-20 01:11:59 +02:00
Kconfig mpc8xx: Only build mpc8xx on arch/ppc 2007-09-11 22:28:33 +02:00
Makefile ide: make /proc/ide/ optional 2007-05-10 00:01:09 +02:00
setup-pci.c ide: fix PCI refcounting 2007-09-11 22:28:34 +02:00