SVNews r327798

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-01-10 22:19:12 - r327798 by landonf (landonf)

Complete list of files affected by revision r327798:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/powerpc/powermac/uninorthpci.c  
  History   Contents   Diff   MODIFY   /head/sys/powerpc/powermac/uninorthvar.h  

Commit message:

Fix minor locking issues in the Power Mac Uninorth PCI bridge driver.

- Call resource_int_value() once during attach, rather than within the
  pci_(read|write)_config() code path; this avoids taking a blocking mutex
  to read kenv variables.

- Use a spin lock to protect non-atomic config space accesses; this matches
  the behavior of Darwin's AppleMacRiscPCI driver.

Reviewed by: jhibbits
Differential Revision:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 8 ms, 2 files printed. Current time is 2018-04-20 14:45:00. All times are in UTC/GMT.