freebsd-dev/sys/compat
Val Packett 393b0ba25f LinuxKPI: return an address string in pci_name()
amdgpu's virtual display feature uses pci_name() to match a module parameter
string, and the documentation shows an example of `0000:26:00.0` for the name.
In our case the name was just `drmn`, which is not actually unique across
devices.

The other consumers are wireless drivers, which will benefit from this
change.

Generate the expected string for pci_name() to return.

Related to:	https://github.com/freebsd/drm-kmod/issues/134
Sponsored by:	https://www.patreon.com/valpackett
Reviewed by:	bz, hselasky, manu (earlier)
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D34248
2023-02-06 21:56:39 +00:00
..
freebsd32 ptrace(2): add PT_SC_REMOTE remote syscall request 2022-12-22 23:11:35 +02:00
ia32 Retire sv_transtrap 2022-05-20 14:54:03 +03:00
lindebugfs lindebugfs: Add debugfs_create_file_size() 2023-01-25 23:23:16 +01:00
linprocfs linprocfs: Migrate to IfAPI 2023-02-03 09:38:03 -05:00
linsysfs linsysfs: Use IfAPI accessors 2023-02-03 09:38:03 -05:00
linux linux(4): Add the forgotten in the 6f8439db opt_compat include. 2023-02-05 18:25:10 +03:00
linuxkpi LinuxKPI: return an address string in pci_name() 2023-02-06 21:56:39 +00:00
x86bios pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00