summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-10-16Honour serial console speed on O2 too.Miod Vallat
2009-10-16Make Octane kernels compile again after recent changes. My bad.Miod Vallat
2009-10-16Get serial console speed from prom, and use it instead of hardcoding 9600 bps,Miod Vallat
on all systems but O2 (to catch up soon). Also use the IOC4 MCR register to figure out the IOC4 clock, instead of checking the widget control register, to be consistent with iof(4).
2009-10-15regenMiod Vallat
2009-10-15Sort widgets by type instead of manufacturer code, add some TIO widgets,Miod Vallat
and add comments explaining why it's very unlikely we'll ever see TIO widgets on mips-based SGI systems (unless someone builds a Mengele-style XIO link).
2009-10-15The Octane boot PROM is accessible through the PCI space of the on-board i/oMiod Vallat
widget; make sure we reserve its address span so that no device risks having its resources overlap the PROM.
2009-10-14On coherent systems, all bus_dmamap_sync() needs to do is writebacks, noMiod Vallat
invalidation is necessary. Help jsing@
2009-10-14On IP30 and IP35 systems, try harder to figure out exactly what model we areMiod Vallat
running on, and report this both as the hw.product sysctl and in dmesg. Fuel and Origin 350 are no longer reported as being Origin 300 systems!
2009-10-14Report the crossbow widget part of bedrock as PXBow for consistency withMiod Vallat
the *{X,}Bow names and because this is what IRIX calls it.
2009-10-14Add some comments to explain why the DMA32 physseg is really 2**31 bytesMiod Vallat
long. Prompted by deraadt@ long ago.
2009-10-13Make iof(4) pass its bus speed to children, this in turn allows com(4) toMiod Vallat
pick the right clock if the PCI bus the I/O board is on degrades to 33MHz.
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
2009-10-11Make sure com@io[cf] attachment stanzas with locators win over generic com*Miod Vallat
lines. (This is done only to make dmesg look nice)
2009-10-10Simplify interrupt address programming to avoid the need to act differentlyMiod Vallat
on PIC; no functional change.
2009-10-10Add extra com@iof stanzas to have the first IOC4 card attach com0-3, insteadMiod Vallat
of com0 and com2-4.
2009-10-10Locators for extra IOC3 cards.Miod Vallat
2009-10-09initialize the disk size instead of getting a random value (always 0) offTheo de Raadt
the stack. this lets disklabels work on non-sgivol disks. ok miod
2009-10-08Program the widget interrupt address register as a whole 64 bit registerMiod Vallat
instead of two 32 bit halves, as the supposedly `upper 32 bits' register ignores writes; makes interrupt on PIC route correctly.
2009-10-08regenMiod Vallat
2009-10-08Recognize the Bedrock as an XBow instead of reporting it as ``unknownMiod Vallat
xbow''; while there report vendor and product id of unknow xbow chips.
2009-10-08Recognize more brick types and probe fooX bricks in the same order asMiod Vallat
foo bricks (they differ by having PCI-X bridges instead of PCI bridges but are otherwise built the same)
2009-10-08PIC actually comes with two sets of widget registers, with different IDs,Miod Vallat
but we only care about the first for matching, so don't bother listing the second one in xbowdevs, and fix the description.
2009-10-07Attach DS1742 style dsrtc to iof (IOC4) too.Miod Vallat
2009-10-07Do not truncate bridge register values to 32 bits, allows the few 64 bit PICMiod Vallat
registers to be programmed correctly.
2009-10-07ipending, cpl moved into cpu_infoTakuya ASADA
OK miod@
2009-10-07This file is supposed to compile.Theo de Raadt
2009-10-07Try to keep existing IOC4 mappings, the same way we do on IOC3, in caseMiod Vallat
this is a console device.
2009-10-07Missing semicolon in dmesgMiod Vallat
2009-10-07Small steps towards getting the serial clock correct on IOC4 serial ports.Miod Vallat
2009-10-07Add an IOC4 section there tooMiod Vallat
2009-10-07add support for the temperature sensor of VIA Nano and C7-M CPUs.Kevin Lo
some improvements suggested by jsg@ "commit" deraadt@
2009-10-06Allow MD limits for allocating PCI io and mem space and specify limits onMark Kettenis
i386 and amd64 to make avoid legacy ISA I/O registers. Fixes issues with ThinkPad T-series Dock II units as reported by sobrado@ ok miod@
2009-10-05Remove dead, never reached code.Dariusz Swiderski
ok by drahn@
2009-10-05remove nasty code, since now we have a nice function to lookup node'ss parent.Dariusz Swiderski
ok by kettenis@
2009-10-05wrap an annoying long line (like amd64)Theo de Raadt
2009-10-04pull in wbsd conditionally; ok kettenisTheo de Raadt
2009-10-03Properly handle XMM exceptions instead of panicing the kernel. Fixes theMark Kettenis
issue reported by Slava Pestov. ok deraadt@
2009-10-03Glue to attach the SD/MCC reader of the W83L519D found on some TadpoleMark Kettenis
laptops.
2009-10-02Support for DS15/DS25/ES45 (Titan) alpha models (rpb family 38). These systemsMiod Vallat
are very close to the Tsunami systems (rpb family 34) and share the existing Tsunami code; the tsc(4) Tsunami controller code is extended to handle the Titan differences, except for the Titan AGP GART which is left unsupported for now. Tested to not cause regressions on DS20 (deraadt@) and ES40 (miod@). Titan support tested by Sergey Prysiazhnyi on DS25, many thanks for your time!
2009-10-02Link the kernel at a higher physical address, in order to accomodate SRMMiod Vallat
with larger footprint than the usual 2MB, as encountered on some of the most recent alpha systems. Tested on many models (DEC 3000, PC164, AS500, ES40, and more)
2009-10-02Some 21264CB pass information, from information provided by Sergey Prysiazhnyi.Miod Vallat
2009-10-01add fdt_parent_node() and OF_parent() functions,Dariusz Swiderski
as requested by kettenis@ ok by kettenis@
2009-10-01Generic soft interrupts for macppc. Tested by mk@, deraadt@Mark Kettenis
ok miod@
2009-10-01Needs memcpy in bootxx now, forgotten in previous getenv change.Miod Vallat
2009-09-30Fix various off-by-ones in irq number validation.Miod Vallat
2009-09-30Remove unused last argument of alpha_shared_intr_disestablish().Miod Vallat
2009-09-30Some old SRM require 8-byte alignment of the buffer passed to the promMiod Vallat
getenv routine, so fulfill this requirement. From NetBSD. (Note this only concerns the boot blocks, as the kernel itself uses extremely well aligned addresses for getenv calls).
2009-09-30Get rid of prom_open() and implement it directly as a prom_dispatch() wrapper,Miod Vallat
necessary for some old SRM version. From NetBSD.
2009-09-30Clear sticky error status after recoverable machine check.Miod Vallat
From FreeBSD.