summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-06-02Cope with logical device numbers gaps, this fixes out-of-bounds accessAlexander Yurchenko
in an array. Problem found and ok deraadt@.
2009-06-02If a bogus channel is encountered, return an error instead of tryingPhilip Guenthe
to use the -1 flag value as an array index. Found by Parfait. ok reyk@ oga@
2009-06-02change a sizeof() to nitems() because the array subtype is a short.Theo de Raadt
change all the N() macros to our favorite new macro nitems() found by Parfait ok oga guenther
2009-06-02marco needs to learn how to do his range checks better, found by ParfaitTheo de Raadt
ok oga guenther
2009-06-02When we fail to find the controller type, don't continue on using the nextTheo de Raadt
consecutive index which is outside the array; found by Parfait ok oga guenther
2009-06-02Do not go one bar too far down the road; found by Parfait; ok ogaTheo de Raadt
2009-06-02The xl_detach() function is now used by pci code, so it must be in theTheo de Raadt
shared code in case either cardbus or pci varients are not configured.
2009-06-02Add an identifier that tells us if we can rebuild this discipline.Marco Peereboom
KNF & spelling too
2009-06-02make xl at pci detachable.Jonathan Gray
2009-06-02Set flags on the recently added CardBus ids based onJonathan Gray
product id.
2009-06-02Define a proper wsdisplay type for machfb(4).Mark Kettenis
requested by miod@
2009-06-02Add more CardBus ids to PCI attachments to cope withJonathan Gray
things like the crazy ExpressCard->CardBus adapters which make CardBus devices show as PCI devices.
2009-06-02minor tidying; from Brad; ok sthen@Christian Weisgerber
2009-06-02"Add a macro to define the newer generation of bge(4) chipsets. SimplifiesStuart Henderson
things a bit a and helps with adding support for more newer chipsets with the same common features. From the Linux tg3 driver." From Brad; binaries are not identical; the if statement is changed slightly, but no functional change. Looks fine to naddy@.
2009-06-02Add CardBus devices to the match list.Jonathan Gray
2009-06-02Make rtw at pci detachable.Jonathan Gray
2009-06-02First bits for rebuild. Disabled for now.Marco Peereboom
2009-06-01Remove dead/unused codeJordan Hargrave
ok marco@
2009-06-01Use the background color attribute in udl_erasecols and udl_eraserowsMarcus Glocker
instead hardcoding ``0x0000''.
2009-06-01Sort argument list of udl_draw_char similar as udl_fb_* friends.Marcus Glocker
2009-06-01Allow a font width other than 8 pixels.Marcus Glocker
2009-06-01Better naming for some framebuffer functions.Marcus Glocker
2009-06-01Reduce data payload for font drawing to a fixed size per character.Marcus Glocker
2009-06-01I forgot to apply the End Of Command token for async xfers. Maybe thatMarcus Glocker
caused the stalls seen in some rare conditions? Who knows ...
2009-06-01oops, bad merge.Damien Bergamini
2009-06-01- cleanup tx pathDamien Bergamini
- nitemize
2009-06-01fix endianness issue.Damien Bergamini
tested by jsg@ on tadpole sparc64 laptop.
2009-05-31We are able to address 256 pixels (16bit) per command not just 128 pixels.Marcus Glocker
This safes us some protocol overhead, especially when bit blittering large regions.
2009-05-31Remove BUS_DMAMEM_NOSYNC definition. Its name is not consistent withMiod Vallat
other BUS_DMA_xxx flag names, and nothing uses it. ok many@
2009-05-31The wsmouse support code has been written for pcvt long ago, then liftedMiod Vallat
to work with wscons. Back then, the universe was simple and there was only one single wsdisplay device, so that code would use global variables. Overhaul this, and make sure the various routines take the wsscreen or wsdisplay they operate on as arguments. This will eventually allow multiple wsmoused to run, one per wsdisplay device. While there, use more appropriate integer types in that code, so that unholy big displays do not cause integer overflows in coordinates computations. As a bonus, this makes the code smaller.
2009-05-31Do not access sc_scr[-1] from the wsmoused-related code ifMiod Vallat
wsdisplay_switch(..., WSDISPLAY_NULLSCREEN, ...).
2009-05-31Make sure wsdisplay_kbdholdscreen() checks whether the screen has a ttyMiod Vallat
before invoking wsdisplay_kbdholdscr(), which assumes it does.
2009-05-31Add AL2230S support, extracted from part of a massiveJonathan Gray
'sync to p4' style commit in FreeBSD.
2009-05-31PV2000 -> AL2230SJonathan Gray
2009-05-31Match on siemens zd1211b, support for the al2230s radioJonathan Gray
is not yet in, but this makes things easier.
2009-05-31regenJonathan Gray
2009-05-31Siemens ZD1211B.Jonathan Gray
2009-05-31indentTheo de Raadt
2009-05-31doubled error messages are sillyTheo de Raadt
2009-05-31Add SCH IDE support code.Jonathan Gray
Tested on a p series vaio.
2009-05-31zap _generic from the names of several functions. there are noJacob Meuser
more non-generic versions, and there never will be again.
2009-05-31- all codecs now use the same functions, always. call the functionsJacob Meuser
directly instead of through pointers in the codec_t. - fold azalia_generic_{g,s}et_port into azalia_{g,s}et_port since both are small and partly duplicated eachother.
2009-05-31remove special handling for STAC9225 (aka STAC7661). it was justJacob Meuser
choosing the default recording source and muting ADC input after the device has been configured. the commit message that added these doesn't give a reason why this is done, and it is inconsistent with every other codec. if you really want these settings, either set them in mixerctl.conf, or convince me why this should be done for all codecs.
2009-05-30Added error handler for missing AML nameref; fixes PR6103Jordan Hargrave
ok marco@
2009-05-30Fixed parsing rules for Scope opcode, fixes panic on some HP systemsJordan Hargrave
Create default scope names ok marco@
2009-05-30Bring up raid sets that have missing memebers.Marco Peereboom
2009-05-30Check the extents exist before trying to do thingsJonathan Gray
with them in ppb_hotplug_remove(). ok kettenis@
2009-05-29register all GPIO and widget "quirks" in a bitmask instead of usingJacob Meuser
macros and codec->init_widget. now there is only only place to look to see what special handling a specific codec will get.
2009-05-29- if a codec is capable of multichannel playback, try to connectJacob Meuser
the output jacks to different DACs. - multichannel codecs often have a front headphone jack that is intended to be used separately from the multichannel jacks. if a front headphone jack exists, try to connect it to a DAC not used by the multichannel jacks.
2009-05-29regenDamien Bergamini