On Wed, Feb 28, 2007 at 02:30:17PM +0100, Carl-Daniel Hailfinger wrote:
Index: src/superio/ite/it8716f/it8716f_early_init.c
--- src/superio/ite/it8716f/it8716f_early_init.c (Revision 0) +++ src/superio/ite/it8716f/it8716f_early_init.c (Revision 0) @@ -0,0 +1,15 @@ +#include <arch/romcc_io.h> +#include "it8716f.h"
+static void it8716f_disable_dev(device_t dev) +{
pnp_set_logical_device(dev);
pnp_set_enable(dev, 0);
+} +static void it8716f_enable_dev(device_t dev, unsigned iobase) +{
pnp_set_logical_device(dev);
pnp_set_enable(dev, 0);
pnp_set_iobase(dev, PNP_IDX_IO0, iobase);
pnp_set_enable(dev, 1);
+}
Oops, I forgot to 'svn add' this file when I applied the patch from http://www.openbios.org/pipermail/linuxbios/2007-February/018330.html
Here's a patch with just that part and a proper license header.
Uwe.