Updated LAN driver
- changed directory layout - Multicast support (automatic RX filter adjustment) - MC68000 target in Makefile - clarified licensing (GPLv3) - README files
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
debug.h
|
||||
|
||||
(C) 2018 Henryk Richter <henryk.richter@gmx.net>
|
||||
|
||||
Debugging Macros
|
||||
|
||||
|
||||
*/
|
||||
#ifndef _INC_DEBUG_H
|
||||
#define _INC_DEBUG_H
|
||||
|
||||
#ifdef DEBUG
|
||||
extern void KPrintF(char *, ...), KGetChar(void);
|
||||
|
||||
#define D(_x_) do { KPrintF("%s:%ld:",__FILE__,__LINE__); KPrintF _x_; } while(0)
|
||||
|
||||
#else /* DEBUG */
|
||||
|
||||
#define D(x)
|
||||
|
||||
#endif /* DEBUG */
|
||||
|
||||
|
||||
#endif /* _INC_DEBUG_H */
|
||||
Reference in New Issue
Block a user