summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
AgeCommit message (Collapse)Author
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-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-03-31Map PCIe config space.Mark Kettenis
2007-03-31Fix DEBUG.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-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-23Print safari error log register if we get a safari interrupt.Mark Kettenis
2007-02-23Establish pci error interrupt after we're done fiddling with schizo's registersMark Kettenis
instead of when we're halfway through.
2007-02-15Don't print the error strings returned by readdisklabel(). If youKenneth R Westerback
need the debug info uncomment the printf's you need. Crude but effective way to suppress 'no disklabel' errors that pop up at the most innconvenient times to frighten users. More elegant method, DPRINTF-like constructs or something, later. "Yay!" marco@ ok deraadt@
2007-01-26Deal with zero wraparound in DVMA range checks;Marc Aurele La France
Fix default DVMA range for Schizo's with no "virtual-dma" property; Add TSB size indicator to Schizo & Psycho debugging messages. ok jason@
2007-01-20Do not panic on non-fatal iommu errors.Mark Kettenis
2007-01-16Really print iommu TFAR (instead of CTRL again).Mark Kettenis
2007-01-14Clear error bits in PCI command/status register before establishing PCI errorMark Kettenis
handler.
2007-01-14Provide a bit more diagnostic information in the PCI error handler.Mark Kettenis
2007-01-14Add macros to access Schizo's PCI config space.Mark Kettenis
2007-01-14Add another Tomatillo-specific register.Mark Kettenis
Fix definition of TOM_PCICTRL_DTO_INT.
2007-01-13Print Schizo/Tomatillo version number.Mark Kettenis
2007-01-13Do not match on Expert3D and Expert3D-Lite cards, these will require aMiod Vallat
different driver.
2007-01-12According to the OpenSolaris sources, the DTO bits are really MMU bit.Mark Kettenis
Add the real DTO bits for Tomatillo.
2007-01-09Adjust for USIII to RIO EBus renaming.Mark Kettenis
2006-12-24change schizo/psycho interrupts to be xname:what instead of ugly namesTheo de Raadt
seen previously; discussed with kettenis
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-12-17Remove unnecessary <dev/wscons/wscons_raster.h> inclusion.Miod Vallat
2006-12-14Make pci subsystem aware of domains. Each host bridge gets assigned a uniqueMark Kettenis
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@
2006-12-12Use appropriate macros to decode IGN.Mark Kettenis
2006-12-03Do the ri_devcmap reprogramming dance in fbwscons_init(), so that it appliesMiod Vallat
to non-console frame buffers as well.
2006-12-02Fix ri_devcmap[] to allow WSCOL_BLACK and WSCOL_WHITE to not have to beMiod Vallat
different for sparc{,64} systems.
2006-12-02Use the unpack_attr emulops instead of doing an inline rasops_unpack_attr.Miod Vallat
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
should never be referenced outside the context of the process to which this stack belongs unless we do the PHOLD/PRELE dance. Loads of code doesn't follow the rules here. Instead of trying to track down all offenders and fix this hairy situation, it makes much more sense to not swap kernel stacks. From art@, tested by many some time ago.
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
2006-09-01Standardize on EFBIG in bus_dmamap_load* if caller is too greedy; I hadMiod Vallat
done this 4.5 years ago already but regressions happened; reminded by a similar commit in NetBSD (from mrg@); ok damien@ deraadt@ jason@
2006-08-29XXX when we find vgapci devices on a USIII machine, fail to matchTheo de Raadt
(for now, until the bugs are found. USIII machines remain serial-only for now); ok miod
2006-08-27Use the correct IGN for the B side of schizo. Makes interrupts actually workMark Kettenis
in the PCI slot of the v210. ok jason@
2006-08-17(128 << fd->sc_type->secsize) instead of (128 * (1 << fd->sc_type->secsize)).Kenneth R Westerback
Makes all FD_BSIZE() defines the same. No object code change.
2006-08-15Allocate as many iommu page lists as necessary to match the size requestMiod Vallat
in bus_dmamap_create() again, but this time add a few extra pages to cope with fragmented data (such as mbufs). Tested by many.
2006-08-11For non-console vgafb, force rasops to initialize it as a monochrome resource,Miod Vallat
since we can't program the colormap anyway.