@@ -242,13 +211,29 @@ int __init pnpbios_proc_init( void )
ent->read_proc=proc_read_node;
ent->write_proc=proc_write_node;
ent->data=(void*)(long)(node->handle+0x100);
return0;
}
if(nodenum<=thisnodenum){
printk(KERN_ERR"%s Node number 0x%x is out of sequence following node 0x%x. Aborting.\n","PnPBIOS: proc_init:",(unsignedint)nodenum,(unsignedint)thisnodenum);
break;
}
}
kfree(node);
return-EIO;
}
/*
* When this is called, pnpbios functions are assumed to
* work and the pnpbios_dont_use_current_config flag
* should already have been set to the appropriate value