summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-13splimp -> splvmBrad Smith
ok drahn@
2005-11-13- Introduce two more stat counters, counting number of RXBrad Smith
overruns and number of watchdog timeouts. - Do not increase if->if_oerrors in em_watchdog(), since this leads to counter slipping back, when if->if_oerrors is recalculated in em_update_stats_counters(). Instead increase watchdog counter in em_watchdog() and take it into account in em_update_stats_counters(). From glebius FreeBSD ok dlg@
2005-11-13Use SCSI_DELAY only once. Document it. Default to no delay.Kenneth R Westerback
Fixes two second system 'freeze' when umass device plugged in. Speeds up boot by not waiting for a minimum of 2 seconds at each scsi bus. ok jmc@ pedro@ deraadt@
2005-11-13Use scsi_delay() instead of delay() when waiting for scsi disk toKenneth R Westerback
become ready. Make verbiage SC_DEBUG(). ok dlg@
2005-11-13lock accesses to the buffer so that it wont get confused between theDavid Gwynne
multiple processes using it
2005-11-13lock updates to the buffer with the enclosure status in it so that oneDavid Gwynne
process cant read from it while another one is fetching it from the scsi device. looks ok krw@
2005-11-13if the particular ses device has no slots or sensors to handle, then freeDavid Gwynne
all the resources.
2005-11-13handle asprintf() failure; from dhill@mindcry.orgTheo de Raadt
2005-11-13code was totally borked, if it failed to detect a LM77 it left theTheo de Raadt
type as 0; ok kettenis
2005-11-12Pass a struct proc * to ISHPMMADDR instead of abusing curproc in it.Miod Vallat
2005-11-12Compute a rough estimate of exactly how much memory uvm_init() will allocate,Miod Vallat
so as to correctly size the initial PT pages, to prevent the early initialization from invoking pmap_enter_ptpage() [chicken and egg problem]. Much better than the previous arithmetic.
2005-11-12Constify, and simplify hdgetinfo() which only gets called for known disks.Miod Vallat
2005-11-12Provide useful information if we panic due to looping interrupts.Miod Vallat
2005-11-12Print HP-IB disk geometry the same way we print SCSI disk geometriesMiod Vallat
(especially, with the size in MB).
2005-11-12Unbreak i386.Mark Kettenis
2005-11-12- fix xsa breakage. char arrays on the stack are not NULL if empty. useNiall O'Higgins
flags instead. - add a few more flags defines while i'm here.
2005-11-12spacingHans-Joerg Hoexer
2005-11-12add support for interface names as host specificationsHans-Joerg Hoexer
2005-11-12- remove strtab stuff. serves no useful purpose.Niall O'Higgins
diff is from joris@, committing on his behalf because his net connection is very dodgy right now.
2005-11-12splimp -> splvmBrad Smith
ok miod@ martin@
2005-11-12splimp -> splvm in MBUFLOCK() macro.Brad Smith
ok markus@
2005-11-12FILE * leak, missing fclose(); evol@online.ptt.ruTheo de Raadt
2005-11-12break in caseTheo de Raadt
2005-11-12return; at end of function is dorkyTheo de Raadt
2005-11-12remove unused variable; ok kjellTheo de Raadt
2005-11-12Paranoia. Check if last of a series of strlcats overflows. Pointed out byKjell Wooding
Han Boetes.
2005-11-12left a free() behind, spotted by cloderTheo de Raadt
2005-11-12Add lmtemp at maciic.Mark Kettenis
2005-11-12no longer require boot_osflags being set to 'a' in the SRM for going ↵Martin Reindl
multiuser; setting boot_osflags to 's' explicitly will get us to singleuser as usual; very old SRM versions can only set 'a' or 's', but are still fine because we ignore 'a' now and default to multiuser idea and ok deraadt@, jsg@, testing by many final ok miod@
2005-11-12Add i2cbus to smu and i2c to maciic.Mark Kettenis
2005-11-12avoid close(-1), as in rcp; ok cloderTheo de Raadt
2005-11-12spaceTheo de Raadt
2005-11-12move to asprintf; ok dhill cloderTheo de Raadt
also fix a close(random data) which changed a saved errno, ok cloder
2005-11-12Define attachment-like attribute i2c and attach lmtemp to that instead of iic.Mark Kettenis
2005-11-12spacing mostlyTheo de Raadt
2005-11-12permit TO/FROM to be swapped (symmetry is good); ok hshoexermkTheo de Raadt
2005-11-12simplify TAILQ walking code; ok hshoexerTheo de Raadt
2005-11-12spacingTheo de Raadt
2005-11-12spacingTheo de Raadt
2005-11-12do not stat() before open(); instead -- use fstat(); ok hshoexerTheo de Raadt
2005-11-12clarify how wtmp is rotated, since it was rather misleading;Jason McIntyre
2005-11-12move the ac(8) stuff to weekly, rather than monthly, since by defaultJason McIntyre
newsyslog truncates wtmp on a weekly basis; note that the ac stuff remains commented out as before; spotted by andreas bihlmaier; ok deraadt@
2005-11-12- note that basename() may modify the stringJason McIntyre
- section header WARNING -> CAVEATS while here from han boetes; ok deraadt@
2005-11-12use asprintf; ok dhill@mindcry.orgTheo de Raadt
update to dinode changes; ok pedro
2005-11-12spacingTheo de Raadt
2005-11-12more asprintf; ok dhill@mindcry.orgTheo de Raadt
2005-11-12more memleaks plugged; evol@online.ptt.ruTheo de Raadt
2005-11-12there are two things that safte does: update sensors and blink lights. ifDavid Gwynne
attach figures out that we cant do either of them, then free up all the resources.
2005-11-12spacingTheo de Raadt
2005-11-12use snprintf; dhill@mindcry.orgTheo de Raadt