don't define __BUS_SPACE_COMPAT_OLDDEFS by default. As stated in

bus_space(9), if drivers want it (they shouldn't; easy to convert) they
can define it right before including bus.h.  There's been a release since
the interfaces were (slightly) changed, and no code in the source tree
uses the old interfaces as far as I can tell.
This commit is contained in:
cgd 1998-08-30 23:40:14 +00:00
parent 315aabd347
commit 5fa7eee1ff
3 changed files with 3 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.25 1998/07/31 04:37:02 thorpej Exp $ */
/* $NetBSD: bus.h,v 1.26 1998/08/30 23:40:15 cgd Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -67,10 +67,6 @@
#ifndef _ALPHA_BUS_H_
#define _ALPHA_BUS_H_
#ifndef __BUS_SPACE_COMPAT_OLDDEFS
#define __BUS_SPACE_COMPAT_OLDDEFS
#endif
/*
* Turn on BUS_SPACE_DEBUG if the global DEBUG option is enabled.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.20 1998/08/13 21:36:05 thorpej Exp $ */
/* $NetBSD: bus.h,v 1.21 1998/08/30 23:40:14 cgd Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -73,10 +73,6 @@
#include <machine/pio.h>
#ifndef __BUS_SPACE_COMPAT_OLDDEFS
#define __BUS_SPACE_COMPAT_OLDDEFS
#endif
#ifdef BUS_SPACE_DEBUG
/*
* Macros for sanity-checking the aligned-ness of pointers passed to

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.1 1998/08/18 23:55:00 matt Exp $ */
/* $NetBSD: bus.h,v 1.2 1998/08/30 23:40:15 cgd Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -71,10 +71,6 @@
#ifndef _VAX_BUS_H_
#define _VAX_BUS_H_
#ifndef __BUS_SPACE_COMPAT_OLDDEFS
#define __BUS_SPACE_COMPAT_OLDDEFS
#endif
#ifdef BUS_SPACE_DEBUG
/*
* Macros for sanity-checking the aligned-ness of pointers passed to