diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/an.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/an.c b/sys/dev/ic/an.c index cd8d2e1c647..1b714b5c4da 100644 --- a/sys/dev/ic/an.c +++ b/sys/dev/ic/an.c @@ -1,4 +1,4 @@ -/* $OpenBSD: an.c,v 1.37 2004/08/05 12:43:26 miod Exp $ */ +/* $OpenBSD: an.c,v 1.38 2004/08/05 20:06:58 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -1112,7 +1112,7 @@ an_init_tx_ring(sc) return (0); for (i = 0; i < AN_TX_RING_CNT; i++) { - if (an_alloc_nicmem(sc, 1518 + 0x44, &id)) + if (an_alloc_nicmem(sc, ETHER_MAX_LEN + 0x44, &id)) return(ENOMEM); sc->an_rdata.an_tx_fids[i] = id; sc->an_rdata.an_tx_ring[i] = 0; |