summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2007-09-17If device is down, don't handle any interrupts. Even don't read theMarcus Glocker
interrupt status register instead return directly. This fixes the machine freeze on amd64 and let me receive proper interrupts if device is up. This bit was originaly in the DragonFly code, and must have sneaked out while porting ...
2007-09-17Un-staticize if option DDB.Miod Vallat
2007-09-17- Use a 64-bit int for the baudrate within the ifmedia_baudrate struct andBrad Smith
return a 64-bit int for ifmedia_baudrate(). - Fix consumers of ifmedia_baudrate() to deal with the change. ok claudio@ dlg@
2007-09-17Several DPRINTF arguments was missing, which can lead to ugly kernelMarcus Glocker
crashes. Fix them.
2007-09-17In case of IV load failure free ucode.Marcus Glocker
2007-09-17implement the output_muted member of audio_info_t as found in originalJacob Meuser
Sun audio. input from and ok ratchov
2007-09-17use au_get_gain()/au_set_gain() and the new au_get_mute()/au_set_mute()Jacob Meuser
functions instead of doing things the hard way. also add some bits to au_set_gain() so it sets a gain that is within limits. its possible to pass in an out-of-range value through audioctl(1) as well. ok ratchov
2007-09-17add functions to mute/unmute outputJacob Meuser
ok ratchov
2007-09-17regenMark Kettenis
2007-09-17Add another OUI for Broadcom, and add the PHY for the Broadcom BCM5906.Mark Kettenis
2007-09-17Remove an unused function msk_setfilt() which was copied from sk(4) and isBrad Smith
not of use to the Yukon chipsets. ok kettenis@ dlg@
2007-09-17remove unneeded malloc.h include.Federico G. Schwindt
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-09-17A little cleaning..Brad Smith
- de-register - ANSI functions - remove a commented out and bogus ioctl Tested by todd@ ok dlg@
2007-09-17regenBrad Smith
2007-09-17add the Marvell Yukon 2 88E8040 PCI id.Brad Smith
From the Marvell Linux sk98lin driver ok dlg@
2007-09-17Some bzero() -> M_ZERO. ok jakemsr@Kenneth R Westerback
2007-09-16Remove more obsolete firmware specific bits.Marcus Glocker
2007-09-16Remove obsolete firmware specific bits.Marcus Glocker
2007-09-16Better version of fake KKASSERT until they are changed properly.Jonathan Gray
2007-09-16Do sc_disable when device gets stopped.Marcus Glocker
OK jsg@
2007-09-16Clear error before starting m_defrag() equivalent.Jonathan Gray
2007-09-16Move some noisy debug printfs to higher levels.Jonathan Gray
2007-09-16CardBus works much better when sc_enable is called.Jonathan Gray
Remove some safety returns while here. ok mglocker@
2007-09-16Free ucode if an error happens while FW / IV load. Always return a properMarcus Glocker
code in case of error.
2007-09-16Convert most of the remaining non firmware handling code.Jonathan Gray
2007-09-16some style(9). no binary change.Federico G. Schwindt
2007-09-16Remove most of the __unused due to to code being enabled.Jonathan Gray
2007-09-16Obvious M_ZERO changes.Kenneth R Westerback
2007-09-15Adapt firmware images prefix to driver name. Needs bump to firmwareMarcus Glocker
package version 1.1.
2007-09-15Get IV load working. Simplified IV loading routine (mainly a rewrite).Marcus Glocker
Adapted IV loading routines so we can use it with our one file firmware.
2007-09-15Allow to pull out an usb stick with ffs filesystem while mountedAlexander Bluhm
and a file is written onto the stick. Without these fixes the machine panics or hangs. The usb fix calls the callback when the stick is pulled out to free the associated buffers. Otherwise we have busy buffers for ever and the automatic unmount will panic. The change in the scsi layer prevents passing down further dirty buffers to usb after the stick has been deactivated. In vfs the automatic unmount has moved from the function vgonel() to vop_generic_revoke(). Both are called when the sd device's vnode is removed. In vgonel() the VXLOCK is already held which can cause a deadlock. So call dounmount() earlier. ok krw@, I like this marco@, tested by ian@
2007-09-15Give hardware physical addresses and add some missingJonathan Gray
bus_dmamap_create() calls.
2007-09-15most of the remaining bus_dma conversionJonathan Gray
2007-09-15Convert bus_dmamap_sync() calls.Jonathan Gray
2007-09-15Convert bus_dma_load_mbuf() calls and remove unrequired callbackJonathan Gray
code previously used.
2007-09-15suitible -> suitableBrad Smith
ok mglocker@ dlg@
2007-09-15replace ctob and btoc with ptoa and atop respectivelyMartin Reindl
help and ok miod@ thib@
2007-09-15convert bus_dmamap_unload() callsJonathan Gray
remove bus_dma_tag_destroy() calls as we don't use/require them.
2007-09-15convert bus_dmamap_load() callsJonathan Gray
2007-09-15Properly fill in some of the pci information the driver uses internally.Jonathan Gray
2007-09-15define BWI_DEBUG to make things easierJonathan Gray
2007-09-14add the NVIDIA MCP73/MCP77 IDE controller PCI ids.Brad Smith
ok dlg@
2007-09-14- correct error message if pci_mapreg_map() fails by not printing theBrad Smith
device name in front. - remove printing of the name Compaq in front of the adapter model name. this is cac(4) it is pretty obvious this is a Compaq adapter. ok dlg@
2007-09-14regenBrad Smith
2007-09-14add the Marvell Yukon 2 88E8048 PCI id.Brad Smith
From the Linux sky2 driver ok dlg@
2007-09-14add two new chip revisions.Brad Smith
From FreeBSD ok dlg@
2007-09-14Get firmware load working. Adapt firmware routines that way so we canMarcus Glocker
use our one file firmware.
2007-09-14correct type printingTheo de Raadt
2007-09-14Use our standard ratesets from ieee80211 instead.Marcus Glocker