Correct transposed arguments in pnp_set_drq().
authorSteven J. Magnani <steve@digidescorp.com>
Fri, 9 Sep 2005 20:02:52 +0000 (20:02 +0000)
committerSteven J. Magnani <steve@digidescorp.com>
Fri, 9 Sep 2005 20:02:52 +0000 (20:02 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2013 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/devices/pnp_device.c

index 13f12ee4e48cc44fa733a83c0894b0ef430a0b01..8acef3b65a2a998c78b68dcf48c8d8a4550c2536 100644 (file)
@@ -52,7 +52,7 @@ void pnp_set_irq(device_t dev, unsigned index, unsigned irq)
        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);