[parisc-linux] sti broken in pa32 on B180
Ryan Bradetich
rbradetich@uswest.net
Thu, 4 Oct 2001 07:13:50 -0600
On Thu, Oct 04, 2001 at 12:24:56PM +0200, joel.soete@freebel.net wrote:
> Hi all,
>
> I just come back to my hppa boxes (a 712/80 and a b180) and just co the last cvs
> kernel (-pa32).
> I do usual make oldconfig; make dep ; make vmlinux (on the 712).
Try the following patch ... Thomas said this is what fixed STI on the
B-class machines for him. If it works, I'll commit it.
Thanks,
- Ryan
diff -u -p -r1.37 inventory.c
--- inventory.c 2001/10/04 00:17:52 1.37
+++ inventory.c 2001/10/04 13:08:21
@@ -542,7 +542,7 @@ add_system_map_addresses(struct parisc_d
return;
}
- for(i = 0; i < num_addrs; ++i) {
+ for(i = 0; i <= num_addrs; ++i) {
status = pdc_system_map_find_addrs(&addr_result,
module_instance, i);
if(PDC_RET_OK == status) {