From f93caf38f4c405c8eb5ad3511a7fbb9277c509c5 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 8 Sep 2004 23:01:56 +0000 Subject: typo, wrong type; cd@sentia.nl --- sys/dev/pci/if_em.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_em.c') 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 */ -- cgit v1.2.3