Set machine-dependent obs405_device_register function to md_device_register.
This commit is contained in:
parent
49c3c14437
commit
8f63deecdb
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: machdep.c,v 1.1 2003/09/23 14:45:14 shige Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.2 2005/01/13 17:17:53 shige Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001, 2002 Wasabi Systems, Inc.
|
||||
@ -67,7 +67,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1 2003/09/23 14:45:14 shige Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.2 2005/01/13 17:17:53 shige Exp $");
|
||||
|
||||
#include "opt_compat_netbsd.h"
|
||||
#include "opt_ddb.h"
|
||||
@ -101,6 +101,8 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1 2003/09/23 14:45:14 shige Exp $");
|
||||
#include <machine/trap.h>
|
||||
#include <machine/powerpc.h>
|
||||
#include <powerpc/spr.h>
|
||||
#include <machine/obs405.h>
|
||||
|
||||
#include <powerpc/ibm4xx/dcr405gp.h>
|
||||
|
||||
#include "ksyms.h"
|
||||
@ -131,6 +133,9 @@ initppc(u_int startkernel, u_int endkernel, char *args, void *info_block)
|
||||
|
||||
ibm4xx_init((void (*)(void))ext_intr);
|
||||
|
||||
/* machine-dependent functions */
|
||||
md_device_register = obs405_device_register;
|
||||
|
||||
/*
|
||||
* Initialize console.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user