diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-12-11 20:24:42 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-12-11 20:24:42 +0000 |
commit | 503050b2a504ee3da8b9f39545ab7f0847328a89 (patch) | |
tree | 1a98051059dbb661539f188fe50c67108fe5d888 /drivers/dahdi/xpp/xdefs.h | |
parent | e1725069d22f67f074d21e34680e3dfa970e5528 (diff) |
Add a separate case for hotplug of kernels <= 2.6.9 .
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5498 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xdefs.h')
-rw-r--r-- | drivers/dahdi/xpp/xdefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xdefs.h b/drivers/dahdi/xpp/xdefs.h index 430f8ef..4bdcf8a 100644 --- a/drivers/dahdi/xpp/xdefs.h +++ b/drivers/dahdi/xpp/xdefs.h @@ -120,6 +120,9 @@ typedef unsigned char byte; #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) #define OLD_HOTPLUG_SUPPORT // for older kernels #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) +#define OLD_HOTPLUG_SUPPORT_269// for way older kernels +#endif #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14) #define DEVICE_ATTR_READER(name,dev,buf) \ |