From owner-freebsd-hackers Sun Jul 4 15: 0: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 5AE6314FB3 for ; Sun, 4 Jul 1999 14:59:55 -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 PAA16607; Sun, 4 Jul 1999 15:59:50 -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 PAA44776; Sun, 4 Jul 1999 15:57:52 -0600 (MDT) Message-Id: <199907042157.PAA44776@harmony.village.org> To: Doug Rabson Subject: Re: The busspace modernization initiative. Cc: hackers@freebsd.org In-reply-to: Your message of "Sun, 04 Jul 1999 22:40:05 BST." References: Date: Sun, 04 Jul 1999 15:57:52 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Doug Rabson writes: : This seems to bypass the nexus completely which isn't right. It wouldn't : detect conflicts between bus_space_alloc and the new-bus resource apis : since it has its own instances of struct rman. This is true. However, that's just because that was what the code that I acquired from the newconfig people did. I don't think that it must be this way. : Do we really need to : support this api for common newconfig style drivers? Yes. I believe that we do. One thing that this is used for is to map things, even if they conflict. I'm sure I understand why it does that beyond checks for conflicts/valid I/O addresses in some drivers (mostly the scsi drivers). I'll have to look into what this API is supposed to do.... It is definitely heavily used (or at least used in almost all) in the few drivers that I've tried to port over.... It doesn't change the fact that bus_space_hanle_t is supposed to be an opaque type and many places in the three don't treat it as such.... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message