summaryrefslogtreecommitdiff
path: root/src/devices/pnp_device.c
diff options
context:
space:
mode:
authorSteven J. Magnani <steve@digidescorp.com>2005-09-09 20:02:52 +0000
committerSteven J. Magnani <steve@digidescorp.com>2005-09-09 20:02:52 +0000
commit740bb2a8ed7aae17d5aa9b7486c40d5249a870ae (patch)
tree70c461a0faf110ef5a14b4790b8a18f9086bdbed /src/devices/pnp_device.c
parent246ae2129eb091da06cf6275bd503dd5730060dc (diff)
Correct transposed arguments in pnp_set_drq().
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2013 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/pnp_device.c')
-rw-r--r--src/devices/pnp_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/pnp_device.c b/src/devices/pnp_device.c
index 13f12ee4e4..8acef3b65a 100644
--- a/src/devices/pnp_device.c
+++ b/src/devices/pnp_device.c
@@ -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);