summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-11-27add rcs idJasper Lievisse Adriaanse
"feel free to do so" jsing@
2007-11-27ARGH. Work has poisoned my mind. KNF the braces.Artur Grabowski
2007-11-27Unify amd64 and i386 code further; ok oga kettenisTheo de Raadt
2007-11-27Initial support for the SGI Graphics Back End (GBE) frame buffer found inJoel Sing
SGI O2 machines. We currently rely on the video hardware being initialised by the ARCS firmware and can only use the initial resolution with a colour depth of 32 bits. This driver is disabled by default. ok miod@
2007-11-27Add BUS_SPACE_MAP_LINEARJoel Sing
ok miod@
2007-11-26Like i386 - make the __mp_lock not spin at splhigh.Artur Grabowski
deraadt@ ok
2007-11-26First step towards unifying pchb between i386 and amd64Theo de Raadt
Light testing, mostly mechanical
2007-11-26Ooops. The perils of hacking in three different trees.Artur Grabowski
Make this compile on !MULTIPROCESSOR noticed by jasper@
2007-11-26Move the implementation of __mp_lock (biglock) into machine dependentArtur Grabowski
code. At this moment all architectures get the copy of the old code except i386 which gets a new shiny implementation that doesn't spin at splhigh (doh!) and doesn't try to grab the biglock when releasing the biglock (double doh!). Shaves 10% of system time during kernel compile and might solve a few bugs as a bonus. Other architectures coming shortly. miod@ deraadt@ ok
2007-11-26correct newlines surrounding the sub-bus configuration, and unifyTheo de Raadt
pchb's further ok reyk oga
2007-11-26fix new agp code on amd64Reyk Floeter
- internal intel graphics semi-agp chipsets need special handling in pchb.c - re-add the i965GM device - use the correct major device id for /dev/agp0 on amd64 (not the i386 one) ok deraadt@
2007-11-26few more dribbles of LIBKERN cleanupTheo de Raadt
2007-11-26Fix some style(9) issues.Joel Sing
ok miod@
2007-11-26More LIBKERN bits that go awayTheo de Raadt
2007-11-26another LIBKERN that stayed behindTheo de Raadt
2007-11-26Remove libkern.Joel Sing
ok deraadt@
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-11-26a bit more LIBKERN falloutTheo de Raadt
2007-11-26adjust to libkern changes (and pretty .PATH logic); parts from majaTheo de Raadt
2007-11-26few mails later, miod asks me to waitTheo de Raadt
2007-11-26the bcopy() found here was not handling overlapping. Merge it nicely withTheo de Raadt
the ovbcopy() code ok miod
2007-11-25Unbreak make obj. -mojMats O Jansson
2007-11-25typo; ok miod@Martynas Venckus
2007-11-25we want strlen.cMartin Reindl
2007-11-25libkern, begone. Move to a new mechanism where config(8)'s "file"Theo de Raadt
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner..
2007-11-25Make agp attach as a device. This means that many more agp bridgesOwain Ainsworth
actually get detected and attached. Also adds a kernel api for manipulating agp. Enable this on i386 and amd64. "I think you should commit it" deraadt@, ok matthieu. Looked over by several others.
2007-11-25spelling fixes, from Martynas Venckus;Jason McIntyre
2007-11-25new files for acpiapm switcherTed Unangst
2007-11-25fake out the apm device to switch between apm and acpi on i386. nowTed Unangst
a single device node will talk to the right kernel code automatically. ok deraadt
2007-11-25Enable et/etphy now it can pass packets both ways.Jonathan Gray
2007-11-25It helps if you initialise timeouts before you try using them...Joel Sing
ok miod@
2007-11-25Get rid of the kernel 'libcompat' framework, and instead use conf/files toTheo de Raadt
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options.
2007-11-25Add entries for the Transmeta Efficeon CPU to the CPUID table.Tom Cosgrove
Without this we think it's an 80386-compatible, which is no longer supported. Problem found, and solution tested, by Anders Langworthy (anders (at) psilanthropy (dot) org); thanks. Initial suggestion for fix by Travers Buda (traversbuda (at) gmail (dot) com). ok deraadt@
2007-11-25When available and ACPI is enabled use the ACPI reset methodJonathan Gray
to reboot. This is required for some quirky sis machines and likely others to reboot. Tested by many. 'commit early commit often' deraadt@
2007-11-25Give the CarBus side of CardBus-PCI bridges a bus number, since OpenFirmwareMark Kettenis
doesn't do it for us.
2007-11-24make ALTENTRY() use _C_LABEL() for the 2nd argument, and adjust callersTheo de Raadt
ok miod
2007-11-24Recognize the wait r5k instruction in ddb and use it in cpu_idle_cycle.Miod Vallat
ok jsing@ a while ago (and this diff is much much older)
2007-11-24Fix a stupid underscore bug in memory area computations in the cache functions,Miod Vallat
it's amazing things didn't break.
2007-11-24Some macppc models (e.g. the 1.5 GHz G4 MacMini) have a large clock driftMarc Balmer
which is due to the timecounter running at a different frequency than what OpenFirmware tells us. On such machines, measure the actual timecounter frequency (triggered by a table of affected models) and use this measured value instead. This brings down the drift to values where adjtime()/adjfreq() triggered by ntpd(8) can tame the clock. feedback many, ok miod, kettenis
2007-11-24Be sure to program the busswitch interrupt selection register on 197SPMiod Vallat
and 197DP to route interrupts to the processor we're booting on. This allows a 197DP to run when booting from the second cpu.
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-11-24enable PCIAGP on amd64, tested for some time now by various peopleReyk Floeter
ok tedu@ oga@
2007-11-24Do not mark any page as global on monoprocessor kernels if running on aMiod Vallat
88110, to avoid snooping notification bus cycles, as recommended by the manual.
2007-11-24Slightly faster cache flushing operations on MP systems.Miod Vallat
2007-11-22Split the cmmu code routines into single 88110 (MVME197LE) and 88110+88410Miod Vallat
combos (MVME197SP/DP), and implement supposedly smarter cache routines. There is still room for improvement, however, cache flush operation errata permissing. Tested on 197LE and 197DP.
2007-11-22Introduce an inline function to skip an instruction on 88110 and use itMiod Vallat
whenever necessary, instead of duplicating the same code 10+ times.
2007-11-22A decent workaround for errata #16. I have verified it gets triggered, theMiod Vallat
hard way.
2007-11-22Do not reenable interrupts for netsted interrupts if interrupts wereMiod Vallat
previously disabled on 88110, similar to a recent 88100 fix.
2007-11-22Do not bother saving the fault address registers if the fault statusMiod Vallat
registers are empty, to speed up a bit non-fault traps.