Date: Thu, 13 Jun 2002 09:54:24 -0700 (PDT) From: Bruce Jones <bjones@emergecore.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/39235: not writing correct data to TI1420 PCCARD controller Message-ID: <200206131654.g5DGsOG1068362@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206131654.g5DGsOG1068362>