summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
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!
2006-06-02bits bits bits, who got dat bitsJason Wright
2006-06-02The I-cache seems to work fine on the UltraSPARC III, so never disable it,Mark Kettenis
even if HORRID_III_HACK is defined. ok jason@
2006-06-02Remove unused local variable from debug code.Mark Kettenis
2006-06-01Right at the end of a debug kernel build, the current Makefile copies bsdChristopher Pascoe
(with symbols) to bsd.gdb, then strips bsd. This diff makes it rename the file with symbols, and then asks strip to output the stripped version as bsd. Avoids a potentially lengthy wait when we would otherwise copy the large (50MB+) kernel with debug symbols. ok reyk@ ketennis@
2006-06-01latch the AFSR/AFAR -before- reading the PCI control/status registerJason Wright
2006-06-01do a better job of setting up the PBM. Doesn't fix the PIO faults we'reJason Wright
seeing, I"m not convinced they're fixable any more.
2006-06-01- stop using magic constants for the onboard error INOs (one was wrong anyway)Jason Wright
- setup pci error interrupts and do an interpretive dance with the registers
2006-06-01add bit defns for [UE]FARJason Wright
2006-06-01enable error interrupts and install handlers for same (the handlers don't do ↵Jason Wright
much yet)
2006-06-01oops, remove debugging cruftJason Wright
2006-05-31It's bit 13 that's causing the address aliasing in the cache, not bit 14.Mark Kettenis
ok jason@
2006-05-31extend the bootpath values to 64bits, and deal with falloutJason Wright
extend str2hex to handle long's, and teach it that strings starting with 'w', consisting of hex digits are really just hex digits match fp to scsibus (fiber port) match fiber channel portwwn/lun to it's bootpath variables result: with a small change to isp(mailed to mjacob) we can correctly autoconf with a boot path of: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cf948498,0:a/bsd ie. schizo/ isp/ scsisbus/disk with port WWN of 21...98, lun 0, partition a
2006-05-31The bright people at Sun removed the secondary context from the IMMU in theMark Kettenis
UltraSPARC III. Hack around it by temporarily switching to nucleus context when flushing TLBs. Put this hack under HORRID_III_HACK for now. Compiling with HORRID_III_HACK results in a kernel that runs on the Blade 2000 "at the speed of a 140MHz UltraSPARC I". ok jason@
2006-05-31Use symbolic constants for TLB demapping operations.Mark Kettenis
This fixes a few cases where the hardcoded constant indicated a reserved operation instead of the intended secundary context flush. ok jason@
2006-05-31match SUNW,qlc->isp (one step away from root on isp/fibre channel on US3)Jason Wright
2006-05-30how about we -correctly- match the schizo. When I get home, I'm goingJason Wright
to make this code cleaner, but I'm bloody tired of typing the root device name
2006-05-30Sync region detection algorithm with macppc, helps some recent cards, suchMiod Vallat
as 3DLabs Permedia and Intergraph Expert3D. Also, if no mmio region is found, attach anyway, this only prevents accelerated X11 from starting.
2006-05-30rework the schizo attach to match the upaid and paddr regsJason Wright
(/pci@8,600000/, 8 == upaid, 600000 == paddr of registers) Also, match the mpi (LSILogic,sas)
2006-05-30mpi works on sparc64 (running a U3 booted/rooted from one to commit this).Jason Wright
dlg can fix the distrib/www stuff to doc it.
2006-05-29Remove dead extern declarations.Miod Vallat
2006-05-29implement frequency setting for the beep. It also beeps for one secondJason Wright
during boot (this is annoying, I know... I'll hook it up to the keyboard handler later).
2006-05-29fetch the beep clock frequency (we'll need it to compute the audio frequency ↵Jason Wright
later)
2006-05-28placeholder driver for the bbc,beep device. should be straightforwardJason Wright
to fill in later.
2006-05-28make sure the IMR values are visible when we drop back into the promJason Wright