From owner-freebsd-hackers Fri May 25 8:40:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id F17FF37B422 for ; Fri, 25 May 2001 08:40:35 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 153Jhb-000I2r-00; Fri, 25 May 2001 16:40:35 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f4PFeY121679; Fri, 25 May 2001 16:40:34 +0100 (BST) (envelope-from jcm) Date: Fri, 25 May 2001 16:40:34 +0100 From: j mckitrick To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: removing inb()/outb() from devices Message-ID: <20010525164033.A21603@dogma.freebsd-uk.eu.org> References: <20010523171539.A43898@dogma.freebsd-uk.eu.org> <200105250206.f4P26wl39972@billy-club.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200105250206.f4P26wl39972@billy-club.village.org>; from imp@village.org on Thu, May 24, 2001 at 08:06:58PM -0600 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG One more question: In the probe routines, the values of the hardware ports are changing from one chipset to the next. Throughout the ppc driver, the regular macros are used to access the parallel port control registers, but in the probe routine it reverts to inb/outb, probably because it makes no sense to allocate a port for 2 or three operations, then deallocate it and choose another one. So, should the inb/outb calls in the probe functions be left alone? This is specifically for the ppc driver, where several possible chipsets must be addressed by one driver. jcm -- "I drank WHAT ?!" - Socrates To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message