History log of /freebsd-current/sys/dev/intel/spi_pci.c
Revision Date Author Comments
# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# f56dbe7a 03-Aug-2023 Vladimir Kondratyev <wulf@FreeBSD.org>

intelspi: Move ACPI/PCI ids table out of header file.

There is no reason to store it multiple times.

MFC after: 1 week
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D41244


# 2a04c3a4 03-Aug-2023 Vladimir Kondratyev <wulf@FreeBSD.org>

intelspi: Add generic resource methods to bus interface

That allows intelspi grandchildren to allocate IRQs

MFC after: 1 week
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D41242


# 1f40866f 23-Apr-2023 Val Packett <val@packett.cool>

intelspi: add PCI attachment (Lynx/Wildcat/Sunrise Point)

Also adds fixups and cleanups:

- apply the child's mode/speed
- implement suspend/resume support
- use RF_SHAREABLE interrupts
- use bus_delayed_attach_children since the transfer can use interrupts
- add support for newly added spibus features (cs_delay and flags)

Operation tested on Broadwell (Wildcat Point) MacBookPro12,1.
Attachment also tested on Kaby Lake (Sunrise Point) Pixelbook.

Reviewed by: wulf
MFC after: 1 month
Differential revision: https://reviews.freebsd.org/D29249