1. 10 2月, 2007 2 次提交
  2. 27 1月, 2007 1 次提交
    • D
      Fix Maple PATA IRQ assignment. · 8cdf92a9
      David Woodhouse 提交于
      On the Maple board, the AMD8111 IDE is in legacy mode... except that it
      appears on IRQ 20 instead of IRQ 15. For drivers/ide this was handled by
      the architecture's "pci_get_legacy_ide_irq()" function, but in libata we
      just hard-code the numbers 14 and 15.
      
      This patch provides asm-powerpc/libata-portmap.h which maps the IRQ as
      appropriate, having added a pci_dev argument to the
      ATA_{PRIM,SECOND}ARY_IRQ macros.
      
      There's probably a better way to do this -- especially if we observe
      that the _only_ case in which this seemingly-generic
      "pci_get_legacy_ide_irq()" function returns anything other than 14 and
      15 for primary and secondary respectively is the case of the AMD8111 on
      the Maple board -- couldn't we handle that with a special case in the
      pata_amd driver, or perhaps with a PCI quirk for Maple to switch it into
      native mode during early boot and assign resources properly?
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      8cdf92a9
  3. 06 1月, 2007 1 次提交
  4. 16 12月, 2006 1 次提交
    • A
      [PATCH] Fix help text for CONFIG_ATA_PIIX · 2bfc3611
      Alan 提交于
      > Thanks for clarifying Bill, and sorry Alan. ata_piix does indeed work
      > correctly. The help text is a bit confusing:
      >
      > config ATA_PIIX
      >         tristate "Intel PIIX/ICH SATA support"
      >         depends on PCI
      >         help
      >           This option enables support for ICH5/6/7/8 Serial ATA.
      >           If PATA support was enabled previously, this enables
      >           support for select Intel PIIX/ICH PATA host controllers.
      
      New help text
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      2bfc3611
  5. 02 12月, 2006 4 次提交
  6. 22 10月, 2006 1 次提交
    • A
      [PATCH] ATA must depend on BLOCK · bf2d401b
      Adrian Bunk 提交于
      Fix the following compile error with CONFIG_ATA=y, CONFIG_BLOCK=n:
      
      ...
        CC      drivers/ata/libata-scsi.o
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c: In function ‘ata_scsi_dev_config’:
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:791: warning: implicit declaration of function ‘blk_queue_max_sectors’
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:799: error: ‘request_queue_t’ undeclared (first use in this function)
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:799: error: (Each undeclared identifier is reported only once
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:799: error: for each function it appears in.)
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:799: error: ‘q’ undeclared (first use in this function)
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:800: warning: implicit declaration of function ‘blk_queue_max_hw_segments’
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c: In function ‘ata_scsi_slave_config’:
      /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ata/libata-scsi.c:831:
      warning: implicit declaration of function ‘blk_queue_max_phys_segments’
      make[3]: *** [drivers/ata/libata-scsi.o] Error 1
      
      Bug report by Jesper Juhl.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Cc: Jeff Garzik <jeff@garzik.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      bf2d401b
  7. 27 9月, 2006 1 次提交
  8. 25 9月, 2006 2 次提交
  9. 21 9月, 2006 1 次提交
  10. 06 9月, 2006 1 次提交
  11. 30 8月, 2006 1 次提交
  12. 24 8月, 2006 1 次提交
  13. 15 8月, 2006 2 次提交
  14. 10 8月, 2006 1 次提交