summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-17Do not print the result of pci_devinfo() when attaching pcib, since thisMiod Vallat
has already be printed by the pci code.
2006-03-17un-special case old constructs: make them inherit from the same class,Marc Espie
and remove any special code from Factory. As it's simpler remove local variables.
2006-03-17handle ssize_t vs size_tTheo de Raadt
2006-03-17more cleanups; ok moritzTheo de Raadt
2006-03-17ansification and correct prototypes. ok deraadt@Moritz Jodeit
2006-03-17global not needed; ok moritzTheo de Raadt
2006-03-17ARGSUSED is good on signal handlersTheo de Raadt
2006-03-17off-by-one; inspired by a netbsd coverity fix; ok deraadt@Otto Moerbeek
2006-03-17Simplify savefd() by removing the "noclose" flag and make nocloseTodd C. Miller
behavior the default. Almost all uses of savefd() are followed by an implicit or explicit close. OK otto@
2006-03-17Off-by-one; from NetBSD's coverity analysis; ok millert@Otto Moerbeek
2006-03-17big prototype cleanup:Moritz Jodeit
o make more functions static o add all the prototypes to tip.h o consistently declare functions in the cmd table testing and ok dhill@
2006-03-17create a completion path for scsi commands without the cruft for wakingDavid Gwynne
up ioctl paths.
2006-03-17cleanup; OK ray@.Xavier Santolaria
2006-03-17- Lint says cvs_hacktime() is not used in rcs, so move it into !RCSPROG.Niall O'Higgins
ok xsa@
2006-03-17split the completion path up. its now the responsibility of the the pathDavid Gwynne
that sets the command up to say how its should be completed. this means we dont have to complicate a generic handler to cope with all the different setup paths. however, at the moment we're using the generic complicated one :)
2006-03-17- co usage() says we support -I, so set the flags and revision.Niall O'Higgins
ok xsa@
2006-03-17Add BUGS section documenting included files should start with aOtto Moerbeek
newline or comment. Problem found by mpech@; ok miod@
2006-03-17remove the last remnants of AMI_POLLINGDavid Gwynne
2006-03-17Better (maybe even comprehensible) message about volume header and bootOtto Moerbeek
loader. And fix a typo as well! Prompted by Jasper Lievisse Adriaanse. ok miod@
2006-03-17rlog_strsplit() -> cvs_strsplit() and move it to util.c so it can be reusedXavier Santolaria
by `cvs log' and some other RCS utilities. "Looks good" ray@.
2006-03-17fix a few off-by-ones; from NetBSD; ok deraadt@Otto Moerbeek
2006-03-17Use ssize_t in appropriate places.Ray Lai
Found by lint. OK niallo@
2006-03-17Remove unused variables len and i, change `end' to size_t type.Ray Lai
Found by lint. OK niallo@
2006-03-17rev 1.77Brad Smith
m_cat() - if it is safe, copy data portion into 1st mbuf even if 1st mbuf is M_EXT mbuf. rev 1.72 clarify comment on m_cat(). From itojun NetBSD ok claudio@ mcbride@
2006-03-17In m_pulldown avoid a prepend to the next mbuf in the chain if the resultBrad Smith
would still not have all data we want continous. From martin NetBSD ok claudio@ mcbride@
2006-03-16- checkout_rev() can fail, in which case we want a non-zero exit code.Niall O'Higgins
ok joris@
2006-03-16Get rid of specific softc structure for pci host bridges, as it is neverMiod Vallat
used. No functional change.
2006-03-16Get rid of redundant check in tcasicmatch() - we will only request "tcasic"Miod Vallat
as platform.iobus on tc-capable machines.
2006-03-16spacesTheo de Raadt
2006-03-16Fix for PR 4966: Only disregard bit 27 of MSR_EBL_CR_POWERON forDimitry Andric
specific Pentium III models (early stepping 1 Coppermines). "go for it" deraadt@
2006-03-16Turn EXTENT_ALIGN into an inline function; shaves about 50 to 100 bytesMiod Vallat
on RISC arches, but m68k loses a few bytes; ok deraadt@
2006-03-16Comment out tekram_sync_table and only degine {,dt_}scf_period[] forMiod Vallat
siop_common.c; shaves half a KB.
2006-03-16In sys_mincore(), pass a size in bytes, not pages, to uvm_vslock() andMiod Vallat
uvm_vsunlock(). ok mickey@
2006-03-16Move lmc_system_errors[] so that there is only one instance of it in theMiod Vallat
code instead of four; shaves more than 1KB off GENERIC.
2006-03-16some clarifications on the AGP supportTheo de Raadt
2006-03-16Move the agpgart handling code to a separate file.Matthieu Herrb
Ansify some remaining function declarations in vga_pci.c. ok miod@, dim@.
2006-03-16Document the APGIOC_XXX ioctls and associated structures.Dimitry Andric
ok matthieu@
2006-03-16Fix bug that was uncovered by adding correct prototypes andMoritz Jodeit
remove lots of names from func declarations. ok dhill@
2006-03-16first pass of cleanup of this mess; ok dhillTheo de Raadt
2006-03-16error message fix; respect -q too. Ok ray@.Xavier Santolaria
2006-03-16KNF. No binary change.Claudio Jeker
2006-03-16Consistency, one Lord of the Rings entry not marked "(LOTR)"Ryan Thomas McBride
2006-03-16Try to display errormessage even if remout == -1Bjorn Sandell
ok djm@, markus@
2006-03-16Switch tun(4) from encapsualting packets into a long mbuf chain over to useClaudio Jeker
mbuf clusters if the packet is big enough. This should speed up tun(4) and may help in other cases where long mbuf chains hurt. Additionally switch the default tun(4) MTU to a more sane 1500 bytes. TUNMTU is kept because it is used in userland. Input and OK from brad@ and djm@
2006-03-16typo.Alexandre Anriot
ok otto@
2006-03-16zap more unused variables.Xavier Santolaria
2006-03-16add missing {} so everything gets reached.Xavier Santolaria
2006-03-16kill two unused variables.Xavier Santolaria
2006-03-16ventical -> verticalMiod Vallat
2006-03-16Make ifstated handle config reloads after a parse error. Fixes PR5051Ryan Thomas McBride
Fix from Michael Knudsen.