Module Name: src Committed By: skrll Date: Wed Dec 22 21:45:02 UTC 2021
Modified Files: src/sys/dev/acpi: ehci_acpi.c src/sys/dev/pci: ehci_pci.c src/sys/dev/usb: ehci.c ehcivar.h Log Message: Three fixes - pass the 64bit DMA tag if the HCCPARAMS says ehci supports it and the 64bit DMA tag is available/valid. This should help with the "cannot create xfer" error on 64bit systems. - restrict the control structure memory allocation to the low 4GB (CTRLDSSEGMENT was always set to zero anyway) - if ehci_init fails then tidyup before returning the error. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/ehci_acpi.c cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/ehci_pci.c cvs rdiff -u -r1.296 -r1.297 src/sys/dev/usb/ehci.c cvs rdiff -u -r1.48 -r1.49 src/sys/dev/usb/ehcivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.