diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-08 23:01:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-08 23:01:56 +0000 |
commit | f93caf38f4c405c8eb5ad3511a7fbb9277c509c5 (patch) | |
tree | 53b53b53675ab304521f7abbd57012e31300e6fe /sys/dev | |
parent | 7dc766bb50979e6b5185e0bb967451478b7c2326 (diff) |
typo, wrong type; cd@sentia.nl
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_em.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 51cd04383ee..d440c315da4 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ /*$FreeBSD: if_em.c,v 1.38 2004/03/17 17:50:31 njl Exp $*/ -/* $OpenBSD: if_em.c,v 1.25 2004/09/06 08:49:19 markus Exp $ */ +/* $OpenBSD: if_em.c,v 1.26 2004/09/08 23:01:55 deraadt Exp $ */ #include "bpfilter.h" #include "vlan.h" @@ -583,7 +583,7 @@ em_attach(struct device *parent, struct device *self, void *aux) sc->tx_desc_base = (struct em_tx_desc *)sc->txdma.dma_vaddr; rsize = EM_ROUNDUP(sc->num_rx_desc * sizeof(struct em_rx_desc), - EM_MAX_RXD * sizeof(struct em_tx_desc)); + EM_MAX_RXD * sizeof(struct em_rx_desc)); rsize = EM_ROUNDUP(rsize, PAGE_SIZE); /* Allocate Receive Descriptor ring */ |