staging: dgnc: Remove all C99 comments
This patch fixes the following checkpatch error: ERROR: do not use C99 // comments CC: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Seunghun Lee <waydi1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e44c53920f
commit
5813104211
|
@ -98,7 +98,7 @@
|
||||||
/* Choose one: */
|
/* Choose one: */
|
||||||
# define TRC_ON_OVERFLOW_WRAP_AROUND
|
# define TRC_ON_OVERFLOW_WRAP_AROUND
|
||||||
# undef TRC_ON_OVERFLOW_SHIFT_BUFFER
|
# undef TRC_ON_OVERFLOW_SHIFT_BUFFER
|
||||||
# endif //TRC_TO_KMEM
|
# endif /* TRC_TO_KMEM */
|
||||||
|
|
||||||
# define TRC_MAXMSG 1024
|
# define TRC_MAXMSG 1024
|
||||||
# define TRC_OVERFLOW "(OVERFLOW)"
|
# define TRC_OVERFLOW "(OVERFLOW)"
|
||||||
|
@ -106,13 +106,13 @@
|
||||||
|
|
||||||
#if defined TRC_TO_CONSOLE
|
#if defined TRC_TO_CONSOLE
|
||||||
#define PRINTF_TO_CONSOLE(args) { printk(DRVSTR": "); printk args; }
|
#define PRINTF_TO_CONSOLE(args) { printk(DRVSTR": "); printk args; }
|
||||||
#else //!defined TRACE_TO_CONSOLE
|
#else /* !defined TRACE_TO_CONSOLE */
|
||||||
#define PRINTF_TO_CONSOLE(args)
|
#define PRINTF_TO_CONSOLE(args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined TRC_TO_KMEM
|
#if defined TRC_TO_KMEM
|
||||||
#define PRINTF_TO_KMEM(args) dgnc_tracef args
|
#define PRINTF_TO_KMEM(args) dgnc_tracef args
|
||||||
#else //!defined TRC_TO_KMEM
|
#else /* !defined TRC_TO_KMEM */
|
||||||
#define PRINTF_TO_KMEM(args)
|
#define PRINTF_TO_KMEM(args)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@
|
||||||
# define P(X) dgnc_tracef(#X "=%p\n", X)
|
# define P(X) dgnc_tracef(#X "=%p\n", X)
|
||||||
# define X(X) dgnc_tracef(#X "=%x\n", X)
|
# define X(X) dgnc_tracef(#X "=%x\n", X)
|
||||||
|
|
||||||
#else//!defined DGNC_TRACER
|
#else/* !defined DGNC_TRACER */
|
||||||
|
|
||||||
#define PRINTF_TO_KMEM(args)
|
#define PRINTF_TO_KMEM(args)
|
||||||
# define TRC(ARGS)
|
# define TRC(ARGS)
|
||||||
|
@ -164,7 +164,7 @@
|
||||||
|
|
||||||
# define DPR(args)
|
# define DPR(args)
|
||||||
|
|
||||||
#endif//DGNC_TRACER
|
#endif/* DGNC_TRACER */
|
||||||
|
|
||||||
/* Number of boards we support at once. */
|
/* Number of boards we support at once. */
|
||||||
#define MAXBOARDS 20
|
#define MAXBOARDS 20
|
||||||
|
|
|
@ -394,23 +394,23 @@ struct digi_getcounter {
|
||||||
#define DIGI_REALPORT_GETCOUNTERS ('e'<<8 ) | 110
|
#define DIGI_REALPORT_GETCOUNTERS ('e'<<8 ) | 110
|
||||||
#define DIGI_REALPORT_GETEVENTS ('e'<<8 ) | 111
|
#define DIGI_REALPORT_GETEVENTS ('e'<<8 ) | 111
|
||||||
|
|
||||||
#define EV_OPU 0x0001 //!<Output paused by client
|
#define EV_OPU 0x0001 /* !<Output paused by client */
|
||||||
#define EV_OPS 0x0002 //!<Output paused by reqular sw flowctrl
|
#define EV_OPS 0x0002 /* !<Output paused by reqular sw flowctrl */
|
||||||
#define EV_OPX 0x0004 //!<Output paused by extra sw flowctrl
|
#define EV_OPX 0x0004 /* !<Output paused by extra sw flowctrl */
|
||||||
#define EV_OPH 0x0008 //!<Output paused by hw flowctrl
|
#define EV_OPH 0x0008 /* !<Output paused by hw flowctrl */
|
||||||
#define EV_OPT 0x0800 //!<Output paused for RTS Toggle predelay
|
#define EV_OPT 0x0800 /* !<Output paused for RTS Toggle predelay */
|
||||||
|
|
||||||
#define EV_IPU 0x0010 //!<Input paused unconditionally by user
|
#define EV_IPU 0x0010 /* !<Input paused unconditionally by user */
|
||||||
#define EV_IPS 0x0020 //!<Input paused by high/low water marks
|
#define EV_IPS 0x0020 /* !<Input paused by high/low water marks */
|
||||||
//#define EV_IPH 0x0040 //!<Input paused w/ hardware
|
/* #define EV_IPH 0x0040 //!<Input paused w/ hardware */
|
||||||
#define EV_IPA 0x0400 //!<Input paused by pattern alarm module
|
#define EV_IPA 0x0400 /* !<Input paused by pattern alarm module */
|
||||||
|
|
||||||
#define EV_TXB 0x0040 //!<Transmit break pending
|
#define EV_TXB 0x0040 /* !<Transmit break pending */
|
||||||
#define EV_TXI 0x0080 //!<Transmit immediate pending
|
#define EV_TXI 0x0080 /* !<Transmit immediate pending */
|
||||||
#define EV_TXF 0x0100 //!<Transmit flowctrl char pending
|
#define EV_TXF 0x0100 /* !<Transmit flowctrl char pending */
|
||||||
#define EV_RXB 0x0200 //!<Break received
|
#define EV_RXB 0x0200 /* !<Break received */
|
||||||
|
|
||||||
#define EV_OPALL 0x080f //!<Output pause flags
|
#define EV_OPALL 0x080f /* !<Output pause flags */
|
||||||
#define EV_IPALL 0x0430 //!<Input pause flags
|
#define EV_IPALL 0x0430 /* !<Input pause flags */
|
||||||
|
|
||||||
#endif /* DIGI_H */
|
#endif /* DIGI_H */
|
||||||
|
|
Loading…
Reference in a new issue