NetBSD/sys/arch/evbppc/include/bus.h
matt f5110f7988 EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware.  XXX PCI devices are not found.
2003-03-16 07:07:17 +00:00

21 lines
452 B
C

/* $NetBSD: bus.h,v 1.4 2003/03/16 07:07:19 matt Exp $ */
/*
* This is a total hack to workaround the fact that we have
* a needless proliferation of subtly incompatible bus_space(9)
* implementations.
*/
#ifdef _KERNEL_OPT
#include "opt_ppcarch.h"
#endif
#ifdef PPC_IBM4XX
#include <powerpc/ibm4xx/bus.h>
#else
#define PHYS_TO_BUS_MEM(t, addr) (addr) /* XXX */
#define BUS_MEM_TO_PHYS(t, addr) (addr) /* XXX */
#include <powerpc/bus.h>
#endif