This patch corrects an apparent bug in the definition of pnp_set_drq(). See http://openbios.org/pipermail/linuxbios/2005-May/011605.html for a description of the issue.
PATCH:
BUG FIX: arguments to pnp_set_drq are transposed
--- src/devices/pnp_device.c.orig 2005-09-08 13:34:52.859375000 -0500 +++ src/devices/pnp_device.c 2005-09-08 13:40:16.671875000 -0500 @@ -52,7 +52,7 @@ pnp_write_config(dev, index, irq); }
-void pnp_set_drq(device_t dev, unsigned drq, unsigned index) +void pnp_set_drq(device_t dev, unsigned index, unsigned drq) { /* Index == 0x74 */ pnp_write_config(dev, index, drq & 0xff); ------------------------------------------------------------------------ Steven J. Magnani "I claim this network for MARS! www.digidescorp.com Earthling, return my space modulator!"
#include <standard.disclaimer>