Re: [PATCH v3 2/2] watchdog: Remove drivers for W83697HF and W83697UG

2014-05-26 Thread Guenter Roeck

On 05/26/2014 02:26 PM, Wim Van Sebroeck wrote:

Hi Guenter,


Since both chips are now supported by the w83627hf watchdog driver,
the chip specific drivers are no longer needed and can be removed.

Signed-off-by: Guenter Roeck 
---
v3: rebase to latest upstream kernel
v2: resend, no change to v1

  drivers/watchdog/Kconfig|   30 ---
  drivers/watchdog/Makefile   |2 -
  drivers/watchdog/w83697hf_wdt.c |  460 ---
  drivers/watchdog/w83697ug_wdt.c |  397 -
  4 files changed, 889 deletions(-)
  delete mode 100644 drivers/watchdog/w83697hf_wdt.c
  delete mode 100644 drivers/watchdog/w83697ug_wdt.c



Has been added to linux-watchdog-next.



Thanks!

Guenter


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v3 2/2] watchdog: Remove drivers for W83697HF and W83697UG

2014-05-26 Thread Wim Van Sebroeck
Hi Guenter,

> Since both chips are now supported by the w83627hf watchdog driver,
> the chip specific drivers are no longer needed and can be removed.
> 
> Signed-off-by: Guenter Roeck 
> ---
> v3: rebase to latest upstream kernel
> v2: resend, no change to v1
> 
>  drivers/watchdog/Kconfig|   30 ---
>  drivers/watchdog/Makefile   |2 -
>  drivers/watchdog/w83697hf_wdt.c |  460 
> ---
>  drivers/watchdog/w83697ug_wdt.c |  397 -
>  4 files changed, 889 deletions(-)
>  delete mode 100644 drivers/watchdog/w83697hf_wdt.c
>  delete mode 100644 drivers/watchdog/w83697ug_wdt.c
> 

Has been added to linux-watchdog-next.

Kind regards,
Wim.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v3 2/2] watchdog: Remove drivers for W83697HF and W83697UG

2014-05-26 Thread Wim Van Sebroeck
Hi Guenter,

 Since both chips are now supported by the w83627hf watchdog driver,
 the chip specific drivers are no longer needed and can be removed.
 
 Signed-off-by: Guenter Roeck li...@roeck-us.net
 ---
 v3: rebase to latest upstream kernel
 v2: resend, no change to v1
 
  drivers/watchdog/Kconfig|   30 ---
  drivers/watchdog/Makefile   |2 -
  drivers/watchdog/w83697hf_wdt.c |  460 
 ---
  drivers/watchdog/w83697ug_wdt.c |  397 -
  4 files changed, 889 deletions(-)
  delete mode 100644 drivers/watchdog/w83697hf_wdt.c
  delete mode 100644 drivers/watchdog/w83697ug_wdt.c
 

Has been added to linux-watchdog-next.

Kind regards,
Wim.

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v3 2/2] watchdog: Remove drivers for W83697HF and W83697UG

2014-05-26 Thread Guenter Roeck

On 05/26/2014 02:26 PM, Wim Van Sebroeck wrote:

Hi Guenter,


Since both chips are now supported by the w83627hf watchdog driver,
the chip specific drivers are no longer needed and can be removed.

Signed-off-by: Guenter Roeck li...@roeck-us.net
---
v3: rebase to latest upstream kernel
v2: resend, no change to v1

  drivers/watchdog/Kconfig|   30 ---
  drivers/watchdog/Makefile   |2 -
  drivers/watchdog/w83697hf_wdt.c |  460 ---
  drivers/watchdog/w83697ug_wdt.c |  397 -
  4 files changed, 889 deletions(-)
  delete mode 100644 drivers/watchdog/w83697hf_wdt.c
  delete mode 100644 drivers/watchdog/w83697ug_wdt.c



Has been added to linux-watchdog-next.



Thanks!

Guenter


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v3 2/2] watchdog: Remove drivers for W83697HF and W83697UG

2014-04-05 Thread Guenter Roeck
Since both chips are now supported by the w83627hf watchdog driver,
the chip specific drivers are no longer needed and can be removed.

Signed-off-by: Guenter Roeck 
---
v3: rebase to latest upstream kernel
v2: resend, no change to v1

 drivers/watchdog/Kconfig|   30 ---
 drivers/watchdog/Makefile   |2 -
 drivers/watchdog/w83697hf_wdt.c |  460 ---
 drivers/watchdog/w83697ug_wdt.c |  397 -
 4 files changed, 889 deletions(-)
 delete mode 100644 drivers/watchdog/w83697hf_wdt.c
 delete mode 100644 drivers/watchdog/w83697ug_wdt.c

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index dd61cca..decd26c 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -939,36 +939,6 @@ config W83627HF_WDT
 
  Most people will say N.
 
