From owner-freebsd-bugs Thu Jun 13 10: 0:50 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 65BD337B405 for ; Thu, 13 Jun 2002 10:00:09 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5DH09P35394; Thu, 13 Jun 2002 10:00:09 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id 116EF37B410 for ; Thu, 13 Jun 2002 09:54:25 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5DGsOhG068363 for ; Thu, 13 Jun 2002 09:54:24 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5DGsOG1068362; Thu, 13 Jun 2002 09:54:24 -0700 (PDT) Message-Id: <200206131654.g5DGsOG1068362@www.freebsd.org> Date: Thu, 13 Jun 2002 09:54:24 -0700 (PDT) From: Bruce Jones To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/39235: not writing correct data to TI1420 PCCARD controller Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39235 >Category: kern >Synopsis: not writing correct data to TI1420 PCCARD controller >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 13 10:00:09 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Bruce Jones >Release: 4.4-RELEASE >Organization: EmergeCore Networks >Environment: FreeBSD bjreactor.emergecore.com 4.4-RELEASE FreeBSD 4.4-RELEASE #38: Thu Jun 12 10:21:00 MDT 2002 root@bjreactor.emergercore.com:/usr/src/sys/compile/ecREACTOR i386 >Description: In the file sys/pccard/pcic_pci.c version 1.110 line 746 it is attempting to set a 4 byte register, however is calls pci_write_config with a length of 1 so the upper 3 bytes are not modified. >How-To-Repeat: >Fix: Here is a patch to version 1.110 of sys/pccard/pcic_pci.c *************** *** 743,749 **** syscntl |= TI113X_SYSCNTL_INTRTIE; } syscntl &= ~TI113X_SYSCNTL_SMIENB; ! pci_write_config(dev, TI113X_PCI_SYSTEM_CONTROL, syscntl, 1); } if (cardcntl & TI113X_CARDCNTL_RING_ENA) printf("[ring enable]"); --- 743,749 ---- syscntl |= TI113X_SYSCNTL_INTRTIE; } syscntl &= ~TI113X_SYSCNTL_SMIENB; ! pci_write_config(dev, TI113X_PCI_SYSTEM_CONTROL, syscntl, 4); } if (cardcntl & TI113X_CARDCNTL_RING_ENA) printf("[ring enable]"); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message