isapnp_read_port can be set directly, rather than via a function call.
authorMichael Brown <mcb30@etherboot.org>
Fri, 22 Apr 2005 16:03:25 +0000 (16:03 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 22 Apr 2005 16:03:25 +0000 (16:03 +0000)
src/arch/i386/prefix/select_isapnp.c

index 14e3db0..54ac1c9 100644 (file)
@@ -23,7 +23,7 @@ void i386_select_isapnp_device ( struct i386_all_regs *regs ) {
        } u;
 
        /* Set ISAPnP read port */
-       isapnp_set_read_port ( regs->dx );
+       isapnp_read_port = regs->dx;
        
        /* Select ISAPnP bus and specified CSN as first boot device */
        memset ( &u, 0, sizeof ( u ) );