From d990bcf038f813e6122a6dfbd467cf2c4706f381 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sun, 12 Nov 2006 15:12:02 +0000 Subject: [PATCH] Replace RTK_ETHER_ALIGN with RE_ETHER_ALIGN, which I missed. Pointed out by dieter roelants in PR kern/35041. --- sys/dev/ic/rtl8169.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/ic/rtl8169.c b/sys/dev/ic/rtl8169.c index 3af306dd2bff..323bfa7d793c 100644 --- a/sys/dev/ic/rtl8169.c +++ b/sys/dev/ic/rtl8169.c @@ -1,4 +1,4 @@ -/* $NetBSD: rtl8169.c,v 1.60 2006/11/12 12:02:19 tsutsui Exp $ */ +/* $NetBSD: rtl8169.c,v 1.61 2006/11/12 15:12:02 tsutsui Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -1044,8 +1044,8 @@ re_newbuf(struct rtk_softc *sc, int idx, struct mbuf *m) * alignment so that the frame payload is * longword aligned. */ - m->m_len = m->m_pkthdr.len = MCLBYTES - RTK_ETHER_ALIGN; - m->m_data += RTK_ETHER_ALIGN; + m->m_len = m->m_pkthdr.len = MCLBYTES - RE_ETHER_ALIGN; + m->m_data += RE_ETHER_ALIGN; rxs = &sc->re_ldata.re_rxsoft[idx]; map = rxs->rxs_dmamap;