summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2002-03-24Sync most Cyrillic names with X11 keysym names.uwe
2002-03-24Prototype ACPI Control Method Battery driver.sommerfeld
ACPI defines two different battery device interfaces: "Control Method" batteries, in which AML methods are defined in order to get battery status and set battery alarm thresholds, and a "Smart Battery" device, which is an SMbus device accessed through the ACPI Embedded Controller device; this driver knows how to attach to the former sort of device. As a total kludge, since we haven't wired things up to sysmon/envsys yet, we report battery status through a once-per-minute kernel printf, so don't use this driver yet if you want your disk to spin down. Motivated by and tested on Sony PCG-R505TL laptop, which has nonfunctional APM. configure as: acpibat* at acpi ? Sample output: acpibat0 at acpi0: ACPI Battery acpibat0: Sony Corp. LION acpibat0: Design 38480mWh, Predicted 38480mWh Warn 120mWh Low 0mWh acpibat0: discharging: 15112mV cap 25480mWh (66%) rate 16849mW ... acpibat0: discharging: 15224mV cap 25070mWh (65%) rate 18405mW ... acpibat0: discharging: 15200mV cap 24310mWh (63%) rate 13771mW ... acpibat0: charging: 15768mV cap 23330mWh (60%) rate 20388mW
2002-03-24Add acpi_eval_struct, to evaluate a complex data structure.sommerfeld
#if 0-out a half-fixed acpi_eval_string() and #if 0 the only call to it. (Previous code referenced an uninitialized local variable and couldn't have possibly worked).
2002-03-23Add wait-for-ready code between setting MCE and changing data format,itohy
which is required by OPL3-SA2 (YMF711) chip. Fixes PR kern/14819.
2002-03-23Call rlreset() per controller, not per disk.ragge
Be more informative about the state of the disk (locked, unloaded etc...) Send NULL as proc pointer to bus_dma_load if B_PHYS is not set. Break out softc's from rl.c to rlvar.h for inclusion elsewhere.
2002-03-23whitespace and folding fix.kent
2002-03-23Decrease UAUDIO_NFRAMES: 20 -> 10kent
This change eliminates noise of 6ch audio.
2002-03-23Change devinfo definition and make devname initialization correctly.taca
Those changes are referring with uplcom.c. I've checked with SUNTAC U-Cable type P1 that it responed to AT commands.
2002-03-23add WinFast VC100hamajima
2002-03-23Remove FreeBSD RCSID.gmcgarry
2002-03-22kern/16014- if we do an 'mt offline', make sure we've allowed the tapemjacob
to be ejected (PR_ALLOW). This got nuked in a previous change.
2002-03-22iadd subclass codes from the 2.3 specdrochner
2002-03-22Fix some handle/tag confusion. This makes it compile on sparc64 again.martin
Since sparc ignores tag's (/brick sparc) this slipped through when testing on sparc.
2002-03-22Bring the daic driver into the new ISDN world order.martin
Enable active card support in the ISDN subsystem. (Had been disabled since it couldn't be tested before.)
2002-03-22Handle Port Unavailable the same as Port Logout (i.e., send a LIP).mjacob
Unconst pointer to f/w in the ispdv structure. Too many compilers get unhappy over our walking the array. Make casts as appropriate so that initialization in structure is still happy. Limit length of fabric to 256. This will all go away soon. Do a cleaner case of keeping multiple CPUs/threads from reading the same response queue entries.
2002-03-22Cast for now non-const in ispdv structure.mjacob
2002-03-22Forced commit so that some more detail on the previous patches can bemjacob
inserted into comments. I really think that more testing was required, but Christos was eager. + Add in tape block/file position reporting support. + Change the prevent/allow ejection code so that if the device is close the tape can be ejected. This allows robots to eject the tape even if the tape isn't at BOT. + Don't do a null filemark write if we're reading block position. This was such an abysmal performance killer that it had to go. Assume that the tape will DTRT and tell you what the tape position really is including any buffered data. You are depending on the tape to do the right thing to report position at all, so the risk factors don't increase appreciably here. BTW- we only do this for logical block position. For 'hardware' block position, we still flush. + Some substantial tweaking in st_interpret_sense. This essentially duplicates the FreeBSD driver's exception handling code. This is to try and correctly handle EOM cases. I'm not sure that this is now correct with respect to the ENABLE EARLY WARNING code- I hadn't gotten around to validating that. Add in full 32 bit residuals- this can then be available to an update MTIOCGET in the future. + Make sure we handle SKEY_VOLUME_OVERFLOW correctly.
2002-03-22Fixed a possible overflow bug in the timeout calculation.fredette
2002-03-22Changed some preprocessor tests for SUN4 to test for !SUN4Ufredette
instead. Now this file can be used by the sun2 port.
2002-03-22Added Sun common kbd_reg.h, kbio.h, and vuid_event.h files.fredette
2002-03-21Do not even bother trying to use the mappings provided by the PROM.eeh
2002-03-21Apply a patch by Mark Davies.kent
http://mail-index.netbsd.org/port-i386/2002/03/18/0000.html Check codec status in auich_read/write_codec().
2002-03-21I have Prism2 with 0.8.2 firmware, and have no problemitohy
using WEP without promisc on the device.
2002-03-21Fix previous commit. modifying cc is only when factor_denom > 1.isaki
reviewed by kent@netbsd.org
2002-03-21Remove struct ebus_dmac_reg to discourage indiscriminate usage ofuwe
BUS_SPACE_MAP_LINEAR on sparc64. Requested by eeh.
2002-03-21Drop BUS_SPACE_MAP_LINEAR and properly bus_space_*-ify this so that ituwe
uses accessors. Requested by eeh.
2002-03-21- Allocate enough space to hold an object.enami
- No need to request to zero clear when we overwrite soon.
2002-03-21Properly bus_space_*=ify this so it uses accessors.eeh
2002-03-21Use bus_space_vaddr().eeh
2002-03-21Fixup attachment code to use sbus_promaddr_to_handle() and not specifyeeh
BUS_SPACE_MAP_LINEAR.
2002-03-20Use bus_space_vaddr().eeh
2002-03-20Get rid of unnecessary BUS_SPACE_MAP_LINEAR.eeh
2002-03-20Oops. Missing semicolon.eeh
2002-03-20Add sbus_promaddr_to_handle() to convert a prom address to a bus_space_handle_t.eeh
2002-03-20Clean up bus space a bit. XXX is sc_buffer ever actually used after it'seeh
mapped in?
2002-03-20Don't use BUS_SPACE_MAP_LINEAR if you don't need to.eeh
2002-03-20Use bus_space_vaddr() correctly. (XXX do we really need this?)eeh
2002-03-20When getting the packet off the interface, make sure the payload isthorpej
aligned after the Ethernet header. kern/15982, Hiroyuki Bessho <bsh@grotto.jp>
2002-03-20Use bus_space_vaddr() correctly. Ugh.eeh
2002-03-20Use bus_space_vaddr() correctly. (Why use bus_space_vaddr() at all?)eeh
2002-03-20New mouse code from Peter Seebach.christos
2002-03-20Define uvscom_acvtivate() according to prototype.augustss
2002-03-20Add the ability to report file number/block number. From Matt Jacob.christos
2002-03-20Add missing structure member copies in wsfont_add0().ad
2002-03-20add missing prototype for uvscom_activate()lukem
2002-03-19Regen: add AMD768 devicesbouyer
2002-03-19Add AMD768 devices, frombouyer
http://members.hyperlink.net.au/~chart/download/pcidevs.txt
2002-03-19Add uvscom.augustss
2002-03-19Add driver for SUNTAC Slipper U VS-10U serial devices.augustss
Written by Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. From FreeBSD.
2002-03-19Regen.augustss