diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-09-06 21:50:44 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-09-06 21:50:44 +0000 |
commit | 21ae49c3aadeb35ff25ce5e792115cada3f9490d (patch) | |
tree | 92f4a36ef8d07e3245db4e9f2f2eea7532d329dd /arch/mips64 | |
parent | 80aa08476c26d1f9aea7162807bd27f717852afb (diff) |
Set timeout values - this seems to be needed if we want to boot the
kernel on non-nasid0 systems.
Diffstat (limited to 'arch/mips64')
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-init.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-init.c b/arch/mips64/sgi-ip27/ip27-init.c index f6b94445b..b82196921 100644 --- a/arch/mips64/sgi-ip27/ip27-init.c +++ b/arch/mips64/sgi-ip27/ip27-init.c @@ -271,6 +271,9 @@ void per_hub_init(cnodeid_t cnode) { extern void pcibr_setup(cnodeid_t); cnodemask_t done; + nasid_t nasid; + + nasid = COMPACT_TO_NASID_NODEID(cnode); spin_lock(&hub_mask_lock); /* Test our bit. */ @@ -281,6 +284,11 @@ void per_hub_init(cnodeid_t cnode) * Do the actual initialization if it hasn't been done yet. * We don't need to hold a lock for this work. */ + /* + * Set CRB timeout at 5ms, (< PI timeout of 10ms) + */ + REMOTE_HUB_S(nasid, IIO_ICTP, 0x800); + REMOTE_HUB_S(nasid, IIO_ICTO, 0xff); hub_rtc_init(cnode); pcibr_setup(cnode); #ifdef CONFIG_REPLICATE_EXHANDLERS |