common_atheros_sdiostack_sample_fd.patch

来自「ar6k 的WIFI驱动」· PATCH 代码 · 共 66 行

PATCH
66
字号
 drivers/sdio/function/Kconfig                  |    5  drivers/sdio/function/Makefile                 |    1  drivers/sdio/function/sample/Makefile          |    5  drivers/sdio/function/sample/sample.c          | 1030 +++++++++++++++++++++++++ drivers/sdio/function/sample/sample.h          |   93 ++ drivers/sdio/function/sample/sample_app.h      |   71 + drivers/sdio/function/sample/sample_linux.h    |   69 + drivers/sdio/function/sample/sample_os.c       |  641 +++++++++++++++ drivers/sdio/function/sample/testapp/Makefile  |    4  drivers/sdio/function/sample/testapp/testcmd.c |  155 +++ 10 files changed, 2074 insertions(+)Index: linux-2.6.10/drivers/sdio/function/Kconfig===================================================================--- linux-2.6.10.orig/drivers/sdio/function/Kconfig+++ linux-2.6.10/drivers/sdio/function/Kconfig@@ -20,6 +20,11 @@ config SDIO_MEMORY        help 	good luck. +config SDIO_SAMPLE+       tristate "sample function driver for sdio"+       default m+       help+	good luck.   endmenuIndex: linux-2.6.10/drivers/sdio/function/sample/Makefile===================================================================--- /dev/null+++ linux-2.6.10/drivers/sdio/function/sample/Makefile@@ -0,0 +1,5 @@+#+# SDIO sample function driver+#+obj-m += sdio_sample_fd.o+sdio_sample_fd-objs := sample.o sample_os.oIndex: linux-2.6.10/drivers/sdio/function/sample/sample.c===================================================================--- /dev/null+++ linux-2.6.10/drivers/sdio/function/sample/sample.c@@ -0,0 +1,1030 @@+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@file: sample.c++@abstract: SDIO Sample Function driver++#notes: OS independent portions++@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.+ *+ *  Portions o this code were developed with information supplied from the+ *  SD Card Association Simplified Specifications. The following conditions and disclaimers may apply:+ *+ *   The following conditions apply to the release of the SD simplified specification (揝implified+ *   Specification

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?