summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2007-11-04- Allocate the envsys_data_t structures dynamically, removing thextraeme
max limit. - Use kmem(9) to allocate the memory.
2007-11-03Follow plunky's changes:xtraeme
- Use CFATTACH_DECL_NEW and remove struct device from the softc. - Use aprint_*_dev(). - Use aiboost_refresh_sensors() for sme_gtredata.
2007-11-03Remove sysmon_envsys_find() proto, it's defined on sysmon_envsysvar.h.xtraeme
2007-11-03- Rename ENVSYS_BATTERY_STATE units to ENVSYS_BATTERY_CAPACITY andxtraeme
introduce ENVSYS_BATTERY_CHARGE, which is the same than an Indicator and it's used to know if the battery is currently charging or discharging. - Require two sensors at least for SME_CLASS_BATTERY to make the low-power condition work: a ENVSYS_BATTERY_CAPACITY plus ENVSYS_BATTERY_CHARGE. - Simplify sme_event_check_lowpower() and make it check the required sensors in the SME_CLASS_ACADAPTER and SME_CLASS_BATTERY classes. If the acadapter is not ready, trust the state returned by the battery device. Based on suggestion from joerg@.
2007-11-03Add support for Analog Devices AD1983 codec as found in Dell Optiplex 745.markd
2007-11-03'struct callout' => callout_tplunky
don't use callout_reset() do use callout_destroy()
2007-11-03switch devices to using CFATTACH_DECL_NEW()plunky
softc no longer contains 'struct device' by default use 'device_t' instead of 'struct device *' use device_xxx() accessor functions remove casting of 'xxx_softc *' & 'struct device *' use aprint_xxx_dev() routines
2007-11-02do not embed acpi device names in the sensor namesplunky
fake it in the compat code for the old envsys API
2007-11-02u_quad_t -> uint64_t as suggested by thorpej@.xtraeme
2007-11-02KNF, MALLOC -> malloc, u_intXX_t -> uintXX_t.xtraeme
2007-11-02Make bd_size and bv_size u_quad_t rather than size_t, for large RAIDxtraeme
volumes. Reported a while ago by mhitch@.
2007-11-01PR/37259 - Daniel Neri -- typo in EXAR XR17C158 descriptionjnemeth
2007-11-01Until I have a chance to further evaluate and re-work the locking here,bjs
change from an adaptive to spin mutex @ IPL_TTY. This seems to mitigate or eliminate a lot of locking-related issues (such as a hang when running glxgears under AIGLX). Tested by me and Vincent <10.50@free.fr>. In this code, we have three locks: irq, dma, and device. If anyone has any thoughts on how to improve this situation, e.g. by using different lock types/priorities/soft interrupts/etc. for different locks, please share them with me. NOTE: I've had the best results thusfar using Mesa 7.0.2-rc1 (r300 users could even try the r300 driver code from the master branch) and xorg-server 1.4+patches from GIT.
2007-11-01Fix some random LCD corruption on cobalt:tsutsui
- make sure to set HD_ROW1_ADDR before putting characters at the first line in hd44780_ddram_redraw() - use memmove(9) rather than bcopy(9) for possibly overlapped copies
2007-11-01Implement support for drvctl in RAIDframe. Thanks to jnemeth@ foroster
initial patch.
2007-10-31PR/37251 - Brian Buhrow -- FORCE_LBA48 on seagate drives larger then 1TBjnemeth
2007-10-30regenxtraeme
2007-10-30Erm fix previous, it's Intel IOP333 not 332.xtraeme
2007-10-30regenxtraeme
2007-10-30Add Intel IOP332 A/B Segments.xtraeme
2007-10-30Add another Dell machine where the head phone event needs to be handled.joerg
2007-10-30regenxtraeme
2007-10-30Areca ARC SATA RAID Controllers, from OpenBSD.xtraeme
2007-10-30PR/37201 - Yasushi Oshima -- Intel 82965G chipset supportjnemeth
2007-10-30regenjnemeth
2007-10-30PR/37201 - Yasushi Oshima -- Intel 82965G chipset supportjnemeth
2007-10-30Some space-to-tab changes.simonb
XXX: All the recently added ich8 support functions use 4-space indent, not touching that...
2007-10-29wsdisplay has been converted to device_t/softc separation so we can't castpeter
the wsdisplay device to the wsdisplay_softc anymore. Use device_private() instead to get the softc.
2007-10-29Fix problem where targets with ID 0, 1, or 2 couldn't be reconnected.itohy
It seems I have always tested with targets those ID >= 3, and that I am the only user of this driver.
2007-10-28remove unnecessary cast (shortens long line)plunky
2007-10-27When no estimate of battery minutes_left can be made, apm shouldplunky
return a value of 0.
2007-10-25remove #include <usbhid.h> as its not neededplunky
2007-10-25Add a new convenience function, of_find_firstchild_byname(), and applygarbled
some minor KNF to this ofw_subr.c.
2007-10-25Remove a completely bogus check if cbb has a valid PCI interrupt routed.joerg
If you have a system where it doesn't get one and you still want pcic, you can just disable cbb. This check is invalid as soon as the PCI interrupt register is not used and broke on my Dell Latitude for that reason.
2007-10-24regenxtraeme
2007-10-24- Add support for the ServerWorks HT-1000 IDE Controller in rccide.xtraeme
- Add support for another ServerWorks HT-1000 SATA Controller. From OpenBSD.
2007-10-24Pass correct argument to callback, botched up in the last commit.joerg
2007-10-23Use a flag for see_flags to know when the sensor has been refreshedxtraeme
rather than using a boolean. Suggested by rmind.
2007-10-22Also convert detach function.joerg
2007-10-22Convert to device_t/softc split and aprint usage.joerg
2007-10-22Regenmanu
2007-10-22Add support for Marvell 88CO55. Newer iMacs come with that chip.manu
2007-10-22Correctly initialise sc_insert_ch and switch tojoerg
callout_setfunc/callout_schedule.
2007-10-22regennisimura
2007-10-22PCI ID 10b5.9030 and 10b5.5201 are for PLX I/O accelerator productnisimura
model 9030 and 9050/9052. They work a functional bridge to host any kind of I/O devices. The exact product type can be identified via VPD (vital product ID) PCI configuration registers if they are programmed by the particular PLX I/O accelerator applications. Otherwise, it's not possible to distinguish which kind of function is implemented inside.
2007-10-21Fix a number of driver which doesn't check wep flag in *_tx_mgt.degroote
It is incorrect because we need to encrypt some management frame in case of shared authentification.
2007-10-21802.11 header may have different sizes. Deals correctly with this.degroote
2007-10-21Use AAC_PREALLOCATE_FIBS with the softc as a parameter to catch up withbriggs
revision 1.10 of aacvar.h.
2007-10-20Preallocate all of our FIBs. This needs more work, but currently avoidsbriggs
a case where we could need more FIBs and try to allocate them inside an interrupt handler, which is sub-par--a problem pointed out ages ago by ad@.
2007-10-20performance fix: in the workqueue handler only refresh the sensor once,xtraeme
not multiple times for the same sensor and clear its state after all events were processed.