From 1a283ae18b1ddd14e800ea703eee377a97cfbfda Mon Sep 17 00:00:00 2001 From: jonathan Date: Sun, 19 Apr 1998 10:47:06 +0000 Subject: [PATCH] Use new ibus attach args. --- sys/arch/pmax/dev/pm_ds.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sys/arch/pmax/dev/pm_ds.c b/sys/arch/pmax/dev/pm_ds.c index efacb1631b58..40933b49b02a 100644 --- a/sys/arch/pmax/dev/pm_ds.c +++ b/sys/arch/pmax/dev/pm_ds.c @@ -1,4 +1,4 @@ -/* $NetBSD: pm_ds.c,v 1.6 1997/07/21 05:39:20 jonathan Exp $ */ +/* $NetBSD: pm_ds.c,v 1.7 1998/04/19 10:47:06 jonathan Exp $ */ /* * Copyright 1996 The Board of Trustees of The Leland Stanford @@ -21,6 +21,7 @@ #include #include #include +#include #include #include @@ -100,11 +101,11 @@ pm_ds_match(parent, match, aux) struct cfdata *match; void *aux; { - struct confargs *ca = aux; - caddr_t pmaddr = (caddr_t)ca->ca_addr; + struct ibus_attach_args *ia = aux; + caddr_t pmaddr = (caddr_t)ia->ia_addr; /* make sure that we're looking for this type of device. */ - if (strcmp(ca->ca_name, "pm") != 0) + if (strcmp(ia->ia_name, "pm") != 0) return (0); if (badaddr(pmaddr, 4)) @@ -119,8 +120,8 @@ pm_ds_attach(parent, self, aux) struct device *self; void *aux; { - /*struct confargs *ca = aux;*/ - /*caddr_t pmaddr = (caddr_t)ca->ca_addr;*/ + /*struct ibus_attach_args *ia = aux;*/ + /*caddr_t pmaddr = (caddr_t)ia->ia_addr;*/ if (!pminit(&pmfi, 0, 0)) return;