summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2007-04-09Re-enable art(4); mglocker@'s e250 is perfectly happy with larger kernels now.Mark Kettenis
2007-04-09Unbreak the tree.Mark Kettenis
2007-04-09Seperate rtc(4) code out into its own file. Add support for catching theMark Kettenis
power button interrupts on ds1287 models. The hardware will stil power off automatically about 20 seconds after the power button is pressed, but we get a decent chance at doing a clean shutdown before that. "a good start" deraadt@
2007-04-08ral(4) reported to work on sparc64 by Maxim Belooussov <belooussov@gmail.com>Jonathan Gray
so enable it.
2007-04-07Remove unused variable.Mark Kettenis
2007-04-07USECPERSEC is no longer used.Mark Kettenis
2007-04-07Replace code that tries to find the boot device by pretending to walk theMark Kettenis
device tree and matching locators in the bootpath string components with code that tries to match the PROM node of the devices to bootpath components. This way we don't need a list of possible boot devices that needs to be tweaked whenever we try to support new Sun hardware (or when dlg plugs a new fancy storage controller in a sparc64 machine). Tested by many.
2007-04-07Replace code that tries to find the boot device by pretending to walk theMark Kettenis
device tree and matching locators in the bootpath string components with code that tries to match the PROM node of the devices to bootpath components. This way we don't need a list of possible boot devices that needs to be tweaked whenever we try to support new Sun hardware (or when dlg plugs a new fancy storage controller in a sparc64 machine). Tested by many.
2007-04-06Add support for PCIe. Don't map interrupts that are already mapped correctly.Mark Kettenis
Tested by deraadt@, nick@, sturm@, naddy@ and others.
2007-04-05Fix a comment. 64KB is enough for the cpu_info structure. 64MB would be aClaudio Jeker
bit lavish. OK jason@
2007-04-05Fix interrupts.Mark Kettenis
2007-04-04Enable pyro(4) and ebus(4) at mainbus(4). Reorder bus drivers such thatMark Kettenis
the order in GENERIC and RAMDISK is identical.
2007-04-04Correctly set the TSB size on pyro(4).Mark Kettenis
2007-04-04Add support for ebus at mainbus, as found on machines with pyro(4) like theMark Kettenis
v215.
2007-04-04Add support for ebus at mainbus, as found on machines with pyro(4) like theMark Kettenis
v215.
2007-04-04Mechanically rename the "flags" and "version" fields in struct vm_pageArtur Grabowski
to "pg_flags" and "pg_version", so that they are a bit easier to work with. Whoever uses generic names like this for a popular struct obviously doesn't read much code. Most architectures compile and there are no functionality changes. deraadt@ ok ("if something fails to compile, we fix that by hand")
2007-04-03Match su16552.Mark Kettenis
2007-04-03Add iommu glue.Mark Kettenis
2007-04-02Remove bogus code. Turning on parity for pci busses may be a good idea, butMark Kettenis
this is not the way to do it. And given the way Sun host bridges crap out upon access to pci config space for nonexistent devices, this code is rightout harmful for machines where device 0 isn't present on some busses. Tested by many; ok deraadt@
2007-04-02Return EFBIG in case not enough segments are present to load a DMA requestClaudio Jeker
instead of ENOMEM and remove/shortcut the additional debug printfs. Some network drivers will try to load the mbuf chain and linearize the mbufs if EFBIG is returned. OK miod@ kettenis@
2007-04-01Add code to establish interrupts.Mark Kettenis
2007-04-01Shift pci tags for PCIe.Mark Kettenis
2007-04-01Provide (non functional) dma tag.Mark Kettenis
2007-04-01Shift tags when converting them into an address offset. Necessary to supportMark Kettenis
access to PCIe config space, which is larger than normal PCI config space.
2007-04-01Fix DEBUG built.Mark Kettenis
ok art@
2007-03-31do nbuf constraint based on KERNEND/KERNBASE to avoid integer overflow from ↵Theo de Raadt
new giant sparc64 kvm; ok kettenis, tested by pooleb
2007-03-31Map PCIe config space.Mark Kettenis
2007-03-31Fix DEBUG.Mark Kettenis
2007-03-30Add commented out entries for pyro(4).Mark Kettenis
2007-03-30First stab at a driver for the Host/PCIe bridge found on the Sun FireMark Kettenis
v215/v245/v445 systems.
2007-03-29ignore various i2c seeproms that sun puts on all their machine parts; ok ↵Theo de Raadt
miod kettenis
2007-03-22split userland & kernel struct sensor/sensordev so that the additionTheo de Raadt
of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
2007-03-20Remove unused ALIGN32 macro. It wouldn't work anyway, sinceDeanna Phillips
ALIGNBYTES32 has been gone for years. ok art
2007-03-20typo in commentTodd T. Fries
ok jmc@
2007-03-19Not only did I break RAMDISK, I also left a debugging printf.Artur Grabowski
2007-03-19please always test RAMDISK kernelsTheo de Raadt
2007-03-16Timecounters for sparc64. The cleanest and easiest timecounterArtur Grabowski
implementation this far. Uses the %tick register (as microtime was using before). kettenis@ ok
2007-03-15UltraSPARC-IV cpus appear a bit different in OpenFirmware than older cpus.Mark Kettenis
Make sure we fetch the right properties such that we don't crash later in the pci bus walking code when we divide by a zero cache line size.
2007-03-15Make sure we find the OpenFirmware node for UltraSPARC-IV cpus.Mark Kettenis
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok
2007-03-13Add two more SFSR bits found on UltraSPARC-III cpus.Mark Kettenis
2007-03-13Implement proper atomic.h for sparc64.Artur Grabowski
ok kettenis@
2007-03-07For unsupported (yet) Expert3D style frame buffers, attach pcons and attachMiod Vallat
a really dumb wsdisplay to pcons, so that wskbd/wsmouse input drivers can be used for input, and prom for output. This is a band-aid for the release, so that people with such frame buffers do not need to unplug them or switch to serial console to install OpenBSD. Probably not the best way to do this, but this one has a minimal footprint and no tentacles in wscons. ok deraadt@
2007-03-06Implement WSDISPLAYIO_GETSUPPORTEDDEPTH; makes X actually work if you followMark Kettenis
the instructions in /usr/X11R6/README.
2007-03-06Three more Expert3D-like frame buffers we shouldn't attach to yet.Miod Vallat
2007-03-05Add mmap for upa(4). Makes the X wsfb(4) driver actually work instead ofMark Kettenis
crashing the machine on UltraSPARC-III machines with creator(4) framebuffers. ok jason@, tsi@
2007-02-28some older machines have small banks, and the kernel is too big!Theo de Raadt
remove one very rarely used driver; tested by mglocker miod will look at this later ;)
2007-02-28Add Smart Battery Monitor device driver. Provided byAlexander Yurchenko
Aaron Linville <aaron@linville.org> in PR 5398.
2007-02-28SBus parallel port driver, from NetBSD but untested (no printer or cables);Miod Vallat
this should hopefully stop people from asking me about it (-:
2007-02-27nicer panic; kettenis okTheo de Raadt