summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-22Add PCI id's for the Intel ICH10 southbridge.Brad Smith
Based on a diff from Robert <robert at openbsd dot pap dot st>
2008-09-22Do not dereference an uninitialized pointer if a rogue, unknown type of boardMiod Vallat
is detected.
2008-09-22Do not return an uninitialized value on success in stclose().Miod Vallat
ok krw@
2008-09-22Make sure some possibly uninitialized local variables are assigned correctMiod Vallat
values in all cases. ok marco@
2008-09-22Do not use an uninitialized local for comparison in azalia_rirb_intr().Miod Vallat
While there, fix a bounds checking error in azalia_[gs]et_port(). ok deanna@ ratchov@
2008-09-22regenBrad Smith
2008-09-22Add PCI id's for the Intel G41, G45 and Q45 GPUs.Brad Smith
2008-09-22regenBrad Smith
2008-09-22- Add XenSource vendor id and SCSI HBA product id.Brad Smith
- Add some more Intel ICH9 product id's. Most of the Intel product id's are from Robert <robert at openbsd dot pap dot st>
2008-09-22Reorder PFSTATE_PFLOW define:Marco Pfatschbacher
It applies to state_flags, not to sync_flags. OK henning@, gollo@
2008-09-21Add missing splnet to the ioctl handler.Brad Smith
ok jsg@
2008-09-20document spamd log entry format; requested by Stephan A. RickauerJason McIntyre
ok beck
2008-09-19system/5918: fix clearing of ITIMER_VIRTUAL and ITIMER_PROF it_intervalDamien Miller
ok tedu@
2008-09-19adjust for MAXINTERP crank, pointed out by dkrause@Damien Miller
2008-09-19Perform the mvme197 latency timer reprogramming in the boot blocks, inMiod Vallat
addition to the kernel, and unconditionnaly handle all busswitch revision 1 based boards as horribly broken, even with 50MHz clocks. Based on an report of an early 50MHz 197LE board being unable to boot, due to memory corruption.
2008-09-19documentation tweaks; synchronize synopsis and usage.Igor Sobrado
written with help by jmc@ ok jmc@
2008-09-19Fix a bunch of problems and races with posix file locking.Artur Grabowski
- file descriptor table becomes the owner of the lock instead of the proc. - When grabbing the lock, we check if the fd hasn't changed under our feet, this is more or less impossible to solve without a hack like this. I've banged my head against the wall, I figured out a solution, but implementing it correctly would cost me 12 gray hairs. Screw it, this is ugly, but it works. - Wait until usecount drains before releasing the posix lock in closef. - Add missing FREF/FRELE to sys_flock - keep the pid in the flock struct instead of abusing the fact that we used to use the proc as the lock owner. Pointed out by and discussed with Al Viro, big thanks. miod@ ok
2008-09-19AES with keysize != 128 bit is not supported in hardware, so we needMarkus Friedl
to switch to the software implementation; ok hshoexer, tom
2008-09-19Merge printb() fix from ifconfig.c -r 1.157:Marco Pfatschbacher
Don't increment a pointer *before* testing it for NULL. OK canacar@
2008-09-19typoPierre-Yves Ritschard
spotted by uw at o3si dot de
2008-09-19fix some cause of bad TEXTREL on i386 and amd64Otto Moerbeek
- global function calls in .init sections (diff makes them via PLT) - calls to global functions in aes-586.S (made static or local) - global variable accesses in rc4-x86_64.S (now made via GOT) from djm@large; ok miod@
2008-09-19increase MAXINTERP from 64 to 128 and allow a little extra room on topDamien Miller
of that for shell scripts to cover the #!, an optional space following it and a newline at the end. feedback and ok miod@
2008-09-19While vaguely interesting, the prints coming out of the driver was way tooDale Rahn
noisy. Hopefully this will quiet it down for all but extremely odd cases (where we probably want to see the messages).
2008-09-19miod pointed out that some items were multiply defined (patched intoDale Rahn
existance too many times).
2008-09-18syncTodd T. Fries
2008-09-18Introduce the infrastructure required to support hardware VLAN tagChristian Weisgerber
stripping: Add a field to the mbuf pkthdr to hold the tag and an mbuf flag that tells if the tag is valid. Inspired by FreeBSD. Struct packing suggested by kettenis@. csum_flags is now 16 bits. Adapt to this in the drivers. ok reyk@, henning@
2008-09-18Rework the drm locking to be at least halfway sane. The freebsd codeOwain Ainsworth
held a lock over all driver ioctls in order to be ``mpsafe''. Stop lying to ourselves for a start. This code is not fully mpsafe, and should not pretend to be so. Put the locking around where it should, and rely on biglock for the rest. This will need to be fixed, but avoids some of the horrible that we have right now. Tested by many over a long time and several iterations.
2008-09-18unbreak for gcc2 archs; declaration before code!Todd T. Fries
2008-09-18add -A to SYNOPSIS;Jason McIntyre
2008-09-18remove unused variableCharles Longeau
sure henning@
2008-09-18fix potential use of uninitialized valueCharles Longeau
Found by LLVM/Clang Static Analyzer. ok claudio@
2008-09-18document -A and include in usageOtto Moerbeek
2008-09-18Add a flag to print amap usage.Artur Grabowski
otto@ ok
2008-09-18Redesign of the powerpc interrupt architecture, use true levels intead ofDale Rahn
blocking specific interrupts. Needs signficant testing to prove that one remaining elusive bug has been squashed.
2008-09-17Solve m_free problem with a not correctly configured pflow interfaceJoerg Goltermann
leading to a kernel crash reported in PR5930 OK claudio@ henning@
2008-09-17fix whitespacesJoerg Goltermann
ok henning@
2008-09-17remove dead stores and newly created unused variables.Charles Longeau
fix potential use of uninitialized value in trunk_port_ioctl() function. Found by LLVM/Clang Static Analyzer. ok mpf@ henning@
2008-09-17Also update the NVIDIA PCI id for the i386 copy of this code.Brad Smith
2008-09-17catch up with renamed Nvidia PCI IDChristian Weisgerber
2008-09-17- when merging a file, add a key to see a diff between the merged fileAntoine Jacoutot
and the new or old one requested by todd@ months ago "I like the idea" fgsch@, "should be in" todd@
2008-09-17Remove the unsupported media types explicitly listed in the switch casesBrad Smith
for MII_MEDIACHG. The default case will catch these media types. ok jsg@
2008-09-17try getlogin() to get the real username when comitting files as root.Reyk Floeter
this gives better information in log messages when the user logged in with a different uid and used sudo or su to become root. matches the behaviour of gcvs except that we don't fallback to LOGNAME or USER since getlogin() should not lie. ok tobias@
2008-09-17Update for renaming of ATI IXP to SB.Brad Smith
2008-09-17ATI IXPx00 -> SBx00Brad Smith
2008-09-17Update for renamed ATI PCI ids.Brad Smith
2008-09-17regenBrad Smith
2008-09-17rev 1.1369 changed the SB200 entries to use the IXPx00 naming schemeBrad Smith
for consistency with the other entries already there. Revert that change. Also change the other entries for the SBx00 chipsets from using IXPx00 to using SBx00. IXPx00 was a code name used by ATI in addition to the SBx00 product name. As of SB700 and newer the IXPx00 name has been dropped plus SBx00 are more well known. requested by jsg@ awhile ago.
2008-09-17remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok henning@ mpf@
2008-09-17regenBrad Smith
2008-09-17- Fix a typo, Rebotics -> RoboticsBrad Smith
- Replace tabs with spaces as separator for two NVIDIA entries NVIDIA part from Antti Harri <iku at openbsd dot fi>