Correct transposed arguments in pnp_set_drq().
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2013 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -52,7 +52,7 @@ void pnp_set_irq(device_t dev, unsigned index, unsigned irq)
|
|||||||
pnp_write_config(dev, index, 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 */
|
/* Index == 0x74 */
|
||||||
pnp_write_config(dev, index, drq & 0xff);
|
pnp_write_config(dev, index, drq & 0xff);
|
||||||
|
Reference in New Issue
Block a user