don't try to #define bus_space_read_1() if defined(sparc).
This commit is contained in:
parent
ea9579cbb2
commit
8a90e2b19f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_en_pci.c,v 1.23 2005/12/11 12:22:49 christos Exp $ */
|
||||
/* $NetBSD: if_en_pci.c,v 1.24 2006/05/11 01:02:59 mrg Exp $ */
|
||||
|
||||
/*
|
||||
*
|
||||
|
@ -43,7 +43,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_en_pci.c,v 1.23 2005/12/11 12:22:49 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_en_pci.c,v 1.24 2006/05/11 01:02:59 mrg Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -293,7 +293,7 @@ en_pci_shutdown(
|
|||
|
||||
#if !defined(MIDWAY_ENIONLY)
|
||||
|
||||
#if defined(sparc) || defined(__FreeBSD__)
|
||||
#if defined(__FreeBSD__)
|
||||
#define bus_space_read_1(t, h, o) \
|
||||
((void)t, (*(volatile u_int8_t *)((h) + (o))))
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue