Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Nov 1996 15:40:08 -0700
From:      Steve Passe <smp@csn.net>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        Chuck Robey <chuckr@glue.umd.edu>, joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
Subject:   Re: motherboard chipset identification 
Message-ID:  <199611082240.PAA02599@clem.systemsix.com>
In-Reply-To: Your message of "Fri, 08 Nov 1996 22:41:52 %2B0100." <199611082141.WAA07413@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> I need to be able to tell which chipset is being used on a motherboard
> during the boot process (Neptune, Triton, Natoma, etc.)  Could someone
> point me towards the code in the kernel that determines this info???

Several people have pointed out sys/pci/pcisupport.c.  This is a starting
point, but the chips of interest to me are non-PCI things, like system
controller chips (combo chips that are typically part of the  MB "chip-set"
and contain the timers, icus, etc.)  The IO APIC is sometimes contained
in these, and comes in different flavors that need slightly different
programming techniques.  My specific problem is that you need (so the manuals
claim) to access the IOSELREG via byte writes on some flavors, but DWORD writes
on others.  so its a catch-22 situation, I need to know which flavor it is
before I can access it, but I can't safely probe it for clues, cause I don't
know which flavor it is.  (thank you very much, #$&^*&# Intel)

The closest I will come is by knowing what types of other system chips
are used, then deducing which IO APIC is most likely to be present from that.
The MP spec defines boards without PCI busses, so I need a more general
mechanism.

Note that it might not be quite this problematic, all I know right now is we
have flavors that aren't working, and this appears to be a likely reason.

--
Steve Passe	| powered by
smp@csn.net	|            FreeBSD

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzHe7tEAAAEEAM274wAEEdP+grIrV6UtBt54FB5ufifFRA5ujzflrvlF8aoE
04it5BsUPFi3jJLfvOQeydbegexspPXL6kUejYt2OeptHuroIVW5+y2M2naTwqtX
WVGeBP6s2q/fPPAS+g+sNZCpVBTbuinKa/C4Q6HJ++M9AyzIq5EuvO0a8Rr9AAUR
tBlTdGV2ZSBQYXNzZSA8c21wQGNzbi5uZXQ+
=ds99
-----END PGP PUBLIC KEY BLOCK-----




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