🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.netbsd.tech.kern
Article #79

Re: pchb@acpi again

#79
From: Chuck Silvers
Date: Sun, 21 Apr 2013 14:33
26 lines
3126 bytes
On Mon, Apr 15, 2013 at 12:26:06AM +0300, Jukka Ruohonen wrote:
> On Sat, Apr 13, 2013 at 06:26:19PM -0700, Chuck Silvers wrote:
> > anyway, there are more problems with the new pchb,
> > it's unhappy with the other two PCI root bridges in this system:
> > 
> > pchb7 at acpi0 (PCI1, PNP0A03-8): ACPI Host-PCI Bridge
> > pchb7: Can't get _PRT
> > pchb8 at acpi0 (PCI2, PNP0A03-9): ACPI Host-PCI Bridge
> > pchb8: Can't get _PRT
> > 
> > these really don't have a _PRT method, but the rest of the code doesn't mind.
> > they still attach fine with the mainbus attachment:
> > 
> > I guess that's because even though these root bridges themselves don't have
> > _PRT methods, the PCI bridges directly under them do have them.
> > so we'll need to accomodate that somehow.
> 
> Why not just probe _PRT in the match()? According to the spec, _PRT should
> be mandatory for all PCI root bridges.

I'm confused... if we were to make pchb_acpi_match() fail to match when the
root bridge device doesn't have a _PRT object, then how would you propose to
support systems like mine where some of the PCI root bridge devices don't have
_PRT objects?

-Chuck
Technical Details
Message-ID: <fa.tc62fFbce0+SpYHu6pZx1/9D9qU@ifi.uio.no>
Path: arc1-ca.pugleaf.net!p18ni8058wiv.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!193.166.3.22.MISMATCH!newsfeed3.funet.fi!newsfeeds.funet.fi!uio.no!nntp.uio.no!.POSTED!not-for-mail
References: <fa.uJHHBbTNz25SzUgyYHRvjdtxbSU@ifi.uio.no> <fa.l065r8g/boh8Wxrx35LRmcupVn0@ifi.uio.no> <fa.5Bktg6MSFFhoN4VwuaGQU8ywRGk@ifi.uio.no> <fa.Vqe2q/XnkjyxfjvIlyzs4OLpJOA@ifi.uio.no> <fa.2Akj5++D5LZKmGB4U1eo2a2zYD0@ifi.uio.no>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c6f4,c9fc83a65eb70a5f
X-Google-NewGroupId: yes
X-Google-Attributes: gidb7e13b6095,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.180.198.210 with SMTP id je18mr11031368wic.1.1366554792178;
        Sun, 21 Apr 2013 07:33:12 -0700 (PDT)
Path: arc1-ca.pugleaf.net!p18ni8058wiv.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!193.166.3.22.MISMATCH!newsfeed3.funet.fi!newsfeeds.funet.fi!uio.no!nntp.uio.no!.POSTED!not-for-mail
From: Chuck Silvers <chuq@chuq.com>
Newsgroups: fa.netbsd.tech.kern
Subject: Re: pchb@acpi again
Date: Sun, 21 Apr 2013 14:33:12 UTC
Organization: Internet mailing list
Lines: 26
Sender: tech-kern-owner@NetBSD.org
Message-ID: <fa.tc62fFbce0+SpYHu6pZx1/9D9qU@ifi.uio.no>
References: <fa.uJHHBbTNz25SzUgyYHRvjdtxbSU@ifi.uio.no> <fa.l065r8g/boh8Wxrx35LRmcupVn0@ifi.uio.no> <fa.5Bktg6MSFFhoN4VwuaGQU8ywRGk@ifi.uio.no> <fa.Vqe2q/XnkjyxfjvIlyzs4OLpJOA@ifi.uio.no> <fa.2Akj5++D5LZKmGB4U1eo2a2zYD0@ifi.uio.no>
NNTP-Posting-Host: mail-jess.uio.no
Mime-Version: 1.0
X-Trace: readme.uio.no 1366554792 15005 129.240.7.9 (21 Apr 2013 14:33:12 GMT)
X-Complaints-To: abuse@uio.no
NNTP-Posting-Date: Sun, 21 Apr 2013 14:33:12 +0000 (UTC)
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: tech-kern@netbsd.org
To: current-users@NetBSD.org
Delivered-To: tech-kern@netbsd.org
X-Virus-Scanned: amavisd-new at NetBSD.org
In-Reply-To: <20130414212606.GA28389@marx.bitnet>
List-Id: tech-kern.NetBSD.org
Original-Date: Sun, 21 Apr 2013 07:32:29 -0700
Original-Message-Id: <20130421143229.GA7327@spathi.chuq.com>
Original-References: <20130407.213828.102591255.kiyohara@kk.iij4u.or.jp>
 <20130408163406.GB25751@spathi.chuq.com>
 <20130409.074425.31967194.kiyohara@kk.iij4u.or.jp>
 <20130414012619.GA6627@spathi.chuq.com>
 <20130414212606.GA28389@marx.bitnet>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline