1. 19 Jul, 2007 1 commit
  2. 09 Jul, 2007 4 commits
    • Bartlomiej Zolnierkiewicz's avatar
      ide: add short cables support · 49521f97
      Bartlomiej Zolnierkiewicz authored
      This patch allows users to override both host and device side cable detection
      with "ideX=ata66" kernel parameter.  Thanks to this it should be now possible
      to use UDMA > 2 modes on systems (laptops mainly) which use short 40-pin cable
      instead of 80-pin one.
      
      Next patches add automatic detection of some systems using short cables.
      
      Changes:
      
      * Rename hwif->udma_four to hwif->cbl and make it u8.
      
      * Convert all existing users accordingly (use ATA_CBL_* defines while at it).  
      
      * Add ATA_CBL_PATA40_SHORT support to ide-iops.c:eighty_ninty_three().
      
      * Use ATA_CBL_PATA40_SHORT for "ideX=ata66" kernel parameter.
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      Reviewed-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      49521f97
    • Bartlomiej Zolnierkiewicz's avatar
      ide: convert ide_find_best_mode() users to use ide_max_dma_mode() · 75b1d975
      Bartlomiej Zolnierkiewicz authored
      ide-timing.h:
      
      * remove handling of DMA modes from ide_find_best_mode() and rename it to
        ide_find_best_pio_mode()
      
      * drop no longer needed "map" argument from ide_find_best_pio_mode()
        and delete needless ->id check
      
      * remove no longer needed XFER_SWDMA and XFER_UDMA* defines
      
      au1xxx-ide.c:
      
      * use ide_max_dma_mode() instead of ide_find_best_mode()
      
      * remove needless CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA #ifdef
      
      amd74xx.c:
      
      * store UDMA masks in amd_ide_chip[] and while at it make "base" field
        to be u8 instead of unsigned long
      
      * convert the driver to use UDMA masks from amd_ide_chip[]
      
      * use ide_max_dma_mode() and ide_find_best_pio_mode() instead
        of ide_find_best_mode()
      
      * delete stale comment from amd74xx_ide_dma_check()
      
      * remove no longer needed AMD_UDMA* defines
      
      via82cxxx.c:
      
      * remove unused DISPLAY_VIA_TIMINGS define
      
      * store UDMA masks in via_isa_bridges[] and while at it make "flags" field
        to be u8 instead of u16
      
      * convert the driver to use UDMA masks from via_isa_bridges[]
      
      * use ide_max_dma_mode() and ide_find_best_pio_mode() instead
        of ide_find_best_mode()
      
      * remove no longer needed VIA_UDMA* defines
      
      pmac.c:
      
      * use ide_max_dma_mode() instead of ide_find_best_mode()
      
      There should be no functionality changes caused by this patch.
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      Reviewed-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      75b1d975
    • Sergei Shtylyov's avatar
      ide: make void and rename ide_dma_timeout() method · c283f5db
      Sergei Shtylyov authored
      Since ide_dma_timeout() method's result is discarded, make it return 'void'.
      While at it, drop 'ide_' from the method's name, drop the '__' prefix from
      the default method's name, and do some cleanups in this method driver-wise:
      
      - in ide-dma.c, au1xxx-ide.c, and pdc202xx_old.c, define/use 'hwif' variable;
      
      - in au1xxx-ide.c, get rid of commented out printk();
      
      - in sl82c105.c, get rid of unnecessary variables.
      Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      c283f5db
    • Sergei Shtylyov's avatar
      ide: make void and rename ide_dma_lostirq() method · 841d2a9b
      Sergei Shtylyov authored
      Since ide_dma_lostirq() method's result is discarded, make it return 'void'.
      While at it, rename the method to dma_lost_irq(), drop the '__' prefix from the
      default method's name, and do some cleanups in this method driver-wise:
      
      - in aec62xx.c, rename the method in accordance with other drivers, and get rid
        of unnecessary variables there;
      
      - in pdc202xx_old.c, define/use 'hwif' variable;
      
      - in sgiioc4.c, rearrange the code to call the resetproc() method directly.
      Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      841d2a9b
  3. 09 May, 2007 1 commit
    • Bartlomiej Zolnierkiewicz's avatar
      ide: add ide_proc_register_port() · 5cbf79cd
      Bartlomiej Zolnierkiewicz authored
      * create_proc_ide_interfaces() tries to add /proc entries for every probed
        and initialized IDE port, replace it by ide_proc_register_port() which does
        it only for the given port (also rename destroy_proc_ide_interface() to
        ide_proc_unregister_port() for consistency)
        
      * convert {create,destroy}_proc_ide_interface[s]() users to use new functions
      
      * pmac driver depended on proc_ide_create() to add /proc port entries, fix it
        
      * au1xxx-ide, swarm and cs5520 drivers depended indirectly on ide-generic
        driver (CONFIG_IDE_GENERIC=y) to add port /proc entries, fix them
      
      * there is now no need to add /proc entries for IDE ports in proc_ide_create()
        so don't do it
      
      * proc_ide_create() needs now to be called before drivers are probed - fix it,
        while at it make proc_ide_create() create /proc "ide" directory
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      5cbf79cd
  4. 07 May, 2007 1 commit
  5. 02 May, 2007 1 commit
  6. 26 Apr, 2007 1 commit
  7. 12 Apr, 2007 1 commit
  8. 03 Mar, 2007 1 commit
    • Andrew Morton's avatar
      ide: fix pmac breakage · 9e5755bc
      Andrew Morton authored
      Fix breakage added in the IDE devel tree.
      
      Add header, then fix
      
      drivers/ide/ppc/pmac.c: In function `pmac_ide_setup_dma':
      drivers/ide/ppc/pmac.c:2044: warning: assignment from incompatible pointer type
      drivers/ide/ppc/pmac.c: In function `pmac_ide_dma_host_on':
      drivers/ide/ppc/pmac.c:1989: warning: control reaches end of non-void function
      include/linux/pci.h: In function `pmac_ide_init':
      drivers/ide/ppc/pmac.c:1563: warning: ignoring return value of `pci_register_driver', declared with attribute warn_unused_result
      
      Then add some apparently-long-missing error handling.
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      9e5755bc
  9. 16 Feb, 2007 3 commits
  10. 14 Feb, 2007 1 commit
    • Tim Schmielau's avatar
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau authored
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: default avatarTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  11. 03 Oct, 2006 1 commit
  12. 25 Sep, 2006 1 commit
    • David Brownell's avatar
      fix broken/dubious driver suspend() methods · 8b4b8a24
      David Brownell authored
      Small driver suspend() fixes in preparation for the PRETHAW events:
      
       - Only compare message events for equality against PM_EVENT_* codes;
         not against integers, or using greater/less-than comparisons.
         (PM_EVENT_* should really become a __bitwise thing.)
      
       - Explicitly test for SUSPEND events (rather than not-something-else)
         before suspending devices.
      
       - Removes more of the confusion between a pm_message_t (wraps event code)
         and a "state" ... suspend() originally took a target system state.
      
      These updates are correct and appropriate even without new PM_EVENT codes.
      
      benh: "I think in the Mesh case, we should handle the freeze case as well or
      we might get wild DMA."
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Cc: Greg KH <greg@kroah.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      8b4b8a24
  13. 21 Sep, 2006 1 commit
  14. 30 Jul, 2006 1 commit
  15. 30 Jun, 2006 1 commit
  16. 27 Jun, 2006 1 commit
  17. 21 May, 2006 1 commit
  18. 28 Mar, 2006 1 commit
  19. 08 Jan, 2006 2 commits
  20. 18 Nov, 2005 1 commit
  21. 13 Nov, 2005 1 commit
  22. 07 Nov, 2005 1 commit
  23. 18 Sep, 2005 1 commit
  24. 05 Sep, 2005 2 commits
  25. 18 Aug, 2005 1 commit
  26. 06 Jul, 2005 1 commit
  27. 27 Jun, 2005 1 commit
  28. 01 May, 2005 1 commit
  29. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4