Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-12-04 | Introduce a new pci routine, pci_conf_size(), which returns the size of a | Miod Vallat | |
given pcitag_t configuration address space. Currently, all pci controllers will return the usual 0x100 bytes of PCI configuration space, but this will eventually change on PCIe-capable controlers. ok kettenis@ | |||
2010-10-14 | Move glxpcib(4) to MI land unifying the two MD drivers. | Paul Irofti | |
Specific features of the companion chip will be handled in MD land. Okay deraadt@. | |||
2010-09-24 | Fix bus space mapping bugs for GPIO's and MFGPT's and while at it add proper | Paul Irofti | |
defines for the constants used while mapping. Okay miod@, deraadt@. | |||
2010-09-23 | Move clock attachment later in the game. This is needed for cpu scaling. | Paul Irofti | |
Okay miod@. | |||
2010-09-21 | Watchdog suspend/resume logic. | Paul Irofti | |
Okay miod@, deraadt@. | |||
2010-09-20 | Get rid of evcount's support for arranging counters in a tree | Matthew Dempsky | |
hierarchy. Everything attached to a single root node anyway, so at best we had a bush. "i think it is good" deraadt@ | |||
2010-09-20 | Must travese deeper for DVACT_QUIESCE; ok miod | Theo de Raadt | |
2010-09-09 | Sync suspend logic with current practice, and try to handle failure | Miod Vallat | |
consistently; discussed with pirofti and deraadt. | |||
2010-09-08 | No need for vfs_syncwait() in a bufq_quiesce() world | Theo de Raadt | |
ok thib kettenis | |||
2010-09-07 | rename function parameter to be more like all the others in the tree | Theo de Raadt | |
2010-09-07 | Restore msr unconditionnaly, why bother checking if they have changed; deraadt | Miod Vallat | |
2010-09-07 | Join the cf_activate() crowd and preserve a few msr around suspend. | Miod Vallat | |
2010-09-07 | remove the powerhook code. All architectures now use the ca_activate tree | Theo de Raadt | |
traversal code to suspend/resume ok oga kettenis blambert | |||
2010-09-01 | Clean-up the spl dance around suspend/resume. Okay miod@. | Paul Irofti | |
2010-08-31 | Do wsdisplay suspend/resume and also the bufq dance. | Paul Irofti | |
Reminded by oga@, okay deraadt@. | |||
2010-08-31 | Correctly enable wakeup interrupts after splhigh(). | Miod Vallat | |
2010-08-31 | WIP suspend/resume support for loongson lemote. Okay miod@. | Paul Irofti | |
2010-08-30 | Change powerhooks into activate functions, and provide stub powerhook | Theo de Raadt | |
functions ok kettenis | |||
2010-08-27 | screen blanking code for SM502, and some smfb code cleanup. | Miod Vallat | |
2010-08-26 | Screen burner support for SM712 flavour (Lemote Yeeloong) | Miod Vallat | |
2010-07-31 | Factorization of the bluetooth and usb hid input driver logic, to reduce code | Miod Vallat | |
duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests. | |||
2010-07-18 | Repair Gdium support. | Miod Vallat | |
2010-05-08 | Huge work-in-progress commit to support Loongson 2E-based evaluation boards | Miod Vallat | |
with a VIA 686 southbridge. Features: - 686 setup code (no thanks to PMON for not initializing the beast). - work in progress ISA interrupt handling code. - support for vga(4) compatible devices as console, in PC-compatible text mode. - move legacy (ISA) support code out of bonito(4) to make things clearer. - support more than 256MB on 2E-based systems. Tested on a generic 2E-based evaluation board by someone who wishes to remain anonymous; you know who you are, thank you very much for testing. | |||
2010-04-21 | more cleanup to cope with the change that tries to make proc.h not act | Theo de Raadt | |
like it is everything.h ok tedu | |||
2010-03-08 | When sensor update fails, set SENSOR_FINVALID in sensor->flags; | Miod Vallat | |
from cnst, thanks! ok otto@ | |||
2010-03-07 | Better battery % computation; ok otto@ | Miod Vallat | |
2010-03-03 | supply apm(4) with infomation and events; ok miod@ | Otto Moerbeek | |
2010-03-02 | Actually prefer PCIHI mappings to PCILO mappings, as the early console code | Miod Vallat | |
attempts to map resources without bothering to know their size. I should probably be more careful and do the BAR dance to get the BAR size, but then at this point we are reusing mappings set up by PMON, and it's ok to trust it. This would only have ever become an issue with a framebuffer larger than 64MB mapped at PCIHI with a PCILO mapping overlapping the first few 64MB anyway. | |||
2010-03-02 | remove never changing values (design capacity, design voltage) from sensor | Otto Moerbeek | |
info; ok miod@ | |||
2010-03-02 | Use the battery controller bit that signals the battery almost empty | Otto Moerbeek | |
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. | |||
2010-02-28 | Minimal frame buffer driver for the SiS 315 found on Lemote Fuloong systems. | Miod Vallat | |
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) | |||
2010-02-28 | A better bus_space_map() function for bonito PCI memory space, which no | Miod Vallat | |
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. | |||
2010-02-28 | Add a bell routine and let pckbd and ukbd use it; ok otto@ | Miod Vallat | |
2010-02-28 | Bring battery life estimate when charging in line with most other apm(4) | Otto Moerbeek | |
devices. Original code was inspired by/copied/stolen from the macppc apm(4), which has different semantics for battery life while charging. | |||
2010-02-28 | don't guess info in the absense of a specific driver, just report | Otto Moerbeek | |
"we dont' know" | |||
2010-02-28 | Basic apm(4), providing battery/power status and events. apm(4) is the | Otto Moerbeek | |
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@ | |||
2010-02-26 | Subdevice interrupt dispatcher for voyager(4) and ohci@voyager device, only | Miod Vallat | |
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. | |||
2010-02-24 | Update comments: the bit we flip in ISR4C on LS2F systems is not undocumented, | Miod Vallat | |
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 (-: | |||
2010-02-24 | Minimal support for the ST7 chip found on Gdium Liberty, brings us battery | Miod Vallat | |
information and a few other things not yet wired. | |||
2010-02-24 | Force write posting after changing GPIO pin status. | Miod Vallat | |
2010-02-24 | Fix read/write logic to not rely upon M41T8X_TOD_START being zero. | Miod Vallat | |
No functional change. | |||
2010-02-24 | fix scaling of battery current | Otto Moerbeek | |
2010-02-24 | spacing | Theo de Raadt | |
2010-02-23 | switch to simple indicators instead of playing string games; prompted | Otto Moerbeek | |
by deraadt@ | |||
2010-02-23 | ykbec(4), a driver to read fan, temperature and battery status using | Otto Moerbeek | |
the kb3310b embedded controller chip on the yeeloong. With help & ok miod@ | |||
2010-02-23 | Allow CPU->PCI access in a subset of the `high' bonito pci memory space | Miod Vallat | |
(1GB@1GB); that's the best we can do on 2F due to the way the crossbar windows work. Necessary for upcoming Fuloong2F changes. | |||
2010-02-23 | only match on Gdium; ok miod@ | Otto Moerbeek | |
2010-02-19 | Add built-in audio support on Lemote systems. | Miod Vallat | |
2010-02-19 | Add a driver for the M41T8x time-of-day clock chips, such as the M41T83 | Miod Vallat | |
found on the Gdium Liberty. These machines finally no longer complain about a missing todclock. | |||
2010-02-18 | Add a master driver for the VoyagerGX SM502 chip found on the Gdium, which is | Miod Vallat | |
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. |