1019. The driver crates carry facts from their sources, not their text
A read-and-report lane raised this on 2026-11-01 (UTC) after it audited the outside-driver citations
of eight crates: e1000e, designware_ethernet, designware_mobile_storage,
jh7110_clock_and_reset, jh7110_watchdog, extensible_host_controller_interface, usb and
machine_discovery. The audit used the method of the jh7110_entropy license audit
(partsfoundry/jh7110_entropy#3). For each citation it fetched the cited file at a pinned revision, read
its license header, and compared it with the crate as runs of identical lower-case word tokens,
with hexadecimal normalized and identifiers split at underscores. The pull request that adds this
file also fixes the citations that were only wrong about a path, a function name or what a source
says. What remains here touches a license, a notice or a design claim, and each item needs an
architect's ruling. This is an engineering audit, not legal advice.
Reuse: none exists. The work rewrites or annotates nife's own text, and the method is the one
jh7110_entropy already used.
Background
Most of these crates read GPL drivers for facts: offsets, bit positions, register names and
bring-up order. The jh7110_entropy audit treated those as facts and rewrote only copied prose and
quoted device-tree nodes. Three of the crates also adapt permissive code on purpose: OpenBSD's
dwqe, ytphy and dwmmc under ISC, and FreeBSD's Intel shared code under BSD-3-Clause. Each one
carries the notice of the file it names. The findings below are the places where the code
follows a source more closely than the crate says, or follows a file whose notice it does not
carry.
Items, most severe first
Each item gives the recommendation first.
-
Ruled 2026-11-01 UTC and done by #2987:
jh7110_clock_and_reset::standard_mode_100kis rewritten from a permissively licensed source or the I2C specification, with a fill nife chooses and states. The same pull request records a bench check of the PMIC reset path in milestone 819 (JH7110 clock and reset logic, proven)'s BUGS section, because the fill branch runs at the board's input clock and the programmed counts change. It had translated GPL-2.0+ code from the vendor U-Bootdesignware_i2c.cfunctionsdw_i2c_calc_timingandcalc_counts. -
Ruled 2026-11-04 UTC and done by #3198:
usb::boot_keyboard::TABLEandMODIFIER_CODEStake their usages from the HID Usage Tables 1.5, mapped by name to theKEY_*codes ininclude/uapi/linux/input-event-codes.h(GPL-2.0-only WITH Linux-system-call-note). Usages 0x32 and 0x46, and the reading of a two-legend usage name, are nife's own choices, which the module documentation states. A test pins the result of a cross-check against Linux'shid_keyboard[](GPL-2.0 or later), which agrees on all 104 rows, and the crate holds none of that file's text. -
Ruled 2026-11-04 UTC and done by #3200:
e1000e::platform_controller_hub/mod.rscarries the BSD-2-Clause notice of FreeBSD'sif_em.candif_em.hand its three copyright lines (Intel 2001-2024, Nicole Graziano 2016, Kevin Bowling 2024), copied fromfreebsd/freebsd-src@9da2c05a748f(fetched 2026-11-04), beside the Intel shared-code notice. The module takes the descriptor-ring flush, the transmit errata andem_reset's buffer split from those files. The crate README,notes/e1000e/the-i219-port.mdand the license column of milestone 494 (the I219 driver)'s Reuse table name them apart from the BSD-3-Clause shared code. The crate'slicensefield reads(MIT OR Apache-2.0) AND BSD-3-Clause AND BSD-2-Clause. -
Ruled 2026-11-04 UTC and done by #3200:
kernel/src/e1000e.rsruns the flush throughplatform_controller_hub::flush::empty_descriptor_rings, which the module's notice covers, so the notice lives once. The kernel supplies only configuration space and its ring memory. -
Ruled 2026-11-04 UTC and done by #3200:
designware_ethernet::motorcomm_physical_layer_device::link_from_registersadapts OpenBSD'sukphy_status(sys/dev/mii/ukphy_subr.c), andsrc/lib.rscarries its NetBSD Foundation BSD-2-Clause notice beside the ISC notice, as found atopenbsd/src@21ea132db7ea. The README,notes/designware-ethernet.mdand milestone 53 (the board's own peripherals)'sReuse:line name the file, and milestone 53 namesmotorcomm.c,include/uapi/linux/mii.handinclude/linux/stmmac.has fact sources. The crate'slicensefield reads(MIT OR Apache-2.0) AND ISC AND BSD-2-Clause. -
Ruled 2026-11-04 UTC and done by #3200:
designware_mobile_storagefollows only the order of OpenBSD'ssdmmc_mem.c(ISC, Uwe Stuehler 2006) for its addressing commands (CMD2,CMD3,CMD9,CMD7), and adapts none of its code. Its power-up sendsCMD8beforeACMD41, as the SD specification's figure 4-2 does, where OpenBSD asks the OCR first, and it shares no text run longer than four tokens with the file. So the crate carries only Mark Kettenis'sdwmmc.cnotice, andsrc/lib.rs,src/sd.rsand milestone 817 (a proven DesignWare SD and eMMC host)'sReuse:line say that it follows only the order. The crate'slicensefield reads(MIT OR Apache-2.0) AND ISC, for thedwmmc.ccode. Milestone 817's BUGS entry names themachine_discoveryfixtures that test the decoder. -
Fixtures and doc comments that quote upstream device-tree source. Recommendation: apply the rule of commit e1edb20b5 (cite the upstream TRNG nodes, do not quote them). A comment becomes a citation (path, revision, fetch date) and one sentence, and each fixture body keeps only the properties its test reads. The cases are:
machine_discovery/tests/fixtures/th1520.dts, whose header says it copies every node below and shares a 96-token run withth1520.dtsi(GPL-2.0 OR MIT), with no MIT notice.jh7110-stgcrg-mainline.dts, whose comment quotes the stgcrg node at an unpinned revision.jh7110_watchdog/tests/fixtures/jh7110-watchdog-radon.dts, whose body carries the vendorrstgennode whole (40 tokens) and properties no test reads.jh7110_clock_and_reset/src/lib.rs, done: its two PMIC doc comments cite the node, the file and the revision, and give the string and the address as facts.
Fixture bodies cut to the properties a test reads (up to 40-token runs in the gmac and pmic-bus fixtures) are facts under that precedent, and need a ruling only if it does not cover them.
-
Attributed quotations of text under a license that asks for a notice. Recommendation: add "(CC-BY-4.0)" beside the 36-token SBI v3.0 quotation in
machine_discovery/src/riscv64.rs, and keep the short attributed quotations of the VT-d, AMD IOMMU and ACPI specifications under the five-word rule thejh7110_entropyaudit used. The Xenhvm_start_infolayout innotes/machine-discovery.mdcomes from an MIT header without its notice; it is an ABI layout, so a citation of the file and revision should be enough. -
Done for
designware_ethernet. The module documentation ofmotorcomm_physical_layer_deviceis the home of its YT8531 register sources, each pinned to the revision it holds at. OpenBSD'sytphy.c(openbsd/src@9d7a05f92003) and FreeBSD'smcommphy.c(freebsd/freebsd-src@2ad32d3a6868) both name the clock gating and sleep control registers, and Linux'smotorcomm.c(torvalds/linux@fc697291ad0a) alone names the bit cleared in each and the whole PHY identifier. The two register constants spell out what each register is, and the crate'sName:blocks cite those rulings as "#2762 Decision N". Each carries OpenBSD's spelling and FreeBSD's as its aliases, and no Linux spelling, since both BSD sources name the two registers. The source table is in the crate's review package,notes/crate-reviews/designware-ethernet.md. -
jh7110_watchdogcalls the block an Arm SP805, and no listed source says so.WDOGIMSappears in no source; SP805 names that offsetWDOGMIS. Recommendation: cite the SP805 manual (ARM DDI 0270) if the identification stands, or say "SP805-like", as milestone 593 (the JH7110 watchdog) does. -
Unpinned links where the revision changes the fact. "Both trees assign 50 MHz" to the SD clock, and
u5_dw_i2c_clk_coreas a fixed factor, hold at the vendor branch head but not both atVF2_v2.10.4, the release radon's firmware comes from. Recommendation: pin the vendor links injh7110_clock_and_resetanddesignware_mobile_storageto the revision each claim holds at. Done forjh7110_clock_and_reset: every vendor link names a commit, and each claim links the revision it holds at.
What the lane left alone that a lane could fix after a ruling
designware_ethernet/src/tests.rssays the descriptor bits are "as the databook places them", and the crate cites no databook edition;descriptor.rssays they come fromdwqereg.h.extensible_host_controller_interface/README.mddescribes QEMU's qemu-xhci as four ports in its example. QEMU's default is eight. The example's register value changes with it.- The
Reuse:paragraph ofnotes/designware-ethernet.mdand milestone 53's block leave outmotorcomm.c,include/uapi/linux/mii.handinclude/linux/stmmac.h, which the crate reads for facts. notes/jh7110-watchdog.mdsays the tree names only the gate. The vendor node also statesclock-frequency = <2000000>, which the crate does not read.jh7110_clock_and_resetattributes the PMIC reset register (0x32, bit 6) to a bench reading. OpenSBI'splatform/generic/starfive/jh7110.c(BSD-2-Clause) holds the same numbers.- The Intel 82574 datasheet, the Synopsys DW_mshc and DesignWare Ethernet databooks, JEDEC
JESD84-B51 and the Arm DDI 0487 edition behind
aarch64.rs's D19.2 are not public, so the audit could not verify citations of them.
Follow-on
- Outstanding. Items 7, 8, 10 and 11 above, where not marked done. They apply the earlier precedent (cite, do not quote; the five-word rule) or correct a fact, so the maintainer decides each provisionally, with the recommendation its text gives (ruled 2026-11-04 UTC).
- Milestone 1051. Milestone 1051 (license field matches notices) adds a check that a crate's
licensefield names exactly the licenses of the notices it carries, indesign/roadmap/1051-a-crates-license-field-matches-the-notices-it-carries.md.
Index row
Eight driver crates cite outside drivers, some under licenses that bar copying. An audit found the citations that touch a license, a notice or a design claim, and each needs a ruling before the crate can be released.