summaryrefslogtreecommitdiffstats
path: root/drivers/staging/otus/wrap_mem.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez2010-10-02 01:16:34 +0200
committerGreg Kroah-Hartman2010-10-02 03:11:56 +0200
commitcff55f50b882b197a52c4cf0108a43c615d1fdba (patch)
tree549924b67a6353a33935185cb2cf5634715a90fd /drivers/staging/otus/wrap_mem.c
parentStaging: comedi: fix EXPORT SYMBOL coding style issue in ni_labpc.c (diff)
downloadkernel-qcow2-linux-cff55f50b882b197a52c4cf0108a43c615d1fdba.tar.gz
kernel-qcow2-linux-cff55f50b882b197a52c4cf0108a43c615d1fdba.tar.xz
kernel-qcow2-linux-cff55f50b882b197a52c4cf0108a43c615d1fdba.zip
staging: remove the Atheros otus vendor driver
Atheros originally had posted a vendor driver to support the Atheros AR9170 devices, the driver was called otus [1]. The otus driver was staging quality but it, along with other chipset documentation helped the community do a rewrite for a proper driver. Johannes Berg did the ar9170 [2] work and Christian Lamparter then followed up with some final touches for inclusion upstream. The original goal behind ar9170 was to match all functionality, performance, stability and quality against Otus. In the end this proved quite challenging even with GPLv2 firmware. Christian then decided to work on a replacement driver with new enhancements to the GPLv2 firmware. It took 1 year, 5 months, 9 days since this merge of ar9170usb upstream to release carl9170 with upstream inclusion intentions but its now there. We remove the Otus driver now as the carl9170 driver actually ends up not only replacing but superseding the staging Otus driver! http://wireless.kernel.org/en/users/Drivers/otus http://wireless.kernel.org/en/users/Drivers/ar9170 http://wireless.kernel.org/en/users/Drivers/carl9170 Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/otus/wrap_mem.c')
-rw-r--r--drivers/staging/otus/wrap_mem.c105
1 files changed, 0 insertions, 105 deletions
diff --git a/drivers/staging/otus/wrap_mem.c b/drivers/staging/otus/wrap_mem.c
deleted file mode 100644
index b0037568e870..000000000000
--- a/drivers/staging/otus/wrap_mem.c
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * Copyright (c) 2007-2008 Atheros Communications Inc.
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-/* Module Name : wrap_mem.c */
-/* */
-/* Abstract */
-/* This module contains wrapper functions for memory management */
-/* */
-/* NOTES */
-/* Platform dependent. */
-/* */
-/************************************************************************/
-
-#include "oal_dt.h"
-#include "usbdrv.h"
-
-#include <linux/netlink.h>
-#include <linux/slab.h>
-#include <net/iw_handler.h>
-
-/* Memory management */
-/* Called to allocate uncached memory, allocated memory must */
-/* in 4-byte boundary */
-void *zfwMemAllocate(zdev_t *dev, u32_t size)
-{
- void *mem = NULL;
- mem = kmalloc(size, GFP_ATOMIC);
- return mem;
-}
-
-
-/* Called to free allocated memory */
-void zfwMemFree(zdev_t *dev, void *mem, u32_t size)
-{
- kfree(mem);
- return;
-}
-
-void zfwMemoryCopy(u8_t *dst, u8_t *src, u16_t length)
-{
- /* u16_t i; */
-
- memcpy(dst, src, length);
- /*
- * for(i=0; i<length; i++)
- * {
- * dst[i] = src[i];
- * }
- */
- return;
-}
-
-void zfwZeroMemory(u8_t *va, u16_t length)
-{
- /* u16_t i; */
- memset(va, 0, length);
- /*
- * for(i=0; i<length; i++)
- * {
- * va[i] = 0;
- * }
- */
- return;
-}
-
-void zfwMemoryMove(u8_t *dst, u8_t *src, u16_t length)
-{
- memcpy(dst, src, length);
- return;
-}
-
-u8_t zfwMemoryIsEqual(u8_t *m1, u8_t *m2, u16_t length)
-{
- /* u16_t i; */
- int ret;
-
- ret = memcmp(m1, m2, length);
-
- return ((ret == 0) ? TRUE : FALSE);
- /*
- * for(i=0; i<length; i++)
- *{
- * if ( m1[i] != m2[i] )
- * {
- * return FALSE;
- * }
- *}
- *
- * return TRUE;
- */
-}
-
-/* Leave an empty line below to remove warning message on some compiler */