NetBSD Problem Report #47169

From www@NetBSD.org  Wed Nov  7 23:26:22 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id E087063E51F
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  7 Nov 2012 23:26:21 +0000 (UTC)
Message-Id: <20121107232620.AFEC863E51F@www.NetBSD.org>
Date: Wed,  7 Nov 2012 23:26:20 +0000 (UTC)
From: nathanialsloss@yahoo.com.au
Reply-To: nathanialsloss@yahoo.com.au
To: gnats-bugs@NetBSD.org
Subject: itesio_isa: Add support for ITE8720F
X-Send-Pr-Version: www-1.0

>Number:         47169
>Category:       kern
>Synopsis:       itesio_isa: Add support for ITE8720F
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 07 23:30:00 +0000 2012
>Closed-Date:    Sat Nov 24 09:44:31 +0000 2012
>Last-Modified:  Sat Nov 24 09:44:31 +0000 2012
>Originator:     Nat Sloss
>Release:        NetBSD Current 6.99.7
>Organization:
>Environment:
NetBSD beast 6.99.7 NetBSD 6.99.7 (LOCKDEBUG) #186: Wed Jul  4 05:47:37 EST 2012  build@beast:/usr/src/sys/arch/i386/compile/obj/LOCKDEBUG i386

>Description:
iteso_isa lacks support for the 8720f (the superio chip used on my new computer.)

Once the match routine is modified to include the ID of the 8720F the temperature sensors can be read (I haven't as yet tested the watchdog.)
>How-To-Repeat:
Build a kernel with itesio enabled on a machine with a ite8720F superio chip and the temperature sensors can't be read.
>Fix:
Apply these patches:

Index: sys/dev/isa/itesio_isavar.h
===================================================================
RCS file: /cvsroot/src/sys/dev/isa/itesio_isavar.h,v
retrieving revision 1.8
diff -u -r1.8 itesio_isavar.h
--- sys/dev/isa/itesio_isavar.h 13 Aug 2010 19:28:26 -0000      1.8
+++ sys/dev/isa/itesio_isavar.h 7 Nov 2012 23:09:47 -0000
@@ -61,6 +61,7 @@
 #define ITESIO_ID8712  0x8712
 #define ITESIO_ID8716  0x8716
 #define ITESIO_ID8718  0x8718
+#define ITESIO_ID8720  0x8720
 #define ITESIO_ID8721  0x8721
 #define ITESIO_ID8726  0x8726

Index: sys/dev/isa/itesio_isa.c
===================================================================
RCS file: /cvsroot/src/sys/dev/isa/itesio_isa.c,v
retrieving revision 1.23
diff -u -r1.23 itesio_isa.c
--- sys/dev/isa/itesio_isa.c    29 Jul 2011 20:58:47 -0000      1.23
+++ sys/dev/isa/itesio_isa.c    7 Nov 2012 23:10:29 -0000
@@ -140,6 +140,7 @@
        case ITESIO_ID8712:
        case ITESIO_ID8716:
        case ITESIO_ID8718:
+       case ITESIO_ID8720:
        case ITESIO_ID8721:
        case ITESIO_ID8726:
                ia->ia_nio = 1;

*Note:  These patches are my own work which I submit under the net bsd license.

I would also like to request that NetBSD-6 is pulled up.

Regards,

Nat.

>Release-Note:

>Audit-Trail:
From: "SAITOH Masanobu" <msaitoh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47169 CVS commit: src/sys/dev/isa
Date: Thu, 15 Nov 2012 04:45:01 +0000

 Module Name:	src
 Committed By:	msaitoh
 Date:		Thu Nov 15 04:45:01 UTC 2012

 Modified Files:
 	src/sys/dev/isa: itesio_isa.c itesio_isavar.h

 Log Message:
 Add support for ITE8720F by Nat Sloss. PR#47169.


 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.24 src/sys/dev/isa/itesio_isa.c
 cvs rdiff -u -r1.8 -r1.9 src/sys/dev/isa/itesio_isavar.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Jeff Rizzo" <riz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47169 CVS commit: [netbsd-6] src/sys/dev/isa
Date: Fri, 23 Nov 2012 16:38:46 +0000

 Module Name:	src
 Committed By:	riz
 Date:		Fri Nov 23 16:38:45 UTC 2012

 Modified Files:
 	src/sys/dev/isa [netbsd-6]: itesio_isa.c itesio_isavar.h

 Log Message:
 Pull up following revision(s) (requested by msaitoh in ticket #699):
 	sys/dev/isa/itesio_isavar.h: revision 1.9
 	sys/dev/isa/itesio_isa.c: revision 1.24
 Add support for ITE8720F by Nat Sloss. PR#47169.


 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.23.8.1 src/sys/dev/isa/itesio_isa.c
 cvs rdiff -u -r1.8 -r1.8.14.1 src/sys/dev/isa/itesio_isavar.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Sat, 24 Nov 2012 09:44:31 +0000
State-Changed-Why:
Applied and pulled up to netbsd-6 branch.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.