summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-09-15SyncClaudio Jeker
2009-09-15Better product names for the newest Intel cards. Include the productClaudio Jeker
number in the name to simplify identifying the card in dmesg. OK dms
2009-09-15cpu status flag, cpuid added to cpu_info.Takuya ASADA
cpu_info pointer array, cpu_info iterator, cpu_number() implementation added. constraint modifier fixed in lock.h to output correct assembly. calling proc_trampoline_mp in exception.S.
2009-09-14simplify code in preparation for other things. tested by many.Federico G. Schwindt
2009-09-14Deal with the fact that we need to control an external PHY attached to TSEC2Mark Kettenis
through the registers of TSEC1. Makes the first ethernet port on the rb600 usable.
2009-09-14Add a way to convert the ifi_link_state to a string without the use ofClaudio Jeker
if_media. This makes link state tracking a lot easier as there is no need to convert if types to if_media types, etc. Additionally this allows us to extend the link states to include states tracked on higher protocol layers. gre(4) keepalives packets, bfd and udld can be implemented without ugly hacks. OK henning, michele, sthen, deraadt
2009-09-14don't try to manipulate an invalid node. fixes codec detectionJacob Meuser
problem reported by martynas@. this bug has been there a long time (r1.61), but sloppy RIRB handling was hiding it ...
2009-09-14Correctly empty the tty rings in wsdisplaystart() if the display isMiod Vallat
in SCR_GRAPHICS mode; spotted by martynas@
2009-09-14rework the scsi midlayer to start addressing some problems i haveDavid Gwynne
with it which became extremely annoying with what mpath wants to do. the major change is a new interface for submitting scsi commands. previously the only way for drivers like sd, cd, st, etc to push commands onto the hardware was via scsi_scsi_cmd(). the problem with scsi_scsi_cmd is that it doesnt tell the caller if the command failed, was queued, or completed unless you shoved a buf down with it. this is important for mpath which wants to know what the physical path to the device did so it can report it back to the midlayer which called it. this provides a new api which lets drivers like cd/sd/st/mpath etc allocate an xs, fill it in, and provide a completion routine which the midlayer will call with the state of the command when it is finished with it. the caller is then responsible for freeing the xs. from the hba side of thing, the return code from the scsi_cmd entrypoint is largely ignored now, and it is now always the responsibility of the hba driver to call scsi_done when it has completed the io, rather than returning COMPLETE and expecting the midlayer to do it for you. i have emulated scsi_scsi_cmd on top of this new api so existing users of it will continue to work. sd(4) has been reworked to use the new api directly to both demonstrate its use and test that the new api actually does work. this diff was mostly written in a day at f2k9. thanks to miod for poking through hba drivers to help mitigate against fallout from the change to the COMPLETE semantic. this has been reviewed by krw who didnt spot anything wrong. thanks to dave del debbio for testing. ok deraadt@
2009-09-13Don't try to check for ECC with fbdimm as the offset exceedsJonathan Gray
the number of bytes currently read into the sm_data array. Problem found by recent version of gcc.
2009-09-13Unchecked copyout() calls cause premature death in furry animals, soMiod Vallat
check their return values in the ATA_S_COMPLETE ioctl handler. dlg@ agrees.
2009-09-13Remove (last) obsolete panic() case.Marcus Glocker
2009-09-13M_DUP_PKTHDR() define -> m_dup_pkthdr() function to properly dealKenneth R Westerback
with m_tag_copy_chain() failures. Use m_defrag() to eliminate hand rolled defragging of mbufs and some uses of M_DUP_PKTHDR(). Original diff from thib@, claudio@'s feedback integrated by me. Tests kevlo@ claudio@, "reads ok" blambert@ ok thib@ claudio@, "m_defrag() bits ok" kettenis@
2009-09-13ATI SB700 can be handled in ahci mode like SB600. suggested byMatthieu Herrb
and ok kettenis@
2009-09-13Fix command undo for compression. Fixes artifacts seen in some cases.Marcus Glocker
2009-09-13Make sure we really have pending interrupts such that we don't do anMark Kettenis
out-of-bounds array access later on. ok drahn@, dms@
2009-09-13Move some real noisy operations to a higher debug level.Marcus Glocker
2009-09-13Use function pointers in erasecols and eraserows for framebufferMarcus Glocker
operations, so we do compression in there as well.
2009-09-12Catch up with recent changes to GENERIC.Mark Kettenis
2009-09-12Don't use function pointers at places where we always call the sameMarcus Glocker
function.
2009-09-12Compensate for the fact the the FDT uses a different offset for the registersMark Kettenis
than the hardcoded ones we used before. Replace a few magic numbers with #defines while I'm there. Based on suggestions from dms@.
2009-09-12Initialize global pointer to interrupt controller softc earlier such that weMark Kettenis
don't crash if we unmask a preconfigured interrupt.
2009-09-12Correctly report copyout() failure in SIOCG80211STATS ioctl; ok damien@ jsg@Miod Vallat
2009-09-12Re-sort some functions. Fix comment. No functional changes.Marcus Glocker
2009-09-12GPIO quirk for Dell Inspiron 1400Jacob Meuser
2009-09-12there are machines that have more than one fixed speaker. useJacob Meuser
the one with the lowest association.
2009-09-12move code for getting controller capabilities out of azalia_init()Jacob Meuser
and into it's own function, azalia_get_ctrlr_caps()
2009-09-12Add DIOCSDINFO support to the three fd drivers. No change to existingKenneth R Westerback
behaviour.
2009-09-11Don't panic if the command buffer runs full. Instead try to flush it,Marcus Glocker
and continue operation afterwards. If we can't flush immediately, we will undo the operation and return EAGAIN to wsdisplay (like we do already for the xfer queue). This allows us to set higher resolutions (tested up to 1280x1024) without bumping the command buffer or xfer buffer memory further.
2009-09-11bump versionDariusz Swiderski
suggested by maja@, ok by kettenis@
2009-09-11add 'machine fdt' command that dumps device tree if presentDariusz Swiderski
ok by kettenis@
2009-09-10better to wait for codecs to finish resetting in azalia_reset()Jacob Meuser
rather than in it's user(s)
2009-09-10Remove zssoftpending; it isn't of any use anymore.Mark Kettenis
ok miod@
2009-09-09reorganize attach/initialization into more task specific functions.Jacob Meuser
2009-09-09Use information from the FDT to set up bus tags and extents.Mark Kettenis
2009-09-09remove inline functions and move some code from the trunk_lacp_input()Reyk Floeter
API function directly to lacp_input() to simplify the code path. ok mpf@
2009-09-09Add simple PXA27x matrix keypad controller driverMarek Vasut
2009-09-09Palm: Integration into the treeMarek Vasut
OK deraadt@
2009-09-09Palm: Add support for PXA255 Palm Tungsten|CMarek Vasut
2009-09-09Palm: Add proper license textsMarek Vasut
2009-09-09move code to reset the controller from the attach function to it'sJacob Meuser
own function
2009-09-09Today we just support a font width up to 8 pixels. Allow a font widthMarcus Glocker
up to 16 pixels now. Reported by maja@
2009-09-09add a few more members to stream_t and use it as a coherent sourceJacob Meuser
of information about a stream
2009-09-09move code to enable widget unsolicited event generation into it'sJacob Meuser
own function
2009-09-09handle mixer get/set requests for class type mixer items in the underlyingJacob Meuser
mixer get/set routines instead of in the MI audio routines.
2009-09-09make sure node id for stream mode mixer items is validJacob Meuser
2009-09-09azalia.h:Jacob Meuser
* remove irrelevant comment * this driver uses at most 2 converter groups per group set, don't allocate more than needed * remove unused members from codec_t azalia.c: * macros for register values
2009-09-08cleanup/fix RIRB processing:Jacob Meuser
* move the code for azalia_comresp() to be nearer the functions it uses (azalia_set_command() and azalia_get_response()) for easier comprehension. * don't turn off RIRB interrupts in azalia_set_command(), then reenable them in azalia_get_response(). it's ugly, problematic, and the code is already at SPL_AUDIO. * in azalia_get_response(), wait for a solicited response (the response from azalia_set_command()) instead of "waiting" for just any response as there may already be an unsolicited response in the RIRB. * no need to run the unsolicited response handler in azalia_get_response(). since RIRB interrupts aren't being disables, the unsolicited response handler will be run by the RIRB interrupt handler. * in azalia_rirb_intr(), when a solicited response is found in the RIRB, instead of stopping and losing the response, print a debug message and keep going. there should never be a solicited response in the RIRB at this point. * remove some now useless #if 0'd debug cruft. * minor KNF while here.
2009-09-08Something i should have commited months ago.Owain Ainsworth
Instead of planes, use pipes for the vblank code (this matters with the newer drivers we're now using). originally from upstream (kinda, i adapted it a little). Much cleaner now, too. Helps with some vblank issues sthen@ has been seeing. Also seems to fix any issues i've seen with the x40, with suspend-on-lid disabled shutting hte lid no longer borks X on my x40, this issue pointed out (and reminded regularly until I found time :) by deraadt@
2009-09-08I had not enough oks to commit this diff.Michele Marchetto
Sorry.