Add pnp code and remove pnp inlines.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@374 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Ronald G. Minnich 2007-06-27 19:47:27 +00:00
commit b175ce06ac
3 changed files with 108 additions and 2 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) FIXME
* Copyright (C) 2007 Ronald G. Minnich <rminnich@gmail.com>
* Copyright (C) 2007 coresystems GmbH
*
* This program is free software; you can redistribute it and/or modify
@ -24,6 +24,14 @@
#include <device/device.h>
#include <device/pnp_def.h>
/* very low level pnp manipulation intended for stage 0 or 1 */
void rawpnp_enter_ext_func_mode(u16 dev);
void rawpnp_exit_ext_func_mode(u16 dev);
void rawpnp_write_config(u16 dev, u8 reg, u8 value);
void rawpnp_set_logical_device(u16 dev, u8 which);
void rawpnp_set_enable(u16 dev, int enable);
void rawpnp_set_iobase(u16 dev, u8 index, u16 iobase);
/* Primitive pnp resource manipulation */
void pnp_write_config(struct device * dev, u8 reg, u8 value);
u8 pnp_read_config(struct device * dev, u8 reg);