android_kernel_xiaomi_sm8350/drivers/ide
Bartlomiej Zolnierkiewicz b48c89a969 cmd640: add ->init_dev method
Convert the driver to use ->init_dev method instead of open-coding devices
init in cmd640x_init().

While at it:

- fix printk()-s to use KERN_INFO level instead of the default KERN_ERR

- use DRV_NAME define in printk()-s

- set proper ->pio_mask also for CONFIG_BLK_DEV_CMD640_ENHANCED=n

There should be no functional changes caused by this patch
(except fixing printk()-s levels).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-07-16 20:33:42 +02:00
..
arm icside: use ide_init_port_hw() 2008-07-16 20:33:41 +02:00
h8300 ide: fix hwif-s initialization 2008-07-16 20:33:39 +02:00
legacy ide: ->port_init_devs -> ->init_dev 2008-07-16 20:33:42 +02:00
mips swarm: use struct ide_port_info 2008-07-16 20:33:41 +02:00
pci cmd640: add ->init_dev method 2008-07-16 20:33:42 +02:00
ppc powerpc/ide: remove mpc8xx-ide driver 2008-07-16 20:33:41 +02:00
ide-acpi.c ide: remove obsoleted "ide=" kernel parameters 2008-07-15 21:21:47 +02:00
ide-atapi.c ide: add ide_pc_intr() helper 2008-07-15 21:22:03 +02:00
ide-cd_ioctl.c ide-cd: convert ide_do_drive_cmd path to use blk_execute_rq 2008-07-15 21:21:42 +02:00
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c ide: use the dma safe check for REQ_TYPE_ATA_PC 2008-07-16 20:33:35 +02:00
ide-cd.h ide-cd: remove ide_cd_init_rq 2008-07-15 21:21:45 +02:00
ide-disk.c ide: remove IDE_TFLAG_NO_SELECT_MASK taskfile flag 2008-07-15 21:21:48 +02:00
ide-dma.c ide: remove ->mmio flag from ide_hwif_t 2008-07-15 21:21:49 +02:00
ide-floppy.c ide-floppy: fix unfortunate function naming 2008-07-15 21:22:03 +02:00
ide-generic.c ide-generic: don't probe all legacy ISA IDE ports by default 2008-06-15 21:00:24 +02:00
ide-io.c ide: remove action argument in ide_do_drive_cmd 2008-07-15 21:21:51 +02:00
ide-iops.c ide: remove drive->ctl 2008-07-15 21:21:50 +02:00
ide-lib.c ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +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: fix hwif-s initialization 2008-07-16 20:33:39 +02:00
ide-probe.c ide: ->port_init_devs -> ->init_dev 2008-07-16 20:33:42 +02:00
ide-proc.c ide: fix /proc/ide/ide?/mate reporting 2008-06-30 20:14:45 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide-tape: unify idetape_create_read/write_cmd 2008-07-15 21:22:03 +02:00
ide-taskfile.c ide: pass 'hwif *' instead of 'drive *' to ->OUTBSYNC method 2008-07-15 21:21:49 +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: set hwif->dev in ide_init_port_hw() (take 2) 2008-07-16 20:33:40 +02:00
Kconfig powerpc/ide: remove mpc8xx-ide driver 2008-07-16 20:33:41 +02:00
Makefile ide: move PIO blacklist to ide-pio-blacklist.c 2008-07-16 20:33:39 +02:00
setup-pci.c ide: tighten checks on PCI BARs in ide_hwif_configure() 2008-07-16 20:33:41 +02:00