summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-11-13set type=XX sets the /type/ of the information query, not the /top/Tom Cosgrove
ok jakob@
2005-11-13missing fclose(); from dhill@mindcry.orgTheo de Raadt
2005-11-13fseeko() and lseek() have different return values. cope with that ↵Theo de Raadt
correctly. spotted by dhill@mindcry.org
2005-11-13pretty up print_hw_addr(), and even fix a teeny buffer overflow; ok ottoTheo de Raadt
2005-11-13Use name of device driver as wmesg for lock.Mark Kettenis
2005-11-13maciic at ki2cMark Kettenis
ok deraadt@
2005-11-13Do not clobber errno, from Andrey Matveev. ok canacar@Otto Moerbeek
2005-11-13Add code to turn ki2c(4) into a proper i2c controller.Mark Kettenis
ok deraadt@
2005-11-13Better error message layout.Miod Vallat
2005-11-13Attach children for matched controllers, not just u3.Mark Kettenis
ok deraadt@
2005-11-13missing fclose(); dhill@mindcry.orgTheo de Raadt
2005-11-13Fix timeout usage introduced during the timeout API change (better lateMiod Vallat
than never), allows slower disks on nhpib to work again.
2005-11-13spacingTheo de Raadt
2005-11-13fclose() file descriptor of the rule file when we are done with it.Hans-Joerg Hoexer
From David Hill <dhill at mindcry dot org>, thanks!
2005-11-13zap unused variable and silence gcc.Hans-Joerg Hoexer
From Mike Belopuhov <mkb at crypt dot org dot ru> Thanks!
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.