Fix bug for io_bar size during pci scan
authorJin Zhengxiong-R64188 <Jason.Jin@freescale.com>
Tue, 27 Jun 2006 10:12:02 +0000 (18:12 +0800)
committerJon Loeliger <jdl@freescale.com>
Tue, 27 Jun 2006 14:18:22 +0000 (09:18 -0500)
commitbd22c2b97514fbfb0e03bd9c72b3445e4dbd57e2
treec026eee6df1d929f61bf69e7b859cf5efff79a19
parentfa7db9c377bc2353a17bf1d381d65a6c418728f0
Fix bug for io_bar size during pci scan

During the pci scan process, Some devices return bar_reponse with the
highest bytes 0, such as the pci bridge in uli1575 return bar_response
with 0xffffff, So the bar_size should be manually set under 64K.

Signed-off-by: Jason Jin <jason.jin@freescale.com>
drivers/pci_auto.c