From dan@kulesh.obluda.cz  Sat Dec 29 02:20:42 2007
Return-Path: <dan@kulesh.obluda.cz>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 106DC16A417
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Dec 2007 02:20:42 +0000 (UTC)
	(envelope-from dan@kulesh.obluda.cz)
Received: from smtp1.kolej.mff.cuni.cz (smtp1.kolej.mff.cuni.cz [78.128.192.10])
	by mx1.freebsd.org (Postfix) with ESMTP id A226913C457
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Dec 2007 02:20:41 +0000 (UTC)
	(envelope-from dan@kulesh.obluda.cz)
Received: from kulesh.obluda.cz (openvpn.ms.mff.cuni.cz [195.113.20.87])
	by smtp1.kolej.mff.cuni.cz (8.13.8/8.13.8) with ESMTP id lBT2KPFI091413
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Dec 2007 03:20:27 +0100 (CET)
	(envelope-from dan@kulesh.obluda.cz)
Received: from kulesh.obluda.cz (localhost. [127.0.0.1])
	by kulesh.obluda.cz (8.14.2/8.14.2) with ESMTP id lBT2K6VN067911
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Dec 2007 03:20:06 +0100 (CET)
	(envelope-from dan@kulesh.obluda.cz)
Received: (from root@localhost)
	by kulesh.obluda.cz (8.14.2/8.14.1/Submit) id lBT2K57J067910;
	Sat, 29 Dec 2007 03:20:05 +0100 (CET)
	(envelope-from dan)
Message-Id: <200712290220.lBT2K57J067910@kulesh.obluda.cz>
Date: Sat, 29 Dec 2007 03:20:05 +0100 (CET)
From: Dan Lukes <dan@obluda.cz>
Reply-To: Dan Lukes <dan@obluda.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ICHWD on ICH9 family chip
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         119126
>Category:       i386
>Synopsis:       [ichwd] [patch] ICHWD on ICH9 family chip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 29 02:30:02 UTC 2007
>Closed-Date:    Fri Jun 06 17:37:12 UTC 2008
>Last-Modified:  Fri Jun 06 17:37:12 UTC 2008
>Originator:     Dan Lukes
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
Obludarium
>Environment:
isab0@pci0:31:0:        class=0x060100 card=0x73451462 chip=0x29168086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IR (ICH9R) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA


>Description:
	ICHWD shall support watchdog on ICH9 hardware
>How-To-Repeat:
	N/A
>Fix:

	I read the 
