Module Name:    src
Committed By:   mrg
Date:           Thu Feb  7 04:31:49 UTC 2019

Modified Files:
        src/sys/arch/arc/include: param.h
        src/sys/arch/cobalt/include: bus_defs.h

Log Message:
remove stuff provided by generic mips headers


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/arc/include/param.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/cobalt/include/bus_defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arc/include/param.h
diff -u src/sys/arch/arc/include/param.h:1.31 src/sys/arch/arc/include/param.h:1.32
--- src/sys/arch/arc/include/param.h:1.31	Mon Jan  7 22:00:30 2019
+++ src/sys/arch/arc/include/param.h	Thu Feb  7 04:31:49 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.31 2019/01/07 22:00:30 jdolecek Exp $	*/
+/*	$NetBSD: param.h,v 1.32 2019/02/07 04:31:49 mrg Exp $	*/
 /*      $OpenBSD: param.h,v 1.9 1997/04/30 09:54:15 niklas Exp $ */
 
 /*
@@ -59,9 +59,6 @@
 #define	KERNBASE	0x80000000	/* start of kernel virtual */
 #define	BTOPKERNBASE	((u_long)KERNBASE >> PGSHIFT)
 
-#define	SSIZE		1		/* initial stack size/NBPG */
-#define	SINCR		1		/* increment of stack/NBPG */
-
 #if defined(_LOCORE) && defined(notyet)
 #define	UADDR		0xffffffffffffc000	/* address of u */
 #else
@@ -71,22 +68,6 @@
 #define	UVPN		(UADDR>>PGSHIFT)/* virtual page number of u */
 #define	KERNELSTACK	(UADDR+UPAGES*NBPG)	/* top of kernel stack */
 
-/*
- * Constants related to network buffer management.
- * MCLBYTES must be no larger than NBPG (the software page size), and,
- * on machines that exchange pages of input or output buffers with mbuf
- * clusters (MAPPED_MBUFS), MCLBYTES must also be an integral multiple
- * of the hardware page size.
- */
-#define	MSIZE		256		/* size of an mbuf */
-
-#ifndef MCLSHIFT
-#define	MCLSHIFT	11		/* convert bytes to m_buf clusters */
-					/* 2K cluster can hold Ether frame */
-#endif	/* MCLSHIFT */
-
-#define	MCLBYTES	(1 << MCLSHIFT)	/* size of a m_buf cluster */
-
 /* bytes to disk blocks */
 #define	btodb(x)	((x) >> DEV_BSHIFT)
 #define dbtob(x)	((x) << DEV_BSHIFT)

Index: src/sys/arch/cobalt/include/bus_defs.h
diff -u src/sys/arch/cobalt/include/bus_defs.h:1.3 src/sys/arch/cobalt/include/bus_defs.h:1.4
--- src/sys/arch/cobalt/include/bus_defs.h:1.3	Sat Jan 20 13:56:09 2018
+++ src/sys/arch/cobalt/include/bus_defs.h	Thu Feb  7 04:31:49 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus_defs.h,v 1.3 2018/01/20 13:56:09 skrll Exp $	*/
+/*	$NetBSD: bus_defs.h,v 1.4 2019/02/07 04:31:49 mrg Exp $	*/
 
 /*
  * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@@ -33,14 +33,6 @@
 #ifndef _COBALT_BUS_DEFS_H_
 #define _COBALT_BUS_DEFS_H_
 
-/*
- * Bus address and size types
- */
-typedef paddr_t bus_addr_t;
-typedef psize_t bus_size_t;
-#define	PRIxBUSADDR	PRIxPADDR
-#define	PRIxBUSSIZE	PRIxPSIZE
-
 #include <mips/locore.h>
 
 #define _MIPS_NEED_BUS_DMA_BOUNCE

Reply via email to