summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-01-23finally, 6250 parts need crystal calibration too.Damien Bergamini
update sensitivity settings for 5000 series to workaround a performance bug in the DSP (1000 is not affected so we keep the old values for 5000.) update sensitivity settings for 6000 series. from similar changes to iwlwifi
2010-01-22Correctly return ENXIO on unhandled ioctls; ok marco@Miod Vallat
2010-01-22Move is_memory_range() from mips64 mem.c to a per-architecture location; thisMiod Vallat
allows /dev/kmem to access the 256MB alias of the low memory on loongson, which in turns makes procmap(8) happy.
2010-01-22Fix previous to pick the right year as the timebase (mips64 routines expectMiod Vallat
the year to be relative to 1900, not zero).
2010-01-21Do not assume mac address and bss id are stored at 32-bit aligned addresses;Miod Vallat
inspired by other wireless drivers, makes urtw work on strict alignment architectures. ok jsg@ martynas@
2010-01-21*Write* to the magic Loongson2 register to invalidate iTLB and branchMiod Vallat
prediction caches, instead of *reading* it. Ahem. Blush. Yeelong lemote now run single user.
2010-01-21Use db_printf() instead of printf() in db_dump_tlb_cmd() and trapDump(), soMiod Vallat
that the output can be paused by ddb if it spans too many lines.
2010-01-21Pick the correct year when reading clock.Miod Vallat
2010-01-21Use ahci_nvidia_mcp_attach() for nvidia MCP79 ("Ion"), without whichStuart Henderson
the driver fails to detect disks. From Wouter Coene, ok jsg@
2010-01-20One \ too many in pfvar.h. From Daniel Dickman <didickman@gmail.com>Ryan Thomas McBride
ok otto
2010-01-20Fix collider offsets to correct LBA.Jordan Hargrave
Thanks to Niklas ok @marco
2010-01-20Remove horrible hack in ahc/ahd that made some commands retryKenneth R Westerback
endlessly. Use the shiny new XS_NO_CCB instead to retry commands that can't start. Neither dlg@ nor I can figure out why 4.6 and earlier worked. Problem noted, debugged with and fix tested by Jeff Ross and his new external enclosure. Thanks! ok dlg@
2010-01-19Compute the right value for hw.ncpusfound sysctl on IP30 regardless of theMiod Vallat
value of MAXCPUS.
2010-01-19IP checksum is still broken with fragments, turn it off for now.Reyk Floeter
ok dlg@
2010-01-19A couple #ifdefs were missed when the final name of the DDB_STRUCTPhilip Guenthe
option was settled on. Fix those last couple so that the new commands are actually accessible. "Oops" miod@
2010-01-18Convert pf debug logging to using log()/addlog(), a single standardisedRyan Thomas McBride
definition of DPFPRINTF(), and log priorities from syslog.h. Old debug levels will still work for now, but will eventually be phased out. discussed with henning, ok dlg
2010-01-18regen, even though there is no code change, such that the RCS IDs match,Ingo Schwarze
as suggested by art@
2010-01-18fix a spelling error in a comment, no code change; from Brad TilleyIngo Schwarze
ok miod@ art@
2010-01-18In stacktrace(), when aborting a traceback because of nonsensical pc or spMiod Vallat
value, don't print a final bogus traceback line.
2010-01-18Kernel configuration for multiprocessor Octane machines. There are a fewMiod Vallat
rough edges left to be polished, but the kernel is otherwise stable.
2010-01-18Do not call splx() from cpu_switchto(), we are at IPL_SCHED anyway and ipl willMiod Vallat
be lowered later, by the caller. This was supposed to be harmless, but newly created processes inherit a bogus level from proc0, which in turn causes a race on MULTIPROCESSOR kernel.
2010-01-18In the interrupt handler, only attempt to acquire kernel_lock if coming fromMiod Vallat
an ipl lower than IPL_SCHED, not IPL_IPI.
2010-01-18dosoftint() being invoked at IPL_SOFTINT, don't bother checking the ipl beforeMiod Vallat
grabbing the kernel lock.
2010-01-18Define IPL_SCHED as IPL_CLOCK, not IPL_HIGH.Miod Vallat
2010-01-18In proc_trampoline(), don't spl0() if option MULTIPROCESSOR; this is alreadyMiod Vallat
done for us by proc_trampoline_mp().
2010-01-18Make trapdebug code MP-safe.Miod Vallat
2010-01-17Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok otto@ krw@ tedu@
2010-01-17Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok tedu@ krw@
2010-01-16Merge db_stack_trace_print() and stacktrace() logic, and have the formerMiod Vallat
invoke the latter to avoid duplicating code. Fix the logic by looking for `sd' instructions for register saves only, and read the whole 64-bit value then. Makes the backtraces less wrong.
2010-01-16Fix types so that the upper 32 bits of addresses of branches are correct.Miod Vallat
2010-01-16Remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok tedu@ thib@
2010-01-16rename bluetooth coexistence flags. no binary change.Damien Bergamini
2010-01-16Enable DC calibration and disable crystal calibration onDamien Bergamini
Centrino Advanced-N 6250 parts.
2010-01-16When allocating from the item header pool, we can't sleep, as we may be ↵Ted Unangst
holding a mutex which won't be released. From Christian Ehrhardt. While here, fix another buglet: no need to pass down PR_ZERO either, as noticed by blambert@.
2010-01-15Replace pool_get() + bzero() with pool_get(..., PR_ZERO).Charles Longeau
With input from oga@ and krw@ ok oga@ krw@ thib@ markus@ mk@
2010-01-15syncIgor Sobrado
2010-01-15Add support to sysconf(3) for the variables _SC_NPROCESSORS_CONF andStuart Henderson
_SC_NPROCESSORS_ONLN, implemented by AIX/Tru64/Solaris/Linux/SCO/FreeBSD/NetBSD. Bump libc minor. From Brad, ok deraadt@ guenther@ (File missing from previous commit, pointed out by johan@ - thanks!)
2010-01-15add `Logitech Webcam C200' to the list of supported uvideo(4) devices.Igor Sobrado
ok sthen@
2010-01-15Oops. Respect the various IGNORE flags when not in SCSIDEBUG mode.Kenneth R Westerback
Should quieten booting again. And thus ends n2k10.
2010-01-15Abstract and merge the manual buf queue manipulating functions intoKenneth R Westerback
one place for easier debugging and maintenance. No intended functional changes. ok dlg@
2010-01-15Restore XS_BUSY delay behaviour for buf i/o. Same as for sync path.Kenneth R Westerback
ok dlg@
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
from Brad Tilley <brad at 16systems dot com>; ok oga@
2010-01-14henning and I are both dumbasses, testing &foo against NULL is pointless.Ryan Thomas McBride
ok claudio
2010-01-14SiS devices seem unable to reset dma block index to zero, causingAlexandre Ratchov
dma to start at the wrong place. Workaround this limitation by starting at the current offset. From Christopher Zimmermann <madroach at zakweb.de> Thanks a lot! ok jakemsr
2010-01-14When trying to get a stack trace, consider CKSEG1 addresses as invalid, as theMiod Vallat
kernel will never use them for code or stack.
2010-01-14Let the nmi handler code compile on non-MULTIPROCESSOR kernels.Miod Vallat
2010-01-14Print sense data during SCSIDEBUG again. Always print the decodedKenneth R Westerback
data when SCSIDEBUG is set, irrespective of SCSI_SILENT. Tweak output a bit. Noticed in output generated by todd@.
2010-01-14Destatic.Joel Sing
ok kettenis@ claudio@ naddy@
2010-01-14Fix build on gumstix; rename IPL_SOFTSERIAL to IPL_SOFTTTY andKevin Lo
eliminate the unused IPL_SERIAL. ok drahn@
2010-01-14When printing states in debug output, print the rule number that createdRyan Thomas McBride
it if we have it. Requested by dlg, ok henning.