summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorjan <jan@cvs.openbsd.org>2020-12-12 11:49:03 +0000
committerjan <jan@cvs.openbsd.org>2020-12-12 11:49:03 +0000
commit6d4278dde7bbd44ebf209900ed30094580ca9dd2 (patch)
tree679203df2879430d05268b1347f4f262cb4afc37 /sys/dev/fdt
parent056fb48734bba89aad9ad9db65ec02886cd2f21a (diff)
Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.
OK dlg@, bluhm@ No Opinion mpi@ Not against it claudio@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/if_dwge.c4
-rw-r--r--sys/dev/fdt/if_dwxe.c4
-rw-r--r--sys/dev/fdt/if_fec.c4
-rw-r--r--sys/dev/fdt/if_mvneta.c4
-rw-r--r--sys/dev/fdt/if_mvpp.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/fdt/if_dwge.c b/sys/dev/fdt/if_dwge.c
index bbdd481058e..23c6f87ebd1 100644
--- a/sys/dev/fdt/if_dwge.c
+++ b/sys/dev/fdt/if_dwge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dwge.c,v 1.6 2020/09/13 01:54:05 jmatthew Exp $ */
+/* $OpenBSD: if_dwge.c,v 1.7 2020/12/12 11:48:52 jan Exp $ */
/*
* Copyright (c) 2008, 2019 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
@@ -1283,7 +1283,7 @@ dwge_alloc_mbuf(struct dwge_softc *sc, bus_dmamap_t map)
{
struct mbuf *m = NULL;
- m = MCLGETI(NULL, M_DONTWAIT, NULL, MCLBYTES);
+ m = MCLGETL(NULL, M_DONTWAIT, MCLBYTES);
if (!m)
return (NULL);
m->m_len = m->m_pkthdr.len = MCLBYTES;
diff --git a/sys/dev/fdt/if_dwxe.c b/sys/dev/fdt/if_dwxe.c
index e4895a9a044..c692826cba6 100644
--- a/sys/dev/fdt/if_dwxe.c
+++ b/sys/dev/fdt/if_dwxe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dwxe.c,v 1.17 2020/07/10 13:26:36 patrick Exp $ */
+/* $OpenBSD: if_dwxe.c,v 1.18 2020/12/12 11:48:52 jan Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
@@ -1342,7 +1342,7 @@ dwxe_alloc_mbuf(struct dwxe_softc *sc, bus_dmamap_t map)
{
struct mbuf *m = NULL;
- m = MCLGETI(NULL, M_DONTWAIT, NULL, MCLBYTES);
+ m = MCLGETL(NULL, M_DONTWAIT, MCLBYTES);
if (!m)
return (NULL);
m->m_len = m->m_pkthdr.len = MCLBYTES;
diff --git a/sys/dev/fdt/if_fec.c b/sys/dev/fdt/if_fec.c
index d870a633f94..100416f3ac1 100644
--- a/sys/dev/fdt/if_fec.c
+++ b/sys/dev/fdt/if_fec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fec.c,v 1.10 2020/07/10 13:26:36 patrick Exp $ */
+/* $OpenBSD: if_fec.c,v 1.11 2020/12/12 11:48:52 jan Exp $ */
/*
* Copyright (c) 2012-2013,2019 Patrick Wildt <patrick@blueri.se>
*
@@ -1298,7 +1298,7 @@ fec_alloc_mbuf(struct fec_softc *sc, bus_dmamap_t map)
{
struct mbuf *m = NULL;
- m = MCLGETI(NULL, M_DONTWAIT, NULL, MCLBYTES);
+ m = MCLGETL(NULL, M_DONTWAIT, MCLBYTES);
if (!m)
return (NULL);
m->m_len = m->m_pkthdr.len = MCLBYTES;
diff --git a/sys/dev/fdt/if_mvneta.c b/sys/dev/fdt/if_mvneta.c
index e301b9c30de..a4c8c56b5ce 100644
--- a/sys/dev/fdt/if_mvneta.c
+++ b/sys/dev/fdt/if_mvneta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mvneta.c,v 1.15 2020/12/06 16:50:01 kettenis Exp $ */
+/* $OpenBSD: if_mvneta.c,v 1.16 2020/12/12 11:48:52 jan Exp $ */
/* $NetBSD: if_mvneta.c,v 1.41 2015/04/15 10:15:40 hsuenaga Exp $ */
/*
* Copyright (c) 2007, 2008, 2013 KIYOHARA Takashi
@@ -1654,7 +1654,7 @@ mvneta_alloc_mbuf(struct mvneta_softc *sc, bus_dmamap_t map)
{
struct mbuf *m = NULL;
- m = MCLGETI(NULL, M_DONTWAIT, NULL, MCLBYTES);
+ m = MCLGETL(NULL, M_DONTWAIT, MCLBYTES);
if (!m)
return (NULL);
m->m_len = m->m_pkthdr.len = MCLBYTES;
diff --git a/sys/dev/fdt/if_mvpp.c b/sys/dev/fdt/if_mvpp.c
index c205317fea4..dbf59d31757 100644
--- a/sys/dev/fdt/if_mvpp.c
+++ b/sys/dev/fdt/if_mvpp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mvpp.c,v 1.43 2020/12/07 09:14:09 kettenis Exp $ */
+/* $OpenBSD: if_mvpp.c,v 1.44 2020/12/12 11:48:52 jan Exp $ */
/*
* Copyright (c) 2008, 2019 Mark Kettenis <kettenis@openbsd.org>
* Copyright (c) 2017, 2020 Patrick Wildt <patrick@blueri.se>
@@ -3124,7 +3124,7 @@ mvpp2_alloc_mbuf(struct mvpp2_softc *sc, bus_dmamap_t map)
{
struct mbuf *m = NULL;
- m = MCLGETI(NULL, M_DONTWAIT, NULL, MCLBYTES);
+ m = MCLGETL(NULL, M_DONTWAIT, MCLBYTES);
if (!m)
return (NULL);
m->m_len = m->m_pkthdr.len = MCLBYTES;