diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-17 15:11:43 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-17 15:11:43 +0000 |
commit | 729e3e48e69b8d32b194babdb0b0a6af21e56ea4 (patch) | |
tree | aac1dd24e7cf8f08a119d7d04a2815b6a76f4cb1 /package/system/sierra-directip/patches/100-sierra_net_endian.patch | |
parent | 9d5658343af4a7bd990a70196a26b7e0fddaca1d (diff) |
sierra-directip: delete, replaced by upstream drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34738 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/system/sierra-directip/patches/100-sierra_net_endian.patch')
-rw-r--r-- | package/system/sierra-directip/patches/100-sierra_net_endian.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/package/system/sierra-directip/patches/100-sierra_net_endian.patch b/package/system/sierra-directip/patches/100-sierra_net_endian.patch deleted file mode 100644 index 196d77d49..000000000 --- a/package/system/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"); |