summaryrefslogtreecommitdiffstats
path: root/sys/dev/cp/cpddk.h
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2008-06-30 21:18:27 +0000
committerrik <rik@FreeBSD.org>2008-06-30 21:18:27 +0000
commitb49a85befd88be2728fef2765dde3ad4793511cc (patch)
treefc0d5f8df2864c985a23cc83800e237fc998a308 /sys/dev/cp/cpddk.h
parent8805d22e343f9c4b23897204b50dcd29aed7ca3f (diff)
downloadFreeBSD-src-b49a85befd88be2728fef2765dde3ad4793511cc.zip
FreeBSD-src-b49a85befd88be2728fef2765dde3ad4793511cc.tar.gz
Do not set IFF_DEBUG directly from the driver.
MFC after: 1 month.
Diffstat (limited to 'sys/dev/cp/cpddk.h')
-rw-r--r--sys/dev/cp/cpddk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/cp/cpddk.h b/sys/dev/cp/cpddk.h
index 3ff40bb..fcdb0d0 100644
--- a/sys/dev/cp/cpddk.h
+++ b/sys/dev/cp/cpddk.h
@@ -205,6 +205,7 @@ typedef struct _cp_chan_t {
void *tag [NTBUF]; /* system dependent data per buffer */
void *sys; /* system dependent data per channel */
unsigned char debug; /* debug level, 0..2 */
+ unsigned char debug_shadow; /* debug shadow */
void (*transmit) (struct _cp_chan_t *c, void *tag, int len);
void (*receive) (struct _cp_chan_t *c, unsigned char *data, int len);
OpenPOWER on IntegriCloud