Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 1997 14:28:47 -0800
From:      "Glenn Dicus" <gdicus@nomadix.com>
To:        "Mobile FreeBSD" <mobile@freebsd.org>
Subject:   outb in pcic_probe
Message-ID:  <199712052226.OAA18721@mail.nomadix.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712052226.OAA18721>