]> git.hungrycats.org Git - linux/commitdiff
[libata] minor stuff
authorJeff Garzik <jgarzik@redhat.com>
Sat, 15 May 2004 10:36:08 +0000 (06:36 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 15 May 2004 10:36:08 +0000 (06:36 -0400)
* now that ATAPI is close to working, making ATAPI DMA interrupts
  in ata_host_intr
* remove unnecessary space character in printk() output (oh, the horror)

drivers/scsi/libata-core.c

index 1a10b7713ba8c33ef47f6350bb141ecd7f82c3a9..14dee1c4361ef68995a0ad566aae18ee7bd2bdc7 100644 (file)
@@ -1155,7 +1155,7 @@ retry:
                ap->host->max_cmd_len = 16;
 
                /* print device info to dmesg */
-               printk(KERN_INFO "ata%u: dev %u ATA, max %s, %Lu sectors: %s\n",
+               printk(KERN_INFO "ata%u: dev %u ATA, max %s, %Lu sectors:%s\n",
                       ap->id, device,
                       ata_udma_string(udma_modes),
                       (unsigned long long)dev->n_sectors,
@@ -2660,6 +2660,7 @@ inline unsigned int ata_host_intr (struct ata_port *ap,
 
        switch (qc->tf.protocol) {
        case ATA_PROT_DMA:
+       case ATA_PROT_ATAPI_DMA:
                if (ap->flags & ATA_FLAG_MMIO) {
                        void *mmio = (void *) ap->ioaddr.bmdma_addr;
                        host_stat = readb(mmio + ATA_DMA_STATUS);