summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-06-20Have hmestop() properly clear the RUNNING/OACTIVE flags and the interfaceStuart Henderson
watchdog timer. Copied over from MI hme(4). Tested by nick@. From Brad.
2009-06-19Allow bge(4) to recognize the revisions of the 57780 ASICs. From Brad.Christian Weisgerber
2009-06-19Make the 64 bit bootblocks compile again after the <machine/mnode.h> changes.Miod Vallat
2009-06-19Some more defines for bge(4). Mainly bits for accessingChristian Weisgerber
info from the firmware. Some of it will be required for further work on both older and newer chipsets. Gleaned from the Linux tg3 driver. From Brad.
2009-06-19Tidy up allocation of transmit DMA maps and generalize it to alsoChristian Weisgerber
tidy up allocation of receive DMA maps. Previously the driver was using DMA maps off the free list without fully allocating them, in order to save two or three lines releasing them on error paths. This was causing it to reuse a map already in use when under load. From NetBSD. Revert a workaround against a NULL pointer dereference on alpha when invoking bus_dmaamp_sync. All submitted by Brad.
2009-06-19They're DPME partitions, not DPMI partitions.Kenneth R Westerback
ok miod@ drahn@
2009-06-19Always report 0 as the minimal brightness level to wscons. This results inMark Kettenis
more reasonable brightness level reporting. In particular we won't report 0% if the lowest level supported by the hardware doesn't completely turn the backlight off. ok marco@, pirofti@
2009-06-19Either jordan or jsing left some debug prints behind. tsk tsk.Marco Peereboom
pointed out by todd.
2009-06-18fix previous: start playback when at least one block of data hasJacob Meuser
been written to the device, instead of waiting for a write(2) when the buffer is or will be over the high water mark. ok ratchov@
2009-06-18Remove the if (1) that makes blambert@ cry. Appreciated blambert@Claudio Jeker
2009-06-18First sync the descriptor then check if the owner of the descriptor.Claudio Jeker
While there switch some m_freem() to m_free() where only a single mbuf is involved.
2009-06-18MCLGETI support for vr(4) interfaces. This will make the newer soekris andClaudio Jeker
Alix boards suck a little bit less because it will be harder to live lock them with traffic. Diff mostly adapted from sis(4). OK kettenis@, dlg@, sthen@
2009-06-18Add other valid chunk state transitions for RAID 1.Joel Sing
ok marco@
2009-06-18Check the set state status rather than always assuming a rebuild has beenJoel Sing
requested. Also move the rebuild initialisation code into a separate function whilst here. ok marco@
2009-06-18Fix some typos and whitespace issues.Joel Sing
ok marco@
2009-06-18KNF, okay deraadt@.Paul Irofti
2009-06-18regenJonathan Gray
2009-06-18Remove support for cancelled NVIDIA MCP7B and add initial support forJonathan Gray
MCP89. From Brad based on information from Peer Chen @ NVIDIA via Linux.
2009-06-17Enabled EXPERIMENTAL RAID4/5 disciplineJordan Hargrave
ok marco@
2009-06-17Added openings callback; cleanup & KNFJordan Hargrave
I/O now works reliably ok marco@
2009-06-17Make openings variable instead of maxwu; needed for more exotic raid sets.Marco Peereboom
ok jordan
2009-06-17Recommit part of miod's no-coredumps-on-ramdisks diff that got lost in theMark Kettenis
big uvm backout mess. ok miod@
2009-06-17Correctly handle the carp demote counter in all input cases.Marco Pfatschbacher
E.g. give up the MASTER status if there's a host with a lower demote count, even if it has a higher advskew. At the moment this shouldn't cause any change, but this is a first step towards the removal of the "bump the advskew to 240 in case of errors" hack, without breaking backward compatibility. OK henning@
2009-06-17Force Raid0/4/5 volume size to multiple of stripe sizeJordan Hargrave
ok marco@
2009-06-17Make sure xbowmatch() only matches on xbow stanzas.Miod Vallat
2009-06-17Make sure we do not coalesce memory ranges from different nodes.Miod Vallat
2009-06-17R14000 processors with revision 3 and above are actually R16000 revisionMiod Vallat
1 and above, so report them as such.
2009-06-17fix endianness issue on BE.Damien Bergamini
2009-06-17Really avoid changing the start of the bounds if we found no LIFTheo de Raadt
a diff by kettenis but he is gone for a day or so
2009-06-17remove extra debugging printf(). ok miod@Matthieu Herrb
2009-06-17fix flow data values: first and last time, found by f-kons at yandex ruJoerg Goltermann
OK: sthen@, henning@
2009-06-17do better detection of when we have a better version of the tcp sequenceDavid Gwynne
windows than our peer. this resolves the last of the pfsync traffic storm issues ive been able to produce, and therefore makes it possible to do usable active-active statuful firewalls with pf. lots of testing locally on the production firewalls, also tested by sthen@
2009-06-17Remove __packed from memory structure. No idea what in the wolrd I wasMarco Peereboom
smoking but it sure as heck wasn't good. Issue found by jsing on sparc64; tested by jsing and me on various arches. ok deraadt jsing
2009-06-17Revert bufq's. this is inline with the major midlayer reverts thatThordur I. Bjornsson
have been going on. this appears to bring us back to stable state. lots of testing by oga and ariane and my self.
2009-06-17date based reversion of uvm to the 4th May.Owain Ainsworth
More backouts in line with previous ones, this appears to bring us back to a stable condition. A machine forced to 64mb of ram cycled 10GB through swap with this diff and is still running as I type this. Other tests by ariane@ and thib@ also seem to show that it's alright. ok deraadt@, thib@, ariane@
2009-06-16date based reversion of uvm to the 4th May.Owain Ainsworth
We still have no idea why this stops the crashes. but it does. a machine forced to 64mb of ram cycled 10GB through swap with this diff and is still running as I type this. Other tests by ariane@ and thib@ also seem to show that it's alright. ok deraadt@, thib@, ariane@
2009-06-16Backout all the PG_RELEASED changes.Owain Ainsworth
This is for the same reason as the earlier backouts, to avoid the bug either added or exposed sometime around c2k9. This *should* be the last one. prompted by deraadt@ ok ariane@
2009-06-16Backout pmemrange (which to most people is more well known as physmemAriane van der Steldt
allocator). "i can't see any obvious problems" oga
2009-06-16Backout all changes to uvm after pmemrange (which will be backed outOwain Ainsworth
separately). a change at or just before the hackathon has either exposed or added a very very nasty memory corruption bug that is giving us hell right now. So in the interest of kernel stability these diffs are being backed out until such a time as that corruption bug has been found and squashed, then the ones that are proven good may slowly return. a quick hitlist of the main commits this backs out: mine: uvm_objwire the lock change in uvm_swap.c using trees for uvm objects instead of the hash removing the pgo_releasepg callback. art@'s: putting pmap_page_protect(VM_PROT_NONE) in uvm_pagedeactivate() since all callers called that just prior anyway. ok beck@, ariane@. prompted by deraadt@.
2009-06-15No you cannot remove a sysctl mib once you add it. It becomes ABI. ThatTheo de Raadt
is how sysctl finds them, so it can *never* be renumbered again, and must stay
2009-06-15syncTheo de Raadt
2009-06-15Back out all the buffer cache changes I committed during c2k9. This reverts ↵Bob Beck
three commits: 1) The sysctl allowing bufcachepercent to be changed at boot time. 2) The change moving the buffer cache hash chains to a red-black tree 3) The dynamic buffer cache (Which depended on the earlier too). ok on the backout from marco and todd
2009-06-14Make sure the pglist is TAILQ_INIT()'ed before invoking uvm_pglistalloc().Miod Vallat
ok deraadt@ kettenis@
2009-06-14backout:Theo de Raadt
> extend uvm_page_physload to have the ability to add "device" pages to the > system. since it was overlayed over a system that we warned would go "in to be tested, but may be pulled out". oga, you just made me spend 20 minutes of time I should not have had to spend doing this.
2009-06-14Noone else ever saw this diff except oga and ariane, so that is anTheo de Raadt
utter failure of process.
2009-06-14back out the free vs dirty fix, because pmemrange will go soon tooTheo de Raadt
2009-06-14backout the assert diff in 1.5Theo de Raadt
2009-06-14Disable inteldrm by default since it once again breaks x40 suspend.Theo de Raadt
oga was warned; it is a minimum requirement for inteldrm to be on.
2009-06-14enable support for deferring the packet that creates a state so that yourDavid Gwynne
sync peers are able to get the states before the replies. previously there was a race where the reply could hit a partner firewall before it had the state for it, which caused the reply to get processed by the ruleset which probably would drop it. this behaviour is off by default because it does delay packets, which is only wanted in active-active firewalls or when an upstream router is slow to learn that you're moved the active member of the pfsync cluster. it also uses memory keeping the packets in the kernel. use "ifconfig pfsync0 defer" to enable it, "ifconfig pfsync0 -defer" to disable. tested by sthen@ who loves it. he's got manpage changes coming up for me.
2009-06-14Don't mess with the bounds in the lp if *partoffp is non-NULL, since thisTheo de Raadt
indicates that writedisklabel is trying to find the location for writing the label. If the lp is messed with, an invalid checksum is written. done with miod and kettenis, lots of moaning and gnashing of teeth, etc