Module Name: src Committed By: hannken Date: Sun Nov 17 09:28:34 UTC 2024
Modified Files: src/sys/dev/ic: lance.c Log Message: Fix typo in last commit: ec_rx_owner -> ec_rx_mowner Kernels ALL/amd64 and ALL/i386 compile again. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/dev/ic/lance.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/lance.c diff -u src/sys/dev/ic/lance.c:1.61 src/sys/dev/ic/lance.c:1.62 --- src/sys/dev/ic/lance.c:1.61 Sun Nov 10 10:55:13 2024 +++ src/sys/dev/ic/lance.c Sun Nov 17 09:28:34 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: lance.c,v 1.61 2024/11/10 10:55:13 mlelstv Exp $ */ +/* $NetBSD: lance.c,v 1.62 2024/11/17 09:28:34 hannken Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -65,7 +65,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: lance.c,v 1.61 2024/11/10 10:55:13 mlelstv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: lance.c,v 1.62 2024/11/17 09:28:34 hannken Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -370,7 +370,7 @@ lance_get(struct lance_softc *sc, int bo MGETHDR(m0, M_DONTWAIT, MT_DATA); if (m0 == 0) return (0); - MCLAIM(m0, &sc->sc_ethercom.ec_rx_owner); + MCLAIM(m0, &sc->sc_ethercom.ec_rx_mowner); m_set_rcvif(m0, &sc->sc_ethercom.ec_if); m0->m_pkthdr.len = totlen; len = MHLEN; @@ -401,7 +401,7 @@ lance_get(struct lance_softc *sc, int bo MGET(newm, M_DONTWAIT, MT_DATA); if (newm == 0) goto bad; - MCLAIM(newm, &sc->sc_ethercom.ec_rx_owner); + MCLAIM(newm, &sc->sc_ethercom.ec_rx_mowner); len = MLEN; m = m->m_next = newm; }