?? common_atheros_sdiostack_benchmark.patch
字號:
drivers/sdio/function/Kconfig | 6 drivers/sdio/function/Makefile | 1 drivers/sdio/function/bench/Makefile | 14 drivers/sdio/function/bench/common/benchmark.c | 191 +++ drivers/sdio/function/bench/common/benchmark.h | 229 ++++ drivers/sdio/function/bench/common/benchmem.c | 397 +++++++ drivers/sdio/function/bench/common/benchmisc.c | 150 ++ drivers/sdio/function/bench/common/benchsandbox.c | 97 + drivers/sdio/function/bench/common/benchsdio.c | 960 +++++++++++++++++++ drivers/sdio/function/bench/emsdio/benchmark_ct.c | 941 ++++++++++++++++++ drivers/sdio/function/bench/emsdio/benchmark_ct.h | 93 + drivers/sdio/function/bench/emsdio/benchmark_linux.h | 64 + drivers/sdio/function/bench/emsdio/benchmark_os.c | 511 ++++++++++ 13 files changed, 3654 insertions(+)Index: linux-2.6.10/drivers/sdio/function/bench/Makefile===================================================================--- /dev/null+++ linux-2.6.10/drivers/sdio/function/bench/Makefile@@ -0,0 +1,14 @@+#+# SDIO benchmarking modules+#+EXTRA_CFLAGS += -DUSE_64_BIT_DO_DIV++obj-m += sdio_bench_fd.o++sdio_bench_fd-objs := common/benchmark.o \+ common/benchmem.o \+ common/benchsdio.o \+ common/benchsandbox.o \+ common/benchmisc.o \+ emsdio/benchmark_ct.o \+ emsdio/benchmark_os.oIndex: linux-2.6.10/drivers/sdio/function/bench/common/benchmark.c===================================================================--- /dev/null+++ linux-2.6.10/drivers/sdio/function/bench/common/benchmark.c@@ -0,0 +1,191 @@+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++@file: benchmark.c++@abstract: SD Bus BenchMarking functions++#notes: OS independent portions++@notice: Copyright (c), 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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -