Fix inverted device_is_a() logic in previous conversion.
This commit is contained in:
parent
774f60551c
commit
1c977dd5bd
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: dma_sbus.c,v 1.27 2006/02/27 03:02:47 thorpej Exp $ */
|
||||
/* $NetBSD: dma_sbus.c,v 1.28 2006/02/28 23:10:49 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -66,7 +66,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: dma_sbus.c,v 1.27 2006/02/27 03:02:47 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: dma_sbus.c,v 1.28 2006/02/28 23:10:49 kleink Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -184,7 +184,7 @@ dmaattach_sbus(parent, self, aux)
|
|||
sc->sc_burst = (burst & SBUS_BURST_32) ? 32 :
|
||||
(burst & SBUS_BURST_16) ? 16 : 0;
|
||||
|
||||
if (device_is_a(&sc->sc_dev, "ledma") == 0) {
|
||||
if (device_is_a(&sc->sc_dev, "ledma")) {
|
||||
char *cabletype;
|
||||
u_int32_t csr;
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue