From owner-freebsd-current Sun Aug 27 8:47:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from mout2.silyn-tek.de (mout2.silyn-tek.de [194.25.165.70]) by hub.freebsd.org (Postfix) with ESMTP id 6CB5837B423 for ; Sun, 27 Aug 2000 08:47:15 -0700 (PDT) Received: from [192.168.32.33] (helo=mx1.silyn-tek.de) by mout2.silyn-tek.de with esmtp (Exim 3.13 #1) id 13T4eA-0002px-00; Sun, 27 Aug 2000 17:46:58 +0200 Received: from p3ee1c397.dip0.t-ipconnect.de ([62.225.195.151] helo=neutron.cichlids.com) by mx1.silyn-tek.de with esmtp (Exim 3.13 #1) id 13T4e6-0008Vd-00; Sun, 27 Aug 2000 17:46:54 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by neutron.cichlids.com (Postfix) with ESMTP id 9FEEFAB91; Sun, 27 Aug 2000 17:48:25 +0200 (CEST) Received: by cichlids.cichlids.com (Postfix, from userid 1001) id 707FA14A9B; Sun, 27 Aug 2000 17:46:47 +0200 (CEST) Date: Sun, 27 Aug 2000 17:46:47 +0200 To: Seigo Tanimura Cc: Peter Jeremy , freebsd-current@FreeBSD.ORG Subject: Re: Newbusifying ed broke it Message-ID: <20000827174647.A18239@cichlids.cichlids.com> Mail-Followup-To: Seigo Tanimura , Peter Jeremy , freebsd-current@FreeBSD.ORG References: <00Aug17.111332est.115207@border.alcanet.com.au> <86wvhga6sg.wl@bunko.carrots.uucp.r.dl.itc.u-tokyo.ac.jp.nkth.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <86wvhga6sg.wl@bunko.carrots.uucp.r.dl.itc.u-tokyo.ac.jp.nkth.carrots.uucp.r.dl.itc.u-tokyo.ac.jp>; from tanimura@r.dl.itc.u-tokyo.ac.jp on Thu, Aug 17, 2000 at 12:46:39PM +0900 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. From: alex@big.endian.de (Alexander Langer) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thus spake Seigo Tanimura (tanimura@r.dl.itc.u-tokyo.ac.jp): > - bus_space_write_1(sc->bst, sc->bsh, regno, data); > + bus_space_write_1(rman_get_bustag(sc->port_res), rman_get_bushandle(sc->port_res), regno, data); Hmm. I used sc->bst/h to save function calls to rman_get_bus*, as many drivers use it. But obvioiusly I forgot to assign the values. I REALLY wonder why it worked for me ... strange. Thanks for fixing that. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message