-config W83697HF_WDT
-   tristate "W83697HF/W83697HG Watchdog Timer"
-   depends on X86
-   ---help---
- This is the driver for the hardware watchdog on the W83697HF/HG
- chipset as used in Dedibox/VIA motherboards (and likely others).
- This watchdog simply watches your kernel to make sure it doesn't
- freeze, and if it does, it reboots your computer after a certain
- amount of time.
-
- To compile this driver as a module, choose M here: the
- module will be called w83697hf_wdt.
-
- Most people will say N.
-
-config W83697UG_WDT
-   tristate "W83697UG/W83697UF Watchdog Timer"
-   depends on X86
-   ---help---
- This is the driver for the hardware watchdog on the W83697UG/UF
- chipset as used in MSI Fuzzy CX700 VIA motherboards (and likely 
others).
- This watchdog simply watches your kernel to make sure it doesn't
- freeze, and if it does, it reboots your computer after a certain
- amount of time.
-
- To compile this driver as a module, choose M here: the
- module will be called w83697ug_wdt.
-
- Most people will say N.
-
 config W83877F_WDT
tristate "W83877F (EMACS) Watchdog Timer"
depends on X86
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
index 1b5f3d5..1384531 100644
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -107,8 +107,6 @@ obj-$(CONFIG_SMSC_SCH311X_WDT) += sch311x_wdt.o
 obj-$(CONFIG_SMSC37B787_WDT) += smsc37b787_wdt.o
 obj-$(CONFIG_VIA_WDT) += via_wdt.o
 obj-$(CONFIG_W83627HF_WDT) += w83627hf_wdt.o
-obj-$(CONFIG_W83697HF_WDT) += w83697hf_wdt.o
-obj-$(CONFIG_W83697UG_WDT) += w83697ug_wdt.o
 obj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o
 obj-$(CONFIG_W83977F_WDT) += w83977f_wdt.o
 obj-$(CONFIG_MACHZ_WDT) += machzwd.o
