summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-09-23Make sure siop_xfer is a multiple of 128 bytes as intended (and as told byMiod Vallat
the comments); this makes hppa64 much happier according to jsing@. ok krw@ exactly two years ago, it was about time to commit this.
2011-09-23touching pr_nput and pr_nget outside the lock might be racy since ++ and --David Gwynne
arent necessarily atomic. this is an update of a diff matthew@ posted to tech@ over a year ago.
2011-09-23regenJonathan Gray
2011-09-23XHCI -> xHCI and some additional devicesJonathan Gray
2011-09-23ph = pool_get(&phpool, PR_NOWAIT) can return NULL, so dont unconditionallyDavid Gwynne
write to ph. ok blambert@ matthew@ deraadt@
2011-09-22KNF of mlarkin's code, requested by him. Some improvements to the interfaceTheo de Raadt
for talking to the disk driver snuck in. ok mlarkin
2011-09-22Improve kernel malloc type checking.Joel Sing
ok deraadt@
2011-09-22Ansify functions definitions.Joel Sing
2011-09-22Declare waittime variable to unbreak build.Joel Sing
2011-09-22Fix order of arguments passed to malloc(9) - type first then flags.Joel Sing
2011-09-22None of the mainbus child devices care about getting a bus_space_tag_t fromMiod Vallat
its parent, because they know better; so don't bother providing one, which allows more unused code to go to the Attic. While there, redo the config machinery for mainbus child devices, to bring it to our current standards. This also allows them to be disabled in UKC, should there be a need for this in the future.
2011-09-22nowadays uvm_init() calls pmap_init(), not vm_init(); so update the comments.Jasper Lievisse Adriaanse
ok ariane@
2011-09-22this escaped when miod threw cats off a bridgeJonathan Gray
ok miod@
2011-09-22As I have touched half of pf lines anyway, fix whitespaces now.Alexander Bluhm
KNF, no binary change.
2011-09-22Start removing some tiny irrelevant differences between hppa64 and hppaTheo de Raadt
so that important differences can be spotted easier.
2011-09-22Catchup to hppa disksubr: determining label offset the new wayTheo de Raadt
2011-09-22Do not trash the mask value when setting and clearing the system mask.Joel Sing
Add a diagnostic for interrupt handler IPL levels.
2011-09-22Fix white space and tabs here. ok miod@, oga@Matthieu Herrb
2011-09-22The MY_COUNT abstraction which depends on locore including these twoTheo de Raadt
files is ridiculous. Remove it.
2011-09-22spacing cleanup after mlarkin visited the fileTheo de Raadt
2011-09-22Disable option DEBUG for hppa64 - it is now too noisy to be useful.Joel Sing
ok kettenis@
2011-09-21Move the prototype for disk_readlabel to the .h file so that hibernateTheo de Raadt
can get at it. ok jsing
2011-09-21Check the protocol header length for tcp, udp, icmp, icmp6 inAlexander Bluhm
pf_setup_pdesc(). It is better to check and bail out early than to rely on pf_pull_hdr() later. ok henning mpf
2011-09-21disable st*, since we doubt anyone uses it. suggested by jsing inTheo de Raadt
response to some i386 ramdiskA bloat that has struck unexpectedly.
2011-09-21Get rid of curlwp references; mk@Miod Vallat
2011-09-21Rename pmap_procwr() to pmap_proc_iflush() to get the intended behaviour.Miod Vallat
2011-09-21Remove stale comments about vm freelistsMiod Vallat
2011-09-21Fix range check in intc_intr_establish()Miod Vallat
2011-09-21Some minor clean up to the _start funtions to make the code read a littleKevin Lo
better. No functional change. From Brad
2011-09-21Cleanup page calculation for final memory chunk ordering list forMike Larkin
hibernate resume.
2011-09-21Perform most of the remaining refactoring of hibernate code intoMike Larkin
MI/MD parts. This also introduces a chunk placement routine that was originally developed at c2k11 with help from drahn and ariane. There are still a few more things to do for hibernate, but those can be worked on in-tree. This code is disabled by default, and not yet called. ok deraadt@ (and deraadt@ said kettenis@ also ok'ed it :) )
2011-09-20Oops, forgot to remove that reference to now dead saioctl.hMiod Vallat
2011-09-20Remove unused libsa error code and descriptions. Anything shrinkingMiod Vallat
boot blocks is worth having.
2011-09-20Remove unused file before deranged boot blocks writer get ideas from it.Miod Vallat
2011-09-20Remove !defined(CACHE_CLEAN_BLOCK_INTR) code, and make CACHE_CLEAN_BLOCK_INTRMiod Vallat
no longer an option.
2011-09-20Late spring cleaning of the arm code for old dusty bits we do not want toMiod Vallat
keep: - remove bootconfig parameter passing feature (unused). - unifdef __PROG32 and remove all remains of arm26 code. - remove ARMFPE support (unused). - remove support for ARM2, ARM2AS, ARM3, ARM6, ARM7, ARM7TDMI and StrongARM processor families, and the related silicon bug workarounds (especially the SA-110 STM^ bug). - remove cpu_functions no longer necessary after previous removals. - remove ARM32_DISABLE_ALIGNMENT_FAULTS option (unused). - make FIQ support conditional on option FIQ (unused, but may be eventually). Discussed with drahn@ and jasper@ long ago, I was sitting on this commit for no good reason.
2011-09-20calee -> calleeMiod Vallat
2011-09-20Remove unused MD_CACHE_CTL() macro and related defines.Miod Vallat
2011-09-20Don't bother checking for SPX on KA410 (VS2000), since the only colour optionMiod Vallat
for this machine is good'ol'GPX.
2011-09-20Remove commented-out leftovers from old drm drivers that have been removedMatthieu Herrb
from tree. ok oga@
2011-09-20Prepare to add support ALPS touchpadsAlexandr Shadchin
no objections mpi@ and matthieu@
2011-09-20When restarting a system call we need to go back four instructions, notJoel Sing
three, since this has to match libc/arch/hppa64/SYS.h. ok miod@
2011-09-20Add new machine entry for Itanium.Paul Irofti
While at it clean-up and fix machine types to reflect reality. Okay deraadt@.
2011-09-20pf_setup_pdesc() panics if address family is neither AF_INET norAlexander Bluhm
AF_INET6. So remove useless af switch defaults here and there. Always use "switch(af)" instead of "if (af) else" for af dependent code. Always use AF_ defines instead of PF_ when checking af values. ok claudio mpf henning
2011-09-20Fix bogus comment. Okay miod@Paul Irofti
2011-09-20In its current state the ring code doesn't work on sandybridge. As a resultMark Kettenis
idling the rings fails and esults in an infinte sleep. So skip initialization of the rings altogetheron sandybridge. Issuing 3D commands won't work in that state, but at least VT switches (and therefore suspend) will no longer hang. This is a temporary measure until the ring code has been fixed. ok oga@
2011-09-20The BIOS on the x220 doesn't retrain the FDI link upon resume and restoringMark Kettenis
the modeset registers in that state hangs the machine halfway through resume. So skip this step on sandybrige and rely on the (upcoming) xf86-video-intel driver to properly restore the mode. ok oga@
2011-09-20Very early in suspend while the clock is still ticking realtime,Theo de Raadt
save the clock back to the rtc. The zaurus already did this. ok phessler miod kettenis
2011-09-20Use correct index for second iioq/iisq fix up.Joel Sing
Spotted by miod@
2011-09-20Mark softraid crypto volumes as being capable of auto assembly, since theyJoel Sing
are if used with a key disk.