summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-10-31remove commented gpio(4) entry which makes no sense to have on the ramdiskJasper Lievisse Adriaanse
ok aalm@
2013-10-31add proper guard around gpiobus_print() to allow RAMDISK-SUNXI to compileJasper Lievisse Adriaanse
ok aalm@
2013-10-31revert previous, net/if.h exports bad things to userspace.pelikan
2013-10-31convert crypto work queue to the task_add(9) api; ok dlgMike Belopuhov
2013-10-31usbd_pipe2device_handle() is not used, should not be used and die.Martin Pieuchot
2013-10-31Reenable compat_linux.Paul Irofti
Works just fine now with the post-T32 fixes that went in.
2013-10-31Fix readdir_with_callback() after cookies removal.Paul Irofti
The non-cookie path was probably always broken and never used. The file descriptor offset was never updated after a read so glibc and other syscall consumers would end-up in an infinite loop. Tested with the syscalls regression suite from IBM and with opera.
2013-10-31push the queues every 1/HZ using timeout(9)pelikan
This is a modified version of oldtbr_timeout() with a timeout for each HFSC enabled interface. ok henning claudio
2013-10-31Add a header for various hardware implementation dependent registerMartin Pieuchot
(HID) definitions, from FreeBSD with tweaks, instead of defining them in different places. ok kettenis@
2013-10-31hide kernel protytypesTheo de Raadt
ok dlg
2013-10-31oopsTheo de Raadt
2013-10-31init memory from pool_get after its allocated rather than using a poolDavid Gwynne
ctor. tweaking, testing and ok deraadt@
2013-10-31replace workqs with tasks. makes the code a bit simpler cos adding an addedDavid Gwynne
task is a nop. tested by and ok jmatthew@
2013-10-30Remove redundant base adrress printing during attach.Paul Irofti
Okay jasper@
2013-10-30Fix native builds of the luna88k boot block. Install it into /usr/mdec.Miod Vallat
2013-10-30Put all the generic machdep code in armv7_machedep.cSylvestre Gallon
Cleanup the machdep code removing: - useless includes - useless globals and prototypes - useless #if 0 and #if 1 - some style(9) issues This commit will make the bringup of new SoC easier. ok patrick@ jasper@ rapha@
2013-10-30Add missing rcsid.Sylvestre Gallon
ok patrick@ jasper@
2013-10-30It seems an immediate read is necessary when doing a write to an RSLPaul Irofti
register in order to complete the write. Okay miod@
2013-10-30Reduce gap at the end of .text from a page to 0x10 bytes. The ELF->a.outMiod Vallat
conversion done in objcopy loses if an alignment smaller than this is requested (and this is probably my {fault,bug}, somewhere in binutils). Shrinks the boot blocks a bit.
2013-10-30Bring getline() - a.k.a libsa gets() with a prompt prefix - in par with libsaMiod Vallat
gets(), featurewise; this means support for ^u to clear the input. Requested by aoyama@
2013-10-30No longer build luna88k kernels as a.out binaries, now that we have a nativeMiod Vallat
bootloader for ELF kernels.
2013-10-30Introduce a private copy of old a.out-capable nlist.c, because bootxxTheo de Raadt
has such a header and we need to tweak it. Non-a.out parts removed, to make this binary small for the install media. ok miod
2013-10-30Fix jagged diagonal lines (kernel part)Alexandr Shadchin
Send WSCONS_EVENT_SYNC every time you call wsmouse_input(). Used to synchronize and separate events into packets of input data changes occurring at the same moment in time. For example, motion of a mouse may set the DELTA_X and DELTA_Y values for one motion, then emit a SYNC. ok matthieu@. tested edd@, Henri Kemppainen and Alf Schlichting.
2013-10-30regenKenji Aoyama
2013-10-30Treat another OMRON UPS, BY35S, as ugen(4).Kenji Aoyama
Now NUT (sysutils/nut in ports) works on this device, and may work on other OMRON UPSs, by: 1. Apply following diff to NUT source: https://gist.github.com/ao-kenji/7070817 2. Put following setting in /etc/nut/ups.conf. --- [by35s] driver = blazer_usb port = auto desc = "OMRON BY35S" vendorid = 0590 productid = 0080 subdriver = ippon --- Reference: http://sunnyone41.blogspot.jp/2011/05/omron-by50subuntu-1104.html (written in Japanese) ok deraadt@ mpi@
2013-10-30Allow to compile a kernel without INET6.Martin Pieuchot
ok henning@
2013-10-30translate icmpv6 echo id's the same way we do for icmpv4; ok henningMike Belopuhov
2013-10-30add a comment describing why do we call pf_map_addr again if portMike Belopuhov
selection process fails; ok henning
2013-10-30Replace workqs with tasks.Martin Pieuchot
ok dlg@
2013-10-30Add "handling" for dock/undock events for non-ACPI docks to acpithinkpad.Mike Larkin
The "handling" is just to consume the event so that no dmesg output is printed. Since these docks have no bays, there isn't much to do on these events anyway. ok jcs@
2013-10-30replace the workq bits to supply new tx pkt descriptors with a task.David Gwynne
tested locally on a dell poweredge 2950
2013-10-30remove #include <sys/workq.h> cos this driver doesnt use it.David Gwynne
2013-10-30Use local variables for ap->a_p where appropriate.Philip Guenther
ok deraadt@
2013-10-30replace workqs with tasks.David Gwynne
ok mpi@
2013-10-30replace workq_add_task with the task api.David Gwynne
this guarantees the reliability of the arc4_reinit task being run by not relying on a pool to give us memory in an interrupt context. ok mpi@
2013-10-30deprecate taskq_systq() and replace it with extern struct taskqDavid Gwynne
*const systq defined in task.h this reduces the cost of using the system taskq and looks less ugly. requested by and ok kettenis@
2013-10-30Stop using cpp -tradition for fcode; handle the inclusion of aPhilip Guenther
generated file using awk instead. ok miod@
2013-10-29since taskq_create is only callable from autoconf or process context, itDavid Gwynne
is safe to ask malloc to wait for memory. pointed out by millert@
2013-10-29fpa went awayTheo de Raadt
2013-10-29bye bye fea / fpaTheo de Raadt
2013-10-29Get boot device and partition from NVRAM. Boot filename still defaults toMiod Vallat
"bsd", since the PROM boot_filename has to point to the bootloader itself (I store mine as /vmunix).
2013-10-29Don't add sectors to blocks. Use DL_SECTOBLK() to change DL_GETPOFFSET()Kenneth R Westerback
sector value to 512-byte-blocks before adding to b_blkno. gcc tested on zaurus by matthieu@.
2013-10-29More cleanups:Miod Vallat
- accept empty controller and partition numbers, as well as empty filenames, and use defaults (0, 0 and "bsd") instead of complaining the boot path is invalid. - do not attempt to detect and report devices at boot, using a small list of possible devices (only scsi id #6 and #5, come on!). Instead, parse the user-supplied boot string to figure out which controller and device to talk to. (still no SCSI LUN support, though). Because of the last change, SCSI unit numbers ought to match the PROM numbering now (10 * controller + 6 - device id). Crank version to 0.2.
2013-10-29unbreak glxsb(4) by properly allocating it's key schedule;Mike Belopuhov
reduce pctr.h usage while here. ok jsing, deraadt
2013-10-29remove left over bits of omrt6msg, and cleanup the yuckyTheo de Raadt
clone of fd_set for interfaces tested in ports tree build by naddy
2013-10-29More cleanup and unused code or data removal.Miod Vallat
Constify the bitmap font. Bound check sd() numbers instead of accessing an array out of bounds (noticed by aoyama@). Use the same SCSI select timeout as the kernel does (250ms instead of 2ms).
2013-10-29The cache mask for ARMv7 is a little bit different from the one inited byPatrick Wildt
the generic function. While there, also set the cache bits manually. ok aalm@
2013-10-29Kill sc_attached, attach and detach events for USB devices are triggeredMartin Pieuchot
by the same explore task and cannot happen in parallel.
2013-10-29Move most of the uses of workqs in drm to the new task/taskq api.Jonathan Gray
Prevents unintended multiple additions to workqs that was causing hangs on radeon, and lets us remove tasks more closely matching the behaviour of the original linux code. ok kettenis@ cause of the ttm/radeon hangs debugged by claudio@ and kettenis@
2013-10-29implementing handling of the msg ring if its available. this lets us getDavid Gwynne
hotplug events from the hypervisor, so you can add and remove disks at runtime. movement on the msg ring is detected in the interrupt handler and deferred to a thread via tasks.