git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1432 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Greg Watson 2004-03-17 22:40:12 +00:00
parent be392c8fe8
commit e74ff463c4
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ static int find_ide_controller(struct controller *ctrl, int ctrl_index)
/* See how this controller is configured */ /* See how this controller is configured */
mask = (ctrl_index & 1) ? 4 : 1; mask = (ctrl_index & 1) ? 4 : 1;
printk_debug("%s channel: ", (ctrl_index & 1) ? "secodary" : "primary"); printk_debug("%s channel: ", (ctrl_index & 1) ? "secondary" : "primary");
if (prog_if & mask) { if (prog_if & mask) {
printk_debug("native PCI mode\n"); printk_debug("native PCI mode\n");
if ((ctrl_index & 1) == 0) { if ((ctrl_index & 1) == 0) {