summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2009-11-25Small cleanup for setsockopt IPSEC6_OUTSA:Marco Pfatschbacher
No need to wrap input validation inside spltdb(). Simplify code by using a break instead of an else-block. OK guenther@
2009-11-24in the resume path evaluate _WAK before dealing with device driversJonathan Gray
like the spec says, not after. ok mlarkin@
2009-11-24smp_malloc() implemented.Takuya ASADA
This function allocates memory using malloc or uvm_pglistalloc, then returns XKPHYS address of allocated memory. It's for avoid using virtual address on secondary cpus in early stage, and also in TLB handler. ok miod@
2009-11-24Reporting battery insert/removal was debug code. dmesg is notTheo de Raadt
a place to spam informational messages about unimportant events. That is what the sensor framework is for (and that is already done) ok kettenis
2009-11-24Add event framework.Marco Peereboom
Map IR volumes & disks at discovery time in predictable manner. From James Giannoules
2009-11-24at close() get rid of the usb task before we start tearing down; ok mglockerTheo de Raadt
2009-11-24Correct the copy out of the packet into the mbuf. We need to loop orClaudio Jeker
non-even packets will end up being a bit trunkated. OK deraadt@
2009-11-24Reset the chip an re-initialise the interface after reset. Resetting theMark Kettenis
PHY doesn't seem to be necessary on re(4) so don't descend further for now. Based on a diff from mlarkin@ ok deraadt@
2009-11-24Save FPU state before suspend.Mike Larkin
ok deraadt@, kettenis@
2009-11-24Poke CR3 one last time before resuming. Suggested by deraadt@.Mike Larkin
ok deraadt@
2009-11-24abort suspends on SMP systems until that gets written; ok mlarkinTheo de Raadt
2009-11-24Thoroughly reset the chip upon suspend and give the PHY a chance toMark Kettenis
re-initialise itself afterward. ok deraadt@, mlarkin@, claudio@, pirofti@
2009-11-24Properly re-initialise the PHY upon resume.Mark Kettenis
ok deraadt@, claudio@, mlarkin@, pirofti@
2009-11-24for MCLGETI to work correctly drivers need to first dequeue all availableClaudio Jeker
packets and then refill the RX ring. When not done this way the rx ring can not grow correctly. Tested by jmc@, OK deraadt@, kettenis@
2009-11-24msk_newbuf() had an off by one when putting the packet onto the clusterClaudio Jeker
and cleared the mbuf pointer of the next element, causing a mbuf leak. While there also ensure that the valid bit of the first buffer is only set when the full chain got assembled. Tested by jmc@, ok kettenis@
2009-11-24KSEG->CKSEG fallout.Miod Vallat
2009-11-24kill obsolete natpassHenning Brauer
2009-11-24- add rcs id's.Jasper Lievisse Adriaanse
2009-11-24By 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-24By 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-24Proper check for wrapping high address and setting the break below theOtto Moerbeek
base of data; with nicm@ ok miod@ guenther@
2009-11-24implement suspend and resumeJacob Meuser
2009-11-24Change ENOTSUP's strerror() to "Not supported"Philip Guenthe
Provide C and Pig locale expansions for errno values from EAUTH to ENOTSUP ok millert@, mk@, go aheads from others who have other translations in the works
2009-11-24Toggle SENSOR_FINVALID based on sensor data validityTheo de Raadt
2009-11-24enable uthum(4), and rearrange some nearby goopTheo de Raadt
2009-11-24Bring multicast/promisc handling in line with other network drives.Joel Sing
From Brad.
2009-11-24Allow the passphrase to be changed on softraid crypto volumes. Ensure thatJoel Sing
you backup your data and lock up your pets prior to using this. Tested by todd@ ok marco@
2009-11-24Factor out crypto code allowing for future reuse.Joel Sing
ok marco@
2009-11-24Save state on suspend and restore that state and the bridge windows on resumeMark Kettenis
such that devices behind bridges get a chance to work after resume. ok deraadt@, mlarkin@
2009-11-24fix hardware polling interval calculation. uaudio on my Logitech webcamJacob Meuser
now records properly. ok miod, yuo
2009-11-24kill hooks and timeouts before calling complex sleeping code from detach; ok jsgTheo de Raadt
2009-11-23in detach, get rid of powerhook before doing sleeping operationsTheo de Raadt