summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-13untested kgdb support for amd64. prolly needs more work whenFederico G. Schwindt
getting and setting the registers, but it's a start. kettenis@ ok.
2005-11-13move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@Federico G. Schwindt
2005-11-13need cast to vaddr_tMartin Reindl
found the hard way by deraadt@
2005-11-13Allow removable disks to be spun up if they ask for initializationKenneth R Westerback
after being opened. Use SC_DEBUG() to suppress some verbiage during spin up. Return actual errors encountered during attempt to spin up, rather than always returning EIO. ok dlg@
2005-11-13ATAPI Tape drives need 6 byte MODE SENSE commands according to atKenneth R Westerback
least one spec. Unlike other ATAPI devices. Fixes PR #4611.
2005-11-13convert more MD macros to their MI counterparts, this timeMartin Reindl
i386_round_page(), i386_trunc_page(), i386_btop() and i386_ptob()
2005-11-13save errno in example code. from mpech@ ok jmc@Otto Moerbeek
2005-11-13Better error checking of snprintfs. From Han Boetes.Kjell Wooding
2005-11-13Copy buffer before handing it to basename().Kjell Wooding
Inspired by a patch from Han Boetes.
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