summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-02-13Use a different dispatcher for the NMI traps on 88110, these are tooMiod Vallat
different from regular hardware interrupts to be worth handling the same way. Disable IPI reception while we are handling pending IPIs. And do not reenable them by mistake if we need to send an IPI in return. This lets GENERIC.MP boot single user on a MVME197DP. There are still many bugs to fix.
2009-02-13Release the secondary processor initialization interlock a bit later,Miod Vallat
after the currently running processor has advertized itself as ready.
2009-02-13Allow IPIs on the secondary processors later in the bootstrap process, whenMiod Vallat
we are sure the NMI stack exists.
2009-02-13When switching processes, do not reenable interrupts until pmap_activate()Miod Vallat
has been invoked on the new process.
2009-02-13Provide a specific delay() routine using separate timers for the two cpusMiod Vallat
on MVME197DP boards running the MP kernel.
2009-02-13Make delay() a per-board function pointer.Miod Vallat
2009-02-13missing braces; ok marcoStuart Henderson
2009-02-13Make "boot -d" work on amd64 MP.Andreas Gunnarsson
Prodded by oga@ (a long time ago) and mikeb@ Also ok by kettenis@ and grange@
2009-02-13use nitems(); dunnoseriously@gmailTheo de Raadt
2009-02-13syncTheo de Raadt
2009-02-13some devices; Mikko TolmunenTheo de Raadt
2009-02-13When faking scsi commands never copy more than xs->datalen bytes.Alexander Yurchenko
2009-02-13Change ifconfig wpaakms default setting to `psk' instead of `psk,802.1x'.Damien Bergamini
Some supplicants will autoselect 802.1X without giving users the possibility to choose between PSK or 802.1X. Similarly, no longer announce `PSK with SHA-256 based KDF' AKMP (defined in Draft 802.11w) by default in the RSN IE of beacons and probe responses as it confuses some broken supplicants. This kind of sacrifies security for interoperability with shitty (but unfortunately widespread) clients that do not follow the 802.11 standard properly. This fixes associations from Intel PROSet on XP and also reportedly fixes some Mac OS clients. I will likely make `psk-sha256' configurable through ifconfig wpaakms after the 4.5 release.
2009-02-12Change microcode loaded messages to debug, this was printedJonathan Gray
after every suspend/resume cycle filling up the dmesg buffer with the same message over and over again. ok oga@
2009-02-12BPP routines for ``intelligent'' Motorola MVME boards. Currently not usedMiod Vallat
by anything, will eventually be used by the vx(4) MVME332 driver (once I take the time to fix it) and the vsbic(4) MVME327 driver being worked on.
2009-02-12Add a pm_statistics struct to all pmap, and keep track of residentMiod Vallat
pages. Use this to provide a real pmap_resident_count() function. ok kettenis@
2009-02-12Keep track of resident pages in pm_stats, and use this to implement a realMiod Vallat
pmap_resident_count(). From NetBSD
2009-02-12Fix typo; wClockFrequency -> dwClockFrequency.Marcus Glocker
From Kenji Aoyama
2009-02-12don't access undocumented register 0x82 for <= MAC06, since newerMartynas Venckus
realteks start to behave badly if we do. this should fix the widely reported re(4) issue. makes my RTL8101E usable, fixes Thomas' RTL8168C, and PR6023. tested by many this is a more conservative version of my diff from kettenis@ (does not clear PHY register 0x0b) ok kettenis@
2009-02-12revert pf.c r1.629 (which moved to this file) which was causingStuart Henderson
"panic: pool_do_get(pfstatekeypl): free list modified" discussed with many. ok dlg
2009-02-11Prettier fake scsi inquiry ascii strings.Alexander Yurchenko
2009-02-11Remove uvm_km_alloc_poolpage1 as it serves no particular purposeMike Belopuhov
now and valid for __HAVE_PMAP_DIRECT archs only, though implements both code paths. Put it's code directly into the uvm_km_getpage for PMAP_DIRECT archs. No functional change. ok tedu, art
2009-02-11- add a missing breakKevin Lo
- stop the device before the initialization - reduce delays >From FreeBSD ok jsg@, martynas@
2009-02-11Add a few missing byteorder conversion calls, tho I don't reallyAlexander Yurchenko
hope ips is usable on anything beside amd64 or i386 because of its x86 BIOS.
2009-02-10Use proper BAR on newer mfi raid cards.Marco Peereboom
From Jim Giannoules
2009-02-10remove run(4) from some RAMDISKDamien Bergamini
2009-02-10enable run(4) everywhere where ural(4) and rum(4) are enabled.Damien Bergamini
run(4) has been reported to work on sparc64 by Maxim Belooussov so I'm pretty confident that it works on all arches.
2009-02-10Sync with current MI tree.Alexander Yurchenko
ok miod@
2009-02-10do not compile with RUN_DEBUG by defaultDamien Bergamini
2009-02-10Add missing copperhead chipset support bits.Alexander Yurchenko
2009-02-10Update copyright year.Alexander Yurchenko
2009-02-10Unbreak sgivol. When writing to the raw device use the native blocksize.Joel Sing
Whilst here, check the return value of fread() and improve error messages. ok krw@ miod@
2009-02-10Fix null pointer for shutdown if acpi not enabledJordan Hargrave
ok marco@
2009-02-09Improve adapter type displaying.Alexander Yurchenko
2009-02-09Don't panic if m_copyback() is working on a M_READONLY() mbuf. The old versionClaudio Jeker
did not care either and with this packets from drivers with external buffers (e.g. wpi(4)) would trigger this panic through pf(4). Found the hard way by Tim van der Molen tbvdm (at) xs4all (dot) nl
2009-02-09Start on bioctl support for ips. Only adapter and volume info for now.Alexander Yurchenko
2009-02-09Protect ips_poll call with splbio.Alexander Yurchenko
2009-02-09two more consistency checks for a disklabel, to prevent havoc laterOtto Moerbeek
on; prompted by Thorsten Glaser; ok miod@ krw@
2009-02-09fix uninitialized argument.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ tedu@
2009-02-09Remove an unused define.Owain Ainsworth
2009-02-09Only print information on the writeback test if it fails. Otherwise onlyOwain Ainsworth
print if we're debugging. Nagged often enough my marco@
2009-02-09Remove the inteldrm pageflipping code.Owain Ainsworth
Deprecated and broken. Sanity checked by a few people, no problems caused.
2009-02-09Don't enable vblank if the pipe is disabled.Owain Ainsworth
Based on a patch from the intel driver maintainers (Jesse Barnes, specifically) Tested by several people on various hardware.
2009-02-08fix potential null dereferences.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok oga@
2009-02-08Fix uninitialized arguments.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok oga@
2009-02-08Oops, initialize the nmi stack correctly for the boot processor.Miod Vallat
2009-02-08On 88110 processors, use a separate stack to handle NMI; these can occurMiod Vallat
while we are switching pcbs and all sort of bad things could happen.
2009-02-08Don't bother trying to recover from DSR_WE data faults in kernel mode,Miod Vallat
pmap makes sure these can't happen.
2009-02-08Move to 4.5-BETAMiod Vallat
2009-02-08fix uninitialized argument, and remove newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ canacar@