make this work.
This commit is contained in:
parent
5cf2b10df8
commit
a9d7b546d6
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hpcin.c,v 1.2 2001/06/04 18:59:32 uch Exp $ */
|
||||
/* $NetBSD: hpcin.c,v 1.3 2001/06/13 19:02:13 uch Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -40,6 +40,8 @@
|
||||
#include <sys/device.h>
|
||||
|
||||
#include <machine/config_hook.h>
|
||||
#include <machine/bus.h>
|
||||
|
||||
#include <dev/hpc/hpciovar.h>
|
||||
#include <dev/hpc/hpciomanvar.h>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hpcioman.c,v 1.3 2001/06/04 18:59:32 uch Exp $ */
|
||||
/* $NetBSD: hpcioman.c,v 1.4 2001/06/13 19:02:14 uch Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999-2001 The NetBSD Foundation, Inc.
|
||||
@ -44,6 +44,7 @@
|
||||
#include <machine/platid.h>
|
||||
#include <machine/platid_mask.h>
|
||||
|
||||
#include <machine/bus.h>
|
||||
#include <dev/hpc/hpciovar.h>
|
||||
#include <dev/hpc/hpciomanvar.h>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hpcout.c,v 1.2 2001/06/04 18:59:32 uch Exp $ */
|
||||
/* $NetBSD: hpcout.c,v 1.3 2001/06/13 19:02:14 uch Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -40,6 +40,8 @@
|
||||
#include <sys/device.h>
|
||||
|
||||
#include <machine/config_hook.h>
|
||||
#include <machine/bus.h>
|
||||
|
||||
#include <dev/hpc/hpciovar.h>
|
||||
#include <dev/hpc/hpciomanvar.h>
|
||||
|
||||
@ -79,6 +81,8 @@ hpcout_attach(struct device *parent, struct device *self, void *aux)
|
||||
struct hpcioman_attach_args *hma = aux;
|
||||
struct hpcout_softc *sc = (void *)self;
|
||||
|
||||
sc->sc_hma = *hma; /* structure assignment */
|
||||
|
||||
if (hma->hma_hc == NULL ||
|
||||
hma->hma_type == HPCIOMANCF_EVTYPE_DEFAULT ||
|
||||
hma->hma_id == HPCIOMANCF_ID_DEFAULT ||
|
||||
|
Loading…
Reference in New Issue
Block a user