History log of /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/device.h (Results 1 – 25 of 28)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0
# 01964028 16-Sep-2019 Johannes Lundberg <[email protected]>

LinuxKPI: Limit exposure of new field in dev_pm_ops to LinuxKPI >= 50000.

This will fix a suspend/resume issue that occurs on drm-kmod packages
build on 12.0 and run on 12.1.

Approved by: imp (ment

LinuxKPI: Limit exposure of new field in dev_pm_ops to LinuxKPI >= 50000.

This will fix a suspend/resume issue that occurs on drm-kmod packages
build on 12.0 and run on 12.1.

Approved by: imp (mentor)

show more ...


# 06b06065 10-Sep-2019 Johannes Lundberg <[email protected]>

MFC r351937:
LinuxKPI: Improve sysfs support.

- Add functions for creating and merging sysfs groups.
- Add sysfs_streq function to compare strings ignoring newline from the
sysctl userland call.
-

MFC r351937:
LinuxKPI: Improve sysfs support.

- Add functions for creating and merging sysfs groups.
- Add sysfs_streq function to compare strings ignoring newline from the
sysctl userland call.
- Add a call to sysfs_create_groups in device_add.
- Remove duplicate header include.
- Bump __FreeBSD_version.

Reviewed by: hselasky
Approved by: imp (mentor), hselasky

show more ...


# d46c8dbb 05-Sep-2019 Hans Petter Selasky <[email protected]>

MFC r351009:
Implement pci_enable_msi() and pci_disable_msi() in the LinuxKPI.
This patch makes the DRM graphics driver in ports usable on aarch64.

Submitted by: Greg V <[email protected]>

MFC r351009:
Implement pci_enable_msi() and pci_disable_msi() in the LinuxKPI.
This patch makes the DRM graphics driver in ports usable on aarch64.

Submitted by: Greg V <[email protected]>
Differential Revision: https://reviews.freebsd.org/D21008
Sponsored by: Mellanox Technologies

show more ...


Revision tags: release/11.3.0
# a31a70bc 21-May-2019 Johannes Lundberg <[email protected]>

MFC r347601:
LinuxKPI: Add prepare to pm_ops and bump FreeBSD version.

This patch is part of D19565

Reviewed by: hps
Approved by: imp (mentor), hps


# cc5663e2 05-Apr-2019 Hans Petter Selasky <[email protected]>

MFC r345091:
Implement dev_err_once() function macro in the LinuxKPI.

Submitted by: Johannes Lundberg <[email protected]>
Sponsored by: Limelight Networks
Sponsored by: Mellanox Technologies


Revision tags: release/12.0.0, release/11.2.0
# 422d8af4 07-Jun-2018 Hans Petter Selasky <[email protected]>

Implement the dev_pm_set_driver_flags() function macro in the LinuxKPI.

Submitted by: Johannes Lundberg <[email protected]>
MFC after: 1 week
Sponsored by: Mellanox Technologies
Sponsored by: Limel

Implement the dev_pm_set_driver_flags() function macro in the LinuxKPI.

Submitted by: Johannes Lundberg <[email protected]>
MFC after: 1 week
Sponsored by: Mellanox Technologies
Sponsored by: Limelight Networks

show more ...


# 83630517 23-Mar-2018 Ed Maste <[email protected]>

linuxkpi whitespace cleanup

Reviewed by: hselasky, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D14807


# 7353335d 17-Feb-2018 Hans Petter Selasky <[email protected]>

Move the IRQ_RETVAL() and irqreturn definitions to irqreturn.h in the
LinuxKPI to be compatible with Linux. No functional change.

MFC after: 1 week
Submitted by: Johannes Lundberg <[email protected]

Move the IRQ_RETVAL() and irqreturn definitions to irqreturn.h in the
LinuxKPI to be compatible with Linux. No functional change.

MFC after: 1 week
Submitted by: Johannes Lundberg <[email protected]>
Sponsored by: Mellanox Technologies

show more ...


Revision tags: release/10.4.0
# 7e1a02ba 22-Aug-2017 Mark Johnston <[email protected]>

Add some miscellaneous definitions to support the DRM drivers.

MFC after: 1 week


# 1f1c4ea1 16-Aug-2017 Mark Johnston <[email protected]>

Add device resource management fields to struct device.

MFC after: 1 week


# 48dac28d 08-Aug-2017 Mark Johnston <[email protected]>

Add macros for defining attribute groups and for WO and RW attributes.

Reviewed by: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D11872


Revision tags: release/11.1.0
# aa2b6b49 08-Jul-2017 Mark Johnston <[email protected]>

Add device_is_registered() to the LinuxKPI.

MFC after: 1 week


# 88156ba5 04-Jul-2017 Mark Johnston <[email protected]>

Add some auxiliary types for device driver support.

MFC after: 1 week


# 0bfde0a7 25-Jun-2017 Mark Johnston <[email protected]>

Add the thaw_early method to struct dev_pm_ops in the LinuxKPI.

MFC after: 1 week


# cb564d24 30-May-2017 Mark Johnston <[email protected]>

Add some miscellaneous definitions to support DRM drivers.

Reviewed by: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D10985


# 8f7eee5a 23-Mar-2017 Hans Petter Selasky <[email protected]>

Use ppsratecheck() for ratelimiting in the LinuxKPI.

Suggested by: cem @
MFC after: 1 week
Sponsored by: Mellanox Technologies


# e9db3df2 23-Mar-2017 Hans Petter Selasky <[email protected]>

Add support for ratelimited printouts in the LinuxKPI.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# 5a5a8c8a 24-Feb-2017 Hans Petter Selasky <[email protected]>

Prototype device structure to ensure LinuxKPI header file can be
included standalone.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# 13459eb4 16-Feb-2017 Hans Petter Selasky <[email protected]>

Whitespace fix.

Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies


# 03adb29e 25-Dec-2016 Hans Petter Selasky <[email protected]>

Improve LinuxKPI device support. Only delete own BSD devices and not
the ones obtained through devclass_get_device(). Some minor code
cleanups while at it.

Obtained from: kmacy @
MFC after: 1 week
S

Improve LinuxKPI device support. Only delete own BSD devices and not
the ones obtained through devclass_get_device(). Some minor code
cleanups while at it.

Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies

show more ...


# 0a61267a 09-Dec-2016 Hans Petter Selasky <[email protected]>

MSIX can support more than 256 IRQs. Make sure the invalid IRQ number
set in the LinuxKPI is big enough.

Sponsored by: Mellanox Technologies
MFC after: 1 week


Revision tags: release/11.0.1, release/11.0.0
# 0f9f7459 16-May-2016 Hans Petter Selasky <[email protected]>

Only lock Giant when needed in the LinuxKPI.

Suggested by: ngie @
MFC after: 1 week
Sponsored by: Mellanox Technologies


# b334cdea 16-May-2016 Hans Petter Selasky <[email protected]>

Implement more Linux device related functions in the LinuxKPI. While
at it use NULL for some pointer checks.

Bump the FreeBSD version to force recompilation of all kernel modules
due to a structure

Implement more Linux device related functions in the LinuxKPI. While
at it use NULL for some pointer checks.

Bump the FreeBSD version to force recompilation of all kernel modules
due to a structure size change.

Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies

show more ...


# 88fa0d73 16-May-2016 Hans Petter Selasky <[email protected]>

Don't dereference parent pointer when it is NULL.

MFC after: 1 week
Sponsored by: Mellanox Technologies


# fdddd267 13-May-2016 Hans Petter Selasky <[email protected]>

Handle case of class being set, but not parent when calling
device_register() in the LinuxKPI.

Obtained from: kmacy @
MFC after: 1 week
Sponsored by: Mellanox Technologies


12