[PATCH] Hwmon for Taco
Sean MacLennan
smaclennan at pikatech.com
Sun Jan 6 05:39:17 EST 2008
Benjamin Herrenschmidt wrote:
>> +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.
>
>
>
It is in the device tree, I just forgot to update the driver to use it.
Thanks.
Cheers,
Sean
More information about the Linuxppc-dev
mailing list