summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-02-02id like to install via a fibre gem on my 880, so add the gentbi phy that itDavid Gwynne
uses. ok kettenis@ krw@
2008-01-30Oops. Missed one.Kenneth R Westerback
More read/write result checking fixes to avoid unsigned comparisons vs -1.
2008-01-29More read/write result checking fixes to avoid unsigned comparisons vsKenneth R Westerback
-1. ok henning@ beck@ ray@
2008-01-26Unify i386 and amd64 lapic code, and calibrate lapic timer with interruptsMark Kettenis
disabled (as suggested by mickey). ok krw@, marco@
2008-01-25Add support for some other CPU's. Thank you toTobias Weingartner
jahrens at centtech for the information. ok otto@, hshoexer@, beck@
2008-01-24Finish the beep(4) driver by hooking it up to the ukbd(4) beep handlerRobert Nagy
and disable the one second long beep on attach. ok miod@
2008-01-24"read(..., ..., sizeof Y) < sizeof Y" is a dangerous idiom because itKenneth R Westerback
does an unsigned comparison and read() can return -1. Use '!=' instead of '<' since read() can't return more than 'sizeof Y'. Not perfect (that would require a separate test for -1) but a very common usage. ok toby@
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2008-01-21Fix boot time interrupt storm on mec(4) by disabling DMA when stopping theJoel Sing
interface. Without this we are potentially freeing TX buffers that are in use, plus we leave DMA enabled when rebooting. This leads to an interrupt storm at boot time if we were receiving/transmitting network traffic whilst shutting down. ok miod@. Tested by jasper@.
2008-01-20Clean up comments.Joel Sing
2008-01-20Add temperature sensor.Mark Kettenis
2008-01-19Simplify CLKF_INTR by making it look at the saved interrupt level,Mark Kettenis
instead of the stack pointer.
2008-01-19When I say commented out, I should comment it out before comitting.Mark Kettenis
2008-01-19Add commented out entry for environ(4).Mark Kettenis
2008-01-19Activate upgt(4) for macppc. Tested for a while on my PowerBook.Marcus Glocker
OK dlg@
2008-01-19Make host bridges provide their own implementation of pci_conf_read() andMark Kettenis
pci_conf_write() and give pyro(4) an implementation suitable for PCIe. For psycho(4) and schizo(4), go back to the origional implementation. This gets rid of the 'tagshift' member of pci_chipset_tag_t, and clears the way for sun4v.
2008-01-18Print consoleness the canonical way.Mark Kettenis
2008-01-18Add environ(4).Mark Kettenis
2008-01-18First attempt to write a driver for the environment device found onMark Kettenis
Enterprise 3000/3500/4000/4500/5000/5500/6000/6500.
2008-01-17Print names we get from the prom within double quotes.Mark Kettenis
ok marco@
2008-01-16Simplify spilling register windows into the pcb by storing the stack pointerMark Kettenis
seperately from the window and copying out data back to the stack by using the T_RWRET softtrap and rwindow_save().
2008-01-15Work around an intel BIOS bug where it locates the ACPI tables inTobias Weingartner
a region of memory marked free for use by the OS. Ok beck@, kettenis@, and --ok && ++!!ok tedu@.
2008-01-15Revert r1.15 and flush pages (if cached) in pmap_remove_pv on every invocation,Miod Vallat
instead of when removing the last page. It looked correct, but is defeated by ``index'' cache invalidates.
2008-01-15Make sabtty(4) adopt the speed configured in OpenFirmware when it is theMark Kettenis
console. ok miod@
2008-01-15Move some definitions from mpconfig.h to mpbiosreg.h (where they are on i396).Mark Kettenis
ok marco@, miod@
2008-01-15Enable umbg(4).Marc Balmer
ok claudio
2008-01-14Remove extra whitespace after comment; makes file identical to i386 versionMark Kettenis
(except for RCS string of course).
2008-01-14Enable umbg(4) on the Zaurus.Marc Balmer
ok mglocker, claudio.
2008-01-13Kill <machine/mp.h>.Mark Kettenis
ok marco@
2008-01-13Replace STABS debug info (which causes problems with truncated relocations)Mark Kettenis
with some limited DWARF2 generating .file and .line symbols. Makes it possible to build kernels with debug information again. ok miod@
2008-01-13Don't reserve space for msgbuf and bootargs in pmap_bootstrap(), since weMark Kettenis
do those reservations again (and now for real) in init386(). ok weingart@
2008-01-13Add a machdep.cputype sysctl, which returns the processor type (0 for 88100,Miod Vallat
1 for 88110), for userland to have an easy way to figure out.
2008-01-13Remove unused cpumod variable.Miod Vallat
2008-01-13Fix build with DEBUG defined.Mike Belopuhov
ok kettenis
2008-01-12Don't steal a register window in ipi_save_fpstate; it could have badMark Kettenis
consequences if it forces a register window to be spilled into the pcb.
2008-01-10instead of showing { love }, fix the macro do use the do { ... } while (0) ↵Theo de Raadt
construct; ok kettenis marco
2008-01-10Fix {}Marco Peereboom
ok kettenis
2008-01-10Fix spelloMarco Peereboom
ok kettenis
2008-01-09add urlphy for RAMDISK, move tested devices up.Stuart Henderson
req by kettenis
2008-01-09uark -> uark*, allow multiple devices to attachJonathan Gray
2008-01-09Make dec_xxx_intr_map() fail silently; caller will print a message ifMark Kettenis
appropriate. Removes unwanted messages that got printed when mapping pins on PCI-PCI bridges that don't matter. ok miod@
2008-01-09Move a couple of tested USB devices out of the 'untested' block,Stuart Henderson
add urlphy. ok deraadt kettenis
2008-01-08Be uniform with console message from other devicesTheo de Raadt
2008-01-08the rsc-console on the v880 operates at 115200, not the 9600 we think weDavid Gwynne
have to force all console devices to. this change passes the right speed to the com code, and continues to use it when the device is opened as the console device. figured out by kettenis@ ok kettenis@ miod@
2008-01-06Nuke avail_start and avail_end, they are not used by ps(1) since ten years,Miod Vallat
and nothing in the MI kernel code (and in the MD arm code) uses these values.
2008-01-06Sync console devices with GENERIC.Miod Vallat
2008-01-06Enclose some SUN4-specific code within preprocessor directives, this lets SUN4CMiod Vallat
kernel compile again.
2008-01-06Add lebuffer.Miod Vallat
2008-01-06Add STICK_INT.Mark Kettenis
2008-01-06Enable raw keyboard for wscons - prompted by matthieu@. Whilst we're hereJoel Sing
remove entries that are irrelevant and clean up comments/indentation. ok miod@