summaryrefslogtreecommitdiff
path: root/sys/dev/ic/i82365var.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-09-05 05:06:59 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-09-05 05:06:59 +0000
commit534c5d8f534ddf5a7b8ecae81fda376cfc73a2d3 (patch)
treef51ea4e15a3d667b6077316ab833188d1b4532cb /sys/dev/ic/i82365var.h
parent31ea36fc4017fdcbfe3b95b6c90ec1c1ee01fa0e (diff)
Use 32 pages instead of 4 in mem_alloc. This is needed by cnw, and useful
w/ other drivers as well. The iomem change has changed long ago to keep using 4 pages; From NetBSD.
Diffstat (limited to 'sys/dev/ic/i82365var.h')
-rw-r--r--sys/dev/ic/i82365var.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/i82365var.h b/sys/dev/ic/i82365var.h
index dab9934bcf3..802d1be49f7 100644
--- a/sys/dev/ic/i82365var.h
+++ b/sys/dev/ic/i82365var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82365var.h,v 1.9 2000/06/28 17:48:10 aaron Exp $ */
+/* $OpenBSD: i82365var.h,v 1.10 2000/09/05 05:06:58 fgsch Exp $ */
/* $NetBSD: i82365var.h,v 1.4 1998/05/23 18:32:29 matt Exp $ */
/*
@@ -123,6 +123,7 @@ struct pcic_softc {
/* this needs to be large enough to hold PCIC_MEM_PAGES bits */
int subregionmask;
+#define PCIC_MAX_MEM_PAGES (8 * sizeof(int))
/* used by memory window mapping functions */
bus_addr_t membase;