diff --git a/sys/arch/alpha/alpha/dec_2100_a50.c b/sys/arch/alpha/alpha/dec_2100_a50.c index a923adcd8a7b..f3b18bb03c44 100644 --- a/sys/arch/alpha/alpha/dec_2100_a50.c +++ b/sys/arch/alpha/alpha/dec_2100_a50.c @@ -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 /* 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 #include @@ -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; diff --git a/sys/arch/alpha/alpha/dec_axppci_33.c b/sys/arch/alpha/alpha/dec_axppci_33.c index 0c4e1ffc4c86..cda9cb68e7a8 100644 --- a/sys/arch/alpha/alpha/dec_axppci_33.c +++ b/sys/arch/alpha/alpha/dec_axppci_33.c @@ -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 /* 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 #include @@ -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; diff --git a/sys/arch/alpha/alpha/dec_eb164.c b/sys/arch/alpha/alpha/dec_eb164.c index 4421a2c247b1..62787a4244b9 100644 --- a/sys/arch/alpha/alpha/dec_eb164.c +++ b/sys/arch/alpha/alpha/dec_eb164.c @@ -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 /* 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 #include @@ -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; diff --git a/sys/arch/alpha/alpha/dec_eb64plus.c b/sys/arch/alpha/alpha/dec_eb64plus.c index a169d7933ffe..caa22b58bbc1 100644 --- a/sys/arch/alpha/alpha/dec_eb64plus.c +++ b/sys/arch/alpha/alpha/dec_eb64plus.c @@ -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 /* 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 #include @@ -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; diff --git a/sys/arch/alpha/alpha/dec_kn20aa.c b/sys/arch/alpha/alpha/dec_kn20aa.c index 5923fff35e1c..6711b2c7336e 100644 --- a/sys/arch/alpha/alpha/dec_kn20aa.c +++ b/sys/arch/alpha/alpha/dec_kn20aa.c @@ -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 /* 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 #include @@ -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;