Update for changes to how bus space tags are initialized.
This commit is contained in:
parent
90798596fe
commit
44e33a2f5f
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dec_2100_a50.c,v 1.31 1997/09/02 13:18:01 thorpej Exp $ */
|
||||
/* $NetBSD: dec_2100_a50.c,v 1.32 1997/09/02 20:43:07 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.31 1997/09/02 13:18:01 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_2100_a50.c,v 1.32 1997/09/02 20:43:07 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -115,7 +115,7 @@ dec_2100_a50_cons_init()
|
||||
*/
|
||||
DELAY(160000000 / comcnrate);
|
||||
|
||||
if(comcnattach(acp->ac_iot, 0x3f8, comcnrate,
|
||||
if(comcnattach(&acp->ac_iot, 0x3f8, comcnrate,
|
||||
(TTYDEF_CFLAG & ~(CSIZE | PARENB)) | CS8))
|
||||
panic("can't init serial console");
|
||||
|
||||
@ -126,9 +126,9 @@ dec_2100_a50_cons_init()
|
||||
/* display console ... */
|
||||
/* XXX */
|
||||
if ((ctb->ctb_turboslot & 0xffff) == 0)
|
||||
isa_display_console(acp->ac_iot, acp->ac_memt);
|
||||
isa_display_console(&acp->ac_iot, &acp->ac_memt);
|
||||
else
|
||||
pci_display_console(acp->ac_iot, acp->ac_memt,
|
||||
pci_display_console(&acp->ac_iot, &acp->ac_memt,
|
||||
&acp->ac_pc, (ctb->ctb_turboslot >> 8) & 0xff,
|
||||
ctb->ctb_turboslot & 0xff, 0);
|
||||
break;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dec_axppci_33.c,v 1.29 1997/09/02 13:18:05 thorpej Exp $ */
|
||||
/* $NetBSD: dec_axppci_33.c,v 1.30 1997/09/02 20:43:09 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_axppci_33.c,v 1.29 1997/09/02 13:18:05 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_axppci_33.c,v 1.30 1997/09/02 20:43:09 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -98,7 +98,7 @@ dec_axppci_33_cons_init()
|
||||
*/
|
||||
DELAY(160000000 / comcnrate);
|
||||
|
||||
if(comcnattach(lcp->lc_iot, 0x3f8, comcnrate,
|
||||
if(comcnattach(&lcp->lc_iot, 0x3f8, comcnrate,
|
||||
(TTYDEF_CFLAG & ~(CSIZE | PARENB)) | CS8))
|
||||
panic("can't init serial console");
|
||||
|
||||
@ -109,9 +109,9 @@ dec_axppci_33_cons_init()
|
||||
/* display console ... */
|
||||
/* XXX */
|
||||
if ((ctb->ctb_turboslot & 0xffff) == 0)
|
||||
isa_display_console(lcp->lc_iot, lcp->lc_memt);
|
||||
isa_display_console(&lcp->lc_iot, &lcp->lc_memt);
|
||||
else
|
||||
pci_display_console(lcp->lc_iot, lcp->lc_memt,
|
||||
pci_display_console(&lcp->lc_iot, &lcp->lc_memt,
|
||||
&lcp->lc_pc, (ctb->ctb_turboslot >> 8) & 0xff,
|
||||
ctb->ctb_turboslot & 0xff, 0);
|
||||
break;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dec_eb164.c,v 1.17 1997/09/02 13:18:07 thorpej Exp $ */
|
||||
/* $NetBSD: dec_eb164.c,v 1.18 1997/09/02 20:43:10 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_eb164.c,v 1.17 1997/09/02 13:18:07 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_eb164.c,v 1.18 1997/09/02 20:43:10 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -95,7 +95,7 @@ dec_eb164_cons_init()
|
||||
*/
|
||||
DELAY(160000000 / comcnrate);
|
||||
|
||||
if(comcnattach(ccp->cc_iot, 0x3f8, comcnrate,
|
||||
if(comcnattach(&ccp->cc_iot, 0x3f8, comcnrate,
|
||||
(TTYDEF_CFLAG & ~(CSIZE | PARENB)) | CS8))
|
||||
panic("can't init serial console");
|
||||
|
||||
@ -106,9 +106,9 @@ dec_eb164_cons_init()
|
||||
/* display console ... */
|
||||
/* XXX */
|
||||
if ((ctb->ctb_turboslot & 0xffff) == 0)
|
||||
isa_display_console(ccp->cc_iot, ccp->cc_memt);
|
||||
isa_display_console(&ccp->cc_iot, &ccp->cc_memt);
|
||||
else
|
||||
pci_display_console(ccp->cc_iot, ccp->cc_memt,
|
||||
pci_display_console(&ccp->cc_iot, &ccp->cc_memt,
|
||||
&ccp->cc_pc, (ctb->ctb_turboslot >> 8) & 0xff,
|
||||
ctb->ctb_turboslot & 0xff, 0);
|
||||
break;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dec_eb64plus.c,v 1.6 1997/09/02 13:18:08 thorpej Exp $ */
|
||||
/* $NetBSD: dec_eb64plus.c,v 1.7 1997/09/02 20:43:11 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_eb64plus.c,v 1.6 1997/09/02 13:18:08 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_eb64plus.c,v 1.7 1997/09/02 20:43:11 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -95,7 +95,7 @@ dec_eb64plus_cons_init()
|
||||
*/
|
||||
DELAY(160000000 / comcnrate);
|
||||
|
||||
if(comcnattach(acp->ac_iot, 0x3f8, comcnrate,
|
||||
if(comcnattach(&acp->ac_iot, 0x3f8, comcnrate,
|
||||
(TTYDEF_CFLAG & ~(CSIZE | PARENB)) | CS8))
|
||||
panic("can't init serial console");
|
||||
|
||||
@ -106,9 +106,9 @@ dec_eb64plus_cons_init()
|
||||
/* display console ... */
|
||||
/* XXX */
|
||||
if ((ctb->ctb_turboslot & 0xffff) == 0)
|
||||
isa_display_console(acp->ac_iot, acp->ac_memt);
|
||||
isa_display_console(&acp->ac_iot, &acp->ac_memt);
|
||||
else
|
||||
pci_display_console(acp->ac_iot, acp->ac_memt,
|
||||
pci_display_console(&acp->ac_iot, &acp->ac_memt,
|
||||
&acp->ac_pc, (ctb->ctb_turboslot >> 8) & 0xff,
|
||||
ctb->ctb_turboslot & 0xff, 0);
|
||||
break;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dec_kn20aa.c,v 1.29 1997/09/02 13:18:10 thorpej Exp $ */
|
||||
/* $NetBSD: dec_kn20aa.c,v 1.30 1997/09/02 20:43:12 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1997 Carnegie-Mellon University.
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_kn20aa.c,v 1.29 1997/09/02 13:18:10 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dec_kn20aa.c,v 1.30 1997/09/02 20:43:12 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -98,7 +98,7 @@ dec_kn20aa_cons_init()
|
||||
*/
|
||||
DELAY(160000000 / comcnrate);
|
||||
|
||||
if(comcnattach(ccp->cc_iot, 0x3f8, comcnrate,
|
||||
if(comcnattach(&ccp->cc_iot, 0x3f8, comcnrate,
|
||||
(TTYDEF_CFLAG & ~(CSIZE | PARENB)) | CS8))
|
||||
panic("can't init serial console");
|
||||
|
||||
@ -109,9 +109,9 @@ dec_kn20aa_cons_init()
|
||||
/* display console ... */
|
||||
/* XXX */
|
||||
if ((ctb->ctb_turboslot & 0xffff) == 0)
|
||||
isa_display_console(ccp->cc_iot, ccp->cc_memt);
|
||||
isa_display_console(&ccp->cc_iot, &ccp->cc_memt);
|
||||
else
|
||||
pci_display_console(ccp->cc_iot, ccp->cc_memt,
|
||||
pci_display_console(&ccp->cc_iot, &ccp->cc_memt,
|
||||
&ccp->cc_pc, (ctb->ctb_turboslot >> 8) & 0xff,
|
||||
ctb->ctb_turboslot & 0xff, 0);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user