[Midnightbsd-cvs] [MidnightBSD/src] 7d4ec7: Detect invalid PCI devices more correctly in PCI i...
    Lucas Holt 
    noreply at github.com
       
    Tue Aug 18 16:57:37 EDT 2020
    
    
  
  Branch: refs/heads/stable/1.2
  Home:   https://github.com/MidnightBSD/src
  Commit: 7d4ec710764612e3b83ed716d9e3b037116bacc9
      https://github.com/MidnightBSD/src/commit/7d4ec710764612e3b83ed716d9e3b037116bacc9
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-08-18 (Tue, 18 Aug 2020)
  Changed paths:
    M sys/dev/acpica/acpi_pci_link.c
  Log Message:
  -----------
  Detect invalid PCI devices more correctly in PCI interrupt router drivers.
- Check for an invalid device (vendor is invalid) before reading the
  header type register when examining function 0 of a possible device.
- When iterating over functions of a device, reject any device whose
  16-bit vendor is invalid rather than requiring the full 32-bit
  vendor+device to be all 1's.  In practice the latter check is
  probably fine, but checking the vendor is what the PCI spec
  recommends.
Obtained from: FreeBSD svn 3540581
    
    
More information about the Midnightbsd-cvs
mailing list