From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 11 Aug 2014 23:39:46 +0200 Subject: [U-Boot] pci command does not show Wifi card In-Reply-To: References: Message-ID: <201408112339.46465.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, August 11, 2014 at 11:16:28 PM, Fabio Estevam wrote: > On Mon, Aug 11, 2014 at 5:55 PM, Fabio Estevam wrote: > > Hi, > > > > On a mx6qsabresd I can see U-boot to detect my Wifi card on boot: > > > > U-Boot 2014.07-16451-g7496820-dirty (Aug 11 2014 - 17:43:44) > > > > CPU: Freescale i.MX6Q rev1.2 at 792 MHz > > Reset cause: POR > > Board: MX6-SabreSD > > I2C: ready > > DRAM: 1 GiB > > MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 > > > > 00:01.0 - 16c3:abcd - Bridge device > > > > 01:00.0 - 8086:08b1 - Network controller > > > > However when the 'pci' command is used I get: > > > > => pci > > Scanning PCI devices on bus 0 > > BusDevFun VendorId DeviceId Device Class Sub-Class > > _____________________________________________________________ > > 00.00.00 0x16c3 0xabcd Bridge device 0x04 > > 00.01.00 0x16c3 0xabcd Bridge device 0x04 > > > > Bridge device is listed twice and the network controller does not show > > up. > > > > Is this is a bug within common/cmd_pci.c ? > > Looks like I need to pass the bus number to the pci command to see the > wifi card: > > => pci 1 > Scanning PCI devices on bus 1 > BusDevFun VendorId DeviceId Device Class Sub-Class > _____________________________________________________________ > 01.00.00 0x8086 0x08b1 Network controller 0x80 Right, RTFM ;-) Best regards, Marek Vasut