diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 2001-02-26 06:46:05 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 2001-02-26 06:46:05 +0000 |
commit | 437401cbf361f082ceb0786857926ec9d61fd199 (patch) | |
tree | e058cf4acd1b5ac662aa71e17a94d7c212ba863d /sys/dev | |
parent | b7119c867c07c585323356012502c089c49e9836 (diff) |
Replace literal with defined constant
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_le_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_le_pci.c b/sys/dev/pci/if_le_pci.c index d940fbdef81..059c85ac268 100644 --- a/sys/dev/pci/if_le_pci.c +++ b/sys/dev/pci/if_le_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le_pci.c,v 1.13 2001/01/31 23:05:17 tholo Exp $ */ +/* $OpenBSD: if_le_pci.c,v 1.14 2001/02/26 06:46:04 tholo Exp $ */ /* $NetBSD: if_le_pci.c,v 1.13 1996/10/25 21:33:32 cgd Exp $ */ /*- @@ -199,7 +199,7 @@ le_pci_attach(parent, self, aux) bus_dmamem_free(pa->pa_dmat, &seg, rseg); return; } - if (bus_dmamap_create(pa->pa_dmat, PCNET_MEMSIZE, 1, 36384, + if (bus_dmamap_create(pa->pa_dmat, PCNET_MEMSIZE, 1, PCNET_MEMSIZE, 0, BUS_DMA_NOWAIT, &dmamap)) { printf(": couldn't create dma map\n"); bus_dmamem_unmap(pa->pa_dmat, kva, PCNET_MEMSIZE); |