Do not use sc_invalid, it is no more.
This commit is contained in:
parent
3df2b2feb5
commit
7bbfa300c6
@ -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 <jmcneill@invisible.ca>
|
* Copyright (c) 2006 Jared D. McNeill <jmcneill@invisible.ca>
|
||||||
@ -34,7 +34,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__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 <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -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_sh = (HAL_BUS_HANDLE) asc->sc_ioh;
|
||||||
sc->sc_dmat = aa->aa_dmat;
|
sc->sc_dmat = aa->aa_dmat;
|
||||||
|
|
||||||
sc->sc_invalid = 1;
|
|
||||||
|
|
||||||
asc->sc_ih = arbus_intr_establish(aa->aa_cirq, aa->aa_mirq, ath_intr,
|
asc->sc_ih = arbus_intr_establish(aa->aa_cirq, aa->aa_mirq, ath_intr,
|
||||||
sc);
|
sc);
|
||||||
if (asc->sc_ih == NULL) {
|
if (asc->sc_ih == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user