Shinya Kuribayashi 815b5bd5b1 PCI_READ_VIA_DWORD_OP: Fix *val uninitialized bug
This patch has been sent on:
- 6 Jun 2007

Many users of PCI config read routines tend to ignore the function
ret value, and are only concerned about the contents of *val. Based
on this, pci_hose_read_config_{byte,word}_via_dword should initialize
the *val on dword read error.

Without this fix, for example, we'll go on scanning bus with vendor or
header_type uninitialized. This brings many unnecessary config trials.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
2007-08-18 21:38:45 +02:00
..
2007-08-14 21:30:32 +02:00
2007-08-14 18:42:36 +02:00
2007-05-15 23:38:05 +02:00
2007-08-13 21:26:03 -04:00
2007-07-04 00:43:53 +02:00
2007-08-10 11:39:37 -05:00
2007-08-13 16:34:33 +02:00
2007-04-14 16:14:06 +02:00
2007-08-10 11:09:00 -05:00
2006-10-09 00:42:01 +02:00
2007-08-13 21:26:03 -04:00
2007-06-07 15:21:23 -04:00
2007-08-16 12:12:53 +02:00