summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-09-11Another AMD Hudson-2 PCIE bridge.Mark Kettenis
2013-09-11Use u_int64_t instead of daddr_t for the local variables in theKenneth R Westerback
DL_SET* macros. These are sector values, not 512-byte block values. ok deraadt@
2013-09-10fix typos for additional functionsTheo de Raadt
2013-09-10Make splassert for IPL_NONE fail, if we're in interrupt context.Patrick Wildt
ok rapha@
2013-09-10Store the current interrupt depth in curcpu, so that it's per CPUPatrick Wildt
and not just a global variable. ok rapha@
2013-09-10Enable some code that seems to relate to an errata forJonathan Gray
Crystalwell/eDRAM Haswell parts. Original linux commit mesage: 'This magic brings stability to HSW CRW machines.'
2013-09-09Support for the ARM Generic Timer used in the Cortex-A7 and Cortex-A15.Patrick Wildt
2013-09-08switch to using linux style pci match tablesJonathan Gray
fixes some omissions and flag errors for radeon and removes the duplicate table for i915
2013-09-08fix next path selection so if the current path is NULL (which can occur ifDavid Gwynne
paths are lost and groups become empty) we dont try and do stuff with it that causes null derefs and awesome panics.
2013-09-08Enable vmx(4) on i386 and amd64.Reyk Floeter
It will be enabled by default in the GENERIC and RAMDISK_CD kernels, but you have to set vmxnet3 in the VMware configuration on the host; see vmx(4). ok deraadt@
2013-09-08Unbreak vmx(4) on i386. The right shift of 32 bits for the DSHReyk Floeter
register (driver shared address high) exceeded the width of the 32bit bus address; casting the address to a 64bit type will correctly result in a zero value on i386 and the high bits on amd64.
2013-09-06Instead of printing on spurious interrupts, use an event counter to showPatrick Wildt
how many of those there have been.
2013-09-06Support for FreeScale's i.MX6 SoC.Patrick Wildt
2013-09-06need sys/device.hTheo de Raadt
2013-09-06In one core dump the pointers to socket, inpcb, tcpcb on the stackAlexander Bluhm
of tcp_input() and tcp_output() were very inconsistent. Especially the so->so_pcb is NULL which can only happen after the inp has been detached. The whole issue looks similar to the old panic: pool_do_get(inpcbpl): free list modified. http://marc.info/?l=openbsd-bugs&m=132630237316970&w=2 To get more information, add some asserts that guarantee the consistency of the socket, inpcb, tcpcb linking. They should trigger when an inp is taken from the pcb hashes after it has been freed. OK henning@
2013-09-06Make use of IFP_TO_IA() instead of rolling our own copy.Martin Pieuchot
ok bluhm@, henning@
2013-09-06Fix build with USB_DEBUG defined, pipes don't have refcounters anymore.Martin Pieuchot
From Nils Frohberg.
2013-09-06Missing semicolons.Martin Pieuchot
ok jsg@
2013-09-05Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include lines from mvme68k, mvme88k, sparc drivers. test and OK miod@
2013-09-05Service the 88100 floating-point exceptions through trap(), keeping theMiod Vallat
existing assembly code for now. Make sure the trapframe images of %fpsr and %fpcr are updated by the assembly handlers (in addition to the real registers which were already updated). When returning into trap(), check these updated value to decide whether a signal ought to be sent to the userland process. With these changes, computations which ought to cause a signal to be delivered will indeed trigger the signal, even when they are handled by the completion code in the floating point exception handlers. This fixes the libc/ieeefp/except and lib/fenv regress tests on 88100 systems, finally!
2013-09-05ugold(4) is a driver for PCsensor's USB gold TEMPer temperaturesasano
measurement device (idVendor:idProduct=0x0c45:0x7401). newly added. ok by mpi@ and sthen@
2013-09-05Split the files file into a generic one for armv7, and soc-specific ones.Patrick Wildt
Also, rename the bus omap devices attach to to a soc-specific one, so that we can have more than one soc. In the future there should be only one generic bus where soc drivers attach.
2013-09-04Beagle has been replaced by armv7.Patrick Wildt
2013-09-04Convert vgafb to use a proper softc.Martin Pieuchot
2013-09-04Ignore OMAP's kernel directories. Found by maja@.Patrick Wildt
2013-09-04Beagle has been replaced by armv7.Patrick Wildt
2013-09-04In the future, we shouldn't have one port port ARM SoC, that's justPatrick Wildt
ridiculous. This is the first step for a common and generic ARM port for ARMv7 SoCs.
2013-09-03When a partition is changing to UNUSED, we try to save kernel-setKenneth R Westerback
values for the p_fragblock and p_cpg fields. But we were saving the info for open partitions only. Instead, look at all partitions. And stop discarding the new partition type. In addition to general betterness, this lets you change the RAW_PART partition (a.k.a. 'c') to UNUSED. This problem was pointed out by Federico Giannici via misc@. ok otto@
2013-09-03Rewrite the ARMv7 cache discovery, as some assumptions in the previous onePatrick Wildt
were utterly wrong. Fix Log2(), correct one taken from the scheduler code. Tested by rapha@ and Artturi Alm.
2013-09-03Use satosin() rather than the local SIN macro, no functional change.Martin Pieuchot
ok mikeb@
2013-09-03When /dev/wsmouse is opened right after resume, some synaptics touchpadsStefan Sperling
are still taking time to wake up. So make the pms(4) driver wait a little longer before giving up on them. Fixes mouse after resume on my x130e TP. ok mpi, earlier versions tested by weerd with no regressions seen
2013-09-03Only free the per-protocol descriptor if a touchpad cannot be correctlyMartin Pieuchot
identified during attach. This prevents the driver to downgrade itself to use the standard mouse protocol and reattach a new wsmouse child if something bad happens when we re-query the hardware (during resume for example). Discussed with and ok stsp@
2013-09-03DELL MD3060e worksDavid Gwynne
2013-09-02fb refcount must be initialised to 1 not 0 to match the behaviourJonathan Gray
of the linux kref functions. Switch to using the FreeBSD refcount api for the fb refcount while here.
2013-09-02use DRM_MEMORYBARRIER() for smp_mb__*Jonathan Gray
2013-09-02add static back to functions that originally had itJonathan Gray
reduces the diff to linux
2013-09-01Update to match VOP_READDIR() changes: no more cookies, but d_off instead.Philip Guenther
Prodding and initial diff from espie@
2013-09-01drm/radeon: update line buffer allocation for dce6Jonathan Gray
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce6 asics. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=64850 from a proposed Linux patch by Alex Deucher of AMD. Fixes problems with multiple displays on pitcairn reported by Alexis de BRUYN.
2013-09-01drm/radeon: update line buffer allocation for dce4.1/5Jonathan Gray
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce4.1/5 asics. from a proposed Linux patch by Alex Deucher of AMD.
2013-08-30Missing splx on return path.Christiano F. Haesbaert
ok bluhm@
2013-08-30Lock the audio mutex before invoking the audio(4) call-back, fixesAlexandre Ratchov
panics found by David Krause, thanks!
2013-08-30Due to our current version of binutils not knowing newer ARMv7 instructionsPatrick Wildt
we define DSB/ISB (Data/Instruction Synchronization Barrier) manually. There are multiple options for those instructions, i. e. "full system operation", which is the default of those. The defines we used were not the defaults we assumed they were, but some other option which might not actually exist. In the future we could try using DSB/ISB as a Mask and add the correct option value. For now, just fix those values. ok rapha@
2013-08-30Turn on msi for mfii(4).Christiano F. Haesbaert
There is a family of Supermicro boards where the apic pin is incorrectly mapped on acpi, it tells us the pin for "Intel boot interrupts". Since this is a fairly new chip, lets use MSI as no one else is probably using it via apic, this fixes the routing issues. Machines/Motherboards seen so far with incorrect routing: Supermicro X9DR3-F Supermicro X9DRH + Symbios Logic MegaRAID SAS2208 Fujitsu primergy RX300 S7 + Symbios Logic MegaRAID SAS2208 ok dlg@
2013-08-30Fix handling of getdents() against UDF filesystems: d_off must be thePhilip Guenther
position after the entry, and seeking to just after the '.' or '..' entries requires special handling because they're fabricated. ok krw@
2013-08-29Add support for advanced btcoex. This commit is not really neededSylvestre Gallon
but it reduces the diff against the FreeBSD version. Tested on: My Wifi Link 130. jca@ Wifi Link 5300. Jan Stary Wifi Link 4965 (thanks). Adapted from FreeBSD r220894. ok mpi@.
2013-08-29Iterate over the interface's address list instead of the global list.Martin Pieuchot
ok bluhm@, mikeb@
2013-08-29Ditch useless variable during attach.Paul Irofti
Okay miod@
2013-08-29Fix attach messages format for the pcibus.Paul Irofti
Before: pcibus0 at iobus0 irq 0pci0 at pcibus0 bus 0 After: pcibus0 at iobus0 irq 0 pci0 at pcibus0 bus 0 Found on my DSR-500. Okay miod@
2013-08-29rename scsi_sem_{enter,leave} to scsi_pending_{start,finish}. these areDavid Gwynne
the wrappers around handling of pending work, theyre not semaphores. names from tedu@ ok krw@ guenther@
2013-08-28Replace hand-crafted for loop over in_ifaddr with FOREACH macro.Alexander Bluhm
OK mpi@