blob: 2fd5d8484b7f045c1f4e1e4011315ba03e12759e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Driver for KeyStream 11b/g wireless LAN cards.
*
* ks_debug.h
* $Id: ks_debug.h 991 2009-09-14 01:38:58Z sekine $
*
* Copyright (C) 2005-2008 KeyStream Corp.
* Copyright (C) 2009 Renesas Technology Corp.
*
* This program is free software; you can redistribute it and/or modify
* it undr the terms of the GNU General Public License version 2 as
* published by the Free Sotware Foundation.
*/
#ifndef _KS_DEBUG_H
#define _KS_DEBUG_H
#include <linux/kernel.h>
#ifdef KS_WLAN_DEBUG
#define DPRINTK(n, fmt, args...) \
if (KS_WLAN_DEBUG>(n)) printk(KERN_NOTICE "%s: "fmt, __FUNCTION__, ## args)
#else
#define DPRINTK(n, fmt, args...)
#endif
extern void print_buffer(unsigned char *p, int size);
#endif /* _KS_DEBUG_H */
|