summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
AgeCommit message (Collapse)Author
2006-07-21- Use the LWP cached credentials where sane.ad
- Minor cosmetic changes.
2006-05-28Clean up bogus whitespaceblymn
2006-05-15include kauth.h for kauth_authorize_generic.yamt
2006-05-14integrate kauth.elad
2006-04-15Remove the getwschar and putwschar accessops from wsdisplay drivers asjmmv
requested by uwe@. These were wrong because they were receiving an emulcookie yet they were accessops (thus having to receive an accesscookie). Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the driver's ioctl accessop. As this reduces the amount of code needed to handle these operations to two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel option. Reviewed by, at least, uwe@ and macallan@. No objections in tech-kern@.
2006-04-12Add an extra cookie to the ioctl and mmap wsdisplay accessops that pointsjmmv
to the screen on which they are being called. The driver cannot guess this by itself but it is needed to implement, at least, the getwschar and putwschar functions in the correct place. There are no functional changes yet. Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64. Suggested and reviewed by macallan@.
2006-04-06kill NULL initialisation of get/setborderdrochner
2006-03-29Use device_cfdata().thorpej
2006-03-28Use device_unit().thorpej
2006-03-25Use device_parent().thorpej
2006-03-09keep the chip powered down when not in use on machines that support itmacallan
( like SPARCbooks ) - needs testing on other machines tested on my SPARCbook 3GX
2006-03-09this should have been committed with p9100.*macallan
add the vcons attribute to pnozz
2006-03-08sprinkle #if NWSDISPLAY > 0 to make this compile cleanly without wscons againmacallan
2006-03-06- use vconsmacallan
- enable the external VGA port when tctrl detects a monitor
2006-02-28Fix inverted device_is_a() logic in previous conversion.kleink
2006-02-27Use device_is_a().thorpej
2006-02-16Change "inline" back to "__inline" in .h files -- C99 is still tooperry
new, and some apps compile things in C89 mode. C89 keywords stay. As per core@.
2005-12-24__inline__ -> inlineperry
2005-12-24Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.perry
2005-12-14proc -> lwpchristos
2005-12-11merge ktrace-lwp.christos
2005-11-12Add hardware cursor support, needs testing.macallan
2005-11-10Use mstohz() for timeout calculations.martin
Avoid local stack addresses as tsleep identifiers.
2005-11-05ETHERCAP_VLAN_MTU is a flag for ec_capabilities, the size of the 802.1qbouyer
encaptulation header is ETHER_VLAN_ENCAP_LEN. Pointed out by der Mouse on tech-kern.
2005-11-05Rename the wait channels (one was a copy&pasto, the other much too long)martin
2005-09-06Change the driver open function's conditional for overriding exclusive ttykleink
use from checking the proc's uid to suser(9), and account for the use of privileges. Noted by David Holland in PR kern/31126.
2005-07-28Updated licensemacallan
2005-07-16driver for the audio part of SUNW,DBRI ISDN/audio controllersmacallan
2005-06-04Add const.tsutsui
2005-06-04Add const.tsutsui
2005-06-04Fix a shadowing variable.tsutsui
2005-06-03Add const.tsutsui
2005-06-01Add const (catching up with additions to MI ddb code).jdc
2005-06-01Rename "delay" variable to avoid shadowing the "delay" from param.h.jdc
2005-05-30avoid shadow variables.christos
2005-05-16forgot to include rasops_glue.hmacallan
2005-05-16Added:macallan
- wscons support - acceleration - virtual consoles - colour - made cg3 emulation optional for native XFree driver
2005-05-16Added support for virtual consoles, colour and some code to determine themacallan
usable amount of VRAM for XFree86
2005-02-27nuke trailing whitespaceperry
2005-02-25From Micahel Lorenz: wsdisplay support for cg6martin
2005-02-04de-__Pperry
2005-01-15ansify and KNFkent
2005-01-10merge kent-audio1 branch, which introduces audio filter pipeline to the MIkent
audio framework Summary of changes: * struct audio_params - remove sw_code, factor, factor_denom, hw_sample_rate, hw_encoding ,hw_precision, and hw_channels. Conversion information is conveyed by stream_filter_list_t. - change the type of sample_rate: u_long -> u_int - add `validbits,' which represents the valid data size in precision bits. It is required in order to distinguish 24/32bit from 24/24bit or 32/32bit. * audio_hw_if - add two parameters to set_params() stream_filter_list_t *pfil, stream_filter_list *rfil A HW driver should set filter recipes for requested formats - constify audio_params parameters of trigger_output() and trigger_input(). They represent audio formats for the hardware. - make open() and close() optional - add int (AUMODE_PLAY or AUMODE_RECORD) and audio_params_t parameters to round_blocksize() * sw_code is replaced with stream_filter_t. stream_filer_t converts audio data in an input buffer and writes into another output buffer unlike sw_code, which converts data in single buffer. converters in dev/auconv.c, dev/mulaw.c, dev/aurateconv.c, dev/tc/bba.c, dev/ic/msm6258.c, and arch/arm/iomd/vidcaudio.c are reimplemented as stream_filter_t * MI audio - audiosetinfo() builds filter pipelines from stream_filter_list_t filled by audio_hw_if::set_params() - audiosetinfo() returns with EINVAL if mmapped and set_params() requests filters - audio_write(), audio_pint(), and audio_rint() invoke a filter pipeline. - ioctl() for FIONREAD, AUDIO_WSEEK, AUDIO_GETIOFFS, AUDIO_GETOOFFS, and audio_prinfo::{seek,samples} for AUDIO_GETINFO handle values for a buffer nearest to userland. * add `struct device *' parameter to ac97_attach() * all of audio HW drivers follow audio_hw_if and ac97 changes
2004-10-30When adding/deleting multicast addresses, only whack the addressthorpej
filter if the interface is marked RUNNING. Fixes kern/27678.
2004-10-29constify audio_hw_if, midi_hw_if, and radio_hw_if.yamt
2004-08-11Clear IOIE in settype(), too. Not that we currently change modes withoutmycroft
powering down the socket, but...
2004-08-11Clear some more ICR0 bits on socket enable/disable.mycroft
2004-08-11Add a settype() function.mycroft
XXX Note that I haven't even compiled this, but any problems are likely to be more straightforward than crashing with a null pointer dereference.
2004-07-24Hauke Fath's port of the openbsd SUNW,spif driver from PR#26061.mrg
the driver was originally written by Jason L. Wright. XXX: i haven't tested this on sparc64 at all...
2004-07-24Hauke Fath's port of the openbsd SUNW,spif driver from PR#26061.mrg
the driver was originally written by Jason L. Wright. XXX: i haven't tested this on sparc64 at all...