Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21908
b: refs/heads/master
c: c39f5eb
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Mar 17, 2006
1 parent 09006a2 commit e88132c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 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: 1148c3a78aa9f1e84229cd17f94fd38a15ca65bd
refs/heads/master: c39f5ebe0a542caab30c88e60623709c7bc6fe30
13 changes: 7 additions & 6 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1120,12 +1120,6 @@ static int ata_dev_read_id(struct ata_port *ap, struct ata_device *dev,

swap_buf_le16(id, ATA_ID_WORDS);

/* print device capabilities */
printk(KERN_DEBUG "ata%u: dev %u cfg "
"49:%04x 82:%04x 83:%04x 84:%04x 85:%04x 86:%04x 87:%04x 88:%04x\n",
ap->id, dev->devno,
id[49], id[82], id[83], id[84], id[85], id[86], id[87], id[88]);

/* sanity check */
if ((class == ATA_DEV_ATA) != ata_id_is_ata(id)) {
rc = -EINVAL;
Expand Down Expand Up @@ -1205,6 +1199,13 @@ static int ata_dev_configure(struct ata_port *ap, struct ata_device *dev,

DPRINTK("ENTER, host %u, dev %u\n", ap->id, dev->devno);

/* print device capabilities */
if (print_info)
printk(KERN_DEBUG "ata%u: dev %u cfg 49:%04x 82:%04x 83:%04x "
"84:%04x 85:%04x 86:%04x 87:%04x 88:%04x\n",
ap->id, dev->devno, id[49], id[82], id[83],
id[84], id[85], id[86], id[87], id[88]);

/* initialize to-be-configured parameters */
dev->flags = 0;
dev->max_sectors = 0;
Expand Down

0 comments on commit e88132c

Please sign in to comment.