summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-18Plug a memleakDavid Hill
ok ray@ "Wow, no kidding." deraaadt@
2006-03-18Change code to match comments, fixing potential off-by-one error.Ray Lai
According to the comments, the lowest number should be 1. not okay, then okay niallo@
2006-03-18use polling for the synchronise command while i move the xs setup andDavid Gwynne
completion stuff around.
2006-03-18rename ami_cmd to ami_start_xsDavid Gwynne
2006-03-18add missing function declarationDavid Hill
remove unused parameter from check_callit() ok deraadt@ ray@
2006-03-17Call fts_close(); from NetBSD's Coverity analysis; ok jaredy@ millert@Otto Moerbeek
2006-03-17another unreachable found by lintDamien Miller
2006-03-17unreachanble statement, found by lintDamien Miller
2006-03-17more delinting.Moritz Jodeit
2006-03-17FILE * leakTheo de Raadt
2006-03-17size_t size()Theo de Raadt
2006-03-17Fix single-stepping via ptrace(2); ok art@ kettenis@Miod Vallat
2006-03-17Nuke unused variable.David Hill
ok ray@
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@