NetBSD/sys/arch/hpcmips/conf/ioconf.incl.hpcmips
tsutsui 2f0e3614ae Sync with hpcsh/conf/ioconf.incl.hpcsh rev 1.2:
> XXX: #undef SET before including <machine/config_hook.h>, which defines
> SET as a nickname for CONFIG_HOOK_SET to be used in kernel config files.
> Makes ioconf.c compile again.
2006-03-23 15:56:02 +00:00

16 lines
505 B
Plaintext

#include <sys/param.h>
#include <sys/conf.h>
#include <sys/device.h>
#include <sys/mount.h>
#include <machine/platid.h>
#define PLATID_DEFINE_MASK_NICKNAME
#include <machine/platid_mask.h>
#undef PLATID_DEFINE_MASK_NICKNAME
#undef SET /* XXX: nuke stupid SET macro defined in <sys/types.h> */
#define CONFIG_HOOK_DEFINE_NICKNAME
#include <machine/config_hook.h>
#undef CONFIG_HOOK_DEFINE_NICKNAME
#define VRIPUNIT_DEFINE_UNIT_NICKNAME
#include <hpcmips/vr/vripunit.h>
#undef VRIPUNIT_DEFINE_UNIT_NICKNAME