Remove the define of MCA_MAX_SLOTS from mcareg.h, and include
mca_machdep.h, because the maximum number of slots is inherently MD.
This commit is contained in:
parent
29fbd02006
commit
d3f6afef69
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mca.c,v 1.22 2006/11/16 01:33:05 christos Exp $ */
|
||||
/* $NetBSD: mca.c,v 1.23 2007/04/11 18:32:19 garbled Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -42,13 +42,14 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: mca.c,v 1.22 2006/11/16 01:33:05 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mca.c,v 1.23 2007/04/11 18:32:19 garbled Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/device.h>
|
||||
|
||||
#include <machine/bus.h>
|
||||
#include <machine/mca_machdep.h>
|
||||
|
||||
#include <dev/mca/mcareg.h>
|
||||
#include <dev/mca/mcavar.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mcareg.h,v 1.1 2000/05/11 15:42:06 jdolecek Exp $ */
|
||||
/* $NetBSD: mcareg.h,v 1.2 2007/04/11 18:32:19 garbled Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -44,8 +44,6 @@
|
||||
* Standardized MCA configuration information
|
||||
*/
|
||||
|
||||
#define MCA_MAX_SLOTS 8 /* max number of slots per bus */
|
||||
|
||||
/* POS register bits */
|
||||
|
||||
#define MCA_POS2_ENABLE 0x01 /* POS2, hi => adapter enabled */
|
||||
|
Loading…
Reference in New Issue
Block a user