[PATCH] Hwmon for Taco
Benjamin Herrenschmidt
benh at kernel.crashing.org
Sat Jan 5 18:22:43 EST 2008
> +module_exit(ad7414_exit);
> --- /dev/null 2005-11-20 22:22:37.000000000 -0500
> +++ drivers/hwmon/taco-dtm.c 2008-01-05 00:06:21.000000000 -0500
> @@ -0,0 +1,78 @@
> +/*
> + * drivers/hwmon/taco-dtm.c
> + *
> + * Overview: On the Taco, the fpga controls the fan. This provides
> + * the temperature to the fpga.
> + *
> + * Copyright (c) 2008 PIKA Technologies
> + * Sean MacLennan <smaclennan at pikatech.com>
> + *
> + * This program is free software; you can redistribute it and/or modify it
> + * under the terms of the GNU General Public License as published by the
> + * Free Software Foundation; either version 2 of the License, or (at your
> + * option) any later version.
> + *
> + */
> +
> +#include <linux/module.h>
> +#include <linux/kthread.h>
> +#include <linux/io.h>
> +
> +
> +#define TACO_FPGA_BASE 0x80000000
That should be in the device-tree...
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list