diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-10-30 21:21:22 +0900 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-09 08:43:10 -0600 |
commit | fb23162885f7fd8cf7334bed22c25ac32c7d8b9d (patch) | |
tree | c0a02f0d3a402336ecf847074692fd486ff41b18 /cris-dis.c | |
parent | edb000350d265b2eddb297453ddf9d504fb85fd0 (diff) |
pci: initialize pci config headers depending it pci header type.
- Only sets default subsystem id for header type 00.(normal header type)
because header type 01 doesn't have subsystem id, and uses the register
for other purpose. So setting default subsystem id doesn't make sense.
- initialize wmask more for header type 01.(bridge header type)
Without those wmasks, linux was confused not boot,
and lspci was confused not to print out expected IO/memory range.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cris-dis.c')
0 files changed, 0 insertions, 0 deletions