patch-2.3.99-pre7 linux/drivers/i2o/i2o_config.c
Next file: linux/drivers/i2o/i2o_core.c
Previous file: linux/drivers/i2o/i2o_block.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed May 10 16:56:42 2000
- Orig file:
v2.3.99-pre6/linux/drivers/i2o/i2o_config.c
- Orig date:
Wed Apr 26 16:34:07 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/i2o/i2o_config.c linux/drivers/i2o/i2o_config.c
@@ -515,7 +515,7 @@
msg[0] = NINE_WORD_MSG_SIZE|SGL_OFFSET_5;
msg[5] = 0x50000000|65536;
msg[7] = 0xD4000000|(kcmd.qlen);
- msg[8] = virt_to_phys(query);
+ msg[8] = virt_to_bus(query);
}
token = i2o_post_wait(c, msg, 9*4, 10);
@@ -592,7 +592,7 @@
msg[5]= swlen;
msg[6]= kxfer.sw_id;
msg[7]= (0xD0000000 | fragsize);
- msg[8]= virt_to_phys(buffer);
+ msg[8]= virt_to_bus(buffer);
// printk("i2o_config: swdl frag %d/%d (size %d)\n", curfrag, maxfrag, fragsize);
status = i2o_post_wait(c, msg, sizeof(msg), 60);
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])