Age | Commit message (Collapse) | Author |
|
condition to determine crtical status for the sensor and apm. This makes
the critical status correspond to the flashing red battery led.
Furthermore, use ISSET macros and friends.
|
|
- properly spell 'usefulness'
|
|
for the interrupt. Makes the vmstat -i output similar to what we see on
i386.
ok deraadt@, krw@
|
|
|
|
handlers now checks that the spl the isr was established at is the same as
the one passed to splassert. this lets you check that isrs dont enter code
that have insufficient protection if entered from process context.
ok kettenis@
|
|
and get interrupts by otto@, no further testing due to lack of IR devices.
|
|
Currently unable to change video modes or provide any form of acceleration,
so you are stuck in a 640x400x8 mode, but at least people scared of serial
consoles will get a chance to use their Fuloongs now.
Tested by otto@ (early developments) and jasper@ (final version)
|
|
longers assumes all requested mappings fit in the three 64MB PCILO windows,
but will instead check whether the requested mappings can be provided by
PCILO regions or PCIHI regions (and on 2F-based systems, making sure we
only use addresses which get properly routed from CPU to PCI within the
2F crossbar).
This in turn requires early console code to abide the bus_space rules and
get its resources from bus_space_map() rather than doing PCI BAR arithmetic
by itself.
No functional change on Lemote Yeeloong and Gdium Liberty; on Lemote Fuloong
2F this allows BAR set up in PCIHI space by PMON to be mapped by kernel code
without having to compensate for the PCILO offset.
|
|
|
|
ok marco deraadt
|
|
processors can display correct data. Now cpu1 on octane is correctly
reported in dmesg.
|
|
|
|
be decoupled from the nominal processor speed.
While there, make sure delay() gets a proper delay constant if invoked before
cpu0 attaches (how could I miss that when introducing struct cpu_hwinfo?!?)
|
|
|
|
devices. Original code was inspired by/copied/stolen from the macppc
apm(4), which has different semantics for battery life while charging.
|
|
"we dont' know"
|
|
generic part, ykbec(4) provides the device specific parts. Other
battery/power status drivers can easily hook to adb(4). With help
from miod@; ok matthieu@ miod@ jasper@
|
|
anyway, it's not worth fixing. Bump version number.
ok deraadt@
|
|
buffer cache first, so that all sorts of gibble doesn't end up on the disk.
ok kettenis (for the sparc/sparc64 ones, at least)
|
|
|
|
|
|
just not there.
ok jakemsr@ drahn@
|
|
Why this code, which must be executed, is not failing on disk is an utter
mystery. More investigation needed.
|
|
allowed to match on old gdium artwork, as newer artwork have nothing
connected to the usb pins, and this causes the empty bus probe to stall the
boot a few seconds.
|
|
but documentation for it only exists in Chinese. I still don't have the
slightest idea why flipping it is important, but I am more confident flipping
it now (-:
|
|
information and a few other things not yet wired.
|
|
|
|
No functional change.
|
|
|
|
|
|
by deraadt@
|
|
ok oga@, pirofti@
|
|
the kb3310b embedded controller chip on the yeeloong. With help & ok miod@
|
|
(1GB@1GB); that's the best we can do on 2F due to the way the crossbar
windows work.
Necessary for upcoming Fuloong2F changes.
|
|
|
|
timecounter.
|
|
where jumping to the "standard" video BIOS entry point locks up or even
resets the machine. This will break resume on some other machines in the
sense that the display on them will remain disabled. But hopefully those
machines make it into a state where the kernel is running and we can fix that.
ok deraadt@, marco@, mlarkin@
|
|
the preprocessor.
|
|
- remove some '//' commented code
ok ratchov, kettenis, edd
|
|
|
|
isn't currently doing so. Fixes hangs on large data transfers.
|
|
if it fires.
|
|
messages are usually lower case (exceptions are manufacturer codenames
as "Pentium" or "Horse").
|
|
|
|
(auglx.c is not modified in this commit yet, only moved around)
|
|
|
|
|
|
found on the Gdium Liberty. These machines finally no longer complain about
a missing todclock.
|
|
not only a framebuffer. Allow smfb to attach either at pci or at voyager.
Add gpio@voyager and gdiumiic@gpio, a derivative of the MI gpioiic driver.
This allows us to get lmtemp@iic on the Lemote; the next step being to
write a driver for the i2c todclock chip found on the same bus.
|
|
side effect, this change makes displayed messages shorter.
miod@ has observed that `Horse' is the codename of the chip, which
gets paired with a `Saddle' companion chip. there is one hose
(i.e., bus) per chip; others (`Tsunami') have two hoses per chip,
or even four (`Typhoon'); so, `Horse' is not really a typo.
written with clever advice from krw@ and miod@
miod@ has suggested the capitalization for `Saddle'.
ok krw@, miod@
|