summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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-30Allow 8 byte writes from ddb (w/q) on 64 bit platforms, just like we allowMiod Vallat
8 byte reads (x/q) already.
2009-05-30Don't use biosbasemem and biosextmem to initialize iomem_ex, since on someMark Kettenis
BIOSen it's a complete lie. Instead use the information from the memory map like we do on i386. ok weingart@, oga@
2009-05-30in the (currently unused) loaning case for uvm_anfree, zero out anon->an_pageOwain Ainsworth
so we won't hit the kassert a little bit below it. "obviously better than what is there now" beck@
2009-05-30Check the extents exist before trying to do thingsJonathan Gray
with them in ppb_hotplug_remove(). ok kettenis@
2009-05-30Remove unused procnums (NQNFS leftovers) and cleanup.Thordur I. Bjornsson
OK blambert@ sometime ago
2009-05-30When booting in `install software' mode from the SGI boot menu, do not try toMiod Vallat
load bsd.rd but bsd.rd.IP## matching the IP code of the machine.
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
2009-05-29PCI id for Atheros AR9285.Damien Bergamini
2009-05-29fix confusion between number of DMA channels and number of Tx queues.Damien Bergamini
2009-05-29Return the RX descriptor after pointing it to the new mbuf.Marco Pfatschbacher
Otherwise the card can mess with mbufs that have been given to the stack already. Fixes panics seen with a high rate of of small packets and POOL_DEBUG enabled. OK sthen@, chris@
2009-05-29if a control in outputs.master.slaves is muted, don't change it'sJacob Meuser
volume when outputs.master is changed
2009-05-29- try to not choose only input mixers for outputs.master.slavesJacob Meuser
- another case where a selector can be considered part of another widget factors out a mixer control and lets the volume buttons work on ajacoutot@'s x300
2009-05-29- when a widget will be considered part of a different widget, recordJacob Meuser
the node id of the "parent" widget - initialize widgets' mixer_class ealier
2009-05-28Be more paranoid in the IOC3 interrupt klugeMiod Vallat
2009-05-28Poor man's reset code for IP27/IP35 where returning through ARCBios doesn'tMiod Vallat
work, even after restoring TLB and exception code.
2009-05-28Handle NMI interrupts on IP27/IP35, gives us a change to play with ddb,Miod Vallat
and then restart system (NMI on these systems aren't intended to be recoverable).
2009-05-28If readsgilabel() is invoked in spoofing mode, only report the whole deviceMiod Vallat
and volume header partitions. This makes DIOCGPDINFO return correct results, which in turn lets disklabel -A behave as intended.
2009-05-28workaround a hardware bug by fixing the pci config space command registerDamien Bergamini
at attach time.
2009-05-28Add "Interrupt Disable" bit definition for the PCI Configuration SpaceDamien Bergamini
Command register. From PCI Express Base Specification Rev 2.0. Use same naming as NetBSD. Needed for wpi(4) and iwn(4).
2009-05-28Bring back the curpmap change. It was missing a reload of the pmap onArtur Grabowski
curcpu when we were freeing a pmap. Tested and working for a few weeks now, but I was a bit too busy to commit it earlier.
2009-05-27regenStuart Henderson
2009-05-27add IDs for Intel 82552, RCC (Broadcom) HT-1100. from Brad.Stuart Henderson
2009-05-27Use the KL enumeration functions to try and figure out what kind of XBowMiod Vallat
we have, in order to pick a widget enumeration order matching the PROM. This is especially important when the boot path is in dksc() syntax.
2009-05-27Yet another attempt at a more reliable detection of the second interruptMiod Vallat
used by onboard IOC chips, by forcing the IOC to trigger this interrupt, and some help from the PCI bridge driver to report which interrupt has fired through a fake PCI configuration register. This works nicely on IP27 and IP35, but on IP30 the interrupt doesn't happen, for some reason; so keep the existing heuristic in case the above trick did not give us a valid interrupt number. In case we got an interrupt, this will also detect IOC configurations where there is actually one interrupt, should such configurations exist. <rant style="beck"> I probably deserve to rot in hell for this abomination, but I won't mind as long as the IOC designers who came with the bright ``let's use more than one interrupt and defecate on the pci spec'' ideas are there, too. </rant>
2009-05-27Rework KL board and component enumeration, to allow it to be used fromMiod Vallat
drivers with callback routines. While there, skip disabled or failed components.
2009-05-27Make sure onboard devices on Octane get their DMA byteswap settings correct.Miod Vallat
2009-05-27Rename the ast processing function from softintr() to ast(), to reduceMiod Vallat
confusion. Make sure this function is invoked with interrupts enabled now.
2009-05-27allow iwn(4) to coexist with Intel Active Management Technology (AMT)Damien Bergamini
which may use WLAN too. for Intel Centrino 2 vPro only.
2009-05-26regen.Federico G. Schwindt
2009-05-26Add Quatech SSP-100 from Joerg Niendorf <p3y80 at internode dot on dot net>Federico G. Schwindt
via PR/6147. Shrink DSP225 while I'm it.
2009-05-26inherit the route label on cloned routesReyk Floeter
ok claudio@
2009-05-25Years ago, I fixed an R5000 O2 instability by implementing a workaround forMiod Vallat
a chip bug, which was supposed to be fixed in that particular revision of the die but wasn't (tlbhandler.S 1.16). Being lazy, I did not write a runtime selection of the appropriate TLB handler code, although this was on my list. It turns out that this fix confuses the hell of R10000 processors revision 3 (but not earlier 2.x revisions), to the point of making the Origin 200 here hang so hard it would not even enter the NMI handler (don't ask me how I figured this was the cause). So it's time to choose the appropriate TLB handling flavour at runtime, building the trampoline code from the fixed exception handler location jumping to the handler address at runtime. As a bonus, kernels linked in KSEG0 get the address computation optimized and thus a smaller trampoline than before.
2009-05-25Add missing letoh in em(4) vlan handling, resulting in a problem onStuart Henderson
big-endian arch where vlans were in use. Fix from Brad. Problem reported and fix tested by Axton Grams, also tested by me. ok dlg@.
2009-05-25Add Dell Latitude E5500 to the mute quirk list.Robert Nagy
ok jakemsr@
2009-05-24rework, also size ram.Dale Rahn
2009-05-24Device changes to go along with prcm rewrite.Dale Rahn
2009-05-24reduce Rx ring size from 256 to 64 slots.Damien Bergamini
2009-05-24Provide more xbridge-specific functions in the bus_dma_tag_t we use forMiod Vallat
PCI buses on xbridge. In addition to this, we now support the limited IOMMU, allowing memory outside of the 2GB direct window to be used for DMA. Only tested on XBridge chip so far; this lets an IP35 machine with physical memory after the 2GB boundary run stable again.
2009-05-24Revert the memory range restriction code added to _dmamem_alloc(); devicesMiod Vallat
which require it will provide their own _dmamem_alloc() in their own bus_dma_tag_t. While there, rename bus_dma_segment_t ds_vaddr member to _ds_vaddr to make it clear this is an internal member.
2009-05-24make sure the array of chars we pass aps_do_io() in aps_match() isJonathan Gray
unsigned, like all the other callers of aps_do_io in aps do.
2009-05-24Support hardware checksumming, from FreeBSD.Christian Weisgerber
Enable for IP/UDP/TCP receipt and IP transmit. Keep disabled for UDP/TCP transmit because it breaks with pf(4) rdr. ok sthen@
2009-05-24declare a variable at the start of bwi_dma_free() insteadJonathan Gray
of several times throughout the function, in and outside of a loop.
2009-05-24Mention broken cursor drawing.Marcus Glocker
2009-05-24regenMarcus Glocker
2009-05-24List product name instead chip type.Marcus Glocker
2009-05-24ansi func declsJonathan Gray