Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32145
b: refs/heads/master
c: 5afc814
h: refs/heads/master
i:
  32143: e0410f5
v: v3
  • Loading branch information
Borislav Petkov authored and Jeff Garzik committed Jul 6, 2006
1 parent 8dec231 commit b8dd6df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d2298dca9a2ec8a8ff23e251d8aaab00e9d229f9
refs/heads/master: 5afc81427f79193ed55edd7184ba2b6ce119a649
10 changes: 5 additions & 5 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ int ata_dev_configure(struct ata_device *dev, int print_info)
ata_dev_config_ncq(dev, ncq_desc, sizeof(ncq_desc));

/* print device info to dmesg */
if (ata_msg_info(ap))
if (ata_msg_drv(ap) && print_info)
ata_dev_printk(dev, KERN_INFO, "ATA-%d, "
"max %s, %Lu sectors: %s %s\n",
ata_id_major_version(id),
Expand All @@ -1440,7 +1440,7 @@ int ata_dev_configure(struct ata_device *dev, int print_info)
}

/* print device info to dmesg */
if (ata_msg_info(ap))
if (ata_msg_drv(ap) && print_info)
ata_dev_printk(dev, KERN_INFO, "ATA-%d, "
"max %s, %Lu sectors: CHS %u/%u/%u\n",
ata_id_major_version(id),
Expand All @@ -1452,7 +1452,7 @@ int ata_dev_configure(struct ata_device *dev, int print_info)

if (dev->id[59] & 0x100) {
dev->multi_count = dev->id[59] & 0xff;
if (ata_msg_info(ap))
if (ata_msg_drv(ap) && print_info)
ata_dev_printk(dev, KERN_INFO,
"ata%u: dev %u multi count %u\n",
ap->id, dev->devno, dev->multi_count);
Expand Down Expand Up @@ -1481,7 +1481,7 @@ int ata_dev_configure(struct ata_device *dev, int print_info)
}

/* print device info to dmesg */
if (ata_msg_info(ap))
if (ata_msg_drv(ap) && print_info)
ata_dev_printk(dev, KERN_INFO, "ATAPI, max %s%s\n",
ata_mode_string(xfer_mask),
cdb_intr_string);
Expand All @@ -1491,7 +1491,7 @@ int ata_dev_configure(struct ata_device *dev, int print_info)

/* limit bridge transfers to udma5, 200 sectors */
if (ata_dev_knobble(dev)) {
if (ata_msg_info(ap))
if (ata_msg_drv(ap) && print_info)
ata_dev_printk(dev, KERN_INFO,
"applying bridge limits\n");
dev->udma_mask &= ATA_UDMA5;
Expand Down

0 comments on commit b8dd6df

Please sign in to comment.