wdenk | 71fc6c5 | 2002-08-06 19:52:25 +0000 | [diff] [blame^] | 1 | |
| 2 | /******************************************************************************/ |
| 3 | /* */ |
| 4 | /* Broadcom BCM5700 Linux Network Driver, Copyright (c) 2000 Broadcom */ |
| 5 | /* Corporation. */ |
| 6 | /* All rights reserved. */ |
| 7 | /* */ |
| 8 | /* This program is free software; you can redistribute it and/or modify */ |
| 9 | /* it under the terms of the GNU General Public License as published by */ |
| 10 | /* the Free Software Foundation, located in the file LICENSE. */ |
| 11 | /* */ |
| 12 | /* History: */ |
| 13 | /* 02/25/00 Hav Khauv Initial version. */ |
| 14 | /******************************************************************************/ |
| 15 | |
| 16 | #ifndef BITS_H |
| 17 | #define BITS_H |
| 18 | |
| 19 | |
| 20 | |
| 21 | /******************************************************************************/ |
| 22 | /* Bit Mask definitions */ |
| 23 | /******************************************************************************/ |
| 24 | #define BIT_NONE 0x00 |
| 25 | #define BIT_0 0x01 |
| 26 | #define BIT_1 0x02 |
| 27 | #define BIT_2 0x04 |
| 28 | #define BIT_3 0x08 |
| 29 | #define BIT_4 0x10 |
| 30 | #define BIT_5 0x20 |
| 31 | #define BIT_6 0x40 |
| 32 | #define BIT_7 0x80 |
| 33 | #define BIT_8 0x0100 |
| 34 | #define BIT_9 0x0200 |
| 35 | #define BIT_10 0x0400 |
| 36 | #define BIT_11 0x0800 |
| 37 | #define BIT_12 0x1000 |
| 38 | #define BIT_13 0x2000 |
| 39 | #define BIT_14 0x4000 |
| 40 | #define BIT_15 0x8000 |
| 41 | #define BIT_16 0x010000 |
| 42 | #define BIT_17 0x020000 |
| 43 | #define BIT_18 0x040000 |
| 44 | #define BIT_19 0x080000 |
| 45 | #define BIT_20 0x100000 |
| 46 | #define BIT_21 0x200000 |
| 47 | #define BIT_22 0x400000 |
| 48 | #define BIT_23 0x800000 |
| 49 | #define BIT_24 0x01000000 |
| 50 | #define BIT_25 0x02000000 |
| 51 | #define BIT_26 0x04000000 |
| 52 | #define BIT_27 0x08000000 |
| 53 | #define BIT_28 0x10000000 |
| 54 | #define BIT_29 0x20000000 |
| 55 | #define BIT_30 0x40000000 |
| 56 | #define BIT_31 0x80000000 |
| 57 | |
| 58 | #endif /* BITS_H */ |
| 59 | |