summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2006-07-06Make sure we alter ddb variables as ints, not longs; only matters on 64 bitMiod Vallat
platforms.
2006-07-06Make dummy $g0 in ddb the right size.Miod Vallat
2006-07-04disable alipm until someone can find this spurious bug, which happens mostTheo de Raadt
often on the x1, and is really bizzare: data error type 32 sfsr=0 sfva=43caa000 afsr=84000000 afva=1fe02004000 tf=0x18e999c0 data fault: pc=1314578 addr=43caa000 sfsr=0 alipm_smb_exec(2389200, 1, 18, 0, 1, 18e99d4e) at alipm_smb_exec+0x258
2006-07-02get rid of an unused variable.David Gwynne
ok deraadt@
2006-07-01Cleanup dmesg printing.Mark Kettenis
2006-07-01one more dmesg tweakTheo de Raadt
2006-07-01clean dmesg output for iommu more; tested miod dlgTheo de Raadt
2006-07-01Make probeget() and related code in trap.c #ifdef DDBMiod Vallat
2006-07-01Add PMAP_LITTLE to the list of forbidden pa bits in pmap_kenter_pa().Miod Vallat
2006-07-01Provide our own alloc_attr() routine for sun frame buffer, since the computationMiod Vallat
of highlighted color indexes is slightly different due to different black and white color code (and the fact that the default white is the highlighted white).
2006-07-01Make sure we don't accidentally match one of the unused PCI error interruptsMark Kettenis
instead the interrupt for PCI slot 0. ok dlg@
2006-06-30For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette insteadMiod Vallat
of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land.
2006-06-30Some machines lack the virtual-dma property. In that case, go backTheo de Raadt
to the 128KB assumption, until we find out another way to determine the space. Damn.
2006-06-29Fix PMAP_PREFER and make it use VA_ALIAS_MASK to prevent me from breakingMark Kettenis
it again. ok miod@, jason@
2006-06-29No need to keep specific variables for the kernel messages colors on sunMiod Vallat
emulation, we can reuse the existing WSCOL_xxx codes, and WSCOL_BLACK and WSCOL_WHITE will point to variables anyway.
2006-06-29try prom mapping first, then memory mapping, then io mapping.. this worksTheo de Raadt
on v210 and on netra t1 105, good sign it will work on others. mechanism pointed out by miod, tested by dlg and djm and I
2006-06-28cleanup dmesg logging for iommu goo, make it follow the standard formTheo de Raadt
2006-06-28look at "virtual-dma" property to decide where the iommu address spaceTheo de Raadt
is, instead of having iommu_init() decide
2006-06-28keep track of what is a schizo and what is tomatilloTheo de Raadt
2006-06-27Fix interrupt mapping. This now seems to work on all machines, even withMark Kettenis
pci cards that have a pci-pci bridge and lack fcode. tested by many, ok jason@, dlg@
2006-06-27pull in files.gpio in case we want itTheo de Raadt
2006-06-27don't bother printing "{se}bus: %s incomplete" for devices missing a regJason Wright
property. They're not interesting.
2006-06-26Always skip the offending instruction for fpu faults, even if it isMiod Vallat
theoretically recoverable, as there is no way we can rely on the signal handler to do this properly; consistent with other platforms, and lets a few autoconf tests in ports pass again. spotted by sturm@; reluctantly ok kettenis@
2006-06-26Enable wide targets on FAS366 esp; note that this changes the way espMiod Vallat
user-controllable device flags are parsed, be sure to rerun config(8) on your next kernel compile.
2006-06-23match tomatillo varient (not yet fully working)Theo de Raadt
2006-06-22Enable sk(4).Brad Smith
ok reyk@
2006-06-22BBC-based machines swap the two registers (good going Sun -- that is why weTheo de Raadt
don't get documentation, right?), and the clock fed into the chip can vary from model to model; help & testing from dlg
2006-06-21if machdep.kbdreset==1 and the front panel button interrupt fires, tell initJason Wright
that it's time to go sleepy-bye.
2006-06-21Only attach timer to the first counter-timer found.Miod Vallat
2006-06-21add the machdep.kbdreset logic to sparc64 (stuff to use it is coming)Jason Wright
2006-06-21grr... missed this... nuke SUN4U stuff here, tooJason Wright
2006-06-21Don't need option SUN4U. It's not -really- an option on sparc64, duh.Jason Wright
2006-06-21There was hope, at one time, of sharing fpu/ with sparc. That's stillJason Wright
possible, but not with #ifdef SUN4U all over the place. The define should be _v9 or __sparc64__ since it will equally well apply to all v9 machines. We'll burn that bridge before we cross it.
2006-06-20Do not print hostid while booting, there's a sysctl for this.Miod Vallat
2006-06-20Fix tsbsize computation; from NetBSDMiod Vallat
2006-06-19move clock_subr.c to a better place, and now it is always in the kernelTheo de Raadt
so that things can use it; tested on all architectures; ok kettenis
2006-06-18enable udcf(4) on sparc64, works on my Blade 100; ok mbalmer@Christian Weisgerber
2006-06-16When checking if a page is managed or not, do not invoke IS_VM_PHYSADDRMiod Vallat
and then pa_to_pvh, since they amount to the same work; instead let pa_to_pvh return NULL for unmanaged pages and test for this.
2006-06-16documentation on the registerJason Wright
2006-06-16skeleton driver for power button on u5.. does precisely nothing except attach.Jason Wright
Will hook it into the right places this weekend (and put it into GENERIC and write a man page when it does something useful).
2006-06-14support the iic busses on the ultrasparc III machines (something is stillTheo de Raadt
wrong, likely clocking); tested to not break older machines by dlg & djm
2006-06-07Remove unused bus_space_probe().Miod Vallat
2006-06-07do not #undef HORRID_III_HACKTheo de Raadt
This means that for now a config file can build us3 kernels ok jason
2006-06-02sbus_establish() and the associated linked list in the sbus softc is now onlyMiod Vallat
used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
2006-06-02All I wanted was to fix the bogus PG_SZ macro, but this is better:Miod Vallat
Do not try to map the message buffer with large pages, it's just as easy to simply use as many 8KB pages as necessary. From NetBSD.
2006-06-02feild -> fieldMiod Vallat
2006-06-02turn the non-DEBUG case of DPRINTF into a do {} while (0) so it worksJason Wright
more or less as expected (and removes the need to a stupid #ifdef)
2006-06-02- clear the PCI_AFSR during initJason Wright
- set up the interrupts more correctly - print errors nicer
2006-06-02correct bits for bus type in PCIAFSRJason Wright
2006-06-02ppm driver. We don't use it for much... except to blink the power switch ↵Jason Wright
led. woot!