summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-06-21Disable memory above 2GB physical again, as we can end up with an unkillableMiod Vallat
process waiting on getblk when all ATE are exhausted, despite the exhaustion being transient; I fear the only way to skirt this is to use bounce buffers.
2009-06-21Remove the ioc interrupt probe code, the heuristic is correct; origin 300Miod Vallat
is still unhappy due to ``interferences'' between the L1 console and the brick's serial ports, unfortunately.
2009-06-21Add a bunch of usb devices, per deraadt@'s pressure.Miod Vallat
2009-06-21- add and enable stge(4)Jasper Lievisse Adriaanse
"sure" miod@
2009-06-21simplify write_s16 routine and just use memory stack instead of twoMartynas Venckus
buffers. ok jsg@. tested by kevlo@ and myself
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2009-06-204.6-BETAMiod Vallat
2009-06-20Preserve more registers in sigcontext, and restore them in sigreturn. ThisMiod Vallat
makes the sigreturn regress test pass, as well as todd@'s ``run sh -c "trap exit 2 3;while :; do sleep 120; done", then press ^C'' test pass. Since userland setjmp uses sigcontext, the kernel will still support the old layout for a while (until libc is fixed and a reasonable grace period is over).
2009-06-20Remove unused global variables.Miod Vallat
2009-06-20Remove unused struct ka410_cpu, long superseded by struct vs_cpu.Miod Vallat
2009-06-20Rewrite the interface flag handling case code and update the receiveChristian Weisgerber
filter handling to take advantage of ac_multirangecnt and have correct IFF_ALLMULTI handling. From Brad.
2009-06-20Force atapiscsi to depend upon wdc_base. This allows kernels to haveMiod Vallat
atapiscsi* at umass? without needing to have pciide or wdc attachments.
2009-06-20First stab at state transitions.Marco Peereboom
ok jsing
2009-06-20Decrement routing socket count in MPLS detach caseBret Lambert
While here, fix whitespace (spaces -> tabs) issue spotted by michele@ ok michele@, claudio@
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@