summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/cmpcivar.h
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2010-10-08 14:01:07 +0000
committerjakemsr <jakemsr@openbsd.org>2010-10-08 14:01:07 +0000
commit8716be4fc3851a2f0596e8c35e0666d317813a61 (patch)
tree29d209ada0d867bda403efc315930171bb285081 /sys/dev/pci/cmpcivar.h
parenttweak for nroff (diff)
downloadwireguard-openbsd-8716be4fc3851a2f0596e8c35e0666d317813a61.tar.xz
wireguard-openbsd-8716be4fc3851a2f0596e8c35e0666d317813a61.zip
check current hardware position in interrupt handler. it's possible
more than one block was used since the last time the interrupt handler was run.
Diffstat (limited to 'sys/dev/pci/cmpcivar.h')
-rw-r--r--sys/dev/pci/cmpcivar.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pci/cmpcivar.h b/sys/dev/pci/cmpcivar.h
index 93b35e49edb..17d8dcdafed 100644
--- a/sys/dev/pci/cmpcivar.h
+++ b/sys/dev/pci/cmpcivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmpcivar.h,v 1.6 2008/01/09 02:17:52 jakemsr Exp $ */
+/* $OpenBSD: cmpcivar.h,v 1.7 2010/10/08 14:01:07 jakemsr Exp $ */
/* $NetBSD: cmpcivar.h,v 1.9 2005/12/11 12:22:48 christos Exp $ */
/*
@@ -179,6 +179,10 @@ struct cmpci_channel {
void (*intr)(void *);
void *intr_arg;
int md_divide;
+ int bps;
+ int blksize;
+ int nblocks;
+ int swpos;
};
struct cmpci_softc {