summaryrefslogtreecommitdiff
path: root/drivers/net/bcm570x_bits.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-11-26 19:15:04 +0100
committerWolfgang Denk <wd@denx.de>2007-11-26 19:15:04 +0100
commitfe08fb658008cd4be54758faa5d382a2b3b1f86a (patch)
treea932a892ff4702d91d51ea13cf81be4e4f6c9d27 /drivers/net/bcm570x_bits.h
parentcfa4c9d8996d5949f615553c220a06c9fe6395cc (diff)
parent87ddedd6ad804427ce125ceaa076d7a4f74e9d5d (diff)
downloadu-boot-imx-fe08fb658008cd4be54758faa5d382a2b3b1f86a.zip
u-boot-imx-fe08fb658008cd4be54758faa5d382a2b3b1f86a.tar.gz
u-boot-imx-fe08fb658008cd4be54758faa5d382a2b3b1f86a.tar.bz2
Merge commit '87ddedd'
Diffstat (limited to 'drivers/net/bcm570x_bits.h')
-rw-r--r--drivers/net/bcm570x_bits.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/drivers/net/bcm570x_bits.h b/drivers/net/bcm570x_bits.h
new file mode 100644
index 0000000..615d61e
--- /dev/null
+++ b/drivers/net/bcm570x_bits.h
@@ -0,0 +1,57 @@
+
+/******************************************************************************/
+/* */
+/* Broadcom BCM5700 Linux Network Driver, Copyright (c) 2000 Broadcom */
+/* Corporation. */
+/* All rights reserved. */
+/* */
+/* This program is free software; you can redistribute it and/or modify */
+/* it under the terms of the GNU General Public License as published by */
+/* the Free Software Foundation, located in the file LICENSE. */
+/* */
+/* History: */
+/* 02/25/00 Hav Khauv Initial version. */
+/******************************************************************************/
+
+#ifndef BITS_H
+#define BITS_H
+
+
+/******************************************************************************/
+/* Bit Mask definitions */
+/******************************************************************************/
+#define BIT_NONE 0x00
+#define BIT_0 0x01
+#define BIT_1 0x02
+#define BIT_2 0x04
+#define BIT_3 0x08
+#define BIT_4 0x10
+#define BIT_5 0x20
+#define BIT_6 0x40
+#define BIT_7 0x80
+#define BIT_8 0x0100
+#define BIT_9 0x0200
+#define BIT_10 0x0400
+#define BIT_11 0x0800
+#define BIT_12 0x1000
+#define BIT_13 0x2000
+#define BIT_14 0x4000
+#define BIT_15 0x8000
+#define BIT_16 0x010000
+#define BIT_17 0x020000
+#define BIT_18 0x040000
+#define BIT_19 0x080000
+#define BIT_20 0x100000
+#define BIT_21 0x200000
+#define BIT_22 0x400000
+#define BIT_23 0x800000
+#define BIT_24 0x01000000
+#define BIT_25 0x02000000
+#define BIT_26 0x04000000
+#define BIT_27 0x08000000
+#define BIT_28 0x10000000
+#define BIT_29 0x20000000
+#define BIT_30 0x40000000
+#define BIT_31 0x80000000
+
+#endif /* BITS_H */