Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 1997 21:31:58 -0600 (MDT)
From:      sbauer@rock.sdsmt.edu
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   i386/4092: 82371SB Chipset being configured incorrectly.
Message-ID:  <199707150331.VAA00374@rock.sdsmt.edu>
Resent-Message-ID: <199707150340.UAA02106@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4092
>Category:       i386
>Synopsis:       82371SB Chipset being configured incorrectly.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 14 20:40:00 PDT 1997
>Last-Modified:
>Originator:     Steve Bauer
>Organization:
South Dakota School of Mines and Technology
>Release:        FreeBSD 2.2-STABLE i386
>Environment:

	FreeBSD 2.2-Stable with ctm of 345 applied.
>Description:

	The 82371SB Chipest seems to be configured incorrectly in the
file pcisupport.c   The reason for this conclusion is the fact that the
82371FB (Triton I) is compatible with the 82371SB (Triton II) chipset.
Yet in pcisupport.c when the 82371FB (Function 0) (0x12308086) is configured
 the same information is sent to the 82371SB (Function 1) (0x70108086) which
is the ide controller.  I do not believe this is correct since the chipsets
are basically register compatible.  The changes that I have made are the
following:
	Change line 722 from 0x70108086 to 0x70008086 -- This way it will
be configurting Function 0 of the 82371SB chipset.  Also, I added 
case 70108086: at line 726 so that the function 1 (IDE interface) would
be configured the same way as it is in the 82371FB chipset.


>How-To-Repeat:

	I am not sure if this really caused much of a problem or not.  It
appears to have fixed some random lockups that I have been having with
my machine.

>Fix:

Below is a patch that implements that fixes that I described above.
	

*** pcisupport.c.orig	Sun Jul 13 00:18:32 1997
--- pcisupport.c	Sun Jul 13 00:19:04 1997
***************
*** 719,728 ****
  	case 0x70308086:
  		writeconfig (config_id, conf82437vx);
  		break;
! 	case 0x70108086:
  	case 0x122e8086:
  		writeconfig (config_id, conf82371fb);
  		break;
  	case 0x12308086:
  		writeconfig (config_id, conf82371fb2);
  		break;
--- 719,729 ----
  	case 0x70308086:
  		writeconfig (config_id, conf82437vx);
  		break;
! 	case 0x70008086:
  	case 0x122e8086:
  		writeconfig (config_id, conf82371fb);
  		break;
+ 	case 0x70108086:
  	case 0x12308086:
  		writeconfig (config_id, conf82371fb2);
  		break;
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707150331.VAA00374>