freebsd-skq/sys/powerpc/powermac
eadler 44c01df173 Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U << 31) which gets the
expected result.

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.

Discussed with:	-arch, rdivacky
Reviewed by:	cperciva
2013-11-30 22:17:27 +00:00
..
ata_dbdma.c - With the demise of !ATA_CAM, ATA_STATIC_ID is the only ata(4) related 2013-04-06 19:12:49 +00:00
ata_dbdma.h
ata_kauai.c Move the resource allocation from the ata_*_probe section to the ata_*_attach 2013-10-15 18:59:32 +00:00
ata_macio.c Move the resource allocation from the ata_*_probe section to the ata_*_attach 2013-10-15 18:59:32 +00:00
atibl.c Only add the backlight device if it actually exists in OF. 2013-08-31 16:31:48 +00:00
cpcht.c Compatibility with IBM firmware. 2012-02-04 23:25:18 +00:00
cuda.c
cudavar.h
dbdma.c
dbdmavar.h
fcu.c
grackle.c badaddr() is used only in the grackle PCI driver, so move its definition 2013-11-27 22:01:09 +00:00
gracklevar.h Unify OF PCI infrastructure, including changing from parsing the device 2012-02-04 19:54:13 +00:00
hrowpic.c Remove bogus __unused attribute from hrowpic_eoi(). 2012-07-01 19:07:45 +00:00
hrowpicvar.h
kiic.c Return EIO iso -1, the kiic_transfer has an signed return. 2013-08-23 20:39:41 +00:00
macgpio.c
macgpiovar.h
macio.c #interrupt-cells belongs to the iparent, not the device parent. 2013-11-17 19:50:50 +00:00
maciovar.h Add the macio attachment for wi(4). Partially obtained from NetBSD. 2013-07-31 01:13:29 +00:00
nvbl.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
platform_powermac.c Rework handling of ofw_quiesce(), making it the responsibility of the 2013-09-27 13:12:47 +00:00
pmu.c Fix style(9) issues from r228270. 2011-12-05 14:13:21 +00:00
pmuvar.h Add a devd notification for closing/opening the lid on PowerBooks and iBooks. 2011-12-05 00:12:10 +00:00
powermac_thermal.c Be a little more suspicious of thermal sensors, which can have single 2013-10-25 03:55:52 +00:00
powermac_thermal.h
pswitch.c
smu.c Only check fan type once. Not only is continuously rechecking pointless, a 2013-05-05 22:42:10 +00:00
smusat.c Improve error handling in smusat(4). 2012-02-15 16:59:24 +00:00
uninorth.c Use #address-cells and #size-cells here too instead of guessing. There is 2013-11-17 19:01:13 +00:00
uninorthpci.c Actually look up #address-cells instead of assuming it is correlated with 2013-11-17 18:27:07 +00:00
uninorthvar.h Use #address-cells and #size-cells here too instead of guessing. There is 2013-11-17 19:01:13 +00:00
vcoregpio.c
viareg.h
windtunnel.c Add PWM monitoring sysctl to G4 MDD (Windtunnel) fan driver. While there, clean 2012-01-12 22:21:20 +00:00