M_CLUSTER -> M_EXT_CLUSTER, and remove M_CLUSTER completely.
This commit is contained in:
parent
f5b99fb7f5
commit
4070f54bcc
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: mbuf.9,v 1.60 2018/04/27 06:06:43 maxv Exp $
|
||||
.\" $NetBSD: mbuf.9,v 1.61 2018/04/27 08:51:26 maxv Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
.\" All rights reserved.
|
||||
@ -191,8 +191,6 @@ has external storage
|
||||
is start of record
|
||||
.It Dv M_EOR
|
||||
is end of record
|
||||
.It Dv M_CLUSTER
|
||||
external storage is a cluster.
|
||||
.El
|
||||
.Pp
|
||||
If an
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rumpdev_bus_dma.c,v 1.5 2015/06/15 15:38:52 pooka Exp $ */
|
||||
/* $NetBSD: rumpdev_bus_dma.c,v 1.6 2018/04/27 08:51:26 maxv Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2013 Antti Kantee
|
||||
@ -318,8 +318,8 @@ bus_dmamap_load_mbuf(bus_dma_tag_t t, bus_dmamap_t map,
|
||||
#ifdef POOL_VTOPHYS
|
||||
/* XXX Could be better about coalescing. */
|
||||
/* XXX Doesn't check boundaries. */
|
||||
switch (m->m_flags & (M_EXT|M_CLUSTER)) {
|
||||
case M_EXT|M_CLUSTER:
|
||||
switch (m->m_flags & (M_EXT|M_EXT_CLUSTER)) {
|
||||
case M_EXT|M_EXT_CLUSTER:
|
||||
/* XXX KDASSERT */
|
||||
KASSERT(m->m_ext.ext_paddr != M_PADDR_INVALID);
|
||||
lastaddr = m->m_ext.ext_paddr +
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mbuf.h,v 1.194 2018/04/27 07:53:07 maxv Exp $ */
|
||||
/* $NetBSD: mbuf.h,v 1.195 2018/04/27 08:51:26 maxv Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
|
||||
@ -378,7 +378,6 @@ MBUF_DEFINE(mbuf, MHLEN, MLEN);
|
||||
#define M_EXT_RW 0x08000000 /* ext storage is writable */
|
||||
|
||||
/* for source-level compatibility */
|
||||
#define M_CLUSTER M_EXT_CLUSTER
|
||||
#define M_NOTIFICATION M_PROTO1
|
||||
|
||||
#define M_FLAGS_BITS \
|
||||
|
Loading…
Reference in New Issue
Block a user