diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-25 19:25:43 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-03-25 19:25:43 +0000 |
commit | 3258c0fa3ec0f29c1f45e44841ea17b8f534de23 (patch) | |
tree | 30a4b3f5eef48f8c2875b27c584851ddd35be6c4 /misc/drivers/rtl8187x/rtl8187x.h | |
parent | 765959b0b3626c0487bb3d17e644846f6a835847 (diff) | |
download | nuttx-3258c0fa3ec0f29c1f45e44841ea17b8f534de23.tar.gz nuttx-3258c0fa3ec0f29c1f45e44841ea17b8f534de23.tar.bz2 nuttx-3258c0fa3ec0f29c1f45e44841ea17b8f534de23.zip |
Complete RTL8187 initializatin logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3417 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/drivers/rtl8187x/rtl8187x.h')
-rwxr-xr-x | misc/drivers/rtl8187x/rtl8187x.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/drivers/rtl8187x/rtl8187x.h b/misc/drivers/rtl8187x/rtl8187x.h index f8a75afec..fa76bfcc1 100755 --- a/misc/drivers/rtl8187x/rtl8187x.h +++ b/misc/drivers/rtl8187x/rtl8187x.h @@ -243,6 +243,24 @@ #define RTL8225_ANAPARAM_OFF 0xa00beb59 #define RTL8225_ANAPARAM2_OFF 0x840dec11 +/* Standard Helper Macros ***************************************************/ + +#ifndef ARRAY_SIZE +# define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) +#endif + +#ifndef MAX +# define MAX(a,b) (a > b ? a : b) +#endif + +#ifndef MIN +# define MIN(a,b) (a < b ? a : b) +#endif + +#ifndef NULL +# define NULL ((void*)0) +#endif + /**************************************************************************** * Type Definitions ****************************************************************************/ |