[s3c24xx] bump to 2.6.30-rc6
[openwrt/svn-archive/archive.git] / target / linux / s3c24xx / files-2.6.30 / drivers / ar6000 / include / AR6K_version.h
1 #define __VER_MAJOR_ 2
2 #define __VER_MINOR_ 0
3 #define __VER_PATCH_ 0
4
5
6 /*
7 * Copyright (c) 2004-2007 Atheros Communications Inc.
8 * All rights reserved.
9 *
10 * $ATH_LICENSE_HOSTSDK0_C$
11 *
12 * The makear6ksdk script (used for release builds) modifies the following line.
13 */
14 #define __BUILD_NUMBER_ 18
15
16
17 /* Format of the version number. */
18 #define VER_MAJOR_BIT_OFFSET 28
19 #define VER_MINOR_BIT_OFFSET 24
20 #define VER_PATCH_BIT_OFFSET 16
21 #define VER_BUILD_NUM_BIT_OFFSET 0
22
23
24 /*
25 * The version has the following format:
26 * Bits 28-31: Major version
27 * Bits 24-27: Minor version
28 * Bits 16-23: Patch version
29 * Bits 0-15: Build number (automatically generated during build process )
30 * E.g. Build 1.1.3.7 would be represented as 0x11030007.
31 *
32 * DO NOT split the following macro into multiple lines as this may confuse the build scripts.
33 */
34 #define AR6K_SW_VERSION ( ( __VER_MAJOR_ << VER_MAJOR_BIT_OFFSET ) + ( __VER_MINOR_ << VER_MINOR_BIT_OFFSET ) + ( __VER_PATCH_ << VER_PATCH_BIT_OFFSET ) + ( __BUILD_NUMBER_ << VER_BUILD_NUM_BIT_OFFSET ) )
35
36