From owner-freebsd-current Mon Jul 5 16:16:22 1999 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id A8B7014E95; Mon, 5 Jul 1999 16:16:12 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id RAA20334; Mon, 5 Jul 1999 17:16:11 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id RAA59341; Mon, 5 Jul 1999 17:14:25 -0600 (MDT) Message-Id: <199907052314.RAA59341@harmony.village.org> To: Parag Patel Subject: Re: alpha kernel build failure (w/patch) Cc: Steve Price , freebsd-alpha@FreeBSD.ORG, freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Mon, 05 Jul 1999 10:59:37 PDT." <64807.931197577@pinhead.parag.codegen.com> References: <64807.931197577@pinhead.parag.codegen.com> Date: Mon, 05 Jul 1999 17:14:25 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <64807.931197577@pinhead.parag.codegen.com> Parag Patel writes: : Just curious, but is there a reason that these lines aren't simply : : sc->wb_btag = BUS_SPACE_IO; : : with this macro being set to the correct machine-specific one in some : appropriate header file? I'm sure I'm missing something... Yes. The bus tag should be obtained from new-bus's functions rather than it being hard coded. Also, the bus space on more complicated machines might be different than just I/O. In fact, even on Pccard machines one can make a good case for it being a different bus tag... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message