• B
    ide: it8213 IDE driver update (version 2) · 67881826
    Bartlomiej Zolnierkiewicz 提交于
    * set ATAPI/IORDY/TIME bits correctly in it8213_tuneproc()
    * fix UDMA/MWDMA/SWDMA masks in it8213_init_hwif()
    * in it8213_tune_chipset() SWDMA2 mode should be used instead of MWDMA0
    * backport various fixes from piix/slc90e66 drivers:
      - in it8213_tuneproc() the highest possible PIO mode is PIO4 (not PIO5)
      - clear ATAPI/IORDY/TIME bits before setting them also for slave device
      - use ->speedproc in it8213_config_drive_for_dma()
      - don't try to tune PIO in config_chipset_for_pio()
      - simplify is_slave calculation in it8213_tuneproc()
      - misc cleanups
    * fix it8213_ratemask() and it8213_tuneproc() comments
    * simplify it8213_init_hwif()
    * remove init_chipset_it8213()
    * add missing Copyrights and update MODULE_AUTHOR()
    * CodingStyle cleanups
    * remove dead code
    
    v2:
    * PCI_DEVICE_ID_ITE_8213 is only defined in -mm kernels,
      so just use PCI Device ID (0x8213) directly
    * fix ->ultra_mask incorrectly changed to 0x3f in v1 version of the patch
    Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    67881826
it8213.c 8.5 KB