[osol-discuss] Re: Creating new device node in device tree at system startup.

2006-03-21 Thread Artem Kachitchkine
> I have tried this too, but when you try and map the registers with the > ddi_regs_map_setup() there's nothing to map and the call fails. ddi_regs_map_setup() only maps what the "reg" property contains. Have you set "regs" in your .conf file? See driver.conf(4) file for details and examples. >

[osol-discuss] Re: Creating new device node in device tree at system startup.

2006-03-21 Thread Artem Kachitchkine
Instead of creating a node, you could install your driver as a pseudo driver, by creating a /kernel/drv/ipmi_lpc.conf (or whatever's you driver name) file containing the line: name="ipmi_lpc" parent="pseudo" instance=0; The system will load the driver even if there isn't a hardware node for it.