diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-12-29 00:50:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2005-12-29 00:50:44 +0000 |
commit | 8c9ce1387365da9a3bb238ca7b9e2427bc473804 (patch) | |
tree | 6977c5849f2a6743846a2b6951e2854688768399 /sys/arch | |
parent | c5dc682539e13f8e7e5b1a10a80f686380ca64f4 (diff) |
Fix isadma0 at isa0 at mainbus0
ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/mainbus.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/mainbus.c b/sys/arch/amd64/amd64/mainbus.c index e8a5aa3bd1a..338f932eb6f 100644 --- a/sys/arch/amd64/amd64/mainbus.c +++ b/sys/arch/amd64/amd64/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.3 2005/10/19 01:41:44 marco Exp $ */ +/* $OpenBSD: mainbus.c,v 1.4 2005/12/29 00:50:43 kettenis Exp $ */ /* $NetBSD: mainbus.c,v 1.1 2003/04/26 18:39:29 fvdl Exp $ */ /* @@ -96,7 +96,11 @@ int isa_has_been_seen; struct isabus_attach_args mba_iba = { "isa", X86_BUS_SPACE_IO, X86_BUS_SPACE_MEM, - NULL, +#if NISADMA > 0 + &isa_bus_dma_tag +#else + NULL +#endif }; #endif |