summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2007-05-28avoid bypassing sys/queue.h in many places in the kernel.Pierre-Yves Ritschard
many assumptions were made about the way the various list types are implemented. lots of suggestions and help from otto and miod. ok otto@
2007-05-28pcn(4) works hereMartin Reindl
2007-05-27Move powerpc to vm_page_md, 'throw it in' kettenis@Dale Rahn
2007-05-27USB cleanup leftover. Diff from jsg@ tested by me.Marcus Glocker
2007-05-26missed this, remove bio here for move to sys/conf/GENERICTodd T. Fries
ok drahn@
2007-05-26Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@Pedro Martelletto
deraadt@ dlg@.
2007-05-26If booted from ADPT,2940U2B, root is on scsi.Dale Rahn
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-23Add code to spin up secondary cpu's; still work in progress.Mark Kettenis
prompted by deraadt@ a few times already.
2007-05-23Print real/available memory in MB as well as bytes in dmesg, and unifyPeter Valchev
architectures to print it the same way. ok henning, miod; i386 part from tom
2007-05-20lockmgr -> rwlock for piic(4), kiic(4) and smu(4);Thordur I. Bjornsson
smu(4) tested by kettenis@, ok krw@
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo de Raadt
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them)
2007-05-14Use value passed as in ca_reg as cpuid instead of unit number.Mark Kettenis
ok drahn@
2007-05-10The road to supporting bigendian openpic starts.Dale Rahn
2007-05-08correct dmesg outputTheo de Raadt
2007-05-08no need to print boot device name twiceTheo de Raadt
2007-05-08uninitialized variable passed to setroot()Theo de Raadt
2007-05-04make findblkmajor() and findblkname() MI; ok miodTheo de Raadt
2007-05-04setroot() was a ugly mix of MI and MD code, with different bugs on differentTheo de Raadt
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..)
2007-05-03Config file for MULTIPROCESSOR kernel.Mark Kettenis
2007-05-03Add dummy functions to make MULTIPROCESSOR kernels compile.Mark Kettenis
2007-04-24Firmware lies! Switching from LEVEL to EDGE triggered interrupt preventsGordon Willem Klok
storms. ok kettenis
2007-04-23rename drivers with numbers in them; ok gwk drahnTheo de Raadt
2007-04-23iqg -> irqGordon Willem Klok
spotted by miod
2007-04-22better interrupt names for vmstat -iz; ok miod gwkTheo de Raadt
2007-04-22Add sysbutton a driver for the 'System identifier' button found on theGordon Willem Klok
fornt panel of the xserve (the button with the triangle on it). This driver will dump you into ddb at the press of a button if the ddb.console sysctl is set. The bug still has one unresolved issue if ddb.console is not set and you press and hold the button you will cause a interrupt storm that will slow the system down. So if you keep your xserve near a toddler or you yourself are a toddler you might want to consider disabling this device remember buttons arn't toys. ok deraadt.
2007-04-22rename a very long driver name to something shorter, and more clearTheo de Raadt
and while there, fix the interrupt name for vmstat -iz; ok gwk
2007-04-21Fix the rcs tags.Gordon Willem Klok
2007-04-21Add blinkenlights(4) a driver to control the 16 leds found on the frontGordon Willem Klok
panel of the Xserve G4 and G5. The leds will provide an indication of the system load slowing as the load climbs, and system health e.g. no lights means its dead or in DDB. Split some of the shared registers and clock divisors from i2s into i2sreg.h while there nuke some evil C++ style comments. Man page to follow shortly. ok deraadt
2007-04-16macppcs can boot off usb disks, so treat "/usb" controllers in the ofw treeDavid Gwynne
as storage controllers. this lets ottos macppc root off the usb disk he booted off.
2007-04-13Timecounters for macppc. As clean and simple as sparc64. Uses the %tbMark Kettenis
special register. ok drahn@
2007-04-10Add support for a fourth axis on wsmouse devices, e.g. on the Apple MightMiod Vallat
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-04-03A fix for smp old world macs such as the 9500MP and 9600MP which lack theGordon Willem Klok
/cpus openfirmware node of the new world macs, and only have one cpu node. We look at a register of the memory controller called hammerhead for the arbitration bit being set indicating a two way machine. Quad processor old worlds made by e.g. Daystar Digital would require a different heurisitic. This heuristic comes from linux/netbsd. ok kettenis@ and drahn@
2007-04-02unmapiodev() takes the va as its first argument, not the pa.Mark Kettenis
ok gwk@
2007-03-31Make sure we not to match secondary cpu's on non-MP kernel. I accidentallyMark Kettenis
didn't commit this bit, so it is still ok drahn@, gwk@.
2007-03-31Detect secondary cpu's. Get rid of legacy ofroot code.Mark Kettenis
ok drahn@, gwk@
2007-03-29Enable acx(4) as it is finally working on bigendian boxes. OK deraadt@Claudio Jeker
2007-03-28disk addresses are in hex, not decimal. makes my LSILogic,sas@3/disk@13David Gwynne
correctly match target 19. ok deraadt@
2007-03-27grok LSILogic,sas controllers in bootpath; as well, become aware that (atTheo de Raadt
least) "scsi" controllers give a target/port number, not a kernel sd#. So, translate. We might later want to do the same translation for IDE as well, but perhaps not until after people test a bit more; ok dlg
2007-03-23Clean up the failure path of the attach routine, check the return value ofGordon Willem Klok
dbdma_alloc, and mapiodev, and some whitespace/long line cleanup. Tested on 9500MP and 9600MP. ok martin@
2007-03-22Move powerpc to __HAVE_MUTEX. With help from drahn@. Tested by nick@, xsa@,Mark Kettenis
deraadt@. "reads right" deraadt@
2007-03-22split userland & kernel struct sensor/sensordev so that the additionTheo de Raadt
of new fields in the future is less disruptive. This is done similar to how struct proc is handled for ps(1). ok jmc (man page changes) tested fkr simon, and more suggestions from millert
2007-03-20Move macppc to __HAVE_CPUINFO, and make locore.S and trap.c suitable forMark Kettenis
MULTIPROCESSOR. From now on sprg0 holds a pointer to struct cpuinfo, which is used to spill registers to during trap instead of the globals we used to use for that purpose. Bits and pieces from NetBSD. Help from drahn@ and art@. Tested by xsa@, thib@, miod@, gwk@, deraadt@. ok drahn@, gwk@
2007-03-20Spring cleaning: some whitespace, clean up the failure path in the attachGordon Willem Klok
routine, and check the return of the mapiodev, and dbdma_create functions. Tested on Power Macintosh 9500MP and a 9600MP. "the diff looks fine to me." dlg@
2007-03-17Make lcsplx() call spllower() instead of duplicating its code.Mark Kettenis
ok miod@
2007-03-14Make SMU sensors and fan control work on PowerMac8,1.Mark Kettenis
tested by Alastair Poole.
2007-03-13Drop the second and third arguments to adb_op_sync, for they are not used;Miod Vallat
while there, remove explicit global variable initializations to zero, and appease the gods by removing the most ludicrous spurious casts. No functional change (except for code shrinkage).
2007-03-04Invoke adb_cuda_autopoll() and leave polling mode after all initializationMiod Vallat
commands are set; also add a delay between adb_intr_cuda() and adb_soft_intr() while polling, as this seems to be necessary on some models; ok gwk@ drahn@
2007-03-01On the first generation iMac G5 (PowerMac8,1) the fans node is calledMark Kettenis
rpm-fans.