1. 02 4月, 2006 22 次提交
  2. 01 4月, 2006 1 次提交
    • O
      [PATCH] Don't pass boot parameters to argv_init[] · 9b41046c
      OGAWA Hirofumi 提交于
      The boot cmdline is parsed in parse_early_param() and
      parse_args(,unknown_bootoption).
      
      And __setup() is used in obsolete_checksetup().
      
      	start_kernel()
      		-> parse_args()
      			-> unknown_bootoption()
      				-> obsolete_checksetup()
      
      If __setup()'s callback (->setup_func()) returns 1 in
      obsolete_checksetup(), obsolete_checksetup() thinks a parameter was
      handled.
      
      If ->setup_func() returns 0, obsolete_checksetup() tries other
      ->setup_func().  If all ->setup_func() that matched a parameter returns 0,
      a parameter is seted to argv_init[].
      
      Then, when runing /sbin/init or init=app, argv_init[] is passed to the app.
      If the app doesn't ignore those arguments, it will warning and exit.
      
      This patch fixes a wrong usage of it, however fixes obvious one only.
      Signed-off-by: NOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9b41046c
  3. 31 3月, 2006 6 次提交
  4. 30 3月, 2006 8 次提交
    • M
      [PATCH] sata_mv: three bug fixes · 63af2a5c
      Mark Lord 提交于
      (1) A DMA transfer size of 0x10000 was not being written
      as 0x0000 in the PRDs.  Fixed.
      
      (1) The DEV_IRQ interrupt cause bit happens spuriously
      during EDMA operation, and was not being ignored by the driver.
      This led to various "drive busy" errors being reported,
      with associated unpredictable behaviour.  Fixed.
      
      (2) If a SATA or PCI interrupt was received with no outstanding
      command, the interrupt handler still attempted to invoke
      ata_qc_complete(), triggering assert()/BUG_ON() behaviour
      elsewhere in libata.  Fixed.
      
      The driver still has issues with confusion after error-recovery,
      but should now  be reliable in the absence of drive errors.
      I will be looking more into the error-handling bugs next.
      Signed-Off-By: NMark Lord <mlord@pobox.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      63af2a5c
    • 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
  5. 29 3月, 2006 3 次提交