summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-05-01The built-in frame buffer in models 362 and 382 actually comes in differentMiod Vallat
flavours. Add another frame buffer ID to recognize it, so that it gets skipped correctly. I am quite sure it has an SGC PROM in addition to the DIO PROM, but I don't have the hardware to check...
2008-05-01Don't forget to bus_space_unmap() after probing for a com chip.Miod Vallat
2008-05-01Implement a nop IPI to signal other CPUs.Mark Kettenis
ok drahn@
2008-04-30Spacing.Mark Kettenis
2008-04-30Fix typo in last commit.Mark Kettenis
2008-04-30Initialize randseed to 1.Mark Kettenis
2008-04-30fix serial console handling on amd64. currently only glass console everDavid Gwynne
works, even if the boot loader is configured to use serial console. after the changes jsing and i made, the initial probe of the serial port was failing since the default base addres for the port is invalid. cos of that the kernel would only ever consider the glass console for use. this fixes it by reprobing the serial port if we get any config for it from the boot loader. advice on aesthetics from miod@ advice and ok from kettenis@
2008-04-29Attempt to locate an ELF header and symbol table directly after the kernel.Joel Sing
If it exists assume that the boot loader has provided a pointer to the end of the symbol table. If it does not exist fall back to the previous behaviour and expect that pointers to the symbol table have been provided directly after the kernel. ok miod@
2008-04-29enable km(4); ok deraadtConstantine A. Murenin
2008-04-29remove noise, (debug print).Dale Rahn
2008-04-29PIR is not defined to be a writable register, do not use it.Dale Rahn
2008-04-29Spin up secondary CPUs on more systems.Dale Rahn
2008-04-29spillstk and ddbstk need to be per cpu. Found by kettenis@Dale Rahn
2008-04-28Convert IPL_TTY into IPL_SOFTTTY when establishing soft interruptsi, like weMark Kettenis
do on other platforms.
2008-04-28Rename IPL_SOFTSERIAL to IPL_SOFTTTY. Sprinkle some KNF while I'm there.Mark Kettenis
2008-04-28Rename IPL_SOFTSERIAL to IPL_SOFTTY and rename the associated symbols.Mark Kettenis
Remove IPL_SERIAL since it is unused. ok krw@, weingart@, deraadt@
2008-04-28Sync PCI ids.Brad Smith
2008-04-27replace ctob/btoc by ptoa/atopMartin Reindl
2008-04-27add acpithinkpad(4), an acpi support driver for ibm/lenovojoshua stein
thinkpads. provides functionality that the bios did on older, non-acpi thinkpads like respond to screen brightness keys and toggle the bluetooth device on and off. ok deraadt@ and marco@
2008-04-27FPU/Altivec cleanup and prep for SMP.Dale Rahn
2008-04-27Switch to proc based ast pending for SMP. ok kettenis.Dale Rahn
2008-04-27Add gecko(4), a driver for the GeckoBOA BC GSC+ port.Mark Kettenis
2008-04-27Move hppa to __HAVE_GENERIC_SOFT_INTERRUPTSMark Kettenis
2008-04-26Changes to get closer to SMP.Dale Rahn
add biglock before interrupt calls into the kernel. switch the clock to using cpuinfo variables instead of globals move cpu_switchto into C code so that on multiprocessor the FPU and Altivec can be saved before switching CPUs. add a lock into pmap when modifying the hash table.
2008-04-26Remove softast; it's no longer used.Mark Kettenis
ok krw@
2008-04-25Make ipending per-cpu. Should fix PR 5788.Mark Kettenis
ok weingart@
2008-04-25When allocating an interrupt 'slot', always check all slots to see if weMark Kettenis
already allocated a slot for a particular apic pin. ok weingart@
2008-04-25Pretty dmesg output on attach and error handling.Xavier Santolaria
Prodded by deraadt; ok dlg derradt
2008-04-25neccessary -> necessary; from Pierre RiteauJason McIntyre
2008-04-25the code that parses arguments from the boot loader on amd64 wasnt checkingDavid Gwynne
what type of console was specified, so when a glass console was used it was still configuring serial bits. this makes it so serial config only occurs for serial console devices. found by jolan@, thib@, and maybe sthen@ sorry guys
2008-04-24oops. unbreak build by removing the #include for amd8131reg.hThordur I. Bjornsson
2008-04-24move the register defines from amd8131reg.h into aapi.c,Thordur I. Bjornsson
seems silly to have a seperate .h file for 4 defines. nuke the NetBSD __KERNEL_RCSID macro while there, we have that rcsid at the top of the file... ok toby@, brad@
2008-04-24Introduce acpiasus(4), a driver for the ACPI based hotkeys found in manyJoel Sing
ASUS laptops (including the ASUS EeePC) - largely based on NetBSD's asus(4) driver. On the ASUS EeePC this allows us to enable/disable wireless, change screen brightness and use the volume keys. ok jsg@, weingart@
2008-04-24Remove variables that are no longer used to specify the serial console.Joel Sing
ok dlg@
2008-04-24Unbreak IP30 serial console.Joel Sing
ok dlg@
2008-04-24allow amd64 to use serial ports other than com0 as the console. previouslyDavid Gwynne
it was stuck to com0 no matter what the boot loader told the kernel. this relies on the com diff jsing just committed.
2008-04-24Cleanup serial console handling and remove some of the MD code from com.c.Joel Sing
Specify the serial configuration from within the MD code, rather than passing things via macros. This will allow other platforms to more readily change the serial console configuration. Committing this so it actually gets tested. ok dlg@
2008-04-23Call sched_init_cpu() for all but boot processor. ok kettenis.Dale Rahn
2008-04-22Works better, but still needs debug on to work..Theo de Raadt
2008-04-21Work in progress at supporting the Mentor Graphics i2c core found inTheo de Raadt
the Fire pcie hostbridge. Fairly horrid device to deal with.
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2008-04-20Try to reset the machine through the firmware to reboot.Mark Kettenis
2008-04-20Sync with hppa code.Mark Kettenis
2008-04-20Add missing function declaration.Mark Kettenis
2008-04-20Print bootpath in the canonical place.Mark Kettenis
2008-04-20Bring over astro(4) from hppa, to replace pluto(4).Mark Kettenis
2008-04-20Add proper bus_space_vaddr(9) impementation.Mark Kettenis
2008-04-20Catch up with cpu_switchto. Completely untested.Mark Kettenis
2008-04-20Catch up with dismantled libkern.Mark Kettenis
2008-04-20crank maxusersMark Kettenis