summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-05-16udl(4) and the wsmux(4) work on armishTheo de Raadt
2009-05-16must pull in the wscons gooTheo de Raadt
2009-05-15Oops, forgot to add this file, part of the dsrtc DS174x changes.Miod Vallat
2009-05-15TOD clock support for IOC3 flavours with DS174x chips (which are rebadgedMiod Vallat
MK48Txx). Entangled with preliminary changes which will hopefully eventually lead to power(4) attaching on IP30 (but not finished yet).
2009-05-15Don't forget to make sure IMR writes hit the hardware (by reading backMiod Vallat
from the Hub) before continuing (this was missing in one place). Also exit early from the interrupt mask handling loop if all sources have been serviced.
2009-05-15Revert 1.18, the memory bank allocation logic was actually correct, and IMiod Vallat
must have been on drugs when thinking otherwise.
2009-05-15Always subregion the main PCI I/O extents. This will handle things properlyMark Kettenis
when we pass the main PCI I/O extents to the secondary bus of subtractive decode brigdes.
2009-05-15Enable udl(4) and ukbd(4) because this lets a landisk actually have aTheo de Raadt
non-serial "console"; it is not really a console since we probe for it so late. But enabling it in ttys(5) works with getty...
2009-05-15A few stanzas from GENERIC-IP32 I forgot to uncomment or carry out.Miod Vallat
2009-05-15Forgot to remove that now unused function in previous commit.Miod Vallat
2009-05-15do not fake out some config-supplied foo.h / NFOO filesTheo de Raadt
2009-05-15pull in the right wscons/rasops partsTheo de Raadt
2009-05-15Update to match new kernel directories.Miod Vallat
2009-05-15Do not explicitely clear interrupt sources in the interrupt handler, butMiod Vallat
ask the Bridge to do this for us; this makes the initial interrupt deadlock workaround functional again.
2009-05-14Add configuration files for IP27 (includes some IP35 support) and IP30Miod Vallat
systems. Not connected to the builds yet.
2009-05-14Rename sgi GENERIC and RAMDISK with -IP32 suffixes, and have the buildMiod Vallat
machinery minimally cope with this. Discussed with and reluctantely accepted by deraadt@; we both dislike losing the ``naturally comes out of your fingers'' kernel names and the ``one size fits all'' logic; but for now I don't see any easy way to get a single kernel binary able to run on multiple IP## flavours.
2009-05-14More interrupt deadlock tomfoolery; turns out the non-XBridge workaroundMiod Vallat
doesn't appear to trigger the expected interrupt, so use a fugly nanotimeout instead. This makes Origin 200 disks not stall as soon as some serious I/O is intended. They now run multiuser.
2009-05-14When walking cpu configuration, report fpu type as the cpu type, sinceMiod Vallat
various R14000 (which use R14010 FPC) report different values there. That's only to get a prettier cpu0 line in dmesg.
2009-05-14In addition to the existing IP32 boot block, build a real 64 bit boot blockMiod Vallat
as a relocatable object, suitable for IP27/IP30/IP35. Boot blocks are now found is /usr/mdec/boot{32,64}, with boot-IP## being hard links to them for easy boot block pick.
2009-05-14Remove unused local.Miod Vallat
2009-05-14udl(4) works on macppc, too. Disabled in GENERIC by default.Marcus Glocker
2009-05-13Set D_VENDOR when spoofing a label on archs that use D_VENDOR whenKenneth R Westerback
reading the native disklabel. This ensures cylinder alignment. Fix disklabel to do cylinder alignment arithmetic correctly in -A mode. Worked by accident before, since the code was protected by D_VENDOR, which wasn't being set. ok deraadt@
2009-05-12Add missing semicolon.Mark Kettenis
2009-05-12Unbreak build.Mark Kettenis
2009-05-12Don't throw away ldc packets if the ldc link went just up, otherwise we mayMark Kettenis
miss the initial handshake from OBP.
2009-05-12Actually ACK a handshake initiated by the other end.Mark Kettenis
2009-05-12Add padding to ATTR_INFO message structure; OBP seems to insist on itMark Kettenis
being there.
2009-05-12Add some code for doing handshakes the other way around.Mark Kettenis
2009-05-12Make reserved member of protocol struct start with underscore.Mark Kettenis
2009-05-12uld(4) works on i386, too. Disabled in GENERIC by default.Marcus Glocker
2009-05-11Better config for v7.Dale Rahn
2009-05-11Add some (not used yet) control regiser bit definitions.Dale Rahn
2009-05-11driver address fix.Dale Rahn
2009-05-10When I changed the implementation of iommu and sg_dma over to useOwain Ainsworth
bus_addr_t instead of vaddr_t i forgot the bind_page prototypes. So change them over, too. This shows it really was just pedantry since it still built and worked.
2009-05-10Enable vcc(4) and vcctty(4).Mark Kettenis
2009-05-10Remove a dead variable and some unneeded returns.Mark Kettenis
2009-05-10Handle devices with multiple ports.Mark Kettenis
2009-05-10Rename mdesc_get_prop_string into mdesc_get_prop_str.Mark Kettenis
2009-05-10Add vcctty(4).Mark Kettenis
2009-05-10Add vcc(4) and vcctty(4). The vcc(4) driver is a driver for the "VirtualMark Kettenis
Console Concentrator" found on the control domain of sun4v systems. It manages the connections to the consoles of guest domains which are exposed as terminal-like devices through vcctty(4).
2009-05-10Add defines for magic character constants used by hypervisor consoleMark Kettenis
interfaces.
2009-05-09Initial console device driver for USB displays based on the DisplayLinkMarcus Glocker
DL-120 / DL-160 graphic chips, using the wsdisplay(4) layer. Based on the reversed engineered specifications of Florian Echtler. The driver is disabled in GENERIC for now. Thanks to claudio@ for donating me a device and to oga@ and miod@ for giving me hints in the graphic and wsdisplay area. OK deraadt
2009-05-09Promote types in ARCBios function prototypes from int to long wheneverMiod Vallat
necessary, to allow the same C code to be used against 32 bit ARCBios, when compiled in 32 bit mode, or against 64 bit ARCBios, when compiled in native mode. Soon to be used by the boot blocks; this commit doesn't introduce any functional change yet.
2009-05-09Missed adding this file.Dale Rahn
2009-05-08Remove xhub boilerplate; Hub doesn't appear as a widget itself but as theMiod Vallat
connecting part of the XBow, as advertized by the KL graph. Hub specific code already exists in xbow.c and will remain there.
2009-05-08In _dmamem_alloc_range() DIAGNOSTIC code, check for the address being withinMiod Vallat
the expected range, before invoking pa_to_device().
2009-05-08Add a new page freelist, to which memory suitable for 32-bit dma onMiod Vallat
xbridge(4) is assigned. Then, make bus_dmamem_alloc() allocate from this range only. This is transparent on O2, and makes sure the bus_dma memory address will fit in the 2GB direct map of xbridge(4) chips - this is necessary for PCI devices which do not handle 64 bit dma addresses.
2009-05-08Fix devio byteswap, this makes isp(4) happy on IP27 and IP35.Miod Vallat
2009-05-08Make interrupt handling code closer to IP30 XHeart code.Miod Vallat
2009-05-08Attach children with config_found_sm() instead of directly invokingMiod Vallat
config_search(), so that disabled or unconfigured child device appear in dmesg as ``not configured''.