summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-09-15cpu status flag, cpuid added to cpu_info.Takuya ASADA
cpu_info pointer array, cpu_info iterator, cpu_number() implementation added. constraint modifier fixed in lock.h to output correct assembly. calling proc_trampoline_mp in exception.S.
2009-09-14Deal with the fact that we need to control an external PHY attached to TSEC2Mark Kettenis
through the registers of TSEC1. Makes the first ethernet port on the rb600 usable.
2009-09-13Make sure we really have pending interrupts such that we don't do anMark Kettenis
out-of-bounds array access later on. ok drahn@, dms@
2009-09-12Catch up with recent changes to GENERIC.Mark Kettenis
2009-09-12Compensate for the fact the the FDT uses a different offset for the registersMark Kettenis
than the hardcoded ones we used before. Replace a few magic numbers with #defines while I'm there. Based on suggestions from dms@.
2009-09-12Initialize global pointer to interrupt controller softc earlier such that weMark Kettenis
don't crash if we unmask a preconfigured interrupt.
2009-09-12Add DIOCSDINFO support to the three fd drivers. No change to existingKenneth R Westerback
behaviour.
2009-09-11bump versionDariusz Swiderski
suggested by maja@, ok by kettenis@
2009-09-11add 'machine fdt' command that dumps device tree if presentDariusz Swiderski
ok by kettenis@
2009-09-10Remove zssoftpending; it isn't of any use anymore.Mark Kettenis
ok miod@
2009-09-09Use information from the FDT to set up bus tags and extents.Mark Kettenis
2009-09-09Add simple PXA27x matrix keypad controller driverMarek Vasut
2009-09-09Palm: Add support for PXA255 Palm Tungsten|CMarek Vasut
2009-09-09Palm: Add proper license textsMarek Vasut
2009-09-07The bright folks who designed the rb600 seem to have left out an RTC. SoMark Kettenis
don't complain if no TOD clock handle has been registered.
2009-09-07Bring support for booting RB600.Dariusz Swiderski
Imported FDT parsing code, implemented wdc_obio driver to support booting of CF cards. If FDT is available initialize console and wdc_obio accordingly and pass it later to the kernel. Unified the code with Thecus boot code, so that we can use one boot image. The whole boot code is now compiled with -msoft-float. Bump version while there. tested on Thecus by maja@ and kettenis@ tested on RB600 by dlg@ and me ok by kettenis@
2009-09-07Sync mplock code with the current paradigm used in all other MP platforms.Miod Vallat
macppc was left unchanged by mistake.
2009-09-06Attach devices to obio(4) based on information from the flattened deviceMark Kettenis
tree. Since that information is also used for the PCI interrupts, devices in mini-PCI slots should work now as well, at least in the rb600.
2009-09-06Implement OF_getproplen().Mark Kettenis
2009-09-06Palm: cleanup kernel configuration filesMarek Vasut
2009-09-05fix typosTheo de Raadt
2009-09-05Change the wsdisplay_emulops return types from void to int; emulops will nowMiod Vallat
return zero on success and nonzero on failure. This commit only performs mechanical changes for the existing emulops to always return zero.
2009-09-05Palm: add missing GPIO setup into palm_udc.cMarek Vasut
2009-09-05Palm: initial commit of sys/arch/palmMarek Vasut
OK deraadt@
2009-09-05Make DIOCSDINFO code consistant everywhere.Kenneth R Westerback
ok miod@ deraadt@
2009-09-03pxa2x0_mmc.c: allow passing detect GPIO from platformMarek Vasut
OK drahn@
2009-09-03Rearrange the interrupt handler so that it handlers "error status bits"Theo de Raadt
first instead of trying to push data transfers forward. Also, ensure that DONE interrupts are only un-masked when we are on the last sub-block, and that otherwise we process based on RD_REQ and WR_REQ interrupts coming in. Done with drahn and marex (starting from bizzare workarounds by marex which we could not explain) This appears to make Zaurus SD reads & writes completely reliable, even at very low cpu speeds. ok drahn marex
2009-09-03pxa2x0_mmc.c: Dont read MMC_STAT in intr_done if not neededMarek Vasut
It is not needed to read MMC_STAT if DPRINTF is empty. OK deraadt
2009-09-03Missing header.Joel Sing
2009-09-03The sparc64 boot block currently compares a memory address to the ELF magicJoel Sing
and complains if they do not match. Instead, load the start of the ELF header from memory and complain if this does not match the ELF magic. Tested by kettenis@ ok miod@
2009-09-02Attach devices to mainbus(4) based on information from the flattened deviceMark Kettenis
tree.
2009-09-02Add a minimal set of OpenFirmware compatibility interfaces.Mark Kettenis
ok dms@
2009-09-02pxa2x0_mmc.c: optimize the speed of the interrupt handlerMarek Vasut
This patch also eliminates the bug causing any write to the card to hang the whole controller (partly). OK deraadt@
2009-09-01Fix: alpha DEBUG kernel failed to compileAriane van der Steldt
ok miod, deraadt
2009-09-01Enable SBus ti(4) here as well.Mark Kettenis
2009-09-01Enable SBus ti(4) here as well.Mark Kettenis
2009-08-30Add support for ISP2200 SBus FC cards.Mark Kettenis
2009-08-30When the `machine' commands part of the hppa bootloader were written, weMiod Vallat
were only running on the non-PCI models. Many years have passed since then... Update the bus walking code to support dino and elroy PCI bridges, in order to identify PCI graphics devices and USB controllers (in order to support USB keyboards). Also recognize com@ssio, so that high-class four digit B and C machines (and probably four digit J as well) can configure console from the boot blocks correctly. Of course, this is of questionable usefulness, since these console related routines were written with the 712 in mind, which has a castrated ROM preventing the user from configuring a serial console. Yet providing a consistent feature set never hurts. (three digit J series still need some love, due to the different way of walking the buses; to be addressed in a later commit, soon)
2009-08-30Link in the flattened device tree for the Thecus N1200 and register it withMark Kettenis
the ftd code upon boot if the firmware didn't provide a device tree.
2009-08-30Flattened device tree blob for the Thecus N1200. The source from which theMark Kettenis
blob is created is included but you'll need the Linux device tree compiler to create it. The following command line was use for the conversion: $ dtc -V 16 -O asm -o n1200_dts.S n1200.dts
2009-08-30Use UVM_FLAG_FIXED for fixed allocations make with uvm_map() during earlyMiod Vallat
bootstrap.
2009-08-29Glue for the SBus version of the Sun Vector Gigabit Ethernet card.Mark Kettenis
2009-08-29The intention is to map the dvma map at a fixed address, so specifyMark Kettenis
UVM_FLAG_FIXED. Makes sparc boot with option KVA_GUARDPAGES. ok miod@, tested by deraadt@
2009-08-29Remove unused getdevunit(), only sparc and sparc64 have a need for it.Miod Vallat
2009-08-29typos in commentsMiod Vallat
2009-08-28OpenBSD/sparc64 can now be compiled without -traditional-cpp.Joel Sing
From jsg@
2009-08-28ofwboot can be compiled without -traditional-cpp.Joel Sing
From jsg@
2009-08-28Use fixed labels rather than generating them using defines. This allowsJoel Sing
the code to be compiled without -traditional-cpp (and is arguably easier to read). ok kettenis@ jsg@
2009-08-27Harmless sizeof ptr bug in ppc_check_procid(); ok drahn@ kettenis@Miod Vallat
2009-08-27malloc() last two args were swapped, amazing things did not break; ok kettenis@Miod Vallat