Changeset c9b07e92 in rtems for c/src/libchip/network


Ignore:
Timestamp:
Mar 24, 1999, 10:49:17 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a432c4b7
Parents:
367cc5e
Message:

Automake II patch from Ralf Corsepius <corsepiu@…>:

With my most recent automake patch (automake II) we could even simplify more
files below make/, because the host-compiler related parts of those files
aren't used anymore :-.

Whatsoever, the patch below should fix this problem.

Note: This is a mere bug fix, it doesn't move any of the variables involved
to target.cfg nor does it try to eliminate any variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/network/sonic.h

    r367cc5e rc9b07e92  
    2828#ifndef _SONIC_DP83932_
    2929#define _SONIC_DP83932_
     30
     31
     32 /*
     33  * Debug levels
     34  *
     35  */
     36
     37#define SONIC_DEBUG_NONE                0x0000
     38#define SONIC_DEBUG_ALL                 0xFFFF
     39#define SONIC_DEBUG_PRINT_REGISTERS     0x0001
     40#define SONIC_DEBUG_MEMORY              0x0002
     41#define SONIC_DEBUG_MEMORY_ALLOCATE     0x0004
     42#define SONIC_DEBUG_MEMORY_DESCRIPTORS  0x0008
     43#define SONIC_DEBUG_FRAGMENTS           0x0008
     44#define SONIC_DEBUG_CAM                 0x0010
     45#define SONIC_DEBUG_DESCRIPTORS         0x0020
     46#define SONIC_DEBUG_ERRORS              0x0040
     47#define SONIC_DEBUG_DUMP_TX_MBUFS       0x0080
     48#define SONIC_DEBUG_DUMP_RX_MBUFS       0x0100
     49
     50#define SONIC_DEBUG_DUMP_MBUFS \
     51      (SONIC_DEBUG_DUMP_TX_MBUFS|SONIC_DEBUG_DUMP_RX_MBUFS)
     52
     53#define SONIC_DEBUG  (SONIC_DEBUG_NONE)
     54/*
     55#define SONIC_DEBUG  (SONIC_DEBUG_ERRORS | SONIC_DEBUG_PRINT_REGISTERS |\
     56      SONIC_DEBUG_DESCRIPTORS)
     57*/
     58
     59/*
     60  ((SONIC_DEBUG_ALL) & ~(SONIC_DEBUG_PRINT_REGISTERS|SONIC_DEBUG_DUMP_MBUFS))
     61  ((SONIC_DEBUG_ALL) & ~(SONIC_DEBUG_DUMP_MBUFS))
     62*/
     63
     64#if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS)
     65extern char SONIC_Reg_name[64][6];
     66#endif
     67
    3068
    3169/*
     
    235273#define DCR2_EXPO1      0x2000
    236274#define DCR2_EXPO0      0x1000
     275#define DCR2_HBDIS      0x0800
    237276#define DCR2_PH         0x0010
    238277#define DCR2_PCM        0x0004
     
    241280
    242281/*
    243  *  Known values for the Silicon Revision Register
     282 *  Known values for the Silicon Revision Register.
     283 *  Note that DP83934 has revision 5 and seems to work.
    244284 */
    245285
    246286#define SONIC_REVISION_B   4
     287#define SONIC_REVISION_DP83934   5
    247288#define SONIC_REVISION_C   6
    248289
     
    414455);
    415456
     457#ifdef CPU_U32_FIX
     458void ipalign(struct mbuf *m);
     459#endif
     460
    416461#endif /* _SONIC_DP83932_ */
Note: See TracChangeset for help on using the changeset viewer.