- Nuke old leftover; round three. Remove never-used functions.

XXX Needs to eliminate TURBOchannel exposure here.
This commit is contained in:
nisimura 1999-03-15 01:54:56 +00:00
parent b4374e3ce0
commit 10b5625b87
1 changed files with 9 additions and 42 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.26 1998/09/05 04:11:04 nisimura Exp $ */
/* $NetBSD: mainbus.c,v 1.27 1999/03/15 01:54:56 nisimura Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -31,19 +31,12 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/reboot.h>
#include <machine/autoconf.h>
#include <dev/tc/tcvar.h>
#include <dev/tc/ioasicvar.h>
#include <pmax/pmax/pmaxtype.h>
#include <pmax/ibus/ibusvar.h>
#include "pmaxtype.h"
#include "nameglue.h"
#include "tc.h" /* Is TURBOchannel configured? */
#include <dev/tc/tcvar.h> /* XXX */
#include "tc.h" /* XXX Is TURBOchannel configured? */
struct mainbus_softc {
struct device sc_dv;
@ -58,11 +51,6 @@ struct cfattach mainbus_ca = {
sizeof(struct mainbus_softc), mbmatch, mbattach
};
void mb_intr_establish __P((struct confargs *ca,
int (*handler)(intr_arg_t),
intr_arg_t val ));
void mb_intr_disestablish __P((struct confargs *));
static int
mbmatch(parent, cf, aux)
struct device *parent;
@ -90,13 +78,13 @@ mbattach(parent, self, aux)
struct device *self;
void *aux;
{
register struct device *mb = self;
struct device *mb = self;
struct confargs nca;
printf("\n");
/*
* if we ever support multi-CPU DEcstations (5800 family),
* if we ever support multi-processor DECsystem (5800 family),
* the Alpha port's mainbus.c has an example of attaching
* multiple CPUs.
*
@ -104,8 +92,6 @@ mbattach(parent, self, aux)
*/
nca.ca_name = "cpu";
nca.ca_slot = 0;
nca.ca_offset = 0;
nca.ca_addr = 0;
config_found(mb, &nca, mbprint);
#if NTC > 0
@ -120,14 +106,13 @@ mbattach(parent, self, aux)
}
#endif /* NTC */
if (systype == DS_PMAX || systype == DS_MIPSMATE) {
nca.ca_name = "baseboard";
nca.ca_slot = 0;
config_found(mb, &nca, mbprint);
}
}
static int
mbprint(aux, pnp)
void *aux;
@ -138,21 +123,3 @@ mbprint(aux, pnp)
return (QUIET);
return (UNCONF);
}
void
mb_intr_establish(ca, handler, val)
struct confargs *ca;
int (*handler) __P((intr_arg_t));
intr_arg_t val;
{
panic("can never mb_intr_establish");
}
void
mb_intr_disestablish(ca)
struct confargs *ca;
{
panic("can never mb_intr_disestablish");
}