patch-2.4.20 linux-2.4.20/drivers/hotplug/cpqphp_pci.c
Next file: linux-2.4.20/drivers/hotplug/ibmphp.h
Previous file: linux-2.4.20/drivers/hotplug/cpqphp_nvram.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Thu Nov 28 15:53:12 2002
- Orig file:
linux-2.4.19/drivers/hotplug/cpqphp_pci.c
- Orig date:
Fri Nov 9 14:01:22 2001
diff -urN linux-2.4.19/drivers/hotplug/cpqphp_pci.c linux-2.4.20/drivers/hotplug/cpqphp_pci.c
@@ -358,8 +358,8 @@
dev_num, bus_num, int_pin, irq_num);
rc = pcibios_set_irq_routing(&fakedev, int_pin - 0x0a, irq_num);
dbg(__FUNCTION__":rc %d\n", rc);
- if (rc)
- return rc;
+ if (!rc)
+ return !rc;
// set the Edge Level Control Register (ELCR)
temp_word = inb(0x4d0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)