Put back a few locators.h includes that are still needed here. Now evbppc

kernels build clean once again
This commit is contained in:
jmc 2004-11-26 05:10:31 +00:00
parent 309eefda19
commit 25287474ca
2 changed files with 16 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: gt.c,v 1.7 2004/09/13 12:55:48 drochner Exp $ */
/* $NetBSD: gt.c,v 1.8 2004/11/26 05:10:31 jmc Exp $ */
/*
* Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
@ -42,9 +42,10 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.7 2004/09/13 12:55:48 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.8 2004/11/26 05:10:31 jmc Exp $");
#include "opt_marvell.h"
#include "locators.h"
#include <sys/param.h>
#include <sys/types.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: gtvar.h,v 1.6 2004/09/13 12:55:48 drochner Exp $ */
/* $NetBSD: gtvar.h,v 1.7 2004/11/26 05:10:31 jmc Exp $ */
/*
* Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
@ -95,11 +95,23 @@ struct obio_attach_args {
};
#ifdef _KERNEL
#include "locators.h"
#ifdef DEBUG
extern int gtpci_debug;
#endif
/*
* Locators for GT private devices, as specified to config.
*/
#define GT_UNK_UNIT GTCF_UNIT_DEFAULT /* wcarded 'function' */
#define OBIO_UNK_OFFSET OBIOCF_OFFSET_DEFAULT /* wcarded 'offset' */
#define OBIO_UNK_SIZE OBIOCF_SIZE_DEFAULT /* wcarded 'size' */
#define OBIO_UNK_IRQ OBIOCF_IRQ_DEFAULT /* wcarded 'irq' */
void gt_attach_common(struct gt_softc *);
uint32_t gt_read_mpp(void);
int gt_cfprint(void *, const char *);