1. 30 3月, 2006 11 次提交
    • A
      [PATCH] libata: ata_dev_init_params() fixes · 00b6f5e9
      Albert Lee 提交于
      ata_dev_init_params() fixes:
      - Get the "heads" and "sectors" parameters from caller instead of implicitly from dev->id[].
      - Return AC_ERR_INVALID instead of 0 if an invalid parameter is found
      Signed-off-by: NAlbert Lee <albertcc@tw.ibm.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      00b6f5e9
    • A
      [PATCH] libata: Fix interesting use of "extern" and also some bracketing · 17efc5f7
      Alan Cox 提交于
      Signed-off-by: NAlan Cox <alan@redhat.com>
      
      Last of the set, just clean up some oddments. Assuming the whole set is
      now ok then the remaining differences are the setup of PIO_0 at reset
      and the ->data_xfer method.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      17efc5f7
    • A
      [PATCH] libata: Simplex and other mode filtering logic · 5444a6f4
      Alan Cox 提交于
      Add a field to the host_set called 'flags' (was host_set_flags changed
      to suit Jeff)
      Add a simplex_claimed field so we can remember who owns the DMA channel
      Add a ->mode_filter() hook to allow drivers to filter modes
      Add docs for mode_filter and set_mode
      Filter according to simplex state
      Filter cable in core
      
      This provides the needed framework to support all the mode rules found
      in the PATA world. The simplex filter deals with 'to spec' simplex DMA
      systems found in older chips. The cable filter avoids duplicating the
      same rules in each chip driver with PATA. Finally the mode filter is
      neccessary because drive/chip combinations have errata that forbid
      certain modes with some drives or types of ATA object.
      
      Drive speed setup remains per channel for now and the filters now use
      the framework Tejun put into place which cleans them up a lot from the
      older libata-pata patches.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      5444a6f4
    • A
      [PATCH] libata - ATA is both ATA and CFA · 692785e7
      Alan Cox 提交于
      I think this is still needed with the new probe code (which btw seems to
      be missing docs in upstream ?).
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      692785e7
    • A
      [PATCH] libata: Add ->set_mode hook for odd drivers · e35a9e01
      Alan Cox 提交于
      Some hardware doesn't want the usual mode setup logic running. This
      allows the hardware driver to replace it for special cases in the least
      invasive way possible.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      e35a9e01
    • A
      [PATCH] libata: BMDMA handling updates · 4e5ec5db
      Alan Cox 提交于
      This is the minimal patch set to enable the current code to be used with
      a controller following SFF (ie any PATA and early SATA controllers)
      safely without crashes if there is no BMDMA area or if BMDMA is not
      assigned by the BIOS for some reason.
      
      Simplex status is recorded but not acted upon in this change, this isn't
      a problem with the current drivers as none of them are for simplex
      hardware. A following diff will deal with that.
      
      The flags in the probe structure remain ->host_set_flags although Jeff
      asked me to rename them, simply because the rename would break the usual
      Linux rules that old code should break when there are changes. not
      compile and run and then blow up/eat your computer/etc. Renaming this
      later is a trivial exercise once a better name is chosen.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      4e5ec5db
    • T
      [PATCH] libata: kill trailing whitespace · 05c8e0ac
      Tejun Heo 提交于
      Kill trailing whitespace.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      05c8e0ac
    • J
      Merge branch 'master' · e02a4cab
      Jeff Garzik 提交于
      e02a4cab
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · f3cab8a0
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
        [NETFILTER]: Rename init functions.
        [TCP]: Fix RFC2465 typo.
        [INET]: Introduce tunnel4/tunnel6
        [NET]: deinline 200+ byte inlines in sock.h
        [ECONET]: Convert away from SOCKOPS_WRAPPED
        [NET]: Fix ipx/econet/appletalk/irda ioctl crashes
        [NET]: Kill Documentation/networking/TODO
        [TG3]: Update version and reldate
        [TG3]: Skip timer code during full lock
        [TG3]: Speed up SRAM access
        [TG3]: Fix PHY loopback on 5700
        [TG3]: Fix bug in 40-bit DMA workaround code
        [TG3]: Fix probe failure due to invalid MAC address
      f3cab8a0
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc · 76babde1
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (67 commits)
        [PATCH] powerpc: Remove oprofile spinlock backtrace code
        [PATCH] powerpc: Add oprofile calltrace support to all powerpc cpus
        [PATCH] powerpc: Add oprofile calltrace support
        [PATCH] for_each_possible_cpu: ppc
        [PATCH] for_each_possible_cpu: powerpc
        [PATCH] lock PTE before updating it in 440/BookE page fault handler
        [PATCH] powerpc: Kill _machine and hard-coded platform numbers
        ppc: Fix compile error in arch/ppc/lib/strcase.c
        [PATCH] git-powerpc: WARN was a dumb idea
        [PATCH] powerpc: a couple of trivial compile warning fixes
        powerpc: remove OCP references
        powerpc: Make uImage default build output for MPC8540 ADS
        powerpc: move math-emu over to arch/powerpc
        powerpc: use memparse() for mem= command line parsing
        ppc: fix strncasecmp prototype
        [PATCH] powerpc: make ISA floppies work again
        [PATCH] powerpc: Fix some initcall return values
        [PATCH] powerpc: Workaround for pSeries RTAS bug
        [PATCH] spufs: fix __init/__exit annotations
        [PATCH] powerpc: add hvc backend for rtas
        ...
      76babde1
    • L
      Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 · e71ac603
      Linus Torvalds 提交于
      * git://oss.sgi.com:8090/oss/git/xfs-2.6:
        [XFS] Cleanup in XFS after recent get_block_t interface tweaks.
        [XFS] Remove unused/obsoleted function: xfs_bmap_do_search_extents()
        [XFS] A change to inode chunk allocation to try allocating the new chunk
        Fixes a regression from the recent "remove ->get_blocks() support"
        [XFS] Fix compiler warning and small code inconsistencies in compat
        [XFS] We really suck at spulling.  Thanks to Chris Pascoe for fixing all
      e71ac603
  2. 29 3月, 2006 29 次提交