summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-12-16Move the functionality of psignal() to a new function ptsignal()Philip Guenthe
that takes an additional argument "type" that indicates whether the signal is for the process, just a particular thread, or propagated to a thread because it's not caught or blocked. psignal() becomes a wrapper that does the first of those. So that sys_kill() can tell apart signals for the process and signals for the process's original thread, the tid of the original thread is defined as its pid + THREAD_PID_OFFSET. ok tedu@ art@ andreas@ kurt@ "better early than late" deraadt@
2008-12-15Make the "machine xir" ddb command work on machines with uperf(4) on sbus(4).Mark Kettenis
2008-12-15Make the "machine xir" ddb command work on machines with uperf(4) on ebus(4).Mark Kettenis
2008-12-15Let tty subsystem know when transmit is finished so ioctls do not hang.Dale Rahn
2008-12-15in rt2860_rx_intr(), rely on RT2860_FS_DRX_IDX instead of the RX_DMA DDONEDamien Bergamini
bit to know when to stop.
2008-12-15regenDamien Bergamini
2008-12-15remove duplicated usb idDamien Bergamini
2008-12-15regenDamien Bergamini
2008-12-15more RT2770/RT2870/RT3070/RT3071 product ids.Damien Bergamini
driver coming soon.
2008-12-15Initial fixup of sockaddr_mpls struct.Michele Marchetto
Remove smpls_in_iface as labels must be per platform unique. Remove smpls_out_iface. It is redudant and can be inferred from nexthop. Move smpls_operation to rt_flags and temporary remove smpls_out_exp. ok claudio@
2008-12-15remove i386-only inline assembler roll() function; gcc optimises theDamien Miller
equivalent C code into a rol instruction anyway (confirmed with objdump -d); "nuke it" weingart@
2008-12-15revert 1.20 now that the new allocator is used to control the number ofBrad Smith
RX buffers allocated. ok dlg@
2008-12-14Allow trunk_hashmbuf() to take HW VLAN tagging into consideration.Brad Smith
ok mpf@ naddy@
2008-12-14Since trunk_hashmbuf() and thus trunk_lb_gethdr() are no longer specificBrad Smith
to the loadbalance code rename trunk_lb_gethdr() to just trunk_gethr(). ok mpf@
2008-12-14Make sure the low water mark for cluster pools isn't 0 such that networkMark Kettenis
drivers are guaranteed to make progress. We could probably set it to 1, but we set it to 2, to make sure drivers that link descriptors don't link a descriptor back to itself. ok deraadt@, dlg@
2008-12-14Switch gem(4) over to using MCLGETI when allocating mbufs for the rx ring.Mark Kettenis
help from dlg@, tested by a few, ok dlg@
2008-12-14Disable TX_DMA writing back DDONE into TXD.Damien Bergamini
Some micro-optimizations while I'm here.
2008-12-14Implement a "machine xir" ddb command, making it possible to send anMark Kettenis
External Initiated Reset (XIR) to processors. A XIR is non-maskable and will drop us at the PROM ok prompt. This makes it possible to diagnose problems where a CPU is spinning with interrupts disabled. For now, this is only supported on machines with bbc(4).
2008-12-14o Correctly clear UGEN_ASLP in all cases.Federico G. Schwindt
o Use the timeout for isochronous transfers as well o Allow to set the timeout for both, read and write From FreeBSD. you@ ok some time ago.
2008-12-14txpower range checks should be inclusive.Jonathan Gray
From FreeBSD via mickey in pr 6024. ok damien@
2008-12-14- properly handle RT2860_TX_RX_COHERENT interrupts.Damien Bergamini
- update ic_dtim_count and make use of the new ieee80211_notify_dtim function. - add explicit barriers. - cleanup as usual.
2008-12-14Add an ieee80211_notify_dtim() function that drivers should call afterDamien Bergamini
every DTIM in HostAP mode. Flushes all group addressed MSDUs buffered at the AP for power management.
2008-12-14Give names to anonymous unions.Ray Lai
Worked on with mglocker. OK mglocker
2008-12-14regenBrad Smith
2008-12-14Add the Novatel Merlin X950D ExpressCard.Brad Smith
2008-12-13Properly restore PSTATE_IE when returning from send_softint().Mark Kettenis
Fixes "ipi_send: couldn't send ipi" panics.
2008-12-13use the hardware general-purpose timer interrupt instead of timeout(9).Damien Bergamini
clean up the ctl_ridx mess.
2008-12-13clear the WCID, pairwise keys, shared keys, IV/EIV tables in NIC memoryDamien Bergamini
*after* resetting the hardware. otherwise the tables contain garbage. should fix most of the weird issues people were facing. scary.
2008-12-13;5Anvidia mcp67 ahci controller also needs special handling.Mike Belopuhov
from Marko Pecic. thanks!
2008-12-13note to everyone: nitems(pointer) is 0, not what you wantTheo de Raadt
2008-12-12Check for zero'd spd data even if we pass the checksumJonathan Gray
and don't offer a match in this case. Deals with the qemu "TODO: Populate SPD eeprom data." tested by todd@
2008-12-12Introduce a if_priority that will be added to RTP_STATIC when routes areClaudio Jeker
added without an expilict priority. This allows to specify less prefered interfaces that will only take over if the primary interface loses link. OK deraadt@
2008-12-12Make sure that incomming routing messages don't have RTP_DOWN set. MaskClaudio Jeker
the rtm_priority with RTP_MASK so that userland (e.g. arp) can issue a RTM_GET and reissue the message as RTM_DELETE.
2008-12-12fix a bug that slipped through my last commit.Damien Bergamini
2008-12-12- fix HW crypto using group keys (this should fix the "ExtIV bit not set"Damien Bergamini
logged by some WPA supplicants when connecting to a ral(4) WPA AP.) - get rid of the ugly ack_rate, rate2mcs functions (pre-compute ACKs duration for all rates at node association time.) - lot of clean up, prepare for future enhancements
2008-12-12get rid of the ugly IWN_SET_DESC_SEG/NSEGS macros.Damien Bergamini
add "support" for physical addresses larger than 32-bit.
2008-12-12Add netmpls/mpls_output.cMichele Marchetto
ok claudio@
2008-12-12matthieu and reyk say that using 9k frames for rx breaks vic on esx. i canDavid Gwynne
sometimes reproduce this, but i cannot see why it would be a problem. tres weird. only put 4k frames on the jumbo ring to cope. i'll try to figure this out again later.
2008-12-11Don't do radeon_cp_dispatch flip on lastclose.Owain Ainsworth
Sometimes the sarea isn't there and screws us. The intention of this call was to set the scanout buffer back to being correct. On the other hand: If we're in lastclose the xserver is shutting and thus the scanout buffer is moot. Kernel modesetting will probably revising pageflipping, but that'll be a different interface anyway. Since all lastclose does not is call radeon_do_release() just rename radeon_do_release to lastclose and nuke the old one. Uwe@ has some crashes in here occasionally, this diff fixed them for him.
2008-12-11Kill the $ARCH prefix for isa_dma_cookie. With this change, the i386 andOwain Ainsworth
amd64 isa dma code is identical save for some formatting, and a slight difference in bus_dmamem_alloc. "Die x86_!" krw@.
2008-12-11export per-interface mbuf cluster pool use statistics out to userlandTheo de Raadt
inside if_data, so that netstat(1) and systat(1) can see them ok dlg
2008-12-11a little bit of paranoiaTheo de Raadt
2008-12-11revert back to 1.4, since there's still some code that uses this; pointedMartynas Venckus
out by theo
2008-12-11hook Qualcomm AC8700 modem into ubsa(4), from freebsdFelix Kronlage
discussed with yuo@ and deraadt@
2008-12-11regenFelix Kronlage
2008-12-11add device id for Qualcomm AC8700 modem, from freebsdFelix Kronlage
2008-12-10When booting from a CD on i386/amd64, assume the root filesystemKenneth R Westerback
is on the CD rather than always asking for its location. Behaviour pointed out at OpenCON by Stephan Rickauer. Tested by Stephan. nick@ has no objections. ok deraadt@
2008-12-10Fix ohci xfers for some devices by adjusting the number of microframes toMarcus Glocker
a static value of 8. Regression tested by todd@
2008-12-10syncOwain Ainsworth
2008-12-10id for Radeon HD2600 PRO AGP; from johan.Owain Ainsworth