From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 13 22:40:13 2015 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28B4FE02 for ; Mon, 13 Apr 2015 22:40:13 +0000 (UTC) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D018B3B9 for ; Mon, 13 Apr 2015 22:40:12 +0000 (UTC) Received: from [10.1.254.5] (69-12-170-18.dedicated.static.sonic.net [69.12.170.18]) (authenticated bits=0) by mail.xcllnt.net (8.14.9/8.14.9) with ESMTP id t3DMdrZG053870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Apr 2015 15:39:54 -0700 (PDT) (envelope-from marcel@xcllnt.net) Subject: Re: Should the MPC8544 root complex really show up as a device? Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_AC670492-680B-4AA4-9F81-8C95FA738B02"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Marcel Moolenaar In-Reply-To: Date: Mon, 13 Apr 2015 15:39:46 -0700 Cc: FreeBSD PowerPC ML Message-Id: <6368B454-B882-4D0B-ACBE-02AE0F78D7C5@xcllnt.net> References: To: Justin Hibbits X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 22:40:13 -0000 --Apple-Mail=_AC670492-680B-4AA4-9F81-8C95FA738B02 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Apr 13, 2015, at 3:28 PM, Justin Hibbits = wrote: >=20 > I'm trying to get the mini-PCIe slot on my RouterBoard RB800 working, > and running into a snag. It works just fine in RouterOS (Linux), but > on FreeBSD, the card in the slot doesn't show up. =46rom all my > Googling, it appears the slot should show up on PCIe controller 1, but > the only device that shows up is the root complex as 1/0:0:0, as type > Processor. Should this show up anyway? Shouldn't the device behind > it show up instead? The problem is that the device is flagged as a processor, not as a PCI bridge. That=E2=80=99s why it shows up and also why you don=E2=80= =99t find anything underneath. One way to fix it is by spoofing the device type in sys/powerpc/mpc85xx/pci_mpc85xx.c or otherwise by changing common PCI code to accept this device as a (host) bridge. HTH, -- Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_AC670492-680B-4AA4-9F81-8C95FA738B02 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVLEWzAAoJEIda8t8f0tjj2iAQAII0nto3+Lz6pSo1ztBMjxE/ h0qtwgx5tuMTVkhjFHNIiaHY99/KBrdmq/OfH7NanL0zu0BpNV72tp24ub3++K/O CW6osYY5pZicP2nfKXec34cuNt8Vn1B4t17X3SjJ8JCwrtBEWis3LimDyNhL7nGv OaowkG7ldmznktESoNMQnwMAx+wV1CkWb5rynivq7dGO8RbqjZwFDiQuLaFiNZ61 JuoKlLX9B4sl8kq8ZNx3vRUuOFlccO6+pikeDOG7jkPhlQqev6RcdZw5hhXEKIO6 jj0H2+g5Fh362d/enKR+kK0LXTqFGxTe1DGbqQwaQsMmnxbe5SkwVY/g52SIycOH hfpDNhPuS+pcOLLmccJQNiY2esCkcLioTz4PnRmHysDikr9asRKWCcSL9l/HiaUx GnKv1zQWwpi+oobN1xb+0p/oIEXTLCfB3SXl8H4DlR7Slwv7TlUzQGSjy+GrXc15 SSRPAkANYOULjnRreSLM3h7eL//LfvzUY7tt/8iNYC61jQo2SSYq681ao/6pq17l oCxlUhmWg72iVmxipk+2g7Rjq3piKEZL/H/YepOZYVPdSYd1cuMc4i/tR8Faow0+ OFXM2w2trdDHGmVY/14ixZpwVLRQ2k3EdsQoHR8ctZCqMv5ofUtUtITRvmMguS2b bh9BpD9Qaih2apPFsQwI =LCqj -----END PGP SIGNATURE----- --Apple-Mail=_AC670492-680B-4AA4-9F81-8C95FA738B02--