Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2004 06:12:19 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/alpha/pci pcibus.c
Message-ID:  <200409020612.i826CJcZ039427@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2004-09-02 06:12:19 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/alpha/pci        pcibus.c 
  Log:
  MFC rev 1.35:
  In alpha_pci_alloc_resource(), when allocating a memory resource,
  do not set the virtual address to the bus address when the bus
  doesn't have either of the PCI_RF_DENSE or PCI_RF_BWX flags set.
  The TGA driver uses the virtual address to access the registers,
  which on some machines can cause a memory management fault.  Map
  the bus address as K0SEG virtual memory instead. Note that with
  some hardware combinations involving the TGA2 adapter this change
  merely results that the memory management fault is replaced by a
  machine check.
  
  Approved by: re (scottl)
  
  Revision  Changes    Path
  1.34.2.1  +1 -1      src/sys/alpha/pci/pcibus.c



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