Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
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..)
|
|
|
|
|
|
storms.
ok kettenis
|
|
|
|
spotted by miod
|
|
|
|
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.
|
|
and while there, fix the interrupt name for vmstat -iz; ok gwk
|
|
|
|
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
|
|
as storage controllers.
this lets ottos macppc root off the usb disk he booted off.
|
|
special register.
ok drahn@
|
|
Mouse. Currently limited to USB mice.
Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
|
|
|
|
/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@
|
|
ok gwk@
|
|
didn't commit this bit, so it is still ok drahn@, gwk@.
|
|
ok drahn@, gwk@
|
|
|
|
correctly match target 19.
ok deraadt@
|
|
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
|
|
dbdma_alloc, and mapiodev, and some whitespace/long line cleanup.
Tested on 9500MP and 9600MP.
ok martin@
|
|
deraadt@.
"reads right" deraadt@
|
|
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
|
|
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@
|
|
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@
|
|
ok miod@
|
|
tested by Alastair Poole.
|
|
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).
|
|
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@
|
|
rpm-fans.
|
|
|
|
Tickling the SMU when we don't set the fans running is bad since this
prevents the fans to spin up automatically causing the machine to overheat.
|
|
mpf@ on pppoe; drahn@ ok
|
|
Aaron Linville <aaron@linville.org> in PR 5398.
|
|
and is he trying to emulate them?
|
|
|
|
if we attempt to clear the wake on ac loss bit just before shutting down it
yo-yo's found by claudio@, tested by drahn@ on early imac, and myself on
a 9600.
ok drahn@
|
|
machine for the purposes of printing model information durring boot and
the hw.vendor/product sysctls. Turns out the apple didnt use the same
format in the early imacs as they did in the latter new world machines
resulting in NULL strings as found by drahn@. In this case and all future
cases where we dont understand the format the default is to print whats
found in the name property without interpertation.
ok drahn@
|
|
rt and such; tested and ok miod drahn
|
|
Apparently some machines don't detect a clean (i.e. software initiated)
shutdown; and ignore the 'wake on AC loss' bit, meaning they wake up
immediatly after being told to shutdown e.g. via shutdown -hp.
So now we continue preserve the wake on AC loss behaivour, howerver if we
initiate a clean shutdown we clear this bit so that it the machine does not
immediately power back up again.
ok kettenis@
|
|
for a bare FAT12/16/32 filesystem. If one is found, spoof it as 'i'.
This enables iPod shuffles and other umass devices that are shipped
with a bare FAT32 filesystem to be used as install media. And
generally makes things easier for the user just trying to mount some
media, e.g. floppies.
Does not make it safe to write a disklabel or MBR on such a device!
That will still obliterate the FAT filesystem.
Help and suggestions from tom@ and deraadt@. Feedback and suggestions
for future enhancements from espie@ mickey@ and peter@.
ok tom@ deraadt@
|
|
|
|
the openfirmware tree as found in old world macs. Also utilize the
compatible property to print nice model information in the dmesg
and the sysctl hw.vendor/product fields.
mainbus0 (root): model Power Macintosh 9500
hw.vendor=Apple Computer, Inc.
hw.product=Power Macintosh 9500
Note this is from a 9600, this information will reflect the architecture in
this case both the 9500 and 9600 are from tsunami architecture and differ
only in the processor daughtercard.
Tested by myself and martin@ on old world machines, and by martin@ on
a new world.
ok martin@, drahn@
|