diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-17 22:45:58 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-17 22:45:58 +0000 |
commit | 4f2090ad48927532f42272c92c874cc370fc349b (patch) | |
tree | 405d52924fbc92967e8681bcca5e9c17d35aab8c /package/sierra-directip/patches | |
parent | 7e317f44dfece68398538581f41ddf7f7d4f14b1 (diff) |
[kernel] move lots of kernel related packages to the new system/ folder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33830 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/sierra-directip/patches')
-rw-r--r-- | package/sierra-directip/patches/100-sierra_net_endian.patch | 22 | ||||
-rw-r--r-- | package/sierra-directip/patches/110-drop_dhcp_requirement.patch | 14 |
2 files changed, 0 insertions, 36 deletions
diff --git a/package/sierra-directip/patches/100-sierra_net_endian.patch b/package/sierra-directip/patches/100-sierra_net_endian.patch deleted file mode 100644 index 196d77d49..000000000 --- a/package/sierra-directip/patches/100-sierra_net_endian.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/sierra_net.c -+++ b/sierra_net.c -@@ -840,8 +840,8 @@ static int sierra_net_bind(struct usbnet - init_timer(&priv->sync_timer); - /* verify fw attributes */ - status = sierra_net_get_fw_attr(dev, &fwattr); -- dev_dbg(&dev->udev->dev, "Fw attr: %x\n", fwattr); -- if (status == sizeof(fwattr) && (fwattr & SWI_GET_FW_ATTR_APM)) { -+ dev_dbg(&dev->udev->dev, "Fw attr: %x\n", cpu_to_le16(fwattr)); -+ if (status == sizeof(fwattr) && (cpu_to_le16(fwattr) & SWI_GET_FW_ATTR_APM)) { - /******************************************************************************* - * If you want the default /sys/bus/usb/devices/.../.../power/level to be forced - * to auto, the following needs to be compiled in. -@@ -856,7 +856,7 @@ static int sierra_net_bind(struct usbnet - usb_disable_autosuspend(dev->udev); - } - /* test whether firmware supports DHCP */ -- if (!(status == sizeof(fwattr) && (fwattr & SWI_GET_FW_ATTR_MASK))) { -+ if (!(status == sizeof(fwattr) && (cpu_to_le16(fwattr) & SWI_GET_FW_ATTR_MASK))) { - /* found incompatible firmware version */ - dev_err(&dev->udev->dev, "Incompatible driver and firmware" - " versions\n"); diff --git a/package/sierra-directip/patches/110-drop_dhcp_requirement.patch b/package/sierra-directip/patches/110-drop_dhcp_requirement.patch deleted file mode 100644 index 4c4d0ba65..000000000 --- a/package/sierra-directip/patches/110-drop_dhcp_requirement.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/sierra_net.c -+++ b/sierra_net.c -@@ -858,10 +858,7 @@ static int sierra_net_bind(struct usbnet - /* test whether firmware supports DHCP */ - if (!(status == sizeof(fwattr) && (cpu_to_le16(fwattr) & SWI_GET_FW_ATTR_MASK))) { - /* found incompatible firmware version */ -- dev_err(&dev->udev->dev, "Incompatible driver and firmware" -- " versions\n"); -- kfree(priv); -- return -ENODEV; -+ dev_err(&dev->udev->dev, "Warning: Firmware does not have DHCP support\n"); - } - /* prepare sync message from template */ - memcpy(priv->sync_msg, sync_tmplate, sizeof(priv->sync_msg)); |