summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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-11revert back to 1.4, since there's still some code that uses this; pointedMartynas Venckus
out by theo
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-10both x86 platforms isa bus_dma implementations handle bus_dmamap_syncOwain Ainsworth
incorrectly. The spec (manpage) states that using two PRE or two POST ops together is entirely valid, but mixing pre and post is invalid. The way this was handled before with a switch statement meant that only individual commands actually would be recognised, so move to just checking the commands indidually using "if (op & $command)". Additionally, add a DIAGNOSTIC check and panic for the mixing of pre and post operations (this is done on several other architectures already). tested by several people; thanks! ok dlg@, kettenis@, "the diff made sense" deraadt.
2008-12-09sparc does not have extended precision, therefore remove unusedMartynas Venckus
definitions. ok millert@. tested by jsg@
2008-12-08some sscom and interrupt cleanup, closer to usable userland.Dale Rahn
2008-12-07Make acpiprt(4) check whether the current interrupt routing is "possible" andMark Kettenis
pick a new one from the list of possible routings if it isn't or if a pin is currently not routed. Delay re-routing interrupts until we establish a handler for it. This prevents us from messing with unused interrupt pins which may have fatal consequences (some machines spontaniously reboot). The heuristics for picking an interrupt from the list of possibe ones probably needs some tweaking still, but this makes several NVIDIA-based boards work much better than before. tested by many, ok marco@
2008-12-06Revert this to, due to the ppc intr backout. -moj ok @kettenisMats O Jansson
2008-12-06revert all changes related to the mpsafe intr handler. i screwed up the commitTed Unangst
and even then it didn't work. we have higher standards than this.
2008-12-06not commited, i'm a retardTed Unangst
2008-12-06the not MP version didn't compile, mglocker foundTed Unangst
2008-12-06cvs wouldn't let me check this in beforeTed Unangst
2008-12-06some more trouble where i failed to account for oga's diffTed Unangst
2008-12-06mpsafe intr_establish that doesn't get biglock, so that we may dream of the ↵Ted Unangst
day when this is useful. mostly macro magic that does nothing. only actually useful on amd64 for now, compliments of art.
2008-12-04*sigh* unbreak the tree.Owain Ainsworth
Some old diff snuck into this change.
2008-12-04Revert ppc intr stuff. Make socppc compile again. -mojMats O Jansson
2008-12-04Fix "fp_save ipi didn't" panic, and move i386/amd64 closer in the process.Tobias Weingartner
Positive test results by a handful of people. Ok kettenis@
2008-12-04Move the bus_dma generic functions out of the far-too-podgy machdep.c andOwain Ainsworth
into bus_dma.c (a-la amd64). Discussed with art and toby in coimbra. Ok mikeb.
2008-12-03Remove the x86 and i386 prefixes to the bus_dma types. It's really quiteOwain Ainsworth
pointless and just makes the code different for no reason. This moves i386 and amd64 bus_dma to being a lot closer to identical. suggestion to just remove the prefix instead of merge them from deraadt@. no objections art@, kettenis@, ok weingart@
2008-12-03Some more ambigous -> ambiguous pointed out by mbalmer (there areStuart Henderson
others, these are the ones from code unlikely to be re-merged with upstream sources).
2008-12-01terse is good, more readable; please commit deraadt@Todd T. Fries
2008-11-30It's annoying to have an 2+ hour kernel compile die in ld because bluetoothMats O Jansson
requires ukbd, which is not enabled on landisk. I can't understand why someone would like bluetooth keyboard or mouse on landisk without a display. -moj
2008-11-29add sscom here too. Fixes armish build.Matthieu Herrb
2008-11-29Iain Hibbert (plunky@netbsd) removed clauses 3 and 4 from hisRay Lai
licenses as well. Thanks! "Groovy" deraadt
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
2008-11-27It turns out Motorola manufactured ECC 128MB memory boards for MVME188Miod Vallat
assemblies, so allow up to 512MB of memory on MVME188 systems. Thanks maz for the 128MB board!
2008-11-27ZAURUS -> GUMSTIX in guard symbols.Miod Vallat
2008-11-27Give the tags target a chance to work.Miod Vallat
2008-11-27On 88100 cpus, make sure userland processes start with SNIP and SFIP validMiod Vallat
(i.e. with the valid bit set in them). Found the hard way by Anders Gavare trying his latest gxemul, proves the hardware is more permitting than one would expect it to be...
2008-11-27Add sscom to cdevswitch like fcom used to be.Dale Rahn
2008-11-27tx starting to work.Dale Rahn
2008-11-27Enable gpioow and gpioiic for runtime attachment, keep the previousMarc Balmer
synopsis as a comment (since it still works if needed). ok drahn
2008-11-27better.Dale Rahn
2008-11-26Disable some devices for now to make GENERIC build. ok drahn@.Matthieu Herrb
2008-11-26Enable Bluetooth (btd and btctl are not hooked into the build yet)Uwe Stuehler
2008-11-26Add some files missed in the original checkin.Dale Rahn
2008-11-26Start at the port of OpenBSD to the OpenMoko hardware. Work in progress.Dale Rahn
2008-11-26Add a number of driver files necessary for OpenMoko support,Dale Rahn
from NetBSD with mods
2008-11-26Initial port of OpenBSD to the (xscale based) gumstix, work in progress.Dale Rahn
Most bits cloned from zaurus.
2008-11-26Sparc64 still only has 64 virtual address bits and not 65.Claudio Jeker
OK kettenis@
2008-11-26Change pci_intr_handle_t to be like i386 where it is a struct that stores theMark Kettenis
tag and pin. Reduces the differences between the two architectures and I need it to fix acpiprt(4)-based interrupt routing. ok toby@, jordan@
2008-11-26fix boot() function commentKevin Lo
ok drahn@
2008-11-25we are heading quickly to a world where isp(4) will not fit, so let usTheo de Raadt
just accept the situation with a little sigh
2008-11-25Another bunch of TRY_AGAIN_LATER -> NO_CCB when no I/O could be started.Kenneth R Westerback
"looks sane to me" marco@
2008-11-25Fix dmesg ugliness caused by not printing iotdb stuff.Mark Kettenis
2008-11-25rename zaurus_reg.h to machine_reg and rename some of the internal fieldsDale Rahn
so that arm/xscale/... is not referring to zaurus specific defines. ok miod kevlo, with some suggested changes from deraadt@
2008-11-24Import btsco(4) from NetBSD to work on itUwe Stuehler
2008-11-24oops.Artur Grabowski
something snuck in here that wasn't supposed to be. noticed by yuo@
2008-11-24Only schedule a soft interrupt if the device has been opened (and sc_ttyMark Kettenis
has been initialized).
2008-11-24 - Remove the special case for one page pmap_remove, it's useless.Artur Grabowski
- Move the code that drops a ptp into a function and use that in both pmap_do_remove and pmap_page_remove. - In pmap_do_remove, instead of flushing the whole range from the tlb at the same time, shoot one PDE at a time. It will allow us to skip empty PDEs and reduces the amount of work one IPI has to do (although we'll get more IPIs). ok toby@ "I won't protest" deraadt@