Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 16:28:43 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_pcn.c if_pcnreg.h
Message-ID:  <200011230028.QAA45004@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
wpaul       2000/11/22 16:28:43 PST

  Modified files:
    sys/pci              if_pcn.c if_pcnreg.h 
  Log:
  Update the probe some more to deal with 16/32 bit issues. If the chip
  is already in 32-bit mode, we need to be able to detect this and still
  read the chip ID code. Detecting 32-bit mode is actually a little
  tricky, since we want to avoid turning it on accidentally. The easiest
  way to do it is to just try and read the PCI subsystem ID from the
  bus control registers using 16-bit accesses and compare that with the
  value read from PCI config space. If they match, then we know we're in
  16-bit mode, otherwise we assume 32-bit mode.
  
  Revision  Changes    Path
  1.13      +33 -4     src/sys/pci/if_pcn.c
  1.6       +2 -2      src/sys/pci/if_pcnreg.h



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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