Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-22 | Replace _bus_dmamap_load() with an implementation based on | Mark Kettenis | |
_bus_dmamap_load_buffer() like everybode else does. | |||
2007-12-21 | Change the EF_xxx constants to be real offsets within the trapframe, instead | Miod Vallat | |
of offsets / sizeof(register_t), and nuke the REG_OFF macro. No functional change. | |||
2007-12-21 | Add a hack to discover all devices on (some) K-class servers. | Mark Kettenis | |
2007-12-21 | Don't use getpropstring to get the CPU model name; it's evil. Instead, rely on | Mark Kettenis | |
the name passed in struct mainbus_attach_args. | |||
2007-12-20 | Get rid of disable_interrupt() and have caller use get_psr() and set_psr(); | Miod Vallat | |
this allows us to get rid of the dependency of asm_macro.h on asm.h, which was really only there to bring in psl.h. | |||
2007-12-20 | Do not protect this file with _KERNEL; other header files which include it do it | Miod Vallat | |
in a _KERNEL-only section, and we want to eventually be able to use it from the bootblocks. | |||
2007-12-20 | Print the VME vector number used when attaching. | Miod Vallat | |
2007-12-20 | Flush the source page before copying in pmap_copy_page(). This should not | Miod Vallat | |
be necessary, but not doing it appears to break 88204 (not 88200) and split CMMUs. | |||
2007-12-20 | Do not wait for the end of the universe if delay(0). | Miod Vallat | |
2007-12-20 | Add an empty pccbb_attach_hook. | Mark Kettenis | |
2007-12-20 | Add an empty pccbb_attach_hook. | Mark Kettenis | |
2007-12-20 | Stricter range checks in mmap function. | Miod Vallat | |
2007-12-19 | Overhaul interrupt handling, in order to make it (arguably) simpler and | Miod Vallat | |
more board design-independent. The main changes are: - define logical interrupt sources, which match the on-board devices as well as the seven VME interrupt sources. Use these whenever possible when registering interrupts in the drivers, so that the actual interrupt mask layouts are hidden. - make the on-board and VME interrupt handlers separate. On-board interrupt handlers are not really associated to an interrupt vector, only to a given interrupt source, and only one handler can be registered for a logical interrupt source. On the other hand, VME interrupts come with a vector number, and can be shared. This allows VME devices to really use the whole 256 vectors space, starting at vector zero. - update the real interrupt masks upon interrupt handler registration and removal, so that only interrupt sources for which a handler exists may be enabled. - update the VME interrupt allocation logic to allow exclusive vector allocation. - move the Z8536 clock routines to their own file, since they are not AV400-specific; while there, calibrate the delay constant upon startup for more accurate delay(). The vme driver is the only one left with AV400 tentacles left, to be fixed very soon. | |||
2007-12-19 | Use the real physical memory size for physmem, rather than what's left after | Miod Vallat | |
the PROM has eaten part of it, so that the reported memory size in dmesg is a nice round number. | |||
2007-12-19 | The serial console address apparently does not change accross 88100 designs, | Miod Vallat | |
so stash it in a board-independent header. | |||
2007-12-19 | Allocate memory for the onboard le interface using uvm functions, instead of | Miod Vallat | |
stealing pages in pmap_bootstrap. While there, use up to four times more memory for these buffers if the machine has enough physical memory. | |||
2007-12-19 | Looks like K-class needs the same hack as C-class. Gives us some, but not all | Mark Kettenis | |
devices. | |||
2007-12-18 | Remove bogus #ifdef __i386__, such that we properly initialize the bus number | Mark Kettenis | |
for pci busses off secundary CPUs. | |||
2007-12-18 | pass pci domain to the child too, ok kettenis | Theo de Raadt | |
2007-12-18 | New it(4) driver. | Oleg Safiullin | |
Supports ITE IT8705/8712/8716/8718/8726 and SiS SiS950 hardware monitors and ITE IT8712F/8716F/8718F/8726F watchdog timer. | |||
2007-12-18 | Better probe routine for lcg, now that I found the magic bit on KA46. | Miod Vallat | |
2007-12-18 | move variable declarations where they belong | Jasper Lievisse Adriaanse | |
prodded by and ok dlg@ | |||
2007-12-18 | - powerbutton -> power button | Jasper Lievisse Adriaanse | |
- minor knf nit (suggested by miod@) | |||
2007-12-18 | add power(4), a driver for the power button found on SGI O2's. | Jasper Lievisse Adriaanse | |
when machdep.kbdreset is set, and the correct interrupt is fired, the machine gets shut down. with help from and ok jsing@, ok miod@ | |||
2007-12-18 | Expose the clock address space so that it can be used outside of clock(4). | Joel Sing | |
ok miod@ | |||
2007-12-17 | Make this compile again. | Miod Vallat | |
2007-12-16 | Add an empty pccbb_attach_hook. | Mark Kettenis | |
2007-12-16 | Correctly count number of segments in _bus_dmamap_load(). Initialize ds_addr | Mark Kettenis | |
to 0UL instead of NULL while there. Tested by & help from dlg@. | |||
2007-12-15 | Get the MVME197 memory size from the BusSwitch decoders. | Miod Vallat | |
2007-12-15 | Unconditionnaly disable the instruction cache on 40MHz MVME197LE boards, | Miod Vallat | |
so that they run stably. Definitely overkill and causing a severe performance hit (they now run about as fast as a 25MHz board with I$ enabled would), but sometimes you can't fight silicon bugs. Other boards (i.e. 50MHz ones) are not affected. | |||
2007-12-15 | All MVME BUG manuals concur on SR3 being the only register needing to be | Miod Vallat | |
preserved across BUG calls, but on the other hand the last 16 traps need to be restored to BUG values, not only trap #496. | |||
2007-12-15 | Since the 88110 can not invalidate a particular tlb entry, do not stack | Miod Vallat | |
invalidate tlb ipis, and turn them into simple ``handle once'' ipis. | |||
2007-12-15 | Move the cmmu lock back from 8820x-specific code to global, and use it on | Miod Vallat | |
MVME197DP to serialize 88410 operations. | |||
2007-12-15 | move some iommu_dvmamap_validate_map()'s into DEBUG instead of DIAGNOSTIC, to | Theo de Raadt | |
slightly improve performance ok kettenis | |||
2007-12-15 | Remove a lot of symbols from the namespace, otherwise sys/sysctl.h and | Theo de Raadt | |
rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make it out to userland. ok miod | |||
2007-12-14 | Remove a lot of symbols from the namespace, otherwise sys/sysctl.h and | Theo de Raadt | |
rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make it out to userland. | |||
2007-12-14 | Cleanup some comments. | Joel Sing | |
2007-12-14 | Enable console support for SGI O2 workstations. Switch between the serial | Joel Sing | |
and graphical console based on the selection made in the ARCBIOS. Early attachment of gbe(4) is still required, otherwise we have a working graphical console. ok miod@ | |||
2007-12-14 | Add console/cnattach support to mkbc(4). This allows for early attachment | Joel Sing | |
of pckbd(4) and provides us with a console keyboard. Tested by jasper@. ok miod@ | |||
2007-12-14 | Have gbe(4) attach as the console if the graphical console is selected via | Joel Sing | |
ARCBIOS. Tested by jasper@. ok miod@ | |||
2007-12-14 | Store the ARCBIOS ConsoleOut environment variable so that we can refer to | Joel Sing | |
it later on. ok miod@ | |||
2007-12-14 | Allow direct access to the MACE IO memory space. This allows IO devices to | Joel Sing | |
operate prior to the bus space extents being created. ok miod@ | |||
2007-12-13 | Sync with the mvme188 codebase, various tweaks from the last 18 months which | Miod Vallat | |
had not been reported to aviion. | |||
2007-12-13 | Disable write posting, this does not work on BusSwitch revision #1. The BUG | Miod Vallat | |
should do this for us, but better play safe. | |||
2007-12-12 | Disable the built-in speaker when initializing the chip, before my | Miod Vallat | |
neighbours start visiting me with large axes. | |||
2007-12-12 | Remove possible trailing \r from the PROM commandline arguments. | Miod Vallat | |
2007-12-12 | Mask the clock interrupts until cpu_initclocks() is invoked. | Miod Vallat | |
2007-12-12 | Make non-88110 kernels (aviion, luna88k) kernels compile again. | Miod Vallat | |
2007-12-11 | if we pxebooted, and can find the interface, put it in a "pxeboot" group | Theo de Raadt | |
so that later applications can try to do the right thing for reyk | |||
2007-12-11 | reword license to change regents to authors, and remove advertising clause. | Ted Unangst | |
cleared with all original authors. ok deraadt |