1. 05 3月, 2009 1 次提交
  2. 26 2月, 2009 1 次提交
    • D
      ide: ide.c 'clear' fix, update "ide=nodma" documentation · 0af80c04
      David Fries 提交于
      Documentation/kernel-parameters.txt
      - ide=nodma is no longer valid.
      
      drivers/ide/Kconfig
      - The module is ide-core.ko not ide.
      
      drivers/ide/ide.c
      - It took me a while to figure out what the arguments %d.%d:%d to nodma
        module parameter ment, so I added a comment to each.
      - Added a comment to each of the sscanf lines.
      - There is a bug, if j is 0 it would previously clear all the other bits
        except the current device, changed in three different places.
        mask &= (1 << i) should be mask &= ~(1 << i).
      Signed-off-by: NDavid Fries <david@fries.net>
      [bart: s/disk/device/ in ide.c, beautify patch description]
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      0af80c04
  3. 03 2月, 2009 1 次提交
    • B
      ide: add CS5536 host driver (v3) · a77dcc43
      Bartlomiej Zolnierkiewicz 提交于
      This is a port of libata's pata_cs5536.c (written by Martin K. Petersen)
      to IDE subsystem.
      
      Changes done while at it:
      
      * Reprogram PIO/MWDMA timings if needed before and after DMA transfer
        (chipset uses shared PIO/MWDMA timings).
      
      * Fix cable detection to report 80-wires cable if BIOS set it for any
        device on a port (IDE core will do drive-side cable detection later).
      
      * Don't disable UDMA while programming PIO timings.
      
      * Simplify PCI/MSR support.
      
      Pros of having IDE host driver in addition to libata's one:
      
      * IDE is much lighter than SCSI+libata, the host driver itself is also
        a bit smaller:
      
         text    data     bss     dec     hex filename
         1261     496       4    1761     6e1 drivers/ata/pata_cs5536.o
         1242     128       4    1374     55e drivers/ide/cs5536.o
      
      * This allows use of IDE features which are unavailable under libata.
      
      v2:
      * Fixes per review from Sergei:
        - simplify dependency check in Kconfig
        - use IDE_DRV_MASK also for ->drive_data
        - disable UDMA when programming MWDMA
        - program new DTC timings only when necessary
        - fix printk() level in cs5536_init_one()
      
      * Fix patch description according to comments from Alan and Sergei.
      
      v3:
      * Smarter masking of UDMA bits per Sergei's suggestion.
      
      Cc: Martin K. Petersen <mkp@mkp.net>
      Cc: Karl Auerbach <karl@iwl.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Acked-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      a77dcc43
  4. 15 1月, 2009 1 次提交
  5. 07 1月, 2009 1 次提交
    • S
      Resurrect IT8172 IDE controller driver · 391ad190
      Shane McDonald 提交于
      Support for the IT8172 IDE controller was removed from the kernel
      sometime after 2.6.18.  Support for the only boards that used the IT8172
      was removed from the kernel after 2.6.18, as they had never compiled
      since 2.6.0.  However, there are a couple of platforms that use this
      chip: the PMC-Sierra Xiao Hu thin-client computer, which is no longer
      in production, and the Linksys NSS4000 Network Attached Storage box,
      which is based on the Xiao Hu board.  I am attempting to add support
      for the Xiao Hu to the kernel, and this IT8172 IDE controller is the
      first bit of code in this effort.
      
      This patch resurrects the IT8172 IDE controller code.  I began with
      the 2.6.18 version of the it8172.c file, and have moved it forward so
      that it works with the latest version of the kernel.  I have run this
      driver on a PMC-Sierra Xiao Hu board with the 2.6.28 kernel, and
      I have had no problems with it in my configuration.  The attached patch
      applies cleanly against 2.6.28.
      Signed-off-by: NShane McDonald <mcdonald.shane@gmail.com>
      Acked-by: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Cc: alan@lxorguk.ukuu.org.uk
      [bart: s/HWIF(drive)/drive->hwif/]
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      391ad190
  6. 02 1月, 2009 2 次提交
  7. 30 12月, 2008 1 次提交
  8. 09 12月, 2008 1 次提交
    • B
      ide: build-fix for CONFIG_BLK_DEV_IDEDMA_PMAC=n · 53846574
      Bartlomiej Zolnierkiewicz 提交于
      IDE pmac host driver build fails with CONFIG_BLK_DEV_IDEDMA_PMAC=n
      as reported by Kamalesh:
      
      > drivers/ide/pmac.c: In function 'pmac_ide_set_pio_mode':
      > drivers/ide/pmac.c:527: error: implicit declaration of function 'kauai_lookup_timing'
      > drivers/ide/pmac.c:527: error: 'shasta_pio_timings' undeclared (first use in this function)
      > drivers/ide/pmac.c:527: error: (Each undeclared identifier is reported only once
      > drivers/ide/pmac.c:527: error: for each function it appears in.)
      > drivers/ide/pmac.c:534: error: 'kauai_pio_timings' undeclared (first use in this function)
      > drivers/ide/pmac.c: In function 'pmac_ide_do_resume':
      > drivers/ide/pmac.c:914: error: 'IDE_WAKEUP_DELAY' undeclared (first use in this function)
      > drivers/ide/pmac.c: At top level:
      > drivers/ide/pmac.c:1007: error: 'pmac_ide_init_dma' undeclared here (not in a function)
      > drivers/ide/pmac.c: In function 'pmac_ide_setup_device':
      > drivers/ide/pmac.c:1107: error: 'IDE_WAKEUP_DELAY' undeclared (first use in this function)
      > drivers/ide/pmac.c: In function 'pmac_ide_macio_attach':
      > drivers/ide/pmac.c:1209: error: 'pmac_ide_hwif_t' has no member named 'dma_regs'
      > drivers/ide/pmac.c:1210: error: 'pmac_ide_hwif_t' has no member named 'dma_regs'
      > make[2]: *** [drivers/ide/pmac.o] Error 1
      
      Fix it by removing the superfluous config option.
      Reported-and-tested-by: NKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      53846574
  9. 27 11月, 2008 1 次提交
  10. 24 10月, 2008 2 次提交
  11. 18 10月, 2008 2 次提交
  12. 17 10月, 2008 1 次提交
  13. 14 10月, 2008 1 次提交
  14. 11 10月, 2008 1 次提交
  15. 06 10月, 2008 1 次提交
  16. 28 9月, 2008 1 次提交
  17. 03 9月, 2008 1 次提交
  18. 06 8月, 2008 1 次提交
  19. 25 7月, 2008 1 次提交
  20. 24 7月, 2008 2 次提交
  21. 17 7月, 2008 13 次提交
  22. 16 7月, 2008 1 次提交
  23. 01 7月, 2008 1 次提交
  24. 21 6月, 2008 1 次提交