Re: [PATCH 2/13] ATA ACPI: debugging infrastructure

From: Jeff Garzik
Date: Tue Feb 28 2006 - 06:58:00 EST


Pavel Machek wrote:
I hate to see debugging infrastructure like this. We already have it
in ACPI and it is nasty/useless. It hides serious errors during normal
run, while if you turn on the debugging, it floods logs so that
it is unusable, too. I end up having to replace dprintks with
printks... nasty.

Then you clearly don't understand what the code is doing. Fine-grained message selection allows one to turn on only the messages needed, and only for the controller desired. Otherwise, it is nearly impossible to debug one SATA controller while booting off another.

Jeff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/