]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r199558,199561
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 21 Dec 2009 18:34:18 +0000 (18:34 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 21 Dec 2009 18:34:18 +0000 (18:34 +0000)
commita79be2e9d819fa20de1ce2036eb78e9c0a0ea32b
tree29744131f775d5992f1f70e3c583ec4b9570896a
parentb88f73440cade11ba434efae42c9b74560488f3b
MFC r199558,199561
r199558:
  Use bus_{read,write}_4 rather than bus_space_{read,write}_4.
r199561:
  Use capability pointer to access PCIe registers rather than
  directly access them at fixed address. Frequently the register
  offset could be changed if additional PCI capabilities are added to
  controller.
  One odd thing is ET_PCIR_L0S_L1_LATENCY register. I think it's PCIe
  link capabilities register but the location of the register does
  not match with PCIe capability pointer + offset. I'm not sure it's
  shadow register of PCIe link capabilities register.

git-svn-id: svn://svn.freebsd.org/base/stable/8@200789 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/et/if_et.c
sys/dev/et/if_etvar.h