Use correct name ("ioasic") when checking parent bus.
This commit is contained in:
parent
75367b2996
commit
5ca978e981
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mcclock_ioasic.c,v 1.4 1997/08/06 12:03:39 jonathan Exp $ */
|
||||
/* $NetBSD: mcclock_ioasic.c,v 1.5 1998/02/01 02:25:34 jonathan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
|
||||
@ -29,7 +29,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: mcclock_ioasic.c,v 1.4 1997/08/06 12:03:39 jonathan Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mcclock_ioasic.c,v 1.5 1998/02/01 02:25:34 jonathan Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -87,7 +87,7 @@ mcclock_ioasic_match(parent, match, aux)
|
||||
name = ca->ca_name;
|
||||
}
|
||||
else
|
||||
if (CFMATCH(parent, "asic")) {
|
||||
if (CFMATCH(parent, "ioasic")) {
|
||||
struct ioasicdev_attach_args *d = aux;
|
||||
addr = d->iada_addr;
|
||||
name = d->iada_modname;
|
||||
|
Loading…
Reference in New Issue
Block a user