diff options
author | Aaron Young <ayoung@google.engr.sgi.com> | 2006-06-28 17:34:55 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-06-28 19:02:42 +0200 |
commit | d3e5e1a1b4f43bcfa1a34516e233911487c67307 (patch) | |
tree | f98c62a079e929f2bd8669bfbcf23b2d0d64f06e /arch/ia64/sn/pci | |
parent | [IA64] tiger_defconfig s/NR_CPUS=4/NR_CPUS=16/ (diff) | |
download | linux-d3e5e1a1b4f43bcfa1a34516e233911487c67307.tar.xz linux-d3e5e1a1b4f43bcfa1a34516e233911487c67307.zip |
[IA64-SGI] fix prom revision checks in SN kernel
The following patch fixes two spots in the SN kernel
that check a fixed prom revision number to determine prom
feature support. These checks are only valid on shub1 systems.
They are invalid on shub2 systems which have a different prom
with different revision numbers.
Signed-off-by: Aaron Young <ayoung@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/pci')
-rw-r--r-- | arch/ia64/sn/pci/tioca_provider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/pci/tioca_provider.c b/arch/ia64/sn/pci/tioca_provider.c index 20de72791b97..e4aa839d0189 100644 --- a/arch/ia64/sn/pci/tioca_provider.c +++ b/arch/ia64/sn/pci/tioca_provider.c @@ -595,7 +595,7 @@ tioca_bus_fixup(struct pcibus_bussoft *prom_bussoft, struct pci_controller *cont /* sanity check prom rev */ - if (sn_sal_rev() < 0x0406) { + if (is_shub1() && sn_sal_rev() < 0x0406) { printk (KERN_ERR "%s: SGI prom rev 4.06 or greater required " "for tioca support\n", __FUNCTION__); |