summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2006-06-16- add rum(4). commented out for now.Niall O'Higgins
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-16If we are configured for glass console but no keyboard is plugged, we runMiod Vallat
with the dummy wscons cngetc() which immediately returns zero. Since a cngetc() call is the only difference between halt and reboot, this caused the former to behave as the later. Fix this by spinning until cngetc() returns a non-zero value.
2006-06-16Fix range check in sgc_slottopa().Miod Vallat
2006-06-16Line 0 is not wired, thus illegal for use in frodo_intr_establish().Miod Vallat
2006-06-16typoPedro Martelletto
2006-06-16On the road to certance support.Dale Rahn
2006-06-16From k*_powernow_setperf() always return 0, i.e.Gordon Willem Klok
Do not return low level errors to userspace where they will not/can not be coped with. : ----------------------------------------------------------------------
2006-06-16enable mpi.Marco Peereboom
Who says we don't need U320 SCSI on hppa? Cookie for dlg! ok deraadt dlg
2006-06-16If there is going to be a kludge to change the irq for com, do it earlyDale Rahn
enough so that the used irq is printed in dmesg.
2006-06-15switch to using mpi instead of mpt; ok marcoTheo de Raadt
2006-06-15The process is not: build, ifdef, commit. argh.Dale Rahn
2006-06-15rewritten, simplifed interrupt controller for 80321, half the linesDale Rahn
and much less complex. IPL_SERIAL goes at the same time.
2006-06-15Hack to attach the iodata PLD device, it controls the front panel LEDsDale Rahn
and reset function on the board.
2006-06-15All all 256MB on the thecus to configure, by raising the amount ofDale Rahn
KVM available.
2006-06-15sane irq numbers for pci interrupts, remove uncertanty on armish irq table.Dale Rahn
2006-06-15Fan controller for Thecus N2100, still needs more work, currently sets theDale Rahn
fan so it is running. The nice auto fan speed isn't working currently. Also gives temperature sensors.
2006-06-15Ricoh rtc support for armish, driver from netbsd.Dale Rahn
2006-06-15whitespace cleanupDale Rahn
2006-06-15Rework the interrupt code, shaving some cycles off in the process.Brad Smith
Rather than an "iointr" routine that decomposes a vector into an IRQ, we maintain a vector table directly, hooking up each "iointr" routine at the correct vector. This also allows us to hook device interrupts up to specific vectors. From thorpej NetBSD Tested by myself and a number of end-users.
2006-06-15make the clock error calculation match dev/ic/com.c so that things with,Jason Wright
say, a 10x clock work.
2006-06-15Add proper masking of reserved bits, when we test if the thermalDimitry Andric
control MSR was written successfully. ok tedu@
2006-06-15In p3_get_bus_clock() don't fall through if we have in fact correctlyGordon Willem Klok
matched a model. Found in a dmesg from Craig Barraclough craigba AT creative.com.au. ok deraadt@
2006-06-14Missed a part of the kvm86 commit, if option KVM86 is defined it would beGordon Willem Klok
a good idea to actually call the init function, this was lost it was part of the diff ok toby@, mickey@
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-13Do not compare apple with oranges when checking if the thermal controlMiod Vallat
register write was successful.
2006-06-13kvm86, missed a file.Gordon Willem Klok
ok mickey@, toby@
2006-06-13Kernel virtual mode 8086, currently disabled in GENERIC.Gordon Willem Klok
lots of help at c2k6 and after from toby@, ok toby@, mickey@
2006-06-13When adjusting the performance of the processor using p4tcc, the CPUsGordon Willem Klok
frequency remains unaltered. Remove the unecessary call to update_cpuspeed(), and add check the sucess of the operation, returing EIO in the event of failure. ok tedu@
2006-06-13Change the value returned if the CPU fails to honor a request toGordon Willem Klok
adjust frequency from 1 (EPERM) to EIO. Suggested by and ok tedu@
2006-06-12Oops, typoMiod Vallat
2006-06-12Some more improvements to EST:Dimitry Andric
- If an unknown EST CPU is encountered, use the known highest and lowest (and if different, the current) power state to generate a fake power state table on the fly. Thanks to canacar for the idea. - Calculate system bus clock speed before calling est_init(); it is needed to display proper MHz values from MSR values. - Also use the bus clock to identify EST CPU's, which is needed to differentiate e.g. Pentium M 715 and 760, which unfortunately have exactly the same MSR values. - Store power states directly as MSR values. Tested by many, "so when does it go in?" deraadt@
2006-06-12ANSIfy, and nuke newline at end of file.Gordon Willem Klok
ok toby@, "slap it in" deraadt@
2006-06-12Add stray interrupt reporting to the apicvec.s, fix the code for strayGordon Willem Klok
interrupt reporting in vector.s. Stray interrupts will only be reported if a kernel is compiled with option DEBUG, in the case of a non-ioapic kernel some stray interrupts may be erroneously reported durring the boot process. ok toby@, "get it in" deraadt@
2006-06-11Working kernel crash dumps.Miod Vallat
2006-06-11Amiga is no longer amoung us. Some architectures were too sentimentalKenneth R Westerback
to cut all ties when it left for the attic. Eliminate (theoretical) ability to read Amiga disklabels on those architectures. mips64 compile tested by miod@ "whack away" deraadt@ "my amiga runs 3.2" niklas@
2006-06-11Ansify. No binary change on amd64 and i386, not yet built on sgi. ok miod@Matthieu Herrb
2006-06-11Clean the various cache and TLB invalidation function, arch by arch:Miod Vallat
- [DI]C{FL,PL,PP} and DCFA are only called on 680[46]0 systems and are identical on these platforms, so don't bother checking for the MMU type. - TBIAS is on 68060 codepath only. - DCIAS, PCIA and TBIA are specific to some platforms and do not need to be implemented everywhere.
2006-06-11Set up FPSP exception vectors on 68040 models in initvectors(), as done for theMiod Vallat
68060 SP, instead of in identifycpu().
2006-06-11Remove traces of cut'n'pasted 68060 support, since there aren't any 68060-basedMiod Vallat
macintoshes.
2006-06-11Protect a variable only used for the HP MMU if #ifdef M68K_MMU_HP blocks.Miod Vallat
2006-06-11Move common prototypes to <m68k/{cpu,param}.h> instead of incompleteMiod Vallat
declarations in <machine/{cpu,param}.h> and elsewhere.
2006-06-11Factorize spl handling functions and software interrupt routines betweenMiod Vallat
m68k-based platforms.
2006-06-11Move pmap_aliasmask declaration and initialization to MD code. No functionalMiod Vallat
change.
2006-06-11Use bracketed include paths.Miod Vallat
2006-06-11Zero the size of the correct partition. Missed in previous cleanup.Kenneth R Westerback
ok miod@
2006-06-11TypoMiod Vallat
2006-06-11Get rid of the wdt(4) char device. We have watchdog(4) andMichael Knudsen
watchdogd(4), so there's no point in supporting old, unused, non-generic interfaces. Tested by < jg , rilk - com>. The sensors available on the WDT501 model will be supported later using the sensors framework. ok mickey markus
2006-06-10ANSIfy, KNF and remove a silly comment.Gordon Willem Klok
ok toby@, "absolutely" deraadt@