summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-08-14 18:53:37 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-08-14 18:53:37 +0000
commita14f69d270af41914f7c3d15a9858cb54baeefe0 (patch)
treebf345caa9b8179b2a5d22367c7bca2c5b348bf63 /sys
parent6af35b585fa6125309c44353897f62b53469a492 (diff)
correct length mask
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/safereg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/safereg.h b/sys/dev/pci/safereg.h
index 67b22aae572..ca4d406e6e9 100644
--- a/sys/dev/pci/safereg.h
+++ b/sys/dev/pci/safereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: safereg.h,v 1.2 2003/08/14 15:26:03 jason Exp $ */
+/* $OpenBSD: safereg.h,v 1.3 2003/08/14 18:53:36 jason Exp $ */
/*-
* Copyright (c) 2003 Sam Leffler, Errno Consulting
@@ -305,7 +305,7 @@ struct safe_pdesc {
volatile u_int32_t pd_ctrl; /* length/flags */
};
-#define SAFE_PD_LEN_M 0x0000ffff /* length mask */
+#define SAFE_PD_LEN_M 0xffff0000 /* length mask */
#define SAFE_PD_LEN_S 16
#define SAFE_PD_READY 0x00000001 /* ready for processing */
#define SAFE_PD_DONE 0x00000002 /* h/w completed processing */