summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2010-10-08 18:30:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-11 13:08:26 +0200
commit0a3b6151512d3a8b34cc644157459654bd45fbb6 (patch)
tree8268f69fcec2004e4fb58419ed9870d8fb126844 /drivers
parent19b485abbea679fca5cdd3867fd7d78245676c3a (diff)
downloadbarebox-0a3b6151512d3a8b34cc644157459654bd45fbb6.tar.gz
barebox-0a3b6151512d3a8b34cc644157459654bd45fbb6.tar.xz
Make the disk driver less noisy
In real life this output is only a "nice to have", but most of the time its useless and confusing. So, make it a debug feature for the interested developer. Note: This is in preparation to add MCI card support, which mostly come with a partition table and can be handled like a disk drive. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/disk_drive.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/disk_drive.c b/drivers/ata/disk_drive.c
index 6d5c87a7ae..5b22e49974 100644
--- a/drivers/ata/disk_drive.c
+++ b/drivers/ata/disk_drive.c
@@ -105,7 +105,8 @@ static int disk_register_partitions(struct device_d *dev, struct partition_entry
if (table[part_order[i]].partition_size > 0x7fffff)
continue;
#endif
- dev_info(dev, "Registering partition %s to drive %s\n", partition_name, drive_name);
+ dev_dbg(dev, "Registering partition %s to drive %s\n",
+ partition_name, drive_name);
rc = devfs_add_partition(drive_name,
table[part_order[i]].partition_start * SECTOR_SIZE,
table[part_order[i]].partition_size * SECTOR_SIZE,