summaryrefslogtreecommitdiff
path: root/drivers/scsi/libata-core.c
diff options
context:
space:
mode:
authorBorislav Petkov <bbpetkov@yahoo.de>2006-05-29 05:06:23 (GMT)
committerJeff Garzik <jeff@garzik.org>2006-05-29 05:06:23 (GMT)
commitef2824073fba9def3cf122e89cc485f66dd71f70 (patch)
tree4fc56ab1e96d81f8920d111d07640c3ad5a60670 /drivers/scsi/libata-core.c
parent89f8185e9b62f6478c2a39e117606eec70387d1d (diff)
downloadlinux-ef2824073fba9def3cf122e89cc485f66dd71f70.tar.xz
libata debugging: set initial dbg value
This patch sets the prerequisites for the new debugging scheme that more or less resembles Donald Becker's net driver example. This one liner doesn't change any functionality beside setting the appropriate debug level for the msg_enable control in the ata_port struct, which will be later used by the ata_msg_* macros to control the amount of debug information sent to printk. Signed-off-by: <petkov@uni-muenster.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/libata-core.c')
-rw-r--r--drivers/scsi/libata-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c
index abcf17e..11df827 100644
--- a/drivers/scsi/libata-core.c
+++ b/drivers/scsi/libata-core.c
@@ -5185,6 +5185,7 @@ static void ata_host_init(struct ata_port *ap, struct Scsi_Host *host,
ap->sata_spd_limit = UINT_MAX;
ap->active_tag = ATA_TAG_POISON;
ap->last_ctl = 0xFF;
+ ap->msg_enable = ATA_MSG_DRV;
INIT_WORK(&ap->port_task, NULL, NULL);
INIT_LIST_HEAD(&ap->eh_done_q);