- 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:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
// macros specifying the tracing level for individual components (0 is disabled)
|
// macros specifying the tracing level for individual components (0 is disabled)
|
||||||
|
|
||||||
|
#define AHCI_PORT_TRACING 0
|
||||||
#define BFS_TRACING 0
|
#define BFS_TRACING 0
|
||||||
#define BLOCK_CACHE_TRANSACTION_TRACING 0
|
#define BLOCK_CACHE_TRANSACTION_TRACING 0
|
||||||
#define BMESSAGE_TRACING 0
|
#define BMESSAGE_TRACING 0
|
||||||
@@ -36,7 +37,6 @@
|
|||||||
#define TEAM_TRACING 0
|
#define TEAM_TRACING 0
|
||||||
#define USER_MALLOC_TRACING 0
|
#define USER_MALLOC_TRACING 0
|
||||||
#define WAIT_FOR_OBJECTS_TRACING 0
|
#define WAIT_FOR_OBJECTS_TRACING 0
|
||||||
#define AHCI_PORT_TRACING 0
|
|
||||||
|
|
||||||
#endif // ENABLE_TRACING
|
#endif // ENABLE_TRACING
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ class AHCIPortTraceEntry : public AbstractTraceEntry {
|
|||||||
|
|
||||||
void AddDump(TraceOutput& out, const char* name)
|
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("controller: %p", fController);
|
||||||
out.Print(", index: %d", fIndex);
|
out.Print(", index: %d", fIndex);
|
||||||
}
|
}
|
||||||
@@ -60,9 +61,9 @@ class AHCIPortPrdTable : public AHCIPortTraceEntry {
|
|||||||
|
|
||||||
void AddDump(TraceOutput& out)
|
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);
|
out.Print(", size: %lu", fSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user