1. 10 Aug, 2006 5 commits
    • Alan Cox's avatar
      [PATCH] libata: rework legacy handling to remove much of the cruft · 2ec7df04
      Alan Cox authored
      Kill host_set->next
      Fix simplex support
      Allow per platform setting of IDE legacy bases
      
      Some of this can be tidied further later on, in particular all the
      legacy port gunge belongs as a PCI quirk/PCI header decode to understand
      the special legacy IDE rules in the PCI spec.
      
      Longer term Jeff also wants to move the request_irq/free_irq out of core
      which will make this even cleaner.
      
      tj: folded in three followup patches - ata_piix-fix, broken-arch-fix
      and fix-new-legacy-handling, and separated per-dev xfermask into
      separate patch preceding this one.  Folded in fixes are...
      
      * ata_piix-fix: fix build failure due to host_set->next removal
      * broken-arch-fix: add missing include/asm-*/libata-portmap.h
      * fix-new-legacy-handling:
      	* In ata_pci_init_legacy_port(), probe_num was incorrectly
                incremented during initialization of the secondary port and
                probe_ent->n_ports was incorrectly fixed to 1.
      
      	* Both legacy ports ended up having the same hard_port_no.
      
      	* When printing port information, both legacy ports printed
      	  the first irq.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      2ec7df04
    • Tejun Heo's avatar
      [PATCH] libata: implement per-dev xfermask · 37deecb5
      Tejun Heo authored
      Implement per-dev xfermask.  libata used to determine xfermask
      per-port - the fastest mode of the slowest device on the port.  This
      patch enables per-dev xfermask.
      
      Original patch is from Alan Cox <alan@redhat.com>.  The following
      changes are made by me.
      
      * simplex warning message is added
      * remove disabled device handling code which is never invoked
        (originally for choosing port-wide lowest PIO mode)
      
      Cc: Alan Cox <alan@redhat.com>
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      37deecb5
    • Jeff Garzik's avatar
      [PATCH] [libata] Kill 'count' var in ata_device_add() · 6d0500df
      Jeff Garzik authored
      Eliminate redundant loop variable 'count'
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      6d0500df
    • Jeff Garzik's avatar
      [PATCH] [libata] some function renaming · 996139f1
      Jeff Garzik authored
      s/ata_host_add/ata_port_add/
      s/ata_host_init/ata_port_init/
      
      libata naming got stuck in the middle of a Great Renaming:
      
      	ata_host -> ata_port
      	ata_host_set -> ata_host
      
      To eliminate confusion, let's just give up for now, and simply ensure
      that things are internally consistent.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      996139f1
    • Tejun Heo's avatar
      [PATCH] libata: update ata_host_init() and rename it to ata_port_init_shost() · 4608c160
      Tejun Heo authored
      Update ata_host_init() such that it only initializes SCSI host related
      stuff and doesn't call into ata_port_init(), and rename it to
      ata_port_init_shost().
      Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      4608c160
  2. 09 Aug, 2006 10 commits
  3. 07 Aug, 2006 1 commit
  4. 06 Aug, 2006 24 commits