Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-19 | Add atomic 32-bit cas operations. | Paul Irofti | |
This is needed for future acpi global locking routines. Okay kettenis@ | |||
2012-11-19 | Use a more descriptive name for the userland cas operation. | Paul Irofti | |
Substitute atomic_ucas_32 with futex_atomic_ucas_int32 to make it obvious who's using this api. Suggested by and okay kettenis@. | |||
2012-11-19 | If uvm_km_kmemalloc_pla() fails when just creating a thread (and not a | Philip Guenthe | |
process), then don't decrement the total and per-user counts of processes. ok deraadt@ miod@ | |||
2012-11-18 | These functions all should be called with splbio, so splassert(IPL_BIO) | Bob Beck | |
everywhere instead of setting splbio. ok krw@ pirofti@ | |||
2012-11-18 | Small memcpy optimizations | Stefan Fritsch | |
On x86, the xchg operation between reg and mem has an implicit lock prefix, i.e. on MP, it is a relatively expensive atomic operation. This is not needed here. Instead of swapping arguments on the stack, load them in reverse order and jump further into bcopy (idea by kettenis@). ok kettenis@ | |||
2012-11-17 | Don't map a buffer (and potentially sleep) when invalidating it in vinvalbuf. | Bob Beck | |
This fixes a problem where we could sleep for kva and then our pointers would not be valid on the next pass through the loop. We do this by adding buf_acquire_nomap() - which can be used to busy up the buffer without changing its mapped or unmapped state. We do not need to have the buffer mapped to invalidate it, so it is sufficient to acquire it for that. In the case where we write the buffer, we do map the buffer, and potentially sleep. | |||
2012-11-17 | buf_acquire() can sleep, so advance down b_vnbufs afterwards | Theo de Raadt | |
ok beck guenther | |||
2012-11-17 | Simplify vio_iff() a bit, set own MAC in unicast MAC filter (needed by | Stefan Fritsch | |
virtualbox). Original patch by Dinar Talypov t.dinar.m AT gmail.com Tweaks by brad@ and sf@ OK brad@ | |||
2012-11-17 | regen | Mark Kettenis | |
2012-11-17 | Add missing Adaptec 2915LP entry I spotted in a dmesg a while ago. | Mark Kettenis | |
2012-11-17 | Newer chips feature "advanced" bluetooth coexistence, which is why sending | Mark Kettenis | |
them the "normal" command to configure bluetooth coexistence fails and makes the firmware crash. Rename the IWN_FLAG_NO_BT_COEX flag and adjust some comments to reflect this knowledge. ok jcs@, mikeb@, mpi@ | |||
2012-11-17 | Add support for Intel Centrino Wireless-N 1030. Might not fully work yet, but | Mark Kettenis | |
instead of causing a firmware crash, scanning now works. Tested by Daniel Levai. | |||
2012-11-16 | Add oce(4) / mfii(4) and virtio devices | Brad Smith | |
i386 CD image also build/boot tested by todd@ ok mikeb@ deraadt@ | |||
2012-11-15 | Print UniNorth/U3 revision number, taken from opemfirmare, to know which | Martin Pieuchot | |
AGP chipset is present. This will help if some quirks are needed. ok mikeb@, kettenis@, miod@ | |||
2012-11-15 | this code is shared into userland, and there it should not pull | Theo de Raadt | |
in sys/mbuf.h ok claudio | |||
2012-11-15 | Do not try to transmit packets if the interface is not running. | Joel Sing | |
ok chris@ deraadt@ dtucker@ mikeb@ | |||
2012-11-14 | allocate a mailbox payload dma memory upfront instead of per request | Mike Belopuhov | |
2012-11-14 | add support for the lenovo usb 2.0 ethernet adapter | joshua stein | |
2012-11-14 | regen | joshua stein | |
2012-11-14 | add lenovo usb ethernet adapter | joshua stein | |
2012-11-14 | Use the iwn-6030 firmware for the Intel Centrino Advanced-N 6030 as well. | Mark Kettenis | |
Makes these variants actually work. Based on a diff from James Turned, also confirmed by weerd@ | |||
2012-11-13 | Writing a 1 to the MEF bit of the ERRSTS0 register of the 82443LX host bridge | Mark Kettenis | |
when it is already cleared will trigger an NMI if the corresponding bit ini the ERRCMD register is enabled. So instead of unconditionally writing 1 into some of the bits, simply read the register and write back the value that we just read. This will clear any status bits that were set (since they are R/WC) and leave all other bits alone. Tested by Karlis Mikelsons. | |||
2012-11-13 | Do not advance the timecounter too fast on MULTIPROCESSOR kernels; noticed | Miod Vallat | |
and ok aoyama@ | |||
2012-11-13 | do an OACTIVE/if_start dance only once per tx interrupt | Mike Belopuhov | |
2012-11-13 | enable hardware tx checksum offloading as oce doesn't | Mike Belopuhov | |
seem to require an initialized pseudo-header checksum | |||
2012-11-13 | more cleanup missed in the previous commit | Mike Belopuhov | |
2012-11-13 | major cleanup; get rid of the oce_destroy_queue | Mike Belopuhov | |
2012-11-13 | Correct the first argument of agpmmap() making possible to mmap the AGP | Martin Pieuchot | |
aperture. ok kettenis@ | |||
2012-11-12 | protect rxeof path with an splnet; ok kettenis | Mike Belopuhov | |
2012-11-12 | move some stuff around, do minor cleanup | Mike Belopuhov | |
2012-11-12 | add IWN_FLAG_NO_BT_COEX define for previous 6235 support in if_iwn | joshua stein | |
2012-11-11 | add support for the Intel Centrino Advanced-N 6235 to iwn(4). | joshua stein | |
committed over a 6235 device, of course. ok deraadt@ kettenis@ stsp@ armani@ | |||
2012-11-11 | align ifaliasreq.ifra_addr similar to the way that ifreq is fixed -- | Theo de Raadt | |
a gruesome union, to block the compiler from placing the struct incorrectly aligned on stack frames ok guenther | |||
2012-11-10 | use boolean_t not bool for a local boolean type so this won't | Jonathan Gray | |
clash with a c99 style bool type. ok millert@ deraadt@ | |||
2012-11-10 | Simplify error handling, add IFCAP_VLAN_MTU | Stefan Fritsch | |
Patch by Dinar Talypov t.dinar.m AT gmail.com OK claudio@, mikeb@ | |||
2012-11-10 | Rewrite the receive filter handling code and cleanup the ioctl bits. | Brad Smith | |
ok jsg@ | |||
2012-11-10 | Rewrite the receive filter handling code and cleanup the ioctl bits. | Brad Smith | |
ok jsg@ | |||
2012-11-10 | add a flag indicating whether shared code was initialized so that we | Mike Belopuhov | |
can prevent calling athn_detach if it wasn't; suggestion and ok stsp | |||
2012-11-10 | sync some 82599 bits with freebsd driver; ok jsg | Mike Belopuhov | |
2012-11-10 | Number of swap pages in use must be smaller than tha total number of swap | Mark Kettenis | |
pages, so fix non-sensical comparison introduced in rev 1.77. ok miod@, krw@, beck@ | |||
2012-11-10 | Recent x86 CPUs come with a constant time stamp counter. If this is | Marcus Glocker | |
the case we verify if the CPU supports a specific version of the architectural performance monitoring feature and read out the current frequency from the fixed-function performance counter of the unhalted core. My initial motivation to implement this was the Soekris net6501-70 which comes with an Intel Atom E6xx 1.60GHz CPU. It has a constant time stamp counter plus speed step support and boots on the lowest frequency of 600MHz. This caused hw.cpuspeed and hw.setperf to reflect the wrong values. The diff is a cooperation work with jsg@. The fixed-function performance counter read code comes from a former diff of him. OK jsg@ | |||
2012-11-09 | don't sync dma memory for the whole ring when updating a single | Mike Belopuhov | |
entry but rather sync the whole ring once done with individual entries; use proper dma sync flags as well | |||
2012-11-09 | merge if_ocevar.h and if_oce.c; do some minor cleanup while here | Mike Belopuhov | |
2012-11-09 | cleanup oce_encap | Mike Belopuhov | |
2012-11-09 | stop passing if_id around | Mike Belopuhov | |
2012-11-09 | improve flow control code | Mike Belopuhov | |
2012-11-09 | To be able to receive ethernet packets with VLAN tags oce_set_promisc | Mike Belopuhov | |
should not disable VLAN promiscuous mode set up by oce_config_vlan. Move VLAN and Flow Control configuration to oce_init so that it would be rerun every time we plumb the interface. | |||
2012-11-09 | cleanup register definitions | Mike Belopuhov | |
2012-11-08 | make link state update code more comprehensible by using some ideas from myx(4) | Mike Belopuhov | |
2012-11-08 | hardware supports mtu values from 256 up to 9000; | Mike Belopuhov | |
figured out the hard way, linux driver agrees |