]> err.no Git - linux-2.6/commitdiff
[IA64-SGI] fix SGI Altix tioce_bus_fixup() bug
authorMike Habeck <habeck@sgi.com>
Mon, 19 Jun 2006 20:38:10 +0000 (15:38 -0500)
committerTony Luck <tony.luck@intel.com>
Wed, 21 Jun 2006 21:47:06 +0000 (14:47 -0700)
The following patch fixes a bug in the SGI Altix tioce_bus_fixup()
code.  ce_dre_comp_err_addr needs to be zero'd out not ~0ULL.  As
a result completion errors weren't being captured.

Signed-off-by: Mike Habeck <habeck@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/pci/tioce_provider.c

index 833295624e5df3acd2284ef8d10e7226c037c513..85f3b3d4c60664546b48cb86d35c33ccfae13a2f 100644 (file)
@@ -3,7 +3,7 @@
  * License.  See the file "COPYING" in the main directory of this archive
  * for more details.
  *
- * Copyright (C) 2003-2005 Silicon Graphics, Inc.  All Rights Reserved.
+ * Copyright (C) 2003-2006 Silicon Graphics, Inc.  All Rights Reserved.
  */
 
 #include <linux/types.h>
@@ -1002,7 +1002,7 @@ tioce_bus_fixup(struct pcibus_bussoft *prom_bussoft, struct pci_controller *cont
        tioce_mmr_seti(tioce_kern, &tioce_mmr->ce_adm_int_status_alias, ~0ULL);
        tioce_mmr_seti(tioce_kern, &tioce_mmr->ce_adm_error_summary_alias,
                       ~0ULL);
-       tioce_mmr_seti(tioce_kern, &tioce_mmr->ce_dre_comp_err_addr, ~0ULL);
+       tioce_mmr_seti(tioce_kern, &tioce_mmr->ce_dre_comp_err_addr, 0ULL);
 
        if (request_irq(SGI_PCIASIC_ERROR,
                        tioce_error_intr_handler,