Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-08 | don't leak the chip's hardware address during scans when a randomized address | Jasper Lievisse Adriaanse | |
is set by the user. previously the address read from the eeprom would also be used in discovery frames, even if later data frames would contain the spoofed address. ok stsp@ | |||
2015-04-08 | change back to udelay/mdelay | Jonathan Gray | |
2015-04-08 | change back to memcpy_toio/memcpy_fromio/memset_io | Jonathan Gray | |
2015-04-08 | change back to using min_t | Jonathan Gray | |
2015-04-08 | ttm has it's own version of kmap/kunmap that uses | Jonathan Gray | |
kernel_map/uvm_km_valloc and i915 has a version that uses phys_map/uvm_km_valloc_wait as calling code assumes kmap would sleep if no memory is available. Move these and ttm's vmap/vunmap into the linux compat files and make them all use phys_map/uvm_km_valloc_wait. looks good kettenis@ | |||
2015-04-07 | Use m_defrag when mbuf chains get fragmented. | Stefan Fritsch | |
Patch by Kimberley Manning <kmanning at gmx ! com> with some additional tweaks. | |||
2015-04-07 | Keep in sync with the sparc version: convert to if_input(). | Martin Pieuchot | |
2015-04-07 | Remove a lie, the early boot console does not need any mapping. | Martin Pieuchot | |
In fact we even use the firmware interface for "bsd -c" and "bsd -d". So do the necessary firmware calls before calling initppc() to be able to use printf() really early in the boot sequence. | |||
2015-04-07 | Convert to if_input(). | Martin Pieuchot | |
Tested with simh using a floppy image built by miod@ | |||
2015-04-07 | nothing uses pool_sleep, so get rid of it | David Gwynne | |
2015-04-07 | introduce a garbage collector for (very) idle pool pages. | David Gwynne | |
now that idle pool pages are timestamped we can tell how long theyve been idle. this adds a task that runs every second that iterates over all the pools looking for pages that have been idle for 8 seconds so it can free them. this idea probably came from a conversation with tedu@ months ago. ok tedu@ kettenis@ | |||
2015-04-07 | Do not pass an `ifp' argument to interface input handlers since it | Martin Pieuchot | |
might be overwritten by pseudo-drivers. ok dlg@, henning@ | |||
2015-04-07 | Mark audio interrupt handlers as MPSAFE, they already grab the right | Martin Pieuchot | |
mutex when necessary. ok kettenis@, ratchov@ | |||
2015-04-07 | Use appropriate memory barriers. | Martin Pieuchot | |
ok kettenis@, miod@ | |||
2015-04-06 | Move almost all of the linux compat from drmP.h to drm_linux.h. | Jonathan Gray | |
The exception being the barrier defines that are implemented in terms of DRM_* defines. ok kettenis@ | |||
2015-04-06 | switch back from roundup2() and roundup() to round_up() | Jonathan Gray | |
2015-04-06 | switch back from howmany() to DIV_ROUND_UP() | Jonathan Gray | |
2015-04-06 | move some inline linux compat into the dedicated files | Jonathan Gray | |
2015-04-06 | drm_calloc -> kcalloc | Jonathan Gray | |
2015-04-06 | add/use some more errno remapping | Jonathan Gray | |
2015-04-06 | Now we have dev_priv->mm.gtt_base_addr we can set fb_base and remove | Jonathan Gray | |
an ifdef. The code that uses fb_base itself remains #if 0'd out. | |||
2015-04-06 | Add an empty drm_sysfs_hotplug_event() function and use it | Jonathan Gray | |
and the existing drm_sysfs* functions to remove some ifdefs. | |||
2015-04-06 | Convert to if_input(); ok mpi@ | Miod Vallat | |
2015-04-06 | Add get_user() and put_user() compatibility interfaces and use them. | Mark Kettenis | |
ok jsg@ | |||
2015-04-06 | add back some more static use to reduce the diff to linux | Jonathan Gray | |
2015-04-06 | No need to use a temporary pointer variable after the drm struct name | Jonathan Gray | |
in the softc changed a while back. | |||
2015-04-06 | add and use macros for wake_up/wake_up_all/wake_up_all_locked | Jonathan Gray | |
2015-04-06 | Convert some udelay() calls back to DRM_UDELAY() where | Jonathan Gray | |
the wrapper is still used in the original linux code. | |||
2015-04-05 | Work-in-progress support for non-accelerated X11 on *some* sti(4) frame buffers; | Miod Vallat | |
based upon the old HP ngle X11 driver. Currently limited to CRX (720/735/750), Timber (710, old 715), Artist (712, 715) and EG (B-series), however the colormap isn't set up correctly on Timber and EG yet. Joint work with Artem Falcon, now in good enough shape to be worked further in the tree. | |||
2015-04-05 | Consistently use #if 0/#endif to handle our lack of DRM_MINOR_CONTROL. | Mark Kettenis | |
Change an #ifdef notyet into #ifdef __linux__ as we'll never have sysfs. Remove #ifdef notyet around WARN macro since we have it now. | |||
2015-04-05 | whitespace | Mark Kettenis | |
2015-04-05 | Another round of reducing diffs with Linux. This one moves the various | Mark Kettenis | |
copy_to_user and copy_from_user functions into drm_linux.h and uses them instead of copyin/copyout and DRM_COPY_*. Also move the timespec functions, and put i915_gem_object_is_purgable() where it belongs. Uncovered a bug where the arguments to copyout() were in the wrong order. ok jsg@ | |||
2015-04-04 | fchmod and lstat are standard, widen their visibility | Jeremie Courreges-Anglas | |
ok millert@ kettenis@; input + "get it in" guenther@ | |||
2015-04-04 | Use config_suspend() instead of dereferencing ca_activate directly to | Martin Pieuchot | |
support drivers that do not need any specific suspend/resume magic and do not have an activate function. config_suspend() will automagically propagate the event to the children of the driver. Needed at least by kauaiata(4/macppc). ok deraadt@, mlarkin@ | |||
2015-04-03 | Fix unsigned vs signed comparison in for() loop condition causing an infinite | Miod Vallat | |
loop for WSDISPLAYIO_PUTCMAP ioctl with idx == 0; reported by Artem Falcon. [according to my investigation, none of the other for() loops in the kernel are affected by a similar issue] | |||
2015-04-03 | resync i915_drv.h to make it diffable to linux | Jonathan Gray | |
ok kettenis@ | |||
2015-04-03 | change types/macros to reduce the diff to linux | Jonathan Gray | |
2015-04-03 | Translate PAGE_MASK usage for the way it is defined in our kernel. | Jonathan Gray | |
This code is not called. | |||
2015-04-03 | Convert to if_input(). | Martin Pieuchot | |
Tested by jsg@ with Qemu | |||
2015-04-02 | use correct capitalization of 'BlackBerry' | Jasper Lievisse Adriaanse | |
"sure" deraadt@ | |||
2015-04-02 | Merge openpic_init() into openpic_attach(), no functional change. | Martin Pieuchot | |
2015-04-02 | One function pointer per pic function is enough. | Martin Pieuchot | |
2015-04-02 | Cleanup function definitions, use only one define for DEBUG and remove | Martin Pieuchot | |
unused headers. | |||
2015-04-02 | Call if_input() without grabbing the kernel lock first. | Mark Kettenis | |
2015-04-02 | Grab the kernel lock around the bpf_mtap_ether() call in if_input(). This | Mark Kettenis | |
allows drivers to start calling if_input() without holding the kernel lock while others work on make the bpf code mpsafe. ok dlg@, mpi@ | |||
2015-04-01 | Add cpu_pae variable (which will be later used to determine if PAE mode is | Mike Larkin | |
in use) now so that libkvm can be fixed before the rest of the bulk of PAE support is committed. requested by and ok deraadt@ | |||
2015-04-01 | fix typo in comment; OK mpi@ | Gleydson Soares | |
2015-04-01 | Correct comments. | Masao Uebayashi | |
2015-04-01 | Run most of the interrupt handler without holding the kernel lock. | Mark Kettenis | |
2015-04-01 | Kill useless comments talking about ether_input(). | Martin Pieuchot | |