diff --git a/drivers/watchdog/w83697hf_wdt.c b/drivers/watchdog/w83697hf_wdt.c
deleted file mode 100644
index e9ea856..000
--- a/drivers/watchdog/w83697hf_wdt.c
+++ /dev/null
@@ -1,460 +0,0 @@
-/*
- * w83697hf/hg WDT driver
- *
- * (c) Copyright 2006 Samuel Tardieu 
- * (c) Copyright 2006 Marcus Junker 
- *
- * Based on w83627hf_wdt.c which is based on advantechwdt.c
- * which is based on wdt.c.
- * Original copyright messages:
- *
- * (c) Copyright 2003 Pádraig Brady 
- *
- * (c) Copyright 2000-2001 Marek Michalkiewicz 
- *
- * (c) Copyright 1996 Alan Cox ,
- * All Rights Reserved.
- *
- * 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.
- *
- * Neither Marcus Junker nor ANDURAS AG admit liability nor provide
- * warranty for any of this software. This material is provided
- * "AS-IS" and at no charge.
- */
-
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-
-#define WATCHDOG_NAME "w83697hf/hg WDT"
-#define WATCHDOG_TIMEOUT 60/* 60 sec default timeout */
-#define WATCHDOG_EARLY_DISABLE 1   /* Disable until userland kicks in */
-
-static unsigned long wdt_is_open;
-static char expect_close;
-static DEFINE_SPINLOCK(io_lock);
-
-/* You must set this - there is no sane way to probe for this board. */
-static int wdt_io = 0x2e;
-module_param(wdt_io, int, 0);
-MODULE_PARM_DESC(wdt_io,
-   "w83697hf/hg WDT io port (default 0x2e, 0 = autodetect)");
-
-static int timeout = WATCHDOG_TIMEOUT; /* in seconds */
-module_param(timeout, int, 0);
-MODULE_PARM_DESC(timeout,
-   "Watchdog timeout in seconds. 1<= timeout <=255 (default="
-   __MODULE_STRING(WATCHDOG_TIMEOUT) ")");
-
-static bool nowayout = WATCHDOG_NOWAYOUT;
-module_param(nowayout, bool, 0);
-MODULE_PARM_DESC(nowayout,
-   "Watchdog cannot be stopped once started (default="
-

[PATCH v3 2/2] watchdog: Remove drivers for W83697HF and W83697UG

2014-04-05 Thread Guenter Roeck
Since both chips are now supported by the w83627hf watchdog driver,
the chip specific drivers are no longer needed and can be removed.

Signed-off-by: Guenter Roeck li...@roeck-us.net
---
v3: rebase to latest upstream kernel
v2: resend, no change to v1

 drivers/watchdog/Kconfig|   30 ---
 drivers/watchdog/Makefile   |2 -
 drivers/watchdog/w83697hf_wdt.c |  460 ---
 drivers/watchdog/w83697ug_wdt.c |  397 -
 4 files changed, 889 deletions(-)
 delete mode 100644 drivers/watchdog/w83697hf_wdt.c
 delete mode 100644 drivers/watchdog/w83697ug_wdt.c

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index dd61cca..decd26c 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -939,36 +939,6 @@ config W83627HF_WDT
 
  Most people will say N.
 
-config W83697HF_WDT
-   tristate W83697HF/W83697HG Watchdog Timer
-   depends on X86
-   ---help---
- This is the driver for the hardware watchdog on the W83697HF/HG
- chipset as used in Dedibox/VIA motherboards (and likely others).
- This watchdog simply watches your kernel to make sure it doesn't
- freeze, and if it does, it reboots your computer after a certain
- amount of time.
-
- To compile this driver as a module, choose M here: the
- module will be called w83697hf_wdt.
-
- Most people will say N.
-
-config W83697UG_WDT
-   tristate W83697UG/W83697UF Watchdog Timer
-   depends on X86
-   ---help---
- This is the driver for the hardware watchdog on the W83697UG/UF
- chipset as used in MSI Fuzzy CX700 VIA motherboards (and likely 
others).
- This watchdog simply watches your kernel to make sure it doesn't
- freeze, and if it does, it reboots your computer after a certain
- amount of time.
-
- To compile this driver as a module, choose M here: the
- module will be called w83697ug_wdt.
-
- Most people will say N.
-
 config W83877F_WDT
tristate W83877F (EMACS) Watchdog Timer
depends on X86
diff --git a/drivers/watchdog/Makefile b/drivers/watchdog/Makefile
index 1b5f3d5..1384531 100644
--- a/drivers/watchdog/Makefile
+++ b/drivers/watchdog/Makefile
@@ -107,8 +107,6 @@ obj-$(CONFIG_SMSC_SCH311X_WDT) += sch311x_wdt.o
 obj-$(CONFIG_SMSC37B787_WDT) += smsc37b787_wdt.o
 obj-$(CONFIG_VIA_WDT) += via_wdt.o
 obj-$(CONFIG_W83627HF_WDT) += w83627hf_wdt.o
-obj-$(CONFIG_W83697HF_WDT) += w83697hf_wdt.o
-obj-$(CONFIG_W83697UG_WDT) += w83697ug_wdt.o
 obj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o
 obj-$(CONFIG_W83977F_WDT) += w83977f_wdt.o
 obj-$(CONFIG_MACHZ_WDT) += machzwd.o
diff --git a/drivers/watchdog/w83697hf_wdt.c b/drivers/watchdog/w83697hf_wdt.c
deleted file mode 100644
index e9ea856..000
--- a/drivers/watchdog/w83697hf_wdt.c
+++ /dev/null
@@ -1,460 +0,0 @@
-/*
- * w83697hf/hg WDT driver
- *
- * (c) Copyright 2006 Samuel Tardieu s...@rfc1149.net
- * (c) Copyright 2006 Marcus Junker jun...@anduras.de
- *
- * Based on w83627hf_wdt.c which is based on advantechwdt.c
- * which is based on wdt.c.
- * Original copyright messages:
- *
- * (c) Copyright 2003 Pádraig Brady p...@draigbrady.com
- *
- * (c) Copyright 2000-2001 Marek Michalkiewicz mar...@linux.org.pl
- *
- * (c) Copyright 1996 Alan Cox a...@lxorguk.ukuu.org.uk,
- * All Rights Reserved.
- *
- * 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.
- *
- * Neither Marcus Junker nor ANDURAS AG admit liability nor provide
- * warranty for any of this software. This material is provided
- * AS-IS and at no charge.
- */
-
-#define pr_fmt(fmt) KBUILD_MODNAME :  fmt
-
-#include linux/module.h
-#include linux/moduleparam.h
-#include linux/types.h
-#include linux/miscdevice.h
-#include linux/watchdog.h
-#include linux/fs.h
-#include linux/ioport.h
-#include linux/notifier.h
-#include linux/reboot.h
-#include linux/init.h
-#include linux/spinlock.h
-#include linux/io.h
-#include linux/uaccess.h
-
-
-#define WATCHDOG_NAME w83697hf/hg WDT
-#define WATCHDOG_TIMEOUT 60/* 60 sec default timeout */
-#define WATCHDOG_EARLY_DISABLE 1   /* Disable until userland kicks in */
-
-static unsigned long wdt_is_open;
-static char expect_close;
-static DEFINE_SPINLOCK(io_lock);
-
-/* You must set this - there is no sane way to probe for this board. */
-static int wdt_io = 0x2e;
-module_param(wdt_io, int, 0);
-MODULE_PARM_DESC(wdt_io,
-   w83697hf/hg WDT io port (default 0x2e, 0 = autodetect));
-
-static int timeout = WATCHDOG_TIMEOUT; /* in seconds */
-module_param(timeout, int, 0);
-MODULE_PARM_DESC(timeout,
-   Watchdog timeout in