From 5c062abb6487b551f9be0af7697ef14ffbf58fb3 Mon Sep 17 00:00:00 2001 From: pk Date: Sat, 27 Feb 1999 22:21:13 +0000 Subject: Fix the bus print function. --- sys/dev/sbus/stp4020.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/sbus/stp4020.c b/sys/dev/sbus/stp4020.c index fafdddc5d5b..8eab28f5bca 100644 --- a/sys/dev/sbus/stp4020.c +++ b/sys/dev/sbus/stp4020.c @@ -1,4 +1,4 @@ -/* $NetBSD: stp4020.c,v 1.2 1999/02/27 13:17:08 pk Exp $ */ +/* $NetBSD: stp4020.c,v 1.3 1999/02/27 22:21:13 pk Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -236,13 +236,10 @@ stp4020print(aux, busname) void *aux; const char *busname; { - struct sbus_attach_args *sa = aux; - bus_space_tag_t t = sa->sa_bustag; - struct stp4020_softc *sc = t->cookie; + struct pcmciabus_attach_args *paa; + struct stp4020_socket *h = paa->pch; - sa->sa_bustag = sc->sc_bustag; /* XXX */ - sbus_print(aux, busname); /* XXX */ - sa->sa_bustag = t; /* XXX */ + printf(" socket %d", h->sock); return (UNCONF); } -- cgit