Subject: port-i386/7972: fixed match for SIS 85C503 pci-isa bridge
To: None <gnats-bugs@gnats.netbsd.org>
From: None <g.mcgarry@qut.edu.au>
List: netbsd-bugs
Date: 07/12/1999 18:09:34
>Number:         7972
>Category:       port-i386
>Synopsis:       fixed match for SIS 85C503 pci-isa bridge
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer (NetBSD/i386 Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 12 15:05:01 1999
>Last-Modified:
>Originator:     Gregory McGarry
>Organization:
Queensland University of Technology
>Release:        1.4/1.4C
>Environment:

>Description:
SIS 85C503 reports itself as a miscellanous prehistoric and fails
to match.

>How-To-Repeat:
Find a machine using a SIS 85C503 pcib chip.
>Fix:
*** pcib.c.orig Sun Jul 11 18:14:28 1999
--- pcib.c      Sun Jul 11 18:14:52 1999
***************
*** 1,4 ****
! /*    $NetBSD: pcib.c,v 1.23 1998/10/26 03:47:19 enami Exp $  */
  
  /*-
   * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
--- 1,4 ----
! /*    $NetBSD$ */
  
  /*-
   * Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
***************
*** 140,145 ****
--- 140,154 ----
                        /*
                         * Some Intel 82371AB PCI-ISA bridge identifies
                         * itself as miscellaneous bridge.
+                        */
+                       return (1);
+               }
+       case PCI_VENDOR_SIS:
+               switch (PCI_PRODUCT(pa->pa_id)) {
+               case PCI_PRODUCT_SIS_85C503:
+                       /*
+                        * The SIS 85C503 identifies itself as a
+                        * miscellaneous prehistoric.
                         */
                        return (1);
                }

>Audit-Trail:
>Unformatted: