Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 10:27:24 +0530
From:      Upakul Barkakaty <upakul@gmail.com>
To:        freebsd-ppc@freebsd.org
Subject:   USB Device connected to PCI express not working on mpc8641d
Message-ID:  <bb58ac4d0901202057g3c995908tcaadb931be7f7afb@mail.gmail.com>

index | next in thread | raw e-mail

Hi all,

Looks like I have been hit by another of these pci setup issues. My
Setup is as follows:

[MPC8614D]--[PCI Express]--[PCIe to PCI bridge]--[NEC USB Host
controller card]-->[USB Pen Drive]

The same USB card and drivers are working on another board, where the
bus is PCI. I tried to debug the USB driver, and it seems to be
booting up fine. Even the interrupt handling seems proper. So I come
down to the grey area, that is PCIe.

The USB host controllers seem to initialize fine and are detected by
the PCI utilities. However when I connect a USB device, then it fails
@ set addree or get descriptor, whichever transaction is first.

So I had a few questions:
1. The processor CCSRBAR map has a PCI Express entry. Am I required to
make another entry into the LAWBAR registers for PCI express?

2. Does the PCIe to PCI bridge need to be configured for the inbound/
outbound windows or read/write routines...anything in particular?

3. How do I verify that the PCIe inbound/outbound windows are mapped
correctly? Any other setting which needs to be done in this case?

Any pointers in this regard will be highly appreciated.

Thanks


home | help

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