diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-05-06 00:02:03 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-05-06 00:02:03 +0000 |
commit | dbae87e498cbaa5a00952eed2a8a2ee5588dfbfa (patch) | |
tree | 845661aa4ca59500f919fbf1e1262a31cf600cd9 /packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch | |
parent | f4b2e7107ea13b67d18e472e1479ed8c7b50dadc (diff) |
atmelwlandriver: move apparently unsupported package to non-working and close 919 as LATER.
Diffstat (limited to 'packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch')
-rw-r--r-- | packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch new file mode 100644 index 0000000000..96e2cd947f --- /dev/null +++ b/packages/nonworking/atmelwlandriver/atmelwlandriver-3.4.1.0/fix-kernel-version-test-for-hh.patch @@ -0,0 +1,21 @@ +diff -Nurd atmelwlandriver-3.4.1.0/src/usb/vnetusba.c atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c +--- atmelwlandriver-3.4.1.0/src/usb/vnetusba.c 2005-12-02 10:25:21.946561154 -0800 ++++ atmelwlandriver-3.4.1.0-hh/src/usb/vnetusba.c 2005-12-19 11:34:38.070346125 -0800 +@@ -72,7 +72,7 @@ + #endif + + struct usb_driver vnet_driver = { +-#if LINUX_VERSION_CODE < 0x020415 ++#if (LINUX_VERSION_CODE < 0x020415) && !defined(CONFIG_IPAQ_HANDHELD) + owner : THIS_MODULE, + #endif + #if defined(RFMD) +@@ -2174,7 +2174,7 @@ + return NULL; + } + */ +-#if (LINUX_VERSION_CODE < 0x020413) ++#if (LINUX_VERSION_CODE < 0x020413) && !defined(CONFIG_IPAQ_HANDHELD) + if (!register_netdev(Adapter->net)) { + err("register_netdev failed"); + #else |