[U-Boot-Users] [RFD] Consistent debugging output structure

Vladimir Gurevich vag at paulidav.org
Sun Mar 23 01:51:19 CET 2003


Oops, sorry for the typo:

Vladimir Gurevich wrote:
> enum {
>     DEBUG_VAG01_INIT    = 0x00000001, /* Initialization sequence   */
>     DEBUG_VAG01_INTR    = 0x00000002, /* Interrupt handling        */
>     DEBUG_VAG01_API     = 0x00000004, /* Standard API calls (open, */
>                                       /* close, read, write, etc.  */
>     DEBUG_VAG01_RX      = 0x00000008, /* Receive data path         */
>     DEBUG_VAG01_TX      = 0x00000010, /* Transmit data path        */
>     DEBUG_VAG01_RX_DATA = 0x00000014, /* Dump received data        */
>     DEBUG_VAG01_TX_DATA = 0x00000018, /* Dumt transmit data        */
>     DEBUG_VAG01_RELOCK  = 0x00000020, /* Debug relock thread       */
> };

Should be

enum {
     DEBUG_VAG01_INIT    = 0x00000001, /* Initialization sequence   */
     DEBUG_VAG01_INTR    = 0x00000002, /* Interrupt handling        */
     DEBUG_VAG01_API     = 0x00000004, /* Standard API calls (open, */
                                       /* close, read, write, etc.  */
     DEBUG_VAG01_RX      = 0x00000008, /* Receive data path         */
     DEBUG_VAG01_TX      = 0x00000010, /* Transmit data path        */
     DEBUG_VAG01_RX_DATA = 0x00000020, /* Dump received data        */
     DEBUG_VAG01_TX_DATA = 0x00000040, /* Dump transmit data        */
     DEBUG_VAG01_RELOCK  = 0x00000080, /* Debug relock thread       */
};

Regards,
Vladimir





More information about the U-Boot mailing list