1. Intel's datasheet for 82801IB (ICH9), 82801IR (ICH9R), 82801IH (ICH9DH), 82801IO (ICH9DO) 
       I/O controllers hub (document #316972-02)
2. Specification update for the same hardware (document #316973-004)

	It seems the watchdog is implemented exactly the same way as for ICH8.

	So all we need to add the support for ICH9 into ichwd is:

1. add the following into ichwd.h:

#define DEVICEID_ICH9		0x2918
#define DEVICEID_ICH9R		0x2916
#define DEVICEID_ICH9DH		0x2912
#define DEVICEID_ICH9DO		0x2914
 
2. add the following into ichwd.c:

	{ DEVICEID_ICH9,     "Intel ICH9 watchdog timer",       9 },
	{ DEVICEID_ICH9R,    "Intel ICH9R watchdog timer",      9 },
	{ DEVICEID_ICH9DH,   "Intel ICH9DH watchdog timer",     9 },
	{ DEVICEID_ICH9DO,   "Intel ICH9DO watchdog timer",     9 },


	I not only read the specification but also tried the change on my hardware. It seems to work.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->des 
Responsible-Changed-By: rpaulo 
Responsible-Changed-When: Mon Dec 31 00:26:29 UTC 2007 
Responsible-Changed-Why:  
Hi Dag-Erling, could you please look at this PR? 
Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119126 
State-Changed-From-To: open->patched 
State-Changed-By: des 
State-Changed-When: Mon Dec 31 11:44:27 UTC 2007 
State-Changed-Why:  
Committed to HEAD, awaiting MFC 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119126 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/119126: commit references a PR
Date: Mon, 31 Dec 2007 11:44:09 +0000 (UTC)

 des         2007-12-31 11:44:01 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/ichwd        ichwd.c ichwd.h 
   Log:
   Add device IDs for the ICH9 family.
   
   PR:             i386/119126
   Submitted by:   Dan Lukes <dan@obluda.cz>
   MFC after:      1 week
   
   Revision  Changes    Path
   1.13      +4 -0      src/sys/dev/ichwd/ichwd.c
   1.7       +4 -0      src/sys/dev/ichwd/ichwd.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/119126: commit references a PR
Date: Sun, 24 Feb 2008 14:01:14 +0000 (UTC)

 remko       2008-02-24 14:01:09 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     sys/dev/ichwd        ichwd.c ichwd.h 
   Log:
   MFC rev 1.12 to 1.14 for ichwd.c
   
     rev 1.12
     Tabify
   
     rev 1.13
     Add device IDs for the ICH9 family.
   
     PR:           i386/119126
     Submitted by: Dan Lukes <dan@obluda.cz>
     MFC after:    1 week
   
     rev 1.14
     Add support for ICH8M.
   
     PR:           kern/119351
     Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
     MFC after:    1 week
   
   MFC rev 1.6 to 1.8 for ichwd.h
   
     rev 1.6
     Tabify.
   
     rev 1.7
     Add device IDs for the ICH9 family.
   
     PR:           i386/119126
     Submitted by: Dan Lukes <dan@obluda.cz>
     MFC after:    1 week
   
     rev 1.8
     Add support for ICH8M.
   
     PR:           kern/119351
     Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
     MFC after:    1 week
   
   Approved by:    imp (mentor, implicit for trivial changes), des
                   ( I am doing some MFC's for him)
   
   Revision  Changes    Path
   1.10.2.2  +24 -19    src/sys/dev/ichwd/ichwd.c
   1.4.2.2   +6 -1      src/sys/dev/ichwd/ichwd.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/119126: commit references a PR
Date: Sun, 24 Feb 2008 14:01:15 +0000 (UTC)

 remko       2008-02-24 14:01:09 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     sys/dev/ichwd        ichwd.c ichwd.h 
   Log:
   MFC rev 1.12 to 1.14 for ichwd.c
   
     rev 1.12
     Tabify
   
     rev 1.13
     Add device IDs for the ICH9 family.
   
     PR:           i386/119126
     Submitted by: Dan Lukes <dan@obluda.cz>
     MFC after:    1 week
   
     rev 1.14
     Add support for ICH8M.
   
     PR:           kern/119351
     Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
     MFC after:    1 week
   
   MFC rev 1.6 to 1.8 for ichwd.h
   
     rev 1.6
     Tabify.
   
     rev 1.7
     Add device IDs for the ICH9 family.
   
     PR:           i386/119126
     Submitted by: Dan Lukes <dan@obluda.cz>
     MFC after:    1 week
   
     rev 1.8
     Add support for ICH8M.
   
     PR:           kern/119351
     Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
     MFC after:    1 week
   
   Approved by:    imp (mentor, implicit for trivial changes), des
                   ( I am doing some MFC's for him)
   
   Revision  Changes    Path
   1.10.2.2  +24 -19    src/sys/dev/ichwd/ichwd.c
   1.4.2.2   +6 -1      src/sys/dev/ichwd/ichwd.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/119126: commit references a PR
Date: Sun, 24 Feb 2008 14:14:46 +0000 (UTC)

 remko       2008-02-24 14:14:40 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/ichwd        ichwd.c ichwd.h 
   Log:
   MFC rev 1.11 to 1.14 for ichwd.c
   
     rev 1.11
     Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems
     will not install without the usb changes in the install kernel, so I
     would like to MFC this in time for 7.0 RC
   
     MFC: 3 days
   
     rev 1.12
     Tabify
   
     rev 1.13
     Add device IDs for the ICH9 family.
   
     PR:           i386/119126
     Submitted by: Dan Lukes <dan@obluda.cz>
     MFC after:    1 week
   
     rev 1.14
     Add support for ICH8M.
   
     PR:           kern/119351
     Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
     MFC after:    1 week
   
   MFC rev 1.5 to 1.8 for ichwd.h
   
     rev 1.5
     Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems
     will not install without the usb changes in the install kernel, so I
     would like to MFC this in time for 7.0 RC
   
     MFC: 3 days
   
     rev 1.6
     Tabify.
   
     rev 1.7
     Add device IDs for the ICH9 family.
   
     PR:           i386/119126
     Submitted by: Dan Lukes <dan@obluda.cz>
     MFC after:    1 week
   
     rev 1.8
     Add support for ICH8M.
   
     PR:           kern/119351
     Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
     MFC after:    1 week
   
   Approved by:    imp (mentor, implicit for trivial changes), des
                   ( I am doing some MFC's for him)
   
   Revision  Changes    Path
   1.5.2.5   +24 -18    src/sys/dev/ichwd/ichwd.c
   1.2.2.3   +7 -1      src/sys/dev/ichwd/ichwd.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/119126: commit references a PR
Date: Sun, 24 Feb 2008 14:14:48 +0000 (UTC)

 remko       2008-02-24 14:14:40 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/ichwd        ichwd.c ichwd.h 
   Log:
   MFC rev 1.11 to 1.14 for ichwd.c
   
     rev 1.11
     Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems
     will not install without the usb changes in the install kernel, so I
     would like to MFC this in time for 7.0 RC
   
     MFC: 3 days
   
     rev 1.12
     Tabify
   
     rev 1.13
     Add device IDs for the ICH9 family.
   
     PR:           i386/119126
     Submitted by: Dan Lukes <dan@obluda.cz>
     MFC after:    1 week
   
     rev 1.14
     Add support for ICH8M.
   
     PR:           kern/119351
     Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
     MFC after:    1 week
   
   MFC rev 1.5 to 1.8 for ichwd.h
   
     rev 1.5
     Add PCI device support for Intel S7000FC4UR in usb and ichwd, systems
     will not install without the usb changes in the install kernel, so I
     would like to MFC this in time for 7.0 RC
   
     MFC: 3 days
   
     rev 1.6
     Tabify.
   
     rev 1.7
     Add device IDs for the ICH9 family.
   
     PR:           i386/119126
     Submitted by: Dan Lukes <dan@obluda.cz>
     MFC after:    1 week
   
     rev 1.8
     Add support for ICH8M.
   
     PR:           kern/119351
     Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp>
     MFC after:    1 week
   
   Approved by:    imp (mentor, implicit for trivial changes), des
                   ( I am doing some MFC's for him)
   
   Revision  Changes    Path
   1.5.2.5   +24 -18    src/sys/dev/ichwd/ichwd.c
   1.2.2.3   +7 -1      src/sys/dev/ichwd/ichwd.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: gavin 
State-Changed-When: Fri Jun 6 17:36:03 UTC 2008 
State-Changed-Why:  
MFC'd to RELENG_7 and RELENG_6 on 2008-02-24 by remko, will be fixed in 
6.4 and 7.1-RELEASE. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119126 
>Unformatted:
