Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 May 2001 02:46:40 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Joseph Mallett <jmallett@newgold.net>
Cc:        hackers@FreeBSD.org
Subject:   Re: syscalls for getting information about system bus? 
Message-ID:  <200105080946.f489kei02748@mass.dis.org>
In-Reply-To: Your message of "Tue, 08 May 2001 05:21:31 EDT." <Pine.BSO.4.33.0105080518280.9795-100000@Aphex.NewGold.NET> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I'm sure this probably reeks of cluelessness, but I'm wondering how I can
> find each bus in the system, and if it's PCI/ISA/whatever, so that I could
> say "1 PCI bus, 1 ISA bus in system", etc. without having to probe the
> system directly, since I want to make what I'm working on portable.

See libdevinfo in -current.  There's nothing really portable for this 
sort of thing, though.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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