summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-20the command queues are important so wrap them up in splbioDavid Gwynne
2006-03-20shorten the setup of the xs timeoutDavid Gwynne
2006-03-20Add a regression test for false positive with ((x == y) == z), fixed inChad Loder
r1.31 of usr.bin/xlint/lint1/tree.c
2006-03-20Lint should not complain about expressions of the form: ((x == y) == z)Chad Loder
because this is perfectly legal in C. deraadt@ was seeing lint false positives with the S_ISREG macro from stat.h. So set m_eqwarn to 0 for the EQ operator. See xlint regress case #16.
2006-03-20memory leaks detected by Coverity via elad AT netbsd.org;Damien Miller
deraadt@ ok that should be all of them now
2006-03-20last lot of GSSAPI related leaks detected by Coverity viaDamien Miller
elad AT netbsd.org; reviewed by simon AT sxw.org.uk; deraadt@ ok
2006-03-20more GSSAPI related leaks detected by Coverity via elad AT netbsd.org;Damien Miller
reviewed by simon AT sxw.org.uk; deraadt@ ok
2006-03-20GSSAPI related leaks detected by Coverity via elad AT netbsd.org;Damien Miller
reviewed by simon AT sxw.org.uk; deraadt@ ok
2006-03-20de-register.Brad Smith
2006-03-20syncBrad Smith
2006-03-20factorize SGMAP-mapped DMA map creation and destroy codeMartin Reindl
ok miod@, additional testing jsg@ from NetBSD
2006-03-20if we're in visual mode reading a command, check the termination valuePeter Valchev
of v_tcmd() and bail if it's not TERM_OK as opposed to in a more specific case. this is based on the NetBSD ^C fix but after discussion with otto@. while it did not affect the specific crash it is more correct.
2006-03-19ANSIfyBrad Smith
2006-03-19ANSIfyBrad Smith
2006-03-19ANSI and KNF.Brad Smith
2006-03-19Change BLKDEV_IOSIZE down to 2KB like on all other platforms; ok kettenis@Miod Vallat
2006-03-19Do not compile misaligned access recovery code if option SMALL_KERNEL;Miod Vallat
ok deraadt@
2006-03-19mountroot for disk devices shall be dk_mountroot(), not ffs_mountroot().Miod Vallat
2006-03-19ANSI and fix commentsBrad Smith
2006-03-19- check HDRTYPE early, and ignore if it is not supported (n > 2).Brad Smith
- defer access to interrupt configuration register, as its existence depends on HDRTYPE. From itojun NetBSD
2006-03-19regenBrad Smith
2006-03-19add a few more Intel devices as found on a Acer Travelmate 3012WTMi laptop.Brad Smith
dmesgs from damien@
2006-03-19Fix a mem leak and a potential NULL deref; from NetBSD's coverity analysis.Otto Moerbeek
ok millert@
2006-03-19Remove case '?': from getopt example.Ray Lai
OK otto@
2006-03-19use getopt(3)Robert Nagy
from Jasper Lievisse Adriaanse <jasper@nedbsd.nl>; ok otto@
2006-03-19please lintTheo de Raadt
2006-03-19spacingTheo de Raadt
2006-03-19whoever thought that break after return was a good idea needs to get their ↵Theo de Raadt
head examimed
2006-03-19ARGSUSED for signal handlersTheo de Raadt
2006-03-19spacingTheo de Raadt
2006-03-19spacingTheo de Raadt
2006-03-19RCSID() can dieTheo de Raadt
2006-03-19Fix mem leaks in error path. From NetBSD's coverity analysis. ok pat@Otto Moerbeek
deraadt@
2006-03-19sis950 has 0x5b missing, so it looks more like an it8712f-aTheo de Raadt
2006-03-19more sane calloc(3) usage; from adobriyan@gmail.com, ok millertPeter Valchev
2006-03-19sync someMartin Reindl
2006-03-19Partial revert of previous changes, nasty regexps not greedy the way they ↵Marc Espie
should. Broke md5.
2006-03-19this is a really large reworking of how ami works in terms of submittingDavid Gwynne
commands to the hardware and completing them. previously the driver was very engineered toward moving io from the logical disks scsi commands onto the hardware and off. as we built extra functionality into the driver, this path grew more and more hairy as bits were tacked on to cope. this strips it back to dealing with getting the command onto the hardware and off again. each path that submits commands now has to do all its work before submitting the ccb, and supply a function for completing the ccb. both the async and polled paths call the completion routines for commands now. async commands that fail to get onto the hardware first go are stuck on a queue and retried out of a timeout. previously this was only done for scsi commands, now all paths take advantage of it.
2006-03-19Correct strdelim null test; ok djm@Darren Tucker
2006-03-19memory leaks detected by Coverity via elad AT netbsd.org;Damien Miller
deraadt@ ok
2006-03-19Remove extraneous cast to malloc call in fgetln example.Ray Lai
OK otto@
2006-03-19ok, what i thought was sis950 is actually likely the it8712f-aTheo de Raadt
2006-03-19recognize the 976 and 978Brad Smith
2006-03-19rev 1.86Brad Smith
make the "generic" PCI bus enumeration code the standard case which gets used if nothing else is defined in MD headers, introduce a "PCI_MACHDEP_ENUMERATE_BUS" CPP definition which can be used by MD headers (just 1 port atm) to plug in special code rev 1.62 * Implement a machine-dependent pci_enumerate_bus() for sparc64 which uses OFW device nodes to enumerate the bus. When a PCI bus that is behind a bridge is attached, pci_attach_hook() allocates a new PCI chipset tag for the new bus and sets it's "curnode" to the OFW node of the bridge. This is used as a starting point when enumerating that bus. Root busses get the OFW node of the host bridge (psycho). rev 1.59 Split the code that enumerates the PCI bus and that actually probes for a device into two functions: * pci_probe_device() actually probes/attaches the device specified by the provide pcitag_t. * pci_enumerate_bus() enumerates the bus, and calls pci_probe_device() for each device on the bus. A pci_enumerate_bus_generic() is provided which implements the old method of doing this: If something found at dev0/func0, determine number of functions and probe each one. From NetBSD ok kettenis@ Tested on a good number of amd64/i386/macppc/sparc64 systems
2006-03-19potential NULL pointer dereferences detected by CoverityDamien Miller
via elad AT netbsd.org; ok deraadt@
2006-03-19FILE* leak detected by Coverity via elad AT netbsd.org;Damien Miller
ok deraadt@
2006-03-19more memory leaks detected by Coverity via elad AT netbsd.org;Damien Miller
deraadt@ ok
2006-03-19memory leaks detected by Coverity via elad AT netbsd.org;Damien Miller
ok deraadt@ dtucker@
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-03-19New amd64 exp(3).Mark Kettenis
tested by steven@, ok otto@