|
From: Anders J. <and...@us...> - 2001-07-31 09:04:14
|
The following files were modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
Config.in 1.18 1.19=20=20=20=20=20=20=20=20=20=20=20=20
Makefile 1.23 1.24=20=20=20=20=20=20=20=20=20=20=20=20
test.c 1.17 1.18=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Changed #INCLUDE_UNPLUG_TEST -> #CONFIG_BLUETOOTH_UNPLUG_TEST
The diff of the modified file(s):
--- Config.in 2001/07/30 16:54:06 1.18
+++ Config.in 2001/07/31 09:04:13 1.19
@@ -36,7 +36,7 @@
bool ' Allow connectionless L2CAP' CONFIG_BLUETOOTH_L2CAP_CONNECTIONLESS
bool ' Enable TCI' CONFIG_BLUETOOTH_USE_TCI
bool ' Enable M/S Switch' CONFIG_BLUETOOTH_ENABLE_MSSWITCH
- bool ' Enable Unplug Test Code' INCLUDE_UNPLUG_TEST
+ bool ' Enable Unplug Test Code' CONFIG_BLUETOOTH_UNPLUG_TEST
=20
if [ "$CONFIG_BLUETOOTH_ENABLE_MSSWITCH" =3D "y" ]; then
# CSR can't do scatternet yet, so we need to do M/S switch=20
--- Makefile 2001/07/30 15:45:28 1.23
+++ Makefile 2001/07/31 09:04:13 1.24
@@ -11,7 +11,7 @@
=20
# Uncomment this line to enable the unplugged testcases. If you
# don't know what this is just leave it commented.
-#INCLUDE_UNPLUG_TEST =3D 1
+INCLUDE_UNPLUG_TEST =3D 1
=20
ifeq ($(TOPDIR)/Rules.make,$(wildcard $(TOPDIR)/Rules.make))
=20
@@ -60,7 +60,7 @@
=20
ifdef INCLUDE_UNPLUG_TEST
OBJS +=3D unplug_test.o
-CFLAGS +=3D -DINCLUDE_UNPLUG_TEST
+CFLAGS +=3D -DCONFIG_BLUETOOTH_UNPLUG_TEST
endif
=20
all: $(O_TARGET)
--- test.c 2001/07/30 13:48:49 1.17
+++ test.c 2001/07/31 09:04:13 1.18
@@ -449,13 +449,7 @@
=20
void test_process_cmd(unsigned char *cmd, s32 size)
{
- /* FIXME: To allow the testcommand to be processed we need to=20
- link unplug_test.c with the code. This file is=20
- currently located in apps/bluetooth/userstack.
- Make a link in this directory to that file and
- include it in the build (add it to the Makefile)
- if you are going to use this feature. */
-#ifdef INCLUDE_UNPLUG_TEST=20
+#ifdef CONFIG_BLUETOOTH_UNPLUG_TEST=20
int testcase =3D my_atoi(cmd+2);
=20
if (testcase > 0)
|