예제 #1
0
static void w83627ehg_pnp_enable_resources(struct device *dev)
{
	pnp_enable_resources(dev);

	pnp_enter_conf_mode(dev);
	switch (dev->path.pnp.device) {
	case W83627EHG_HWM:
		printk(BIOS_DEBUG, "W83627EHG HWM SMBus enabled\n");
		enable_hwm_smbus(dev);
		break;
	}
	pnp_exit_conf_mode(dev);
}
예제 #2
0
파일: superio.c 프로젝트: bolyboly/coreboot
static void lpc47b397_pnp_enable_resources(device_t dev)
{
	pnp_enter_conf_state(dev);
	pnp_enable_resources(dev);

	switch(dev->path.pnp.device) {
	case LPC47B397_HWM:
		printk(BIOS_DEBUG, "LPC47B397 SensorBus register access enabled\n");
		pnp_set_logical_device(dev);
		enable_hwm_smbus(dev);
		break;
	}
	/* dump_pnp_device(dev); */
	pnp_exit_conf_state(dev);
}
예제 #3
0
/** Wrapper for pnp_enable_resources(). */
static void smsc_pnp_enable_resources(device_t dev)
{
	smsc_pnp_enter_conf_state(dev);
	pnp_enable_resources(dev);
	smsc_pnp_exit_conf_state(dev);
}
예제 #4
0
static void lpc47m10x_pnp_enable_resources(device_t dev)
{
    pnp_enter_conf_state(dev);
    pnp_enable_resources(dev);
    pnp_exit_conf_state(dev);
}
예제 #5
0
파일: superio.c 프로젝트: bolyboly/coreboot
static void f71889_pnp_enable_resources(device_t dev)
{
	pnp_enter_conf_state(dev);
	pnp_enable_resources(dev);
	pnp_exit_conf_state(dev);
}
예제 #6
0
static void vt1211_pnp_enable_resources(struct device *dev)
{
	printk(BIOS_DEBUG, "%s - enabling\n", dev_path(dev));
	pnp_enable_resources(dev);
}
예제 #7
0
static void w83627uhg_enable_resources(device_t dev)
{
	w83627uhg_enter_ext_func_mode(dev);
	pnp_enable_resources(dev);
	w83627uhg_exit_ext_func_mode(dev);
}
예제 #8
0
파일: superio.c 프로젝트: bolyboly/coreboot
static void it8712f_pnp_enable_resources(device_t dev)
{
	pnp_enter_ext_func_mode(dev);
	pnp_enable_resources(dev);
	pnp_exit_ext_func_mode(dev);
}