2017-10-13 21:18:13 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2017 Chelsio Communications. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* The full GNU General Public License is included in this distribution in
|
|
|
|
* the file called "COPYING".
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CUDBG_IF_H__
|
|
|
|
#define __CUDBG_IF_H__
|
|
|
|
|
2017-10-13 21:18:14 +08:00
|
|
|
/* Error codes */
|
|
|
|
#define CUDBG_STATUS_NO_MEM -19
|
|
|
|
#define CUDBG_SYSTEM_ERROR -29
|
|
|
|
|
2017-10-13 21:18:13 +08:00
|
|
|
#define CUDBG_MAJOR_VERSION 1
|
|
|
|
#define CUDBG_MINOR_VERSION 14
|
|
|
|
|
|
|
|
enum cudbg_dbg_entity_type {
|
2017-10-13 21:18:14 +08:00
|
|
|
CUDBG_REG_DUMP = 1,
|
2017-10-13 21:18:13 +08:00
|
|
|
CUDBG_MAX_ENTITY = 70,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct cudbg_init {
|
|
|
|
struct adapter *adap; /* Pointer to adapter structure */
|
|
|
|
void *outbuf; /* Output buffer */
|
|
|
|
u32 outbuf_size; /* Output buffer size */
|
|
|
|
};
|
|
|
|
#endif /* __CUDBG_IF_H__ */
|