summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-04-23Include udivdi3/umoddi3 when compiling the amd64/i386 boot blocks - theyJoel Sing
are needed for the upcoming type changes. ok deraadt@
2013-04-23Remove a loongson reference.Brian Callahan
ok jasper@
2013-04-23Remove obsolete comment, okay mlarkin@.Paul Irofti
2013-04-23Convert RAID6 to new ccb handling.Joel Sing
2013-04-23Convert RAID4/5 to new ccb handling.Joel Sing
2013-04-23Do not pass SR_CCBF_FREEBUF unless we are passing an already allocatedJoel Sing
buffer that we want freed; set SR_CCBF_FREEBUF when a buffer is allocated by the addio function.
2013-04-23Rename ccb_flag to ccb_flags.Joel Sing
2013-04-23tedu unused makefiles.Joel Sing
2013-04-23Remove softraid boot support from fdboot (again).Joel Sing
2013-04-23Don't assume time_t is an uint32_t.Martin Pieuchot
ok deraadt@
2013-04-22handle long long time_t in debug codeTheo de Raadt
2013-04-22Put the code manipulating scatter gather mapping for the framebuffer underMartin Pieuchot
ifdef to be able to compile DRM on macppc. ok kettenis@
2013-04-22handle large time_t correctly in debug codeTheo de Raadt
2013-04-22ffs2 blockcount is unsigned, so we must check for underflow beforehand.Ted Unangst
from freebsd. ok deraadt guenther otto
2013-04-22correct tv_sec handling in debug codeTheo de Raadt
ok guenther
2013-04-21eeprom does not contain a a time_t -- it contains an unsigned 32 bit int.Theo de Raadt
2013-04-21new digi puc; Hugo LombardTheo de Raadt
2013-04-21syncTheo de Raadt
2013-04-21Well, it turns out the assumption that boards with a 32-bit ID registerMiod Vallat
will not accept smaller-than-32-bit accesses to the ID register is wrong with some boards (such as the Set Eng. fast Ethernet). Rework the logic introduced in 1.10 to allow matching a board with a 32-bit ID register and consistent reads at smaller sizes. Tested to not cause false positive or disappearing devices against newport, grtwo, impact, Phobos G130/G160, Fore ATM, Cyclone Colorbus, and of course Set Eng.
2013-04-21In inittodr(), be sure to only invoke tc_setclock() once. Fixes huge uptimeMiod Vallat
when the clock is bad and we switch to the filesystem time.
2013-04-21Unify the zs tty driver.Sebastian Reitenbach
Most of the hard work by mpi@, who provided the initial diff. Fixes for sparc from myself. Tested on sgi and sparc myself. Compiles and detects zstty on my powerbook, compile tested on sparc64 by me. Real testing with zs device on sparc64 by miod@ who also gave a lot of help and feedback. ok miod@, mpi@
2013-04-21Move GEM initialization code into its own function like Linux has.Mark Kettenis
2013-04-21Convert RAID1 to the new work unit completion functions and genericJoel Sing
interrupt handler. Disciplines such as RAID1/4/5/6 need a way to intercept I/O when the work unit is complete, but before the SCSI xfer is complete. This is provided via a sd_scsi_wu_done hook, which enables work units to be restarted or otherwise modified before the SCSI xfer completion occurs. ok krw@
2013-04-20more pckbd fallout, sighTheo de Raadt
2013-04-20Do not wait too long for the chip to unbusy, and return EAGAIN to the upperMiod Vallat
layers when the chip can't process commands fast enough; wscons knows how to cope.
2013-04-20In ahc_reset(), use SELxxx constants instead of magic values. No functionalMiod Vallat
change.
2013-04-20Prefer the processor-specific _DYNAMIC[] tags value to find out the boundariesMiod Vallat
of the .plt whenever possible, and fallback to the old behaviour of searching for special symbols pointing to its boundaries. No functional change.
2013-04-20correct handling of t_apmverTheo de Raadt
2013-04-20more usb typedef removal falloutTheo de Raadt
2013-04-20Implement support for "clock stretching" where a slave device pulls down SCLMark Kettenis
to slow down the master device. This makes the i2c bit-banging code work with slow slave device such as SDVO chips and DDC eeproms found on various graphics hardware supported by inteldrm(4). Mostly from NetBSD.
2013-04-20Enable active PS/2 multiplexing if available.Tobias Stoeckmann
Supported for i386 and amd64 except SMALL_KERNEL. Based on Miod's former work on this subject. ok mpi
2013-04-20Remove unused macro function.YASUOKA Masahiko
diff from Michael W. Bombardieri.
2013-04-19In {gpio,gdium}iic_bb_read_bits(), report the state of the SCL bit in additionMiod Vallat
to the state of the SDA bit; the MI i2c code is about to depend upon this.
2013-04-19sprinkle ifdef MP to disable cpu migration code when not needed.Ted Unangst
ok deraadt
2013-04-19Rename usbd_fill_*_task() to usb_fill_*_task().Marcus Glocker
2013-04-19sw_vp is now in struct nfs_diskless, remove it from struct swdevt.Florian Obser
This needs a change in config(8) to be commited shortly. input/ok deraadt@, ok miod@
2013-04-19Remove allocm() and freem() from the USB bus interface now that theyMartin Pieuchot
are only used as wrappers around usb_{alloc,free}mem(). ok deraadt@, mglocker@
2013-04-19Remove unused usbd_get_buffer() function.Martin Pieuchot
2013-04-18Lower boot blocks load address, so that they fit within 8MB. Step 1 of manyMiod Vallat
towards getting Angelfire boards (MVME180/181) running.
2013-04-18"160 chars ought to be enough for everybody"Mark Kettenis
2013-04-18pin the acpi thread to the BSP, because AML and SMI cannot be trusted. ITheo de Raadt
was certain we were doing this already, but it turns out no...
2013-04-18Move over function prototypes from ubsdi.h to usb.c which just get usedMarcus Glocker
there. Some spacing while here. Suggested and ok mpi@
2013-04-17it is better if we always start addr at something reasonable, andTed Unangst
then move it up. previous revision would leave addr uninitialized. pointed out by oga at nicotinebsd.org
2013-04-17Also accelerate scrolling backwards.Mark Kettenis
2013-04-17Add support for 16bpp mode to code that interfaces with the rasops(9) code.Mark Kettenis
2013-04-17Another round of reducing diffs with Linux code.Mark Kettenis
2013-04-17Don't set the frequency of the statclock if we don't have one.Gerhard Roth
Prevents strange hang-ups during reboot. Joint work with hshoexer@. ok mikeb@, mlarkin@, miod@, deraadt@
2013-04-17uvm_extern.h not uvm.hTed Unangst
2013-04-17do not permanently avoid the BRKSIZ gap in the heap for mmap. after someTed Unangst
allocations have been made, open it up. this is a variation on a previous change that was lost in the great uvm map rewrite. allows some platforms, notably i386, to fully utilize their address space.
2013-04-17check that the pool we are about to init isn't already on the list inTed Unangst
order to detect double init mistakes. add a similar check and rearrange pool_destory to detect the opposite mistake.