1. 17 May, 2004 3 commits
  2. 16 May, 2004 16 commits
    • Jeff Garzik's avatar
      [libata] replace ATA_QCFLAG_ATAPI with inline helper · 043ea303
      Jeff Garzik authored
      Detection of an ATAPI taskfile is possible using a simple test
      on existing information, so there is no need to cache this value
      in a separate flag (ATA_QCFLAG_ATAPI).  Instead, create and use
      a new helper function is_atapi_taskfile().
      043ea303
    • Jeff Garzik's avatar
      [libata] scsi simulator improvements: MODE SENSE, SEEK(6,10), REZERO_UNIT · ffb17d43
      Jeff Garzik authored
      * SEEK(6), SEEK(10), and REZERO_UNIT are no-ops.  Unconditionally
        complete these commands with success.
      * MODE SENSE caching page work:
      	* correct page length
      	* set bit, if read-ahead is disabled
      	* set bit, if writeback caching is enabled
      	  (previously, this bit was never set, even if
      	   writeback caching was enabled)
      * add MODE SENSE r/w error recovery page
      ffb17d43
    • Jeff Garzik's avatar
      [libata] comments and constants · a163af74
      Jeff Garzik authored
      * note a nasty problem with shared interrupts that must be fixed
        before we turn on certain code paths.
      * add a few comments to the READ CAPACITY scsi simulator
      * remove a FIXME comment from the TEST UNIT READY scsi simulator
      * add constant for ATA command CHECK POWER MODE, and associated
        "mandatory" power management feature set bit.
      a163af74
    • Jeff Garzik's avatar
      [libata] SCSI->ATA simulator hacking: INQUIRY command · 7f594e47
      Jeff Garzik authored
      The SCSI T10 committee is working on a document describing a standard
      method for translating ATA<->SCSI, since it being done quite often
      these days.  Some of the recommendations are reasonable, and we implement
      two here:
      
      * Mirror that ATA 'removeable media' bit into INQUIRY output.
      * Change behavior of INQUIRY output field 'product revision' from
        the libata software version number to the first 4 bytes of the
        ATA device's firmware revision number.
      
      Rather than cache the firmware revision in struct ata_device, as was/is
      done with two other strings, I took the opportunity to eliminate the
      caching of the two other strings, 'vendor' and 'product'.  These strings
      are now retrieved as needed from the IDENTIFY [PACKET] DEVICE info page,
      since we cache its entire contents.
      
      Retrieving a string from the identify-device page is done via the
      helper function ata_dev_id_string(), which is now exported.
      
      This patch winds up making struct ata_device 40 bytes smaller, and
      the libata core gets a bit smaller as well.
      7f594e47
    • Jeff Garzik's avatar
      [libata] remove redundant use of ATA_QCFLAG_SG in ATAPI packet translation · e9c8846e
      Jeff Garzik authored
      ata_scsi_translate() sets this flag for all ATA->SCSI translated
      commands, so it need not be done in atapi_xlat().  The now-removed
      use in atapi_xlat() was also inconsistent WRT PIO versus DMA.
      e9c8846e
    • Jeff Garzik's avatar
      [libata] DMADIR support · d89ee021
      Jeff Garzik authored
      DMADIR bit is necessary for some PATA->SATA bridges.  These
      bridges require the OS driver to specify the data xfer direction,
      for PACKET (a.k.a. scsi) commands.
      
      A reliable DMADIR detection method hasn't yet been developed,
      and ATAPI is still a WIP, so DMADIR is enabled with an ifdef for
      now.
      d89ee021
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/libata-2.6 · bd7b6c43
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      bd7b6c43
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-serial · b3e0153f
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      b3e0153f
    • Russell King's avatar
      [SERIAL] Remove base_baud default from 8250_pci · abec7137
      Russell King authored
      Since all boards specify base_baud, the code to default base_baud to
      the architecture-defined BASE_BAUD is redundant.  Also, defaulting
      to the architecture-defined BASE_BAUD is wrong since the UARTs on a
      serial PCI card will be clocked at the same rate no matter what the
      architecture of the host machine.
      abec7137
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · 03fc059c
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      03fc059c
    • Russell King's avatar
      [ARM] Convert execve() to be a function rather than a SWI call. · a7aea5bf
      Russell King authored
      This eliminates the last SWI user from the kernel - now all SWI calls
      will only come from userspace.  More importantly, this also allows us
      to empty the kernel stack when starting userspace programs from
      kernelspace, thereby ensuring that the user registers always appear
      at the top of the kernel stack.
      a7aea5bf
    • Russell King's avatar
      [ARM] Move a bunch of symbol exports from armksyms.c · 31aa2bf6
      Russell King authored
      This moves a bunch of EXPORT_SYMBOL() statements from armksyms.c
      into the file which defines the function/variable such that the
      exports are localised.
      
      This also means we can get rid of the ugly __xxx_to_xxx__is_a_macro
      in include/asm-arm/arch-*/memory.h
      31aa2bf6
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/net-drivers-2.6 · 3a251811
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      3a251811
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/netdev-2.6/remove-comx · 557c670b
      Jeff Garzik authored
      into redhat.com:/spare/repo/net-drivers-2.6
      557c670b
    • Jonathan Corbet's avatar
      Remove drivers/net/auto_irq.c. · 1cda7f59
      Jonathan Corbet authored
      No more users of the autoirq_xxx() API existed, so this file is not
      only unused, it isn't even listed in any makefiles.
      1cda7f59
    • Andrew Morton's avatar
      [PATCH] Fixed quota recursion fix · cccac600
      Andrew Morton authored
      This fixes the gfp_mask setting on the quota inode.
      cccac600
  3. 15 May, 2004 21 commits