Change "__BUS_SPACE_NEED_STREAM_METHODS" to "__BUS_SPACE_HAS_STREAM_METHODS".

This commit is contained in:
sakamoto 1998-02-04 14:13:40 +00:00
parent bb0194f1ee
commit a2b24d5571
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.9 1998/02/04 05:12:51 thorpej Exp $ */
/* $NetBSD: bus.h,v 1.10 1998/02/04 14:13:46 sakamoto Exp $ */
/* $OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo Exp $ */
/*-
@ -135,7 +135,7 @@ typedef u_int32_t bus_space_tag_t;
* Access methods for bus resources
*/
#define __BUS_SPACE_NEED_STREAM_METHODS
#define __BUS_SPACE_HAS_STREAM_METHODS
/*
* int bus_space_map __P((bus_space_tag_t t, bus_addr_t addr,

View File

@ -1,4 +1,4 @@
/* $NetBSD: ne2000.c,v 1.10 1998/02/03 04:26:45 sakamoto Exp $ */
/* $NetBSD: ne2000.c,v 1.11 1998/02/04 14:13:40 sakamoto Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -70,11 +70,11 @@
#include <machine/bus.h>
#ifndef __BUS_SPACE_NEED_STREAM_METHODS
#ifndef __BUS_SPACE_HAS_STREAM_METHODS
#define bus_space_write_stream_2 bus_space_write_2
#define bus_space_write_multi_stream_2 bus_space_write_multi_2
#define bus_space_read_multi_stream_2 bus_space_read_multi_2
#endif /* __BUS_SPACE_NEED_STREAM_METHODS */
#endif /* __BUS_SPACE_HAS_STREAM_METHODS */
#include <dev/ic/dp8390reg.h>
#include <dev/ic/dp8390var.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc.c,v 1.16 1998/02/03 04:26:46 sakamoto Exp $ */
/* $NetBSD: wdc.c,v 1.17 1998/02/04 14:13:42 sakamoto Exp $ */
/*
* Copyright (c) 1994, 1995 Charles M. Hannum. All rights reserved.
@ -63,12 +63,12 @@
#include <machine/intr.h>
#include <machine/bus.h>
#ifndef __BUS_SPACE_NEED_STREAM_METHODS
#ifndef __BUS_SPACE_HAS_STREAM_METHODS
#define bus_space_write_multi_stream_2 bus_space_write_multi_2
#define bus_space_write_multi_stream_4 bus_space_write_multi_4
#define bus_space_read_multi_stream_2 bus_space_read_multi_2
#define bus_space_read_multi_stream_4 bus_space_read_multi_4
#endif /* __BUS_SPACE_NEED_STREAM_METHODS */
#endif /* __BUS_SPACE_HAS_STREAM_METHODS */
#include <dev/ic/wdcreg.h>
#include <dev/ic/wdcvar.h>