ca9cd011ad
Two findings from the R7 audit of the quirks-and-bugs subsystem. 1. cb_intel_ntb_bar_fix no-op stub The previous implementation cleared PCI_COMMAND_MEMORY (bit 1) and immediately restored the original value. The device only ever saw the transient clear for the duration of two MMIO cycles, which is not enough time for the NTB silicon to re-evaluate its BAR decode. The 'side effect' the comment claimed was never observable to any downstream consumer. Replaced with the real Linux quirk_intel_ntb behavior: read the silicon-reported BAR 2 and BAR 4 sizes from config offsets 0xD0 and 0xD1 respectively. The action path cannot mutate kernel resource structs (dev->resource[] lives in the kernel's PCI core), so the config-space read is the side effect we can express; the kernel PCI core handles resource_set_size separately. Source: linux-7.1/drivers/pci/quirks.c:3526-3542. 2. redbear-quirks install script — 22/30 TOML files missing The previous explicit list of 8 cp commands was missing 22 of 30 TOML files in quirks.d/. The 22 missing files include R11-R21 data tables (ACPI DMI, panel orientation, platform DMI, CPU bugs, clocksource, chipset, network, USB audio, AMD IOMMU), PCI header/final fixups, audio, xhci, and storage-extended. Replaced the explicit list with a glob so every .toml in quirks.d/ ships — future additions are picked up automatically. Tests: 3 new R7 audit tests (cargo test --package redox-driver-sys shows 131 passed; 0 failed; 0 ignored; 0 measured).