From 7bbfa300c6047daff6cab8dc5733bf0e6570d894 Mon Sep 17 00:00:00 2001 From: dyoung Date: Wed, 12 Mar 2008 18:08:43 +0000 Subject: [PATCH] Do not use sc_invalid, it is no more. --- sys/arch/mips/atheros/dev/if_ath_arbus.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/arch/mips/atheros/dev/if_ath_arbus.c b/sys/arch/mips/atheros/dev/if_ath_arbus.c index 2770b6ad1b91..cfbb7ae3b056 100644 --- a/sys/arch/mips/atheros/dev/if_ath_arbus.c +++ b/sys/arch/mips/atheros/dev/if_ath_arbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_ath_arbus.c,v 1.11 2008/02/29 06:48:19 dyoung Exp $ */ +/* $NetBSD: if_ath_arbus.c,v 1.12 2008/03/12 18:08:43 dyoung Exp $ */ /*- * Copyright (c) 2006 Jared D. McNeill @@ -34,7 +34,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ath_arbus.c,v 1.11 2008/02/29 06:48:19 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ath_arbus.c,v 1.12 2008/03/12 18:08:43 dyoung Exp $"); #include #include @@ -157,8 +157,6 @@ ath_arbus_attach(device_t parent, device_t self, void *opaque) sc->sc_sh = (HAL_BUS_HANDLE) asc->sc_ioh; sc->sc_dmat = aa->aa_dmat; - sc->sc_invalid = 1; - asc->sc_ih = arbus_intr_establish(aa->aa_cirq, aa->aa_mirq, ath_intr, sc); if (asc->sc_ih == NULL) {