1/* 2 * Copyright (c) 2018, ETH Zurich. All rights reserved. 3 * 4 * This file is distributed under the terms in the attached LICENSE file. 5 * If you do not find this file, copies can be found by writing to: 6 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 7 */ 8 9#ifndef PCI_DRIVER_CLIENT_DEBUG_H 10#define PCI_DRIVER_CLIENT_DEBUG_H 11 12/***************************************************************** 13 * Debug printer: 14 *****************************************************************/ 15#define PCI_DRIVER_CLIENT_DEBUG 1 16 17#if defined(PCI_DRIVER_CLIENT_DEBUG ) || defined(GLOBAL_DEBUG) 18#define PDC_DEBUG(fmt, ...) printf("pci_driver_client:" fmt, ##__VA_ARGS__) 19#else 20#define PDC_DEBUG(fmt, ...) ((void)0) 21#endif 22 23#endif 24