summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-11-26em_stop() removes IFF_RUNNING flag, so we should rely on the IFF_UP being setDariusz Swiderski
ok deraadt@
2009-11-26By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-26allow USB xfer requests to use up to 16 frames per xfer, depending onJacob Meuser
blocksize
2009-11-26greatly reduce latency and kill some XXXs:Jacob Meuser
* reduce number of outstanding USB xfers: 6 -> 3 * reduce number of USB frames per xfer: 10 -> 2 * if the device uses wMaxPacketSize frame sizes that are longer than 1 ms, allow 1 frame per xfer * instead of making blocksizes big enough to hold all outstanding xfers, just make it big enough to hold one xfer * calculate blocksizes a little better * be more careful to let the upper layer know exactly when a block has been moved in/out of the upper layer buffer ok ratchov
2009-11-26magical fix for a fault which reliably brings my firewalls down. i thinkDavid Gwynne
not having sks and sks set to NULL causes random memory to be pool_put(). ok deraadt@ jsing@
2009-11-26initialize cpu_info correctly.Takuya ASADA
ok miod@
2009-11-26unbrak previousDariusz Swiderski
ok deraadt@
2009-11-26handle DV_SUSPEND and DV_RESUMEDariusz Swiderski
tested by deraadt@ and me ok deraadt@
2009-11-26wdc@isa ok deraadtJonathan Gray
2009-11-26Toggle into "cold" when we we disable interrupts, because tsleepingTheo de Raadt
in the AML interpreter and context switching into userland processes tends to sometimes pop the ACPI trampoline page out of our address space. Makes lots more machines work. ok kettenis mlarkin
2009-11-26Call the existing power functions with our activate function forTheo de Raadt
the suspend and resume operations ok kettenis
2009-11-26By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-26knf relative to i386Theo de Raadt
2009-11-26re-init the fpu like on i386Theo de Raadt
2009-11-26Really want isa.h when using #ifdef NISA > 0Theo de Raadt
2009-11-26Add an explicit check for supported models (10, 13, 15) before setting up theNicholas Marriott
Via CPU temperature sensor task, otherwise it is added for model 9 as well which is not supported. ok kevlo
2009-11-26Fix a stack problem on amd64, now the resume functions get called properly.Mike Larkin
Tested mlarkin on thinkpad x60, pirofti on dell d620, and deraadt on thinkpad T61. ok deraadt@, pirofti@
2009-11-26Only re-initialise interfaces on suspend if they were IFF_RUNNING.Mark Kettenis
ok deraadt@, claudio@
2009-11-25Fix typo.Joel Sing
ok kettenis@
2009-11-25Add ci_randseed.Joel Sing
ok kettenis@
2009-11-25Repair typo in commented-out DRM option, 'sure' oga@Ian Darwin
2009-11-25Unbreak GENERIC-IP27.Joel Sing
2009-11-25fix previousDamien Bergamini
2009-11-25By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-25Suspend when the lid closes (but not when it opens again).Mark Kettenis
ok deraadt@, mlarkin@, pirofti@
2009-11-25something hairy happened with cvs so this file didn't get added.Owain Ainsworth
re-add uvm_objwire and uvm_objunwire. "you may commit that" kettenis@ original diff oked by ariane@ and art@
2009-11-25re-add uvm_objwire and uvm_objunwire. needed for intel GEM support.Owain Ainsworth
It was backed out as part of the date-based revert after c2k9. "you can commit that" kettenis@ original diff oked by ariane@, art@.
2009-11-25re-add uvm_objwire and uvm_objunwire. needed for intel GEM support.Owain Ainsworth
It was backed out as part of the date-based revert after c2k9. "you can commit that" kettenis@ original diff oked by ariane@, art@.
2009-11-25Thinkpad button suspends; ok mlarkinTheo de Raadt
2009-11-25By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-25fix default phy_addr makes 82545 work againDariusz Swiderski
ok claudio@
2009-11-25single-stream parts (AR9285) have a hardware bug that limits theDamien Bergamini
usable size of the PCU TX FIFO to 2KB even though the hardware has 4KB.
2009-11-25IP30 IPI implementation.Takuya ASADA
Also few xheart modification for SMP. ok miod@
2009-11-25add gcu(4) to GENERIC and RAMDISK_CDDariusz Swiderski
ok deraadt@
2009-11-25Handle the notification types for LID and Sleep button a bit moreTheo de Raadt
specifically. On some thinkpads we get 0x02 for the Fn button, which means that it is going to handle the next bit for us. After that, we get an suspend key event in acpithinkpad. ok pirofti
2009-11-25Make sure we get a clean gdt from the BIOS.Paul Irofti
Some vendors screw us up on resume giving back a dirty gdt which prevents us to go into protected mode. This makes sure the gdt is clean, its the only way to do this and its the only way to be sure we're clean on resume. This fixes quite a few laptops that didn't resume but rebooted or did other screwy things because of a dirty gdt. Worked with mlarkin@ for quite a few houres last night. Tested by many on both amd64 and i386. Okay deraadt@.
2009-11-25Clear any pending interrupts. This should not matter, since we're at splhigh(),Mark Kettenis
but I get the feeling this may be an issue for some of the schizo(4) error interrupts.
2009-11-25- regenJasper Lievisse Adriaanse
2009-11-25- add another NEC hub and rename the other two hubs for proper enumerationJasper Lievisse Adriaanse
"go for it" kettenis@
2009-11-25By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-25oopsy. don't fuck the offset when we wrap the ring with NOOPs.Owain Ainsworth
fixes the lockups for claudio.
2009-11-25Simpler logic to ignore the Naturetech keyboard babbling; discard extraMiod Vallat
data if we already have pending data to process in the timeout handler. help kettenis@; commited from the Naturetech #$@!&! machine.
2009-11-25Add support for em(4) interfaces found on intel EP80579 SoC. The MAC part isDariusz Swiderski
basicly 82545, but the PHY's are separated form the chip and they are accessed through a special PCI device called GCU which has the MDIO interface. Since there is no direct relationship between MAC and PHY, so for the moment they are assigned to each other the way its done on Axiomtek NA-200, that was danted to us by them. This also adds a device driver for the GCU. tested by me on Axiomtek board reviewed by claudio@, kettenis@, deraadt@ 'commit that as is' deraadt@
2009-11-25Just some minor cleanup. OK deraadt@Claudio Jeker
2009-11-25Consider any tx buffer that is freed in vr_stop() to be an unsentTheo de Raadt
packet, ie. an output error. This way, we'll be able to see if the seized interfaces had tx packets queued. ok claudio
2009-11-25Re-enable the debug messages from bus errors and tx underruns so thatTheo de Raadt
we can dianose if those ever happen. ok claudio
2009-11-25Do not call vr_stop() and vr_reset() before calling vr_init(), becauseTheo de Raadt
the latter does that itself. ok claudio
2009-11-25Ignore repeated data in ukbd_intr(), for keyboards who flood us on a regularMiod Vallat
basis even in the absence of keyboard events; Naturetech onboard keyboard no longer loses keystrokes. Joint work with kettenis@
2009-11-25Allow xbow_intr_establish() callers to provide optional storage for theMiod Vallat
struct intrhand, instead of having it malloc()'ed.
2009-11-25Add a mechanism to stop the scheduler from scheduling processes on aMark Kettenis
particular CPU such that it just sits and spins in the idle loop, effectively halting that CPU. ok deraadt@, miod@