1996-01-30 01:52:15 +03:00
|
|
|
|
/* $NetBSD: tc.c,v 1.8 1996/01/29 22:52:44 jonathan Exp $ */
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
1996-01-30 01:52:15 +03:00
|
|
|
|
* Author: Jonathan Stone
|
1995-08-07 11:07:43 +04:00
|
|
|
|
*
|
|
|
|
|
* Permission to use, copy, modify and distribute this software and
|
|
|
|
|
* its documentation is hereby granted, provided that both the copyright
|
|
|
|
|
* notice and this permission notice appear in all copies of the
|
|
|
|
|
* software, derivative works or modified versions, and any portions
|
|
|
|
|
* thereof, and that both notices appear in supporting documentation.
|
|
|
|
|
*
|
|
|
|
|
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
|
|
|
|
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
|
|
|
|
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
|
|
|
|
*
|
|
|
|
|
* Carnegie Mellon requests users of this software to return to
|
|
|
|
|
*
|
|
|
|
|
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
|
|
|
|
* School of Computer Science
|
|
|
|
|
* Carnegie Mellon University
|
|
|
|
|
* Pittsburgh PA 15213-3890
|
|
|
|
|
*
|
|
|
|
|
* any improvements or extensions that they make and grant Carnegie the
|
|
|
|
|
* rights to redistribute these changes.
|
|
|
|
|
*/
|
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
#define TC_DEBUG /* until decstatn autoconfig works with dev/tc/tc.c*/
|
|
|
|
|
|
1995-08-07 11:07:43 +04:00
|
|
|
|
#include <sys/param.h>
|
|
|
|
|
#include <sys/device.h>
|
1996-01-03 23:39:10 +03:00
|
|
|
|
#include <dev/cons.h>
|
|
|
|
|
#include <dev/tc/tcvar.h>
|
1995-08-07 11:07:43 +04:00
|
|
|
|
#include <machine/autoconf.h>
|
|
|
|
|
|
1995-09-12 11:28:06 +04:00
|
|
|
|
|
1996-01-03 23:39:10 +03:00
|
|
|
|
/* Which TC framebuffers have drivers, for configuring a console device. */
|
|
|
|
|
#include <cfb.h>
|
|
|
|
|
#include <mfb.h>
|
|
|
|
|
#include <sfb.h>
|
|
|
|
|
|
|
|
|
|
extern int pmax_boardtype;
|
|
|
|
|
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
1996-01-03 23:39:10 +03:00
|
|
|
|
/*
|
|
|
|
|
* Old-style model-specific autoconfiguration description.
|
|
|
|
|
*/
|
1996-01-30 01:52:15 +03:00
|
|
|
|
struct tcbus_attach_args {
|
|
|
|
|
u_int tca_nslots;
|
|
|
|
|
struct tc_slotdesc *tca_slots;
|
|
|
|
|
|
|
|
|
|
u_int tca_nbuiltins;
|
|
|
|
|
const struct tc_builtin *tca_builtins;
|
|
|
|
|
|
|
|
|
|
void (*tca_intr_establish) __P((struct device *dev, void *cookie,
|
|
|
|
|
tc_intrlevel_t level,
|
|
|
|
|
intr_handler_t handler,
|
|
|
|
|
void *arg));
|
|
|
|
|
void (*tca_intr_disestablish) __P((struct device *, void *));
|
1996-01-03 23:39:10 +03:00
|
|
|
|
};
|
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
/* Return the appropriate tc_attach_args for a given cputype */
|
|
|
|
|
extern struct tc_attach_args * cpu_tcdesc __P ((int cputype));
|
1996-01-03 23:39:10 +03:00
|
|
|
|
|
|
|
|
|
|
1995-08-07 11:07:43 +04:00
|
|
|
|
/* Definition of the driver for autoconfig. */
|
|
|
|
|
int tcmatch(struct device *, void *, void *);
|
|
|
|
|
void tcattach(struct device *, struct device *, void *);
|
|
|
|
|
int tcprint(void *, char *);
|
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
void tc_ds_intr_establish __P((struct device *, void *, tc_intrlevel_t,
|
1996-01-03 23:39:10 +03:00
|
|
|
|
intr_handler_t handler, intr_arg_t arg));
|
|
|
|
|
void tc_intr_disestablish __P((struct device *dev, void *cookie));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
caddr_t tc_cvtaddr __P((struct confargs *));
|
|
|
|
|
|
|
|
|
|
extern int cputype;
|
1996-01-03 23:39:10 +03:00
|
|
|
|
extern int tc_findconsole __P((int prom_slot));
|
|
|
|
|
|
|
|
|
|
/* Forward declarations */
|
|
|
|
|
int consprobeslot __P((int slot));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
1996-01-30 01:52:15 +03:00
|
|
|
|
* TurboChannel autoconfiguration declarations and tables for DECstations.
|
1995-08-07 11:07:43 +04:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <machine/machConst.h>
|
|
|
|
|
#include <pmax/pmax/pmaxtype.h>
|
|
|
|
|
#include <pmax/pmax/trap.h>
|
|
|
|
|
#include <pmax/pmax/asic.h>
|
|
|
|
|
#include <pmax/pmax/kn03.h>
|
|
|
|
|
#include <pmax/pmax/kn02.h>
|
|
|
|
|
#include <pmax/pmax/kmin.h>
|
|
|
|
|
#include <pmax/pmax/maxine.h>
|
1995-09-12 11:28:06 +04:00
|
|
|
|
|
1995-08-07 11:07:43 +04:00
|
|
|
|
#include <pmax/pmax/turbochannel.h>
|
|
|
|
|
|
1996-01-03 23:39:10 +03:00
|
|
|
|
/*#include <pmax/pmax/nameglue.h>*/
|
|
|
|
|
#define KV(x) ((tc_addr_t)MACH_PHYS_TO_UNCACHED(x))
|
|
|
|
|
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void tc_ds_ioasic_intr_setup __P((void));
|
1996-01-03 23:39:10 +03:00
|
|
|
|
void tc_ds_ioasic_intr_establish __P((struct device *dev, void *cookie,
|
1996-01-30 01:52:15 +03:00
|
|
|
|
tc_intrlevel_t level,
|
|
|
|
|
intr_handler_t handler,
|
|
|
|
|
void *arg));
|
1996-01-03 23:39:10 +03:00
|
|
|
|
void tc_ds_ioasic_intr_disestablish __P((struct device *, void *));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
void tc_ds_ioasic_iointr __P((void *, int));
|
|
|
|
|
int tc_ds_ioasic_getdev __P((struct confargs *));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* XXX*/
|
|
|
|
|
/* should be handled elsewhere? */
|
|
|
|
|
typedef void (*tc_enable_t) __P ((u_int slotno, intr_handler_t,
|
1995-09-12 11:28:06 +04:00
|
|
|
|
void *intr_arg, int on));
|
|
|
|
|
typedef int (*tc_handler_t) __P((void *intr_arg));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
|
|
|
|
extern void (*tc_enable_interrupt) __P ((u_int slotno, tc_handler_t,
|
1995-09-12 11:28:06 +04:00
|
|
|
|
void *intr_arg, int on));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
extern void kn03_enable_intr __P((u_int slot, tc_handler_t,
|
1995-09-12 11:28:06 +04:00
|
|
|
|
void *intr_arg, int on));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
extern void kn02_enable_intr __P ((u_int slot, tc_handler_t,
|
1995-09-12 11:28:06 +04:00
|
|
|
|
void *intr_arg, int on));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
extern void kmin_enable_intr __P ((u_int slot, tc_handler_t,
|
1995-09-12 11:28:06 +04:00
|
|
|
|
void *intr_arg, int on));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
extern void xine_enable_intr __P ((u_int slot, tc_handler_t,
|
1995-09-12 11:28:06 +04:00
|
|
|
|
void *intr_arg, int on));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
|
|
|
|
/*
|
1996-01-03 23:39:10 +03:00
|
|
|
|
* Configuration tables for the four models of
|
1995-08-07 11:07:43 +04:00
|
|
|
|
* Decstation that have turbochannels.
|
|
|
|
|
* None of the four are the same.
|
|
|
|
|
*/
|
|
|
|
|
#include "ds-tc-conf.c"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
1996-01-30 01:52:15 +03:00
|
|
|
|
* Function to map from a CPU code to a tcbus tc_attach_args struct.
|
|
|
|
|
* This should really be in machine-dependent code, where
|
1995-08-07 11:07:43 +04:00
|
|
|
|
* it could even be a macro.
|
|
|
|
|
*/
|
1996-01-30 01:52:15 +03:00
|
|
|
|
struct tc_attach_args *
|
1995-08-07 11:07:43 +04:00
|
|
|
|
cpu_tcdesc(cpu)
|
|
|
|
|
int cpu;
|
|
|
|
|
{
|
1995-09-12 11:28:06 +04:00
|
|
|
|
if (cpu == DS_3MAXPLUS) {
|
1995-08-07 11:07:43 +04:00
|
|
|
|
tc_enable_interrupt = kn03_enable_intr;
|
|
|
|
|
return &kn03_tc_desc;
|
1995-09-12 11:28:06 +04:00
|
|
|
|
} else if (cpu == DS_3MAX) {
|
1995-08-07 11:07:43 +04:00
|
|
|
|
tc_enable_interrupt = kn02_enable_intr;
|
|
|
|
|
return &kn02_tc_desc;
|
1995-09-12 11:28:06 +04:00
|
|
|
|
} else if (cpu == DS_3MIN) {
|
1995-08-07 11:07:43 +04:00
|
|
|
|
tc_enable_interrupt = kmin_enable_intr;
|
|
|
|
|
return &kmin_tc_desc;
|
1995-09-12 11:28:06 +04:00
|
|
|
|
} else if (cpu == DS_MAXINE) {
|
1995-08-07 11:07:43 +04:00
|
|
|
|
tc_enable_interrupt = xine_enable_intr;
|
|
|
|
|
return &xine_tc_desc;
|
1995-09-12 11:28:06 +04:00
|
|
|
|
} else if (cpu == DS_PMAX) {
|
1996-01-03 23:39:10 +03:00
|
|
|
|
#ifdef DIAGNOSTIC
|
|
|
|
|
printf("tcattach: PMAX, no turbochannel\n");
|
|
|
|
|
#endif
|
1995-08-07 11:07:43 +04:00
|
|
|
|
return NULL;
|
1995-12-28 09:44:57 +03:00
|
|
|
|
} else if (cpu == DS_MIPSFAIR) {
|
1996-01-03 23:39:10 +03:00
|
|
|
|
printf("tcattach: Mipsfair (5100), no turbochannel\n");
|
|
|
|
|
return NULL;
|
1995-08-07 11:07:43 +04:00
|
|
|
|
} else {
|
1996-01-30 01:52:15 +03:00
|
|
|
|
panic("cpu_tc: Unrecognized bus type 0x%x\n", cpu);
|
1995-08-07 11:07:43 +04:00
|
|
|
|
}
|
1996-01-03 23:39:10 +03:00
|
|
|
|
}
|
|
|
|
|
|
1995-08-07 11:07:43 +04:00
|
|
|
|
/*
|
1996-01-30 01:52:15 +03:00
|
|
|
|
* We have a TurboChannel bus. Configure it.
|
1995-08-07 11:07:43 +04:00
|
|
|
|
*/
|
|
|
|
|
void
|
1996-01-30 01:52:15 +03:00
|
|
|
|
config_tcbus(parent, cputype, printfn)
|
|
|
|
|
struct device *parent;
|
|
|
|
|
int cputype;
|
|
|
|
|
int printfn __P((void *, char *));
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
|
|
|
|
{
|
1996-01-30 01:52:15 +03:00
|
|
|
|
struct tc_attach_args tc;
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
struct tc_attach_args * tcbus = cpu_tcdesc(pmax_boardtype);
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
/*
|
|
|
|
|
* Set up important CPU/chipset information.
|
|
|
|
|
*/
|
|
|
|
|
tc.tca_nslots = tcbus->tca_nslots;
|
|
|
|
|
tc.tca_slots = tcbus->tca_slots;
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
tc.tca_nbuiltins = tcbus->tca_nbuiltins;
|
|
|
|
|
tc.tca_builtins = tcbus->tca_builtins;
|
|
|
|
|
tc.tca_intr_establish = tc_ds_intr_establish; /*XXX*/
|
|
|
|
|
tc.tca_intr_disestablish = tc_ds_ioasic_intr_disestablish; /*XXX*/
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
config_found(parent, (struct confargs*)&tc, printfn);
|
1995-08-07 11:07:43 +04:00
|
|
|
|
}
|
|
|
|
|
|
1996-01-03 23:39:10 +03:00
|
|
|
|
/*
|
|
|
|
|
* Probe the turbochannel for a framebuffer option card, starting
|
|
|
|
|
* at the preferred slot and then scanning all slots. Configure the first
|
|
|
|
|
* supported framebuffer device found, if any, as the console, and return
|
|
|
|
|
* 1 if found.
|
|
|
|
|
* Called before autoconfiguration, to find a system console.
|
|
|
|
|
*/
|
|
|
|
|
int
|
|
|
|
|
tc_findconsole(preferred_slot)
|
|
|
|
|
int preferred_slot;
|
|
|
|
|
{
|
|
|
|
|
int slot;
|
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
struct tc_attach_args * sc_desc;
|
1996-01-03 23:39:10 +03:00
|
|
|
|
|
|
|
|
|
/* First, try the slot configured as console in NVRAM. */
|
|
|
|
|
/* if (consprobeslot(preferred_slot)) return (1); */
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Try to configure each turbochannel (or CPU-internal) device.
|
|
|
|
|
* Knows about gross internals of TurboChannel bus autoconfig
|
|
|
|
|
* descriptor, which needs to be fixed badly.
|
|
|
|
|
*/
|
|
|
|
|
if ((sc_desc = cpu_tcdesc(pmax_boardtype)) == NULL)
|
|
|
|
|
return 0;
|
1996-01-30 01:52:15 +03:00
|
|
|
|
for (slot = 0; slot < sc_desc->tca_nslots; slot++) {
|
1996-01-03 23:39:10 +03:00
|
|
|
|
|
|
|
|
|
if (tc_consprobeslot(slot))
|
|
|
|
|
return (1);
|
|
|
|
|
}
|
|
|
|
|
return (0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Try and configure one slot as framebuffer console.
|
|
|
|
|
* Accept only the framebuffers for which driver are configured into
|
|
|
|
|
* the kernel. If a suitable framebuffer is found, attach it and
|
|
|
|
|
* set up glass-tty emulation.
|
|
|
|
|
*/
|
|
|
|
|
int
|
|
|
|
|
tc_consprobeslot(slot)
|
|
|
|
|
int slot;
|
|
|
|
|
{
|
|
|
|
|
void *slotaddr;
|
|
|
|
|
char name[20];
|
1996-01-30 01:52:15 +03:00
|
|
|
|
struct tc_attach_args * sc_desc;
|
1996-01-03 23:39:10 +03:00
|
|
|
|
|
|
|
|
|
if (slot < 0 || ((sc_desc = cpu_tcdesc(pmax_boardtype)) == NULL))
|
|
|
|
|
return 0;
|
1996-01-30 01:52:15 +03:00
|
|
|
|
slotaddr = (void *)(sc_desc->tca_slots[slot].tcs_addr);
|
1996-01-03 23:39:10 +03:00
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
if (tc_badaddr(slotaddr))
|
1996-01-03 23:39:10 +03:00
|
|
|
|
return (0);
|
|
|
|
|
|
|
|
|
|
if (tc_checkslot(slotaddr, name) == 0)
|
|
|
|
|
return (0);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* We found an device in the given slot. Now see if it's a
|
|
|
|
|
* framebuffer for which we have a driver.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*printf(", trying to init a \"%s\"", name);*/
|
|
|
|
|
|
|
|
|
|
#define DRIVER_FOR_SLOT(slotname, drivername) \
|
|
|
|
|
(strcmp (slotname, drivername) == 0)
|
|
|
|
|
|
|
|
|
|
#if NMFB > 0
|
|
|
|
|
if (DRIVER_FOR_SLOT(name, "PMAG-AA ") &&
|
|
|
|
|
mfbinit(slotaddr, 0, 1)) {
|
|
|
|
|
return (1);
|
|
|
|
|
}
|
|
|
|
|
#endif /* NMFB */
|
|
|
|
|
|
|
|
|
|
#if NSFB > 0
|
|
|
|
|
if (DRIVER_FOR_SLOT(name, "PMAGB-BA") &&
|
|
|
|
|
sfbinit(slotaddr, 0, 1)) {
|
|
|
|
|
return (1);
|
|
|
|
|
}
|
|
|
|
|
#endif /* NSFB */
|
|
|
|
|
|
|
|
|
|
#if NCFB > 0
|
|
|
|
|
/*"cfb"*/
|
|
|
|
|
if (DRIVER_FOR_SLOT(name, "PMAG-BA ") &&
|
|
|
|
|
cfbinit(NULL, slotaddr, 0, 1)) {
|
|
|
|
|
return (1);
|
|
|
|
|
}
|
|
|
|
|
#endif /* NCFB */
|
|
|
|
|
return (0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Estabish an interrupt handler, but on what bus -- TC or ioctl asic?
|
|
|
|
|
*/
|
1995-08-07 11:07:43 +04:00
|
|
|
|
void
|
1996-01-30 01:52:15 +03:00
|
|
|
|
tc_ds_intr_establish(dev, cookie, level, handler, val)
|
1996-01-03 23:39:10 +03:00
|
|
|
|
struct device *dev;
|
|
|
|
|
void *cookie;
|
1996-01-30 01:52:15 +03:00
|
|
|
|
tc_intrlevel_t level;
|
1995-08-07 11:07:43 +04:00
|
|
|
|
intr_handler_t handler;
|
|
|
|
|
void *val;
|
|
|
|
|
{
|
|
|
|
|
|
1995-08-10 08:31:46 +04:00
|
|
|
|
/* Never tested on these processors */
|
|
|
|
|
if (cputype == DS_3MIN || cputype == DS_MAXINE)
|
1996-01-03 23:39:10 +03:00
|
|
|
|
printf("tc_enable %s sc %x slot %d\n",
|
|
|
|
|
dev->dv_xname, (int)val, cookie);
|
1995-08-07 11:07:43 +04:00
|
|
|
|
|
1995-08-10 08:31:46 +04:00
|
|
|
|
#ifdef DIAGNOSTIC
|
1995-08-07 11:07:43 +04:00
|
|
|
|
if (tc_enable_interrupt == NULL)
|
|
|
|
|
panic("tc_intr_establish: tc_enable not set\n");
|
|
|
|
|
#endif
|
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
#ifdef DEBUG
|
|
|
|
|
printf("tc_intr_establish: slot %d level %d handler %p sc %p on\n",
|
|
|
|
|
(int) cookie, (int) level, handler, val);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Enable the interrupt from tc (or ioctl asic) slot with NetBSD/pmax
|
|
|
|
|
* sw-convention name ``cookie'' on this CPU.
|
|
|
|
|
* XXX store the level somewhere for selective enabling of
|
|
|
|
|
* interrupts from TC option slots.
|
|
|
|
|
*/
|
1996-01-03 23:39:10 +03:00
|
|
|
|
(*tc_enable_interrupt) ((int)cookie, handler, val, 1);
|
1995-08-07 11:07:43 +04:00
|
|
|
|
}
|
|
|
|
|
|
1996-01-30 01:52:15 +03:00
|
|
|
|
|
|
|
|
|
/* hack for kn03 ioasic */
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
tc_ds_ioasic_intr_setup ()
|
|
|
|
|
{
|
|
|
|
|
printf("not setting up TC intrs\n");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* establish an interrupt handler for an ioasic device.
|
|
|
|
|
* On NetBSD/pmax, there is currently a single, merged interrupt handler for
|
|
|
|
|
* both TC and ioasic. Just use the tc interrupt-establish function.
|
|
|
|
|
*/
|
|
|
|
|
void
|
|
|
|
|
tc_ds_ioasic_intr_establish(dev, cookie, level, handler, val)
|
|
|
|
|
struct device *dev;
|
|
|
|
|
void *cookie;
|
|
|
|
|
tc_intrlevel_t level;
|
|
|
|
|
intr_handler_t handler;
|
|
|
|
|
void *val;
|
|
|
|
|
{
|
|
|
|
|
tc_intr_establish(dev, cookie, level, handler, val);
|
|
|
|
|
}
|
|
|
|
|
|
1995-08-07 11:07:43 +04:00
|
|
|
|
void
|
1996-01-03 23:39:10 +03:00
|
|
|
|
tc_ds_ioasic_intr_disestablish(dev, arg)
|
|
|
|
|
struct device *dev;
|
|
|
|
|
void *arg;
|
1995-08-07 11:07:43 +04:00
|
|
|
|
{
|
|
|
|
|
/*(*tc_enable_interrupt) (ca->ca_slot, handler, 0);*/
|
1996-01-30 01:52:15 +03:00
|
|
|
|
printf("cannot dis-establish IOASIC interrupts\n");
|
1995-08-07 11:07:43 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
tc_ds_ioasic_iointr (framep, vec)
|
|
|
|
|
void * framep;
|
|
|
|
|
int vec;
|
|
|
|
|
{
|
1996-01-03 23:39:10 +03:00
|
|
|
|
printf("bogus interrupt handler fp %x vec %d\n", framep, vec);
|
1995-08-07 11:07:43 +04:00
|
|
|
|
}
|
1996-01-30 01:52:15 +03:00
|
|
|
|
|
|
|
|
|
/* XXX */
|
|
|
|
|
#include <dev/tc/tc.c>
|