From owner-freebsd-mobile Fri Dec 5 14:28:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA17259 for mobile-outgoing; Fri, 5 Dec 1997 14:28:03 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from mail.nomadix.com (mail.nomadix.com [205.147.49.199]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA17237 for ; Fri, 5 Dec 1997 14:27:58 -0800 (PST) (envelope-from gdicus@nomadix.com) Received: from gdicus.nomadix.com (nomad7.nomadix.com [205.147.49.207]) by mail.nomadix.com (8.8.3/8.7.2) with ESMTP id OAA18721 for ; Fri, 5 Dec 1997 14:26:08 -0800 (PST) Message-Id: <199712052226.OAA18721@mail.nomadix.com> From: "Glenn Dicus" To: "Mobile FreeBSD" Subject: outb in pcic_probe Date: Fri, 5 Dec 1997 14:28:47 -0800 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1161 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Looking over the sourc code for outb I have noticed that there are several definitions for outb, all of which are hard to understand. In pcic_probe there are two successive outb() calls to the same configuration port outb(sp->index, 0x0E); outb(sp>index, 0x37); Then setb(sp, 0x3A, 0x40); Does anyone know what this code is doing to the registers? If so, which definition of outb(), setb() are being implemented? I am using FreeBSD 2.2.2-RELEASE. Thanks Glenn Dicus