022f28aefd0b364987fa3be94dfbc72ec95bc878
[mirror/winof/.git] / hw / mlx4 / kernel / inc / l2w_debug.h
1 #pragma once
2
3 VOID
4 WriteEventLogEntryStr(
5         PVOID   pi_pIoObject,
6         ULONG   pi_ErrorCode,
7         ULONG   pi_UniqueErrorCode,
8         ULONG   pi_FinalStatus,
9         PWCHAR  pi_InsertionStr,
10         ULONG   pi_nDataItems,
11         ...
12         );
13
14 void
15 mlx4_err(
16         IN struct mlx4_dev *    mdev,
17         IN char*                                format,
18         ...
19         );
20
21 void
22 mlx4_dbg(
23         IN struct mlx4_dev *    mdev,
24         IN char*                                format,
25         ...
26         );
27
28 VOID
29 dev_err(
30         IN struct mlx4_dev **   mdev,
31         IN char*                                format,
32         ...
33         );
34
35 VOID
36 dev_info(
37         IN struct mlx4_dev **   p_mdev,
38         IN char*                                format,
39         ...
40         );
41
42 #define mlx4_warn       mlx4_err
43 #define mlx4_info       mlx4_dbg
44 #define dev_warn        dev_err
45