- Reflect changes in ibus_intr_establish() definition.
- More concise way to initialize TC framebuffer device for console.
This commit is contained in:
parent
0310fa6595
commit
cc2e1c302a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dc_ds.c,v 1.9 1999/04/24 08:01:03 simonb Exp $ */
|
||||
/* $NetBSD: dc_ds.c,v 1.10 1999/11/15 09:54:42 nisimura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1996 The Board of Trustees of The Leland Stanford
|
||||
@ -102,6 +102,6 @@ dc_ds_attach(parent, self, aux)
|
||||
0x0,
|
||||
0, DCCOMM_PORT);
|
||||
|
||||
ibus_intr_establish((void*)iba->ia_cookie, IPL_TTY, dcintr, sc);
|
||||
ibus_intr_establish(parent, (void*)iba->ia_cookie, IPL_TTY, dcintr, sc);
|
||||
printf("\n");
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: findcons.c,v 1.17 1999/09/03 10:19:40 nisimura Exp $ */
|
||||
/* $NetBSD: findcons.c,v 1.18 1999/11/15 09:54:41 nisimura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Jonathan Stone
|
||||
@ -34,7 +34,7 @@
|
||||
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
__KERNEL_RCSID(0, "$NetBSD: findcons.c,v 1.17 1999/09/03 10:19:40 nisimura Exp $$");
|
||||
__KERNEL_RCSID(0, "$NetBSD: findcons.c,v 1.18 1999/11/15 09:54:41 nisimura Exp $$");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -143,7 +143,7 @@ integrate int dtop_kbd __P((int prom_slot));
|
||||
|
||||
integrate int pm_screen __P((int prom_slot));
|
||||
integrate int xcfb_screen __P((int prom_slot));
|
||||
integrate int tc_screen __P((int prom_slot));
|
||||
extern int tcfb_cnattach __P((int prom_slot));
|
||||
|
||||
integrate int dc_ds_serial __P((int prom_slot));
|
||||
integrate int dc_ioasic_serial __P((int prom_slot));
|
||||
@ -321,20 +321,6 @@ xcfb_screen(crtslot)
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
tc_screen(crtslot)
|
||||
int crtslot;
|
||||
{
|
||||
#if NTC > 0
|
||||
if (tc_findconsole(crtslot)) {
|
||||
return (1);
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Look for screen.
|
||||
*/
|
||||
@ -358,7 +344,7 @@ find_screen(crtslot)
|
||||
case DS_3MIN:
|
||||
case DS_3MAXPLUS:
|
||||
/* TC option video?*/
|
||||
if (tc_screen(crtslot))
|
||||
if (tcfb_cnattach(crtslot))
|
||||
return(1);
|
||||
break;
|
||||
default:
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sii_ds.c,v 1.8 1999/04/24 08:01:08 simonb Exp $ */
|
||||
/* $NetBSD: sii_ds.c,v 1.9 1999/11/15 09:54:42 nisimura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1996 The Board of Trustees of The Leland Stanford
|
||||
@ -115,7 +115,7 @@ sii_ds_attach(parent, self, aux)
|
||||
siiattach(sc);
|
||||
|
||||
/* tie pseudo-slot to device */
|
||||
ibus_intr_establish((void*)ia->ia_cookie, IPL_BIO, siiintr, sc);
|
||||
ibus_intr_establish(parent, (void*)ia->ia_cookie, IPL_BIO, siiintr, sc);
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_le_ibus.c,v 1.12 1999/11/15 05:25:58 nisimura Exp $ */
|
||||
/* $NetBSD: if_le_ibus.c,v 1.13 1999/11/15 09:54:43 nisimura Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1996 The Board of Trustees of The Leland Stanford
|
||||
@ -115,8 +115,7 @@ le_pmax_attach(parent, self, aux)
|
||||
|
||||
dec_le_common_attach(&lesc->sc_am7990, cp);
|
||||
|
||||
/* XXX more thought about ia->ia_cookie */
|
||||
ibus_intr_establish((void*)ia->ia_cookie, TC_IPL_NET,
|
||||
ibus_intr_establish(parent, (void*)ia->ia_cookie, IPL_NET,
|
||||
am7990_intr, sc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user