summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-17 19:24:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-17 19:24:39 +0000
commit737fe7b607345cb1099f4cb46cdaad866c14d782 (patch)
treef741468ab2dacc100217247b2ec2e2fb1a6b087b
parentd9c88a8d2e7f63a37e86880f4964065c339edf84 (diff)
permit > 8 bit offsets
-rw-r--r--sys/dev/pci/pucvar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/pucvar.h b/sys/dev/pci/pucvar.h
index 39b7c8d94fb..fcfc550ea11 100644
--- a/sys/dev/pci/pucvar.h
+++ b/sys/dev/pci/pucvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucvar.h,v 1.3 2001/03/15 17:52:20 deraadt Exp $ */
+/* $OpenBSD: pucvar.h,v 1.4 2002/02/17 19:24:38 deraadt Exp $ */
/* $NetBSD: pucvar.h,v 1.2 1999/02/06 06:29:54 cgd Exp $ */
/*
@@ -44,9 +44,9 @@ struct puc_device_description {
pcireg_t rval[4];
pcireg_t rmask[4];
struct {
- u_short type;
+ u_char type;
u_char bar;
- u_char offset;
+ u_short offset;
int flags;
} ports[PUC_MAX_PORTS];
};