Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-11 | For none interrupt endpoints call the xfer done function before | Marcus Glocker | |
calling the xfer callback function to allow a device driver to immediately reschedule the same xfer. This e.g. improves performance for isoc high- fullspeed xfers (ehci). From NetBSD. OK phessler@ | |||
2008-10-10 | Enable PCIe snooping on the remaining ATI/NVIDIA chipsets. | Brad Smith | |
Fixes clicking and other noise related issues. ok ratchov@ | |||
2008-10-10 | Use the MI random() for all cases; no need for a MD version since it | Theo de Raadt | |
has never been performance sensitive. Running on all platforms, discussed with millert and kettenis, ok toby | |||
2008-10-10 | minor 3 was /dev/prandom, which used random(). make that use the | Theo de Raadt | |
arandom code, just like minor 4. in fact, make them act exactly the same. | |||
2008-10-10 | back out previous change. Another panic, not as frequent, and | David Hill | |
definitely not at will. | |||
2008-10-10 | Comment out statekey code to stop 'panic: soreceive 3', which | David Hill | |
happens with IPv6 TCP traffic, until a better fix is found. patch from henning@ proded by deraadt@ | |||
2008-10-10 | backout; is causing some people difficulty | Theo de Raadt | |
2008-10-10 | - add and enable rum(4) | Jasper Lievisse Adriaanse | |
committed over a rum(4) donated by Maxim Belooussov, thanks! ok jsing@ | |||
2008-10-10 | missing spl() for codec command setting/retrieval | Jacob Meuser | |
from NetBSD via Alexey Suslikov, thanks "looks good" ratchov@ | |||
2008-10-10 | Add empty cpu_unidle() macros for architectures that currently don't do | Artur Grabowski | |
anything special to prod a cpu to leave the idle loop in signotify. powerpc, i386, amd64 and sparc64 will follow soon so that everyone has the same interface to wake an idling cpu. | |||
2008-10-10 | Define MAXCPUS on all architectures. | Artur Grabowski | |
For now, sparc64 is arbitrarily set to 256 (only architecture that didn't have a practical limit in the code on the number of cpus). | |||
2008-10-09 | Set hardware timer according to bus clock speed. | Brad Smith | |
From sephe@DragonFly | |||
2008-10-09 | Skip memory areas smaller than 1 MB above the 16 MB boundary to deal with | Mark Kettenis | |
buggy ACP BIOSes. Based on a diff from weingart@. ok deraadt@, oga@ | |||
2008-10-09 | replace M_WAITOK with M_NOWAIT | Charles Longeau | |
ok krw@ kettenis@ | |||
2008-10-09 | Change sb_timeo to unsigned, so that even if some calculation (ie. n * HZ) | Theo de Raadt | |
becomes a very large number it will not wrap the short into a negative number and screw up timeouts. It will simply become a max of 65535. Since this happens when HZ is cranked to a high number, this will still only take n seconds, or less. Safer than crashing. Prompted by PR 5511 ok guenther | |||
2008-10-09 | remove a dead store. | Charles Longeau | |
Found by LLVM/Clang Static Analyzer. ok weingart@ | |||
2008-10-09 | Implement CPU_INFO_UNIT for everyone, not just MP kernels. | Artur Grabowski | |
ok miod@ | |||
2008-10-09 | pass NULL rather than 0 for interrupt time usage to calcru() | Kevin Lo | |
ok art@ | |||
2008-10-09 | Use the reference count in struct process to update the proc count | Philip Guenthe | |
for users by the correct amount when changing real UID on (r)threaded processes. ok art@ tedu@ | |||
2008-10-09 | Put a reference count in struct process to prevent use-after-free | Philip Guenthe | |
if the main thread reaches the reaper ahead of some other thread in the process. ok art@ tedu@ | |||
2008-10-09 | Add fallback ioctl handlers for MTU and multicast to ether_ioctl(). | Brad Smith | |
2008-10-09 | stop waiting for the printer to become ready, see PR 5427 for more | Theo de Raadt | |
information. Also explains PR 4124 and 5318 | |||
2008-10-09 | Use ether_ioctl(). | Brad Smith | |
2008-10-09 | cosmetic change for ioctl funtions.. move splnet out from variable declaration. | Brad Smith | |
2008-10-08 | cosmetic change for ioctl funtions.. move splnet out from variable declaration. | Brad Smith | |
2008-10-08 | sync | Damien Bergamini | |
2008-10-08 | new PCI ID for Intel WiFi Link 5350. | Damien Bergamini | |
2008-10-08 | better comments | Oleg Safiullin | |
2008-10-08 | Older IT8712F chips have 8-bit watchdog timeout counter. | Oleg Safiullin | |
Use minutes for 16-bit values. | |||
2008-10-08 | As the Option N.V. Globetrotter HSDPA Modem is not compatible | Yojiro Uo | |
with ubsa(4), it is moved to umsm(4). ok jsg@, reported by Daniele Pilenga | |||
2008-10-08 | o chip revision is 4-bit value | Oleg Safiullin | |
o some #define's instead of digits | |||
2008-10-08 | Don't extend amaps beyond what their supposed maximum. This code path is | Artur Grabowski | |
not taken anymore, but it doesn't hurt to be correct. from NetBSD, through mickey in pr 5812 prodded by otto@ | |||
2008-10-08 | Get rid of the second table entry pool (pfr_kentry_pl2); we're already | Ryan Thomas McBride | |
using the default interrupt handler for both, so there's no need to keep table entries created in interrupt context separate. ok henning art | |||
2008-10-08 | uhci(4) at cardbus(4) seems to work (to the same extent that ohci(4) and | Theo de Raadt | |
ehci(4) work; ie. it has the same variety of unplug bugs) | |||
2008-10-07 | Kill a bunch of #ifdef freebsd/netbsd code in *_drv.c. No binary change. | Owain Ainsworth | |
2008-10-07 | Kill the linux-ready negative return codes in ``shared'' code. We handle | Owain Ainsworth | |
them wrong in several cases that i've noticed and Merging when needed is still fairly simple, anyway. This shaves another 500 bytes from an amd64 kernel due to not having to flip the sign on some things. It also stops my eyes bleeding. Tested by a few along with the last diff that went in. | |||
2008-10-07 | unbreak ieeefp emulation code wrt converting double to unsigned | Martynas Venckus | |
long ints for alpha. we've got only one instruction (cvttq) to convert double-t to quadword, and float64_to_int64 did not take into account the unsigned conversions therefore, overflow always occured, and half of the unsigned range (LONG_MAX .. ULONG_MAX) was broken introduce roundAndPackInt64NoOverflow and float64_to_int64_no_overflow for softfloat, that works with unsigned integers as well. note that this will return zero for nan/inf/oflow/uflow, raising exception flag perl is happy now looked over by miod@ tested by naddy@, and by me on nick@'s alpha | |||
2008-10-07 | Move dev->driver over to being a pointer to a const struct, instead of stupidly | Owain Ainsworth | |
filling in a pre-allocated one on each attach. Makes the code a bunch nicer, shrinks a kernel by about 1.5k on amd64, helps with my sanity, and paves way for later changes. Tested by a few for a couple of weeks now. | |||
2008-10-07 | Make sure page 0 is selected when we initialize the PHY. Fixes problems | Mark Kettenis | |
with the eephy(4) that attaches to nfe(4) on machines like the Sun Ultra 40. ok deraadt@ | |||
2008-10-07 | Fix memory leak bug during scope evaluation (now without introducing a bug | Mark Kettenis | |
in evaluation of the Return() operator). Based jordan@'s diff from rev. 1.133. ok jordan@, marco@ | |||
2008-10-07 | If we fail to read the MAC address from the eeprom, fallback to reading | Joel Sing | |
the MAC address registers. In most cases these already have the correct MAC address. This should address PR5743. Thanks to Rodolfo Gouveia for testing earlier diffs. ok dlg@ | |||
2008-10-07 | if fetching a config page for a sas target doesnt work then let the scsi | David Gwynne | |
midlayer try to probe it anyway. this lets raid devices configured on an mpi to work again. reported by djm@ | |||
2008-10-07 | In ehci_free_itd() replace LIST_INSERT_AFTER(LIST_FIRST(..), ..) with | Marcus Glocker | |
LIST_INSERT_HEAD(..) to prevent a crash when the freelist is empty. From NetBSD. | |||
2008-10-07 | Do not display file offsets and a few other pieces of information, except | Theo de Raadt | |
to the user or the superuser. Display * for those fields instead. From PR 5113, but modified to use copyout correctly. comments from tedu, ok from others | |||
2008-10-06 | more readable virtual memory size values. | Brad Smith | |
ok deraadt@ | |||
2008-10-06 | regen | Jonathan Gray | |
2008-10-06 | Add some devices from submitted dmesgs. | Jonathan Gray | |
2008-10-06 | Remove useless comment. | Mark Kettenis | |
2008-10-06 | remove dead stores and newly created unused variables. | Charles Longeau | |
Found by LLVM/Clang Static Analyzer. ok weingart@ | |||
2008-10-06 | Don't force multi transaction endpoints (>1024 bytes) down to single | Marcus Glocker | |
transactions. From NetBSD. |