coreboot-kgpe-d16/payloads/libpayload/drivers
Gabe Black 37ef52d44b libpayload: Correct a constant used for scanning for USB controllers.
When checking to see if a PCI device exists at a particular bus/dev/func,
libpayload was checking the vendor and device id fields together against a 16
bit 0xffff. The two fields together are 32 bits, however, so the check was
never true, and all dev/func combinations on a particular bus would be
checked. That was slightly wasteful, but had relatively small impact.

Change-Id: Iad537295c33083243940b18e7a99af92857e1ef2
Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: http://review.coreboot.org/2521
Tested-by: build bot (Jenkins)
Reviewed-by: Dave Frodin <dave.frodin@se-eng.com>
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
2013-02-26 07:39:06 +01:00
..
storage libpayload: Export device count in storage interface 2012-11-14 17:39:03 +01:00
usb libpayload: Correct a constant used for scanning for USB controllers. 2013-02-26 07:39:06 +01:00
video libpayload: Always use virtual pointers in struct sysinfo_t 2012-11-15 18:51:37 +01:00
Makefile.inc libpayload: only compile drivers/serial.c on machines that use it. 2013-02-16 04:48:51 +01:00
cbmem_console.c libpayload: Fix license headers 2013-02-20 02:41:24 +01:00
hid.c make keyboard reset driver generic (not pc keyboard driver dependent) 2010-03-25 18:52:24 +00:00
keyboard.c libpayload: Fix handling of CAPS LOCK key on PS/2 keyboards 2011-11-10 17:51:53 +01:00
nvram.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
options.c libpayload: Fix lookup by label in CMOS layouts 2012-11-30 06:05:50 +01:00
pci.c [PATCH] libpayload: Fix the PCI search function 2008-10-20 16:52:06 +00:00
serial.c libpayload: Check if serial console h/w is present before using 2012-12-18 19:59:59 +01:00
speaker.c Fix libpayload speaker driver 2011-10-27 10:49:41 +02:00