Good, maybe this is reason why floppy have problem in Kernel....
YH
-----Original Message----- From: linuxbios-bounces@openbios.org [mailto:linuxbios-bounces@openbios.org] On Behalf Of Steven J. Magnani Sent: Thursday, September 08, 2005 1:16 PM To: linuxbios@openbios.org Subject: [LinuxBIOS] PATCH: correct arguments to pnp_set_drq
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>