diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-07 18:35:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-07 18:35:58 +0000 |
commit | daca45b2e2fe51770fdf141620b1a04d8143ba13 (patch) | |
tree | 26ed8b6290c785830777c96472759baede9fda97 /sys/dev | |
parent | 1fb6e84fb87be265e927add726d41e6fe36478d0 (diff) |
this removes the functionality of adding allocated
pages into the queue already containing allocated pages.
breaks i386:setup_buffers() because of this.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/isa/aha.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c index a2c092f0a24..662cede8f8f 100644 --- a/sys/dev/isa/aha.c +++ b/sys/dev/isa/aha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha.c,v 1.48 2002/10/06 22:06:15 art Exp $ */ +/* $OpenBSD: aha.c,v 1.49 2002/10/07 18:35:57 mickey Exp $ */ /* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */ #undef AHADIAG @@ -1118,6 +1118,7 @@ aha_init(sc) * XXX - this vm juggling is so wrong. use bus_dma instead! */ size = round_page(sizeof(struct aha_mbx)); + TAILQ_INIT(&pglist); if (uvm_pglistalloc(size, 0, 0xffffff, PAGE_SIZE, 0, &pglist, 1, 0) || uvm_map(kernel_map, &va, size, NULL, UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(UVM_PROT_ALL, UVM_PROT_ALL, UVM_INH_NONE, |