summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/hif/hif_internal.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-12-18 17:54:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-12-18 17:54:02 +0000
commitb86e82e5cc54f03f9207411197e15f431d2173ff (patch)
tree4dd3c3dbab10b500f140c685de43ee19057b2d5f /target/linux/s3c24xx/files-2.6.30/drivers/ar6000/hif/hif_internal.h
parentdb831511d2091907eef52519ebcc47f54cfd6d33 (diff)
downloadmtk-20170518-b86e82e5cc54f03f9207411197e15f431d2173ff.zip
mtk-20170518-b86e82e5cc54f03f9207411197e15f431d2173ff.tar.gz
mtk-20170518-b86e82e5cc54f03f9207411197e15f431d2173ff.tar.bz2
s3c2442: R.I.P.
It is broken and it is not maintained by anyone since long time. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34767
Diffstat (limited to 'target/linux/s3c24xx/files-2.6.30/drivers/ar6000/hif/hif_internal.h')
-rw-r--r--target/linux/s3c24xx/files-2.6.30/drivers/ar6000/hif/hif_internal.h102
1 files changed, 0 insertions, 102 deletions
diff --git a/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/hif/hif_internal.h b/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/hif/hif_internal.h
deleted file mode 100644
index d8fc101..0000000
--- a/target/linux/s3c24xx/files-2.6.30/drivers/ar6000/hif/hif_internal.h
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * @file: hif_internal.h
- *
- * @abstract: internal header file for hif layer
- *
- * @notice: Copyright (c) 2004-2006 Atheros Communications Inc.
- *
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation;
- *
- * Software distributed under the License is distributed on an "AS
- * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- * implied. See the License for the specific language governing
- * rights and limitations under the License.
- *
- *
- *
- */
-
-#include <linux/sdio/ctsystem.h>
-#include <linux/sdio/sdio_busdriver.h>
-#include <linux/sdio/_sdio_defs.h>
-#include <linux/sdio/sdio_lib.h>
-#include "a_config.h"
-#include "athdefs.h"
-#include "a_types.h"
-#include "a_osapi.h"
-#include "hif.h"
-
-#define MANUFACTURER_ID_AR6001_BASE 0x100
-#define MANUFACTURER_ID_AR6002_BASE 0x200
-#define FUNCTION_CLASS 0x0
-#define MANUFACTURER_CODE 0x271
-
-#define BUS_REQUEST_MAX_NUM 64
-
-#define SDIO_CLOCK_FREQUENCY_DEFAULT 25000000
-#define SDWLAN_ENABLE_DISABLE_TIMEOUT 20
-#define FLAGS_CARD_ENAB 0x02
-#define FLAGS_CARD_IRQ_UNMSK 0x04
-
-#define HIF_MBOX_BLOCK_SIZE 128
-#define HIF_MBOX_BASE_ADDR 0x800
-#define HIF_MBOX_WIDTH 0x800
-#define HIF_MBOX0_BLOCK_SIZE 1
-#define HIF_MBOX1_BLOCK_SIZE HIF_MBOX_BLOCK_SIZE
-#define HIF_MBOX2_BLOCK_SIZE HIF_MBOX_BLOCK_SIZE
-#define HIF_MBOX3_BLOCK_SIZE HIF_MBOX_BLOCK_SIZE
-
-#define HIF_MBOX_START_ADDR(mbox) \
- HIF_MBOX_BASE_ADDR + mbox * HIF_MBOX_WIDTH
-
-#define HIF_MBOX_END_ADDR(mbox) \
- HIF_MBOX_START_ADDR(mbox) + HIF_MBOX_WIDTH - 1
-
-struct hif_device {
- SDDEVICE *handle;
- void *htc_handle;
- OSKERNEL_HELPER insert_helper;
- BOOL helper_started;
-};
-
-typedef struct target_function_context {
- SDFUNCTION function; /* function description of the bus driver */
- OS_SEMAPHORE instanceSem; /* instance lock. Unused */
- SDLIST instanceList; /* list of instances. Unused */
-} TARGET_FUNCTION_CONTEXT;
-
-typedef struct bus_request {
- struct bus_request *next;
- SDREQUEST *request;
- void *context;
-} BUS_REQUEST;
-
-BOOL
-hifDeviceInserted(SDFUNCTION *function, SDDEVICE *device);
-
-void
-hifDeviceRemoved(SDFUNCTION *function, SDDEVICE *device);
-
-SDREQUEST *
-hifAllocateDeviceRequest(SDDEVICE *device);
-
-void
-hifFreeDeviceRequest(SDREQUEST *request);
-
-void
-hifRWCompletionHandler(SDREQUEST *request);
-
-void
-hifIRQHandler(void *context);
-
-HIF_DEVICE *
-addHifDevice(SDDEVICE *handle);
-
-HIF_DEVICE *
-getHifDevice(SDDEVICE *handle);
-
-void
-delHifDevice(SDDEVICE *handle);