kernel: Remove <sys/mutex.h> from all files that don't need it (2/2).98% of these were remains from porting from FreeBSD which could havebeen removed after converting to lockmgr(), etc.Due to an
kernel: Remove <sys/mutex.h> from all files that don't need it (2/2).98% of these were remains from porting from FreeBSD which could havebeen removed after converting to lockmgr(), etc.Due to an issue in my checking earlier, not everything was cleaned upcorrectly.
show more ...
kernel - Update AMD chipset drivers for watchdog and smbus* Update the AMD chipset drivers for amdsbwd (watchdog) and intpm (smbus for power management and other things).* Now detects the smbus
kernel - Update AMD chipset drivers for watchdog and smbus* Update the AMD chipset drivers for amdsbwd (watchdog) and intpm (smbus for power management and other things).* Now detects the smbus and watchdog on the 3500U laptop APU.Taken-from: FreeBSD
kernel: Remove unused *.h files from SRCS in kernel module Makefiles.They were found by checking the preprocessed code of the filesin SRCS to see if the header was included at some point.After r
kernel: Remove unused *.h files from SRCS in kernel module Makefiles.They were found by checking the preprocessed code of the filesin SRCS to see if the header was included at some point.After removal, the preprocessed source of a build with the oldMakefiles was compared against one with the changes (for variouskernel configurations and when building just from /usr/src) toverify that the commit leads to no functional change.
Remove non-existant .PATH components from a number of Makefiles.
kernel: Use DEVMETHOD_END in the drivers.
MachIntrABI: intr_{config,cpuid} -> legacy_intr_{config,cpuid}So these two functions will not be misused on MSI. No functional changes
resource: Per-CPU hardware resources support, step 3 of many- Add cpuid parameter to bus_set_resource() and bus_set_resource DEVMETHOD; Pass this parameter to resource_list_add()- Obtain interru
resource: Per-CPU hardware resources support, step 3 of many- Add cpuid parameter to bus_set_resource() and bus_set_resource DEVMETHOD; Pass this parameter to resource_list_add()- Obtain interrupt resource's owner CPU, i.e. target CPU, from MachIntrABI and pass it to bus_set_resource(), so that the owner CPU of the interrupt resource could be correctly setup- Rest of types of resources, e.g. IOPORT, MEMORY and DRQ, are shared across CPUs, so their cpuids are set to -1
kernel: Use NULL for DRIVER_MODULE()'s evh & arg (which are pointers).This is just cosmetics for easier reading.
iicbus: Bring us closer to FreeBSD.This is work in progress and I commit it so Dave Shao's Summer of Codeproject can proceed.Further commits will follow.Taken-from: FreeBSD