- Moved AHCI_PORT_TRACING define to its correct position.

- Prepend "ahci port" to all trace entries in ahci_port.cpp.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25293 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Bruno G. Albuquerque
2008-05-02 17:02:41 +00:00
parent 49e00d1f99
commit c1b9831bbe
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -18,6 +18,7 @@
// macros specifying the tracing level for individual components (0 is disabled)
#define AHCI_PORT_TRACING 0
#define BFS_TRACING 0
#define BLOCK_CACHE_TRANSACTION_TRACING 0
#define BMESSAGE_TRACING 0
@@ -36,7 +37,6 @@
#define TEAM_TRACING 0
#define USER_MALLOC_TRACING 0
#define WAIT_FOR_OBJECTS_TRACING 0
#define AHCI_PORT_TRACING 0
#endif // ENABLE_TRACING
@@ -37,7 +37,8 @@ class AHCIPortTraceEntry : public AbstractTraceEntry {
void AddDump(TraceOutput& out, const char* name)
{
out.Print(name);
out.Print("ahci port");
out.Print(" - %s - ", name);
out.Print("controller: %p", fController);
out.Print(", index: %d", fIndex);
}
@@ -60,9 +61,9 @@ class AHCIPortPrdTable : public AHCIPortTraceEntry {
void AddDump(TraceOutput& out)
{
AHCIPortTraceEntry::AddDump(out, " - prd table: ");
AHCIPortTraceEntry::AddDump(out, "prd table");
out.Print("address: %p", fAddress);
out.Print(", address: %p", fAddress);
out.Print(", size: %lu", fSize);
}