Skip to content

Commit

Permalink
net: aquantia: Increment driver version
Browse files Browse the repository at this point in the history
Add a suffix to distinguish kernel mainline version and aquantia releases

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
cail authored and davem330 committed Dec 15, 2017
1 parent 98bc036 commit d4c242d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion drivers/net/ethernet/aquantia/atlantic/aq_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
#define AQ_CFG_DRV_VERSION __stringify(NIC_MAJOR_DRIVER_VERSION)"."\
__stringify(NIC_MINOR_DRIVER_VERSION)"."\
__stringify(NIC_BUILD_DRIVER_VERSION)"."\
__stringify(NIC_REVISION_DRIVER_VERSION)
__stringify(NIC_REVISION_DRIVER_VERSION) \
AQ_CFG_DRV_VERSION_SUFFIX

#endif /* AQ_CFG_H */
6 changes: 4 additions & 2 deletions drivers/net/ethernet/aquantia/atlantic/ver.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
#define VER_H

#define NIC_MAJOR_DRIVER_VERSION 1
#define NIC_MINOR_DRIVER_VERSION 5
#define NIC_BUILD_DRIVER_VERSION 345
#define NIC_MINOR_DRIVER_VERSION 6
#define NIC_BUILD_DRIVER_VERSION 13
#define NIC_REVISION_DRIVER_VERSION 0

#define AQ_CFG_DRV_VERSION_SUFFIX "-kern"

#endif /* VER_H */

0 comments on commit d4c242d

Please sign in to comment.