Adapt to sbusvar.h changes.
This commit is contained in:
parent
570420748b
commit
e7856d0f2a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sio16.c,v 1.4 2002/03/20 20:39:15 eeh Exp $ */
|
||||
/* $NetBSD: sio16.c,v 1.5 2002/09/04 16:12:23 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998, 2001 Matthew R. Green
|
||||
@ -38,7 +38,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: sio16.c,v 1.4 2002/03/20 20:39:15 eeh Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: sio16.c,v 1.5 2002/09/04 16:12:23 martin Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/conf.h>
|
||||
@ -153,9 +153,9 @@ sio16_attach(parent, self, aux)
|
||||
* a 4 byte region for interrupt acknowledgement.
|
||||
*/
|
||||
if (sbus_bus_map(sa->sa_bustag,
|
||||
sa->sa_reg[0].sbr_slot,
|
||||
sa->sa_reg[0].sbr_offset,
|
||||
sa->sa_reg[0].sbr_size,
|
||||
sa->sa_reg[0].oa_space,
|
||||
sa->sa_reg[0].oa_base,
|
||||
sa->sa_reg[0].oa_size,
|
||||
0, &h) != 0) {
|
||||
printf("%s at sbus: can not map registers 0\n",
|
||||
self->dv_xname);
|
||||
|
Loading…
Reference in New Issue
Block a user