summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-12-13Add acpibat device but keep it disabled.Marco Peereboom
2005-12-13Add glue to attach devices to apci.Marco Peereboom
2005-12-13Need some stuff outside of dsdt.c so create a .hMarco Peereboom
2005-12-13Add battery device.Marco Peereboom
2005-12-13Last round of easy delinting.Kjell Wooding
2005-12-13several silly bugs in pthread_cond_timedwait.Ted Unangst
1. the time was off by a factor of 10 2. wouldn't return error code if timeout was reached 3. the big one. thrsleep syscall doesn't return EWOULDBLOCK. it returns -1 and puts the error in errno. doh.
2005-12-13update thrsleep and thrwakeup - first arg changed from long to void *Ted Unangst
2005-12-13rebuildTed Unangst
2005-12-13thrsleep and thrwakeup, cast syscall arg from void * to long.Ted Unangst
2005-12-13change the first arg to thrsleep and thrwakeup to a void *.Ted Unangst
i had initially selected long since the kernel doesn't attempt to interpret this value in any way, but since it is always a pointer value in practice, this makes a little more sense. binary compat in any case. suggestion from deraadt@
2005-12-13Add two 100Mbit CF cards that appear to have the same chipset.Uwe Stuehler
2005-12-13More name-clash delintingKjell Wooding
2005-12-13correct implementation of pthread_cond_signal. it doesn't raise the semTed Unangst
value if there are no waiters.
2005-12-13if_san_common.cCan Erkin Acar
2005-12-13do some silly de-lintingKjell Wooding
2005-12-13It would seem that some cards do not get reset correctly if RESET isUwe Stuehler
held only for 10us but the same cards work just fine on other platforms. A really long delay lets those cards reset correctly on zaurus, but it is only an ugly workaround until the socket setup is fixed. ok for now fgs@, drahn@
2005-12-13If you're going to pass a length parameter, you should use it.Kjell Wooding
2005-12-13Added new objtype values to amltypesJordan Hargrave
Added evaluation for match object, logical operations, conversions ok marco@
2005-12-13Add check for return value in recvcmd.Marco Peereboom
Unmap ipmi registers if attach fails. ok jordan@
2005-12-13no need for device name before failTheo de Raadt
2005-12-13Don't continue to poke ipmi registers if the ID command fails.Marco Peereboom
ok jordan@
2005-12-13the status field for power supplies is different to the rest of theDavid Gwynne
sensors. as a result i wasnt being shown that i have a failed power supply. power supplies now show up like this: hw.sensors.14=esm0, Power Supply 1, OK, raw, 65359 hw.sensors.15=esm0, Power Supply 2, OK, raw, 65359 hw.sensors.16=esm0, Power Supply 3, CRITICAL, raw, 65347 anyone got a spare 2500 power supply they want to send to me? ok deraadt@ marco@ jordan@ VS: ----------------------------------------------------------------------
2005-12-13Add a "M-x lint" mode, now that lint is next-error friendly.Kjell Wooding
While here, delint some name clashes.
2005-12-13nuke unused BTOPKERNBASE defineMartin Reindl
pointed out by miod@
2005-12-13Pchip0 PCI memory starts at 0x80000000000, correct and useMartin Reindl
P_PCI_MEM accordingly pointed out by KUDO Takashi in PR 4936 ok deraadt@ miod@
2005-12-13Don't retry unsupported SCSI commands, causing large delays duringKenneth R Westerback
boot process. Same as done to gdt and ioprbs. ok nate@
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-12-13Fix an assignment (=) where an equality test (==) was meant. Found byChad Loder
lint. OK millert, deraadt
2005-12-13Don't define _BIG_ENDIAN on macpcc, only __BIG_ENDIAN__.Todd C. Miller
Adapted from netbsd.h. OK drahn@ deraadt@
2005-12-13Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999. Checked by ian@, deraadt@ and millert@, arm portion checked by drahn@
2005-12-13Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999. Checked by deraadt@
2005-12-13Remove the advertising clause in the UCB license which BerkeleyJonathan Gray
rescinded 22 July 1999. Checked by ian@ and deraadt@
2005-12-12Add test for floating point constant in conditionalChad Loder
2005-12-12Restructure conditional from last checkin regarding constant in conditionalChad Loder
contexts, so that we do not lose the ability to warn on non-integer constants.
2005-12-12Regression test for constant in conditional contextChad Loder
2005-12-12Cut down on extraneous "constant in conditional context" warnings whenChad Loder
lint encounters expressions like do { ... } while (0); and if (1) ... We use these idioms frequently in our tree for scoping purposes and we deem them to be safe. Now lint will not warn if it encounters a constant in a conditional context when the expression consists only of a constant (with no operators) and the constant is 0 or 1. This means that lint will not warn for "if (1)" but will warn for "if (2)" and will also continue to warn for "if (foo && 1)". This cuts down the vast majority of these warnings while still preserving the ability to catch bugs.
2005-12-12use ARGSUSED1 hereHans-Joerg Hoexer
2005-12-12sync usage();Jason McIntyre
from david leonard (pr #4939);
2005-12-12- simplify synopsisJason McIntyre
- remove some .Bk/.Ek clutter - sort options list
2005-12-12only xfree() cf->cf_dir when it's not NULL;Joris Vink
2005-12-12Correct uvm_km_suballoc() arguments, do not make phys_map pageable.Miod Vallat
2005-12-12ARGSUSED on signal handlerTheo de Raadt
2005-12-12Only include PROCFS on kernels which have either COMPAT_LINUX or COMPAT_SVR4,Miod Vallat
otherwise it's just a waste of bytes. ok deraadt@ mickey@
2005-12-12Move the MC88410 support code to a specific .c function instead of heavyMiod Vallat
(and large) inlines. While there, provide correct register clobbering information to the __asm__ statements, and fix mc88410_flush_page() evil typo. Finally, rework mc88410_inval() busy-wait logic to behave correctly in all cases.
2005-12-12in the write codepaths, errors other than EAGAIN are fatal to the loop; ok ottoTheo de Raadt
2005-12-12One procfs.h leftover there, too.Miod Vallat
2005-12-12Remove unused code.Miod Vallat
2005-12-12Nuke unused pmap_from_phys_address().Miod Vallat
2005-12-12Nuke leftover references to procfs_mem.h.Miod Vallat
2005-12-12Adam Weishaupt (by grunk@); fix a couple of entries out of orderMichael Shalayeff