@@ -242,13 +211,29 @@ int __init pnpbios_proc_init( void )
...
@@ -242,13 +211,29 @@ int __init pnpbios_proc_init( void )
ent->read_proc=proc_read_node;
ent->read_proc=proc_read_node;
ent->write_proc=proc_write_node;
ent->write_proc=proc_write_node;
ent->data=(void*)(long)(node->handle+0x100);
ent->data=(void*)(long)(node->handle+0x100);
return0;
}
}
if(nodenum<=thisnodenum){
return-EIO;
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;
}
/*
}
* When this is called, pnpbios functions are assumed to
kfree(node);
* work and the pnpbios_dont_use_current_config flag
* should already have been set to the appropriate value