From 0e72b761634e3bcec7da0779e3d65a5a4a0d392c Mon Sep 17 00:00:00 2001 From: is Date: Sun, 25 Mar 2001 16:14:00 +0000 Subject: [PATCH] Missing changes to the last update, making this compile (and work) again. --- sys/arch/amiga/dev/isic_supio.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/arch/amiga/dev/isic_supio.c b/sys/arch/amiga/dev/isic_supio.c index e62ff2aac2d8..674222d67f5e 100644 --- a/sys/arch/amiga/dev/isic_supio.c +++ b/sys/arch/amiga/dev/isic_supio.c @@ -1,4 +1,4 @@ -/* $NetBSD: isic_supio.c,v 1.5 2001/03/24 12:45:15 martin Exp $ */ +/* $NetBSD: isic_supio.c,v 1.6 2001/03/25 16:14:00 is Exp $ */ /* * Copyright (c) 1998,2001 Ignatios Souvatzis. All rights reserved. @@ -74,6 +74,9 @@ #include #include +/* XXX I think the following line should be elsewhere ... -is */ +extern const struct isdn_layer1_bri_driver isic_std_driver; + /*static*/ int isic_supio_match __P((struct device *, struct cfdata *, void *)); /*static*/ void isic_supio_attach __P((struct device *, struct device *, void *)); @@ -317,9 +320,8 @@ supio_isicattach(struct l1_softc *sc) /* HSCX setup */ - isic_bchannel_setup(sc->sc_unit, HSCX_CH_A, BPROT_NONE, 0); - - isic_bchannel_setup(sc->sc_unit, HSCX_CH_B, BPROT_NONE, 0); + isic_bchannel_setup(sc, HSCX_CH_A, BPROT_NONE, 0); + isic_bchannel_setup(sc, HSCX_CH_B, BPROT_NONE, 0); /* setup linktab */