|
From: Peter K. <pk...@us...> - 2001-10-30 15:04:53
|
The following files were modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
Config.in 1.19 1.20=20=20=20=20=20=20=20=20=20=20=20=20
bluetooth.c 1.208 1.209=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Define and use CONFIG_BLUETOOTH_RESET_ACTIVE_HIGH to decide whether
the reset pin is active high or low.
The diff of the modified file(s):
--- Config.in 2001/07/31 09:04:13 1.19
+++ Config.in 2001/10/30 15:04:52 1.20
@@ -52,6 +52,12 @@
Port_PB_Bit_5 CONFIG_BLUETOOTH_RESET_PB5 \
Port_G_Bit_10 CONFIG_BLUETOOTH_RESET_G10 \
Port_G_Bit_11 CONFIG_BLUETOOTH_RESET_G11" None
+
+ if [ "$CONFIG_BLUETOOTH_RESET_NONE" !=3D "y" -a "$CONFIG_BLUETOOTH_CSR" =
=3D "y" ]; then
+ define_bool CONFIG_BLUETOOTH_RESET_ACTIVE_HIGH y
+ else
+ define_bool CONFIG_BLUETOOTH_RESET_ACTIVE_HIGH n
+ fi
fi
=20
endmenu
--- bluetooth.c 2001/10/22 12:49:20 1.208
+++ bluetooth.c 2001/10/30 15:04:52 1.209
@@ -1391,7 +1391,7 @@
void bt_reset_phys_hw(void)
{
#ifdef __CRIS__
-#ifdef CONFIG_BLUETOOTH_CSR
+#ifdef CONFIG_BLUETOOTH_RESET_ACTIVE_HIGH
int do_reset =3D 1;
#else
int do_reset =3D 0;
|