You can subscribe to this list here.
2001 |
Jan
|
Feb
(44) |
Mar
(202) |
Apr
(134) |
May
(89) |
Jun
(94) |
Jul
(58) |
Aug
(58) |
Sep
(56) |
Oct
(75) |
Nov
(26) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(24) |
Feb
(30) |
Mar
(15) |
Apr
(49) |
May
(12) |
Jun
(6) |
Jul
(11) |
Aug
(20) |
Sep
(19) |
Oct
(3) |
Nov
(13) |
Dec
(1) |
2003 |
Jan
(7) |
Feb
(4) |
Mar
(7) |
Apr
(5) |
May
(6) |
Jun
(3) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(51) |
Dec
(1) |
2004 |
Jan
(11) |
Feb
(5) |
Mar
|
Apr
(5) |
May
(2) |
Jun
|
Jul
(21) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Alain P. <apa...@us...> - 2002-04-22 14:22:55
|
The following file was modified in apps/bluetooth/experimental: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- btinit.c 1.17 1.18=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added option -D that allow to use RTS to reset a module if you don't use fl= ow control. The diff of the modified file(s): --- btinit.c 16 Oct 2001 15:02:20 -0000 1.17 +++ btinit.c 22 Apr 2002 14:22:53 -0000 1.18 @@ -140,11 +140,34 @@ static void sighandler(int sig); =20 =20 +void unreset_force_rts() +{ + int iosettings; + + /* Normally, the RTS should be LOW after having opened the serial port */ + /* Wait 200 ms to be sure to have a valid reset */ + + usleep(200000); + if (ioctl (phys_fd, TIOCMGET, &iosettings) !=3D 0) { + fprintf(stderr, "btinit : Error for ioctl TIOCMGET\n"); + } + iosettings &=3D ~TIOCM_RTS; + if (ioctl (phys_fd, TIOCMSET, &iosettings) !=3D 0) { + fprintf(stderr, "btinit : Error for ioctl TIOCMSET\n"); + } + D(syslogprintf("btinit : RTS set to HIGH\n")); + sleep(2); /* Wait that module boot. 1 second is too short */ + +} + + + int main(int argc, char **argv) {=20=20 int opt; int bt_disc =3D N_BT; + volatile int rts_hard_reset =3D 0; =20 syslog(LOG_INFO, "Bluetooth daemon starting"); =20 @@ -155,7 +178,7 @@ } =20 /* now parse options */ - while ((opt =3D getopt_long(argc, argv, "fi:nRs:u:", + while ((opt =3D getopt_long(argc, argv, "fi:nRs:u:D", long_options, &option_index)) !=3D -1) { switch(opt) @@ -196,11 +219,24 @@ physdev =3D optarg; break; =20 + case 'D': + /* If called with -f option, set RTS to 1 after the port has been op= ened */ + /* It's usefull if you command a reset by the RTS pin */ + D(syslog(LOG_INFO, "Use RTS for hard reset", optarg)); + rts_hard_reset =3D 1; default: break; } } =20 + /* Verify that options if we have -D option, we have -f too */ + if (rts_hard_reset & !(flow_control =3D=3D USE_NO_FLOW)) + { + fprintf(stderr, "You can't use -D option without -f option.\n"); + fprintf(stderr, "bti won't care about -D option\n"); + rts_hard_reset =3D 0; + } +=09 /* Set restart point */ if (sigsetjmp(jmpbuffer, 1) !=3D 0) { @@ -228,6 +264,10 @@ =20=20=20 bt_cfd =3D bt_openctrl(); =20 + /* Use RTS to reset/unreset the card (only if option selected) */ + if (rts_hard_reset) + unreset_force_rts(); +=20=20 tcflush(phys_fd, TCIOFLUSH); =20 /* Hardreset of BT hardware */ |
From: Alain P. <apa...@us...> - 2002-04-22 14:19:19
|
The following file was modified in apps/bluetooth/experimental: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- README.txt 1.3 1.4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added info for the -f option of bti. The diff of the modified file(s): --- README.txt 5 Nov 2001 13:24:02 -0000 1.3 +++ README.txt 22 Apr 2002 14:18:46 -0000 1.4 @@ -50,6 +50,9 @@ sets uart speed 9600, 19200, 38400, 57600, 115200, 230400, 460800 default: 115200 baud=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 +=09 + -f, --noflow + Don't use RTS and CTS signals when communicating with the module through = UART =20=20=20 e.g ./bti --reset --speed 460800 --physdev /dev/ttyS0 --local-name OpenBT |
From: Fredrik S. <fre...@us...> - 2002-04-15 12:17:07
|
The following file was modified in apps/bluetooth/pan: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- README 1.1 Added The accompanying log: README for PAN profile support. |
From: Fredrik S. <fre...@us...> - 2002-04-15 11:38:07
|
The following files were modified in apps/bluetooth/pan: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- .cvsignore 1.1 Added Makefile 1.1 Added bnep.c 1.1 Added rc.bridge 1.1 Added sdp_pan.xml 1.1 Added sdp_pan_gn.xml 1.1 Added The accompanying log: PAN support. |
From: Willy S. <sag...@us...> - 2002-04-11 16:14:53
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- rfcomm_sec.c 1.9 1.10=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added version ifdef for malloc.h/slab.h The diff of the modified file(s): --- rfcomm_sec.c 10 Sep 2001 15:32:55 -0000 1.9 +++ rfcomm_sec.c 11 Apr 2002 11:49:49 -0000 1.10 @@ -45,7 +45,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/bluetooth/bluetooth.h> #include <linux/bluetooth/l2cap.h> #include <linux/bluetooth/rfcomm.h> |
From: Willy S. <sag...@us...> - 2002-04-11 14:36:54
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- sec_client.c 1.23 1.24=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- sec_client.c 28 Feb 2002 20:12:15 -0000 1.23 +++ sec_client.c 11 Apr 2002 11:52:14 -0000 1.24 @@ -44,8 +44,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> - +#endif #include <linux/bluetooth/sec_client.h> #include <linux/bluetooth/l2cap_sec.h> #include <linux/bluetooth/rfcomm_sec.h> |
From: Willy S. <sag...@us...> - 2002-04-11 14:36:50
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- sdp.c 1.87 1.88=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- sdp.c 7 Mar 2002 21:32:29 -0000 1.87 +++ sdp.c 11 Apr 2002 11:48:44 -0000 1.88 @@ -45,7 +45,11 @@ =20 #ifdef __KERNEL__ #include <linux/bluetooth/sysdep-2.1.h> +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/bluetooth/btcommon.h> #include <linux/bluetooth/sdp.h> #include <linux/bluetooth/l2cap.h> |
From: Willy S. <sag...@us...> - 2002-04-11 14:36:50
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- test.c 1.34 1.35=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- test.c 7 Mar 2002 21:32:28 -0000 1.34 +++ test.c 11 Apr 2002 11:51:29 -0000 1.35 @@ -44,7 +44,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/interrupt.h> =20 #include <linux/bluetooth/test.h> |
From: Willy S. <sag...@us...> - 2002-04-11 14:36:28
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- tcs.c 1.15 1.16=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- tcs.c 30 Mar 2001 12:08:45 -0000 1.15 +++ tcs.c 11 Apr 2002 11:50:46 -0000 1.16 @@ -45,7 +45,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/bluetooth/btdebug.h> #include <linux/bluetooth/btcommon.h> #include <linux/bluetooth/btmem.h> |
From: Willy S. <sag...@us...> - 2002-04-11 14:36:27
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bnep_test.c 1.2 1.3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Changed malloc.h -> slab.h The diff of the modified file(s): --- bnep_test.c 29 Jan 2002 09:00:37 -0000 1.2 +++ bnep_test.c 11 Apr 2002 11:54:13 -0000 1.3 @@ -58,7 +58,7 @@ #include <linux/ioctl.h> #include <linux/config.h> #include <linux/module.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/skbuff.h> |
From: Willy S. <sag...@us...> - 2002-04-11 14:31:54
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bnep_status_proc.c 1.1 1.2=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 The accompanying log: Changed malloc.h -> slab.h The diff of the modified file(s): --- bnep_status_proc.c 24 Jan 2002 16:08:47 -0000 1.1 +++ bnep_status_proc.c 11 Apr 2002 11:54:44 -0000 1.2 @@ -58,7 +58,7 @@ #include <linux/ioctl.h> #include <linux/config.h> #include <linux/module.h> -#include <linux/malloc.h> +#include <linux/slab.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/skbuff.h> |
From: Willy S. <sag...@us...> - 2002-04-11 14:31:13
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- unplug_test.c 1.10 1.11=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added version ifdef for malloc.h/slab.h The diff of the modified file(s): --- unplug_test.c 7 Mar 2002 21:32:28 -0000 1.10 +++ unplug_test.c 11 Apr 2002 11:53:22 -0000 1.11 @@ -43,8 +43,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> - +#endif #include <linux/bluetooth/hci.h> #include <linux/bluetooth/l2cap_con.h> #include <linux/bluetooth/sdp.h> |
From: Willy S. <sag...@us...> - 2002-04-11 10:30:53
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bt_proc.c 1.21 1.22=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- bt_proc.c 17 Apr 2001 16:05:11 -0000 1.21 +++ bt_proc.c 11 Apr 2002 10:14:04 -0000 1.22 @@ -47,7 +47,11 @@ #include <linux/module.h> #include <linux/types.h> #include <linux/errno.h> +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/fs.h> #include <linux/locks.h> #include <linux/sched.h> |
From: Willy S. <sag...@us...> - 2002-04-11 10:30:52
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- hci_vendor.c 1.62 1.63=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- hci_vendor.c 28 Feb 2002 20:12:15 -0000 1.62 +++ hci_vendor.c 11 Apr 2002 10:16:48 -0000 1.63 @@ -46,7 +46,11 @@ #ifdef __KERNEL__ #include <linux/config.h> #include <linux/bluetooth/sysdep-2.1.h> +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/timer.h> #include <linux/bluetooth/hci.h> #include <linux/bluetooth/hci_internal.h> |
From: Willy S. <sag...@us...> - 2002-04-11 10:30:51
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- l2cap_con.c 1.12 1.13=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- l2cap_con.c 22 Nov 2001 14:04:00 -0000 1.12 +++ l2cap_con.c 11 Apr 2002 10:18:19 -0000 1.13 @@ -45,8 +45,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> - +#endif #include <linux/bluetooth/l2cap.h> #include <linux/bluetooth/l2cap_con.h> #include <linux/bluetooth/l2cap_internal.h> |
From: Willy S. <sag...@us...> - 2002-04-11 10:30:51
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- l2cap.c 1.132 1.133=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- l2cap.c 1 Mar 2002 13:30:27 -0000 1.132 +++ l2cap.c 11 Apr 2002 10:17:38 -0000 1.133 @@ -47,7 +47,11 @@ #ifdef __KERNEL__ #include <linux/config.h> #include <linux/bluetooth/sysdep-2.1.h> +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/bluetooth/l2cap.h> #include <linux/bluetooth/hci.h> #include <linux/bluetooth/hci_internal.h> |
From: Willy S. <sag...@us...> - 2002-04-11 10:30:45
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- btmem.c 1.48 1.49=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- btmem.c 6 Feb 2002 11:23:15 -0000 1.48 +++ btmem.c 11 Apr 2002 10:15:01 -0000 1.49 @@ -44,7 +44,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/bluetooth/btmem.h> #else #include <stdlib.h> |
From: Willy S. <sag...@us...> - 2002-04-11 10:30:45
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- hci_sec.c 1.2 1.3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- hci_sec.c 28 Feb 2002 20:12:15 -0000 1.2 +++ hci_sec.c 11 Apr 2002 10:16:01 -0000 1.3 @@ -44,7 +44,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/bluetooth/bluetooth.h> #include <linux/bluetooth/l2cap.h> #include <linux/bluetooth/rfcomm.h> |
From: Willy S. <sag...@us...> - 2002-04-11 10:30:38
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- l2cap_sec.c 1.4 1.5=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- l2cap_sec.c 13 Feb 2002 14:05:04 -0000 1.4 +++ l2cap_sec.c 11 Apr 2002 10:19:03 -0000 1.5 @@ -45,7 +45,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/bluetooth/l2cap_sec.h> #include <linux/bluetooth/l2cap.h> #include <linux/bluetooth/sec_client.h> |
From: Willy S. <sag...@us...> - 2002-04-11 10:30:37
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- rfcomm.c 1.132 1.133=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- rfcomm.c 25 Feb 2002 14:28:19 -0000 1.132 +++ rfcomm.c 11 Apr 2002 10:19:50 -0000 1.133 @@ -47,7 +47,11 @@ #ifdef __KERNEL__=20 #include <linux/config.h> #include <linux/bluetooth/sysdep-2.1.h> +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/types.h> #include <linux/string.h> #include <linux/sched.h> |
From: Willy S. <sag...@us...> - 2002-04-11 08:36:05
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bcsp_slip.c 1.8 1.9=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux ifdef for slab.h/malloc.h The diff of the modified file(s): --- bcsp_slip.c 18 Sep 2001 13:04:27 -0000 1.8 +++ bcsp_slip.c 11 Apr 2002 08:36:05 -0000 1.9 @@ -44,8 +44,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> - +#endif #include <linux/bluetooth/btcommon.h> #include <linux/bluetooth/btmem.h> #include <linux/bluetooth/bcsp.h> |
From: Willy S. <sag...@us...> - 2002-04-11 08:35:22
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bcsp_sequence.c 1.20 1.21=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- bcsp_sequence.c 20 Sep 2001 17:02:03 -0000 1.20 +++ bcsp_sequence.c 11 Apr 2002 08:35:22 -0000 1.21 @@ -45,7 +45,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/types.h> #include <linux/interrupt.h> #include <linux/timer.h> |
From: Willy S. <sag...@us...> - 2002-04-11 08:34:30
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bcsp_mux.c 1.10 1.11=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for slab.h/malloc.h The diff of the modified file(s): --- bcsp_mux.c 18 Sep 2001 13:04:27 -0000 1.10 +++ bcsp_mux.c 11 Apr 2002 08:34:29 -0000 1.11 @@ -44,8 +44,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> - +#endif #include <linux/bluetooth/bcsp.h> #include <linux/bluetooth/bcsp_debug.h> #else |
From: Willy S. <sag...@us...> - 2002-04-11 08:33:24
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bcsp_datagram.c 1.10 1.11=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- bcsp_datagram.c 18 Sep 2001 13:04:27 -0000 1.10 +++ bcsp_datagram.c 11 Apr 2002 08:33:23 -0000 1.11 @@ -45,7 +45,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif =20 #include <asm/byteorder.h> #include <asm/unaligned.h> |
From: Willy S. <sag...@us...> - 2002-04-11 08:32:11
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- bcsp.c 1.22 1.23=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- bcsp.c 22 Oct 2001 12:51:44 -0000 1.22 +++ bcsp.c 11 Apr 2002 08:32:09 -0000 1.23 @@ -44,7 +44,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> +#endif #include <linux/string.h> #include <linux/types.h> #include <linux/delay.h> |