History log of /haiku/src/add-ons/kernel/drivers/power/pch_thermal/pch_thermal.cpp
Revision Date Author Comments
# 7713305b 20-Aug-2023 Jérôme Duval <jerome.duval@gmail.com>

pch_thermal: add Lewisburg and Wellsburg ids

Change-Id: I2acbec140d8d6155549b0c802f465f004a7a67ab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6867
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 215b685f 11-Dec-2022 X512 <danger_mail@list.ru>

kernel: Drop non-standard GNU inline assignment syntax

* We needed this previously due to our gcc2 compiled kernel.
* Now that our kernel is always latest gcc, we can move to the
c++20 syntax for inline assignment.
* Improves compatibility with clang, less GNU-specific stuff

Change-Id: Ib7272a0a52554a31e9a0e788fd3f031db9049795
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5898
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# a3f0a36a 08-Oct-2020 Jérôme Duval <jerome.duval@gmail.com>

pch_thermal: add Cannon Lake LP id

Change-Id: I00ab55ae2549e3d91ff4dc23106db3ebe45478d2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3296
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# 733e150b 11-Jul-2020 Michael Lotz <mmlr@mlotz.ch>

drivers: Fix 64 bit BAR checks and remove redundant masking.

Fix address type mask to use the right bits via PCI_address_type. The
previous 0xc value applies to the upper of the two address type and
the prefetchable bit instead of the two adddress type bits. This would
cause prefetchable 64 bit BARs to be misidentified as not being 64 bit.

Remove address masking as this is already done on the field in pci_info.

Use uint64 instead of phys_addr_t explicitly as on pure 32 bit platforms
this would otherwise result in a shift greater than type size.

Note that the sizes should theoretically be adjusted as well, but in all
of these cases a size needing the upper 32 bits doesn't make much sense.

Change-Id: Idd0d6e9a6cc18656b43cafcac720b132fc1f2ad3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3024
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# bed01fe3 23-Mar-2020 Jérôme Duval <jerome.duval@gmail.com>

AreaKeeper.h: move to headers/private/kernel

Change-Id: I9ae2b9a6243809a618c0520a26e064ce3c5be2b4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2410
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 3bb13196 16-Mar-2020 Jérôme Duval <jerome.duval@gmail.com>

pch_thermal: driver for intel pch thermal devices

Change-Id: I7b750957727d222b464acf3b84fb9a9d6efee9b5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2385
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>