summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
no point in keeping it around. "i like this" thib@ (a while back); ok krw@ and oga@; reminder to update the man page and tweaks jmc@
2010-09-22remove a leftover debug printfJonathan Gray
ok krw@ marco@
2010-09-22make the arguments match the format string in usageJonathan Gray
ok yasuoka@
2010-09-21In i915_gem_idle, don't fail if we have a wedged chipset (this onlyOwain Ainsworth
happens when waiting for the gpu), the reset function will at the very least clean out all of our unwanted buffers, which is all we wanted to do here ourselves. so we can continue with disabling the hardware and cleaning up then return success. Fixes a QUIESCE crash for krw when he had a wedged gpu (``it works, ok krw@''). matthew@ hit a similar thing and this should fix it.
2010-09-21Use RING_WAIT state for the ringbuffer and the instdone debug registerOwain Ainsworth
when we check for gpu hangs. This makes catching some situations a bit more reliable so that large gpu programs don't trigger hangcheck, and also the ring_wait can unhang the chip for us without needin to do a reset. Merge of two patches from Chris Wilson ``upstream''. Running this here for a few days.
2010-09-21Don't dereference null pointers for protocols without port numbers.Stuart Henderson
From henning@, fixed pflog_bgpcopy crashes.
2010-09-21When calculating string lengths, resolve escape sequences and useIngo Schwarze
their actual lengths. Will improve vertical alignment in some uncommon situations, for example when escape sequences occur in list or column width strings or in .Nm block arguments in the SYNOPSIS. From kristaps@.
2010-09-21On gen3 hardware always unconditionally set the C3_LP_WRITE_ENABLE bitOwain Ainsworth
in ARB_STATE. Without this bit, C{2,3,4} power states can't complete render writes this has been known to cause painful hangs on some 945s where the bios doesn't set this bit for us. Code from Dave Airlie ``upstream''.
2010-09-21Enable error interrupts on ironlake, as we do on all other chips.Owain Ainsworth
The sodding bits moved again *sigh*.
2010-09-21Better not panic in MipsEmulateBranch() if the instruction is an unspecifiedMiod Vallat
OP_BCOND subfunction.
2010-09-21Fix a couple of typos and remove some if 0ed code that is not coming back.Owain Ainsworth
2010-09-21reorder the busy ioctl order of operations to be nicer and a little moreOwain Ainsworth
efficient in the case where we are idle. Idea taken from a commit to the linux kernel by chris wilson.
2010-09-21When we reset the chip, no need to clear the active list, theOwain Ainsworth
retire_requests() called just prior will do that for us.
2010-09-21Fix up an unlock that was left over when I changed the lockingOwain Ainsworth
requirements of this function (due to no longer binding any objects) Found by matthew@'s lovely lock assertion diff.
2010-09-21Replace the old floating point completion code with a C interface to theMiod Vallat
MI softfloat code, implementing all MIPS IV specified floating point operations. Tested on R5000, R10000, R14000 and Loongson2F.
2010-09-21much better suspend/resume supportJacob Meuser
2010-09-21change quiescing to not call the audio_hw_if halt method in interruptJacob Meuser
context, because drivers (like eso(4) and envy(4)) might want to sleep in their halt method.
2010-09-2115 months later, there is still no mpls(4) man page: .Xr mpls 4 -> MPLSJason McIntyre
2010-09-21save & restore the watchdog configuration when doing suspend/resumeTheo de Raadt
ok pirofti
2010-09-21The size of sc_status[] (the buffer for USB hub's interrupt pipe) will besasano
determined by bNbrPorts in hub descriptor. USB hub sends status packet to host, it contains status bits for each port and hub itself. So, the packet size is ceil((port + 1) / 8) bytes. If host requests smaller than that size, the hub behavior is undefined. Some hub (Intel's RMH for example) sends whole status every time, it makes babble of USB. This is the reason that uhub_intr() of old code was suffered from USBD_IOERROR, Okay deraadt@ and yuo@.
2010-09-21Add a real DIOCGPDINFO, allowing access to the physical informationKenneth R Westerback
about the device rather than the contents of whichever disklabel was read. Tweak whitespace in sd.c to make the code appearance consistant.
2010-09-21regenJonathan Gray
2010-09-21Add some devices from submitted dmesgs and correct some devicesJonathan Gray
that were mislabeled as MCP89 AHCI.
2010-09-21assert copyrights / bump yearsHenning Brauer
2010-09-21Watchdog suspend/resume logic.Paul Irofti
Okay miod@, deraadt@.
2010-09-21aye. that should not have been forgotten. add the rewritten indicatorHenning Brauer
to struct pflog. ok gcc
2010-09-21Add '-label' to specify that you only want to see routes having theKenneth R Westerback
given label. No change to existing functionality. ok henning@ claudio@
2010-09-21when a packet has had addresses and/or ports rewritten, show the originalHenning Brauer
addresses/ports too. ok ryan dlg
2010-09-21stuff the original (before rewriting) addresses into the already existantHenning Brauer
address fields in the pflog header, same for ports, and add a "rewritten" indicator. ok ryan dlg
2010-09-21after ruleset eval is done, we must apply actions from the last matchingHenning Brauer
pass or block rule, not the last matching rule. triggered by pr6401. this means that, for example, a rdr-to on a pass rule can override an rdr-to on a match rule that comes later in the ruleset. but that's the semantics: for block and pass rules, the last matching one wins, aka actions are applied after we're done with ruleset eval, and match rules' actions are applied on the fly. discussion with dlg and claudio, ok dlg ryan
2010-09-21Warn if schema file can't be opened.Martin Hedenfal
2010-09-21do not increment states_tot on match rules. it is purely cosmetic, thisHenning Brauer
value is used in verbose "show rules" output as "states creations", but match rules never create state. states_cur aka "States" is needed and correct, match rules are being associated with states. ok ryan
2010-09-21opcodes, cdbs, and payloads for WRITE SAME 10/16 and UNMAP commands.David Gwynne
ok deraadt@ krw@ matthew@
2010-09-21Better PHY probing adapted from FreeBSD by Laurent GhigonisJonathan Gray
fixes problems seen with Linksys USB300M.
2010-09-21Cleanup handlings for memory shortage condition:YASUOKA Masahiko
- use rn_inithead0() instead of rn_inithead() to avoid failures on memory shortage. - delete a needless failure handling for malloc(,M_WAITOK) in pipex_add_session(). pointed out by blambert@. ok hsuenaga@
2010-09-21spelling fixes from Richard TooheyBret Lambert
ok deraadt@
2010-09-21make "match log" rules log on the fly. thus you can log and see the packetHenning Brauer
as it is in the very same moment pf hits that match rule. really awesome with multiple rdr-to and the like. ok dlg - ryan would ok it too if he was here right now
2010-09-21tweak the sas io unit to use 32 openings when talking to sata disks if theDavid Gwynne
firmware has it configured lower.
2010-09-21Remove bootinfo.c which has license issue. ok deraadt@Takuya ASADA
2010-09-21Fix incorrect comment on comreg.h. ok deraadt@Takuya ASADA
2010-09-21No need to m_freem() a NULL pointer and change the error for unknownClaudio Jeker
protocols to EPFNOSUPPORT.
2010-09-21bump default snaplen so that pfloghdr + ip hdr + prot hdr usually fitHenning Brauer
2010-09-21Stefan Rinkes pointed that the disabled aac(4) driver does not compileKenneth R Westerback
with gcc4. Use his diff to make it compile. Submitted & tested by Stefan Rinkes. Thanks!
2010-09-21Avoid double unlocking the DRM lock in drmclose(). Caught by theMatthew Dempsky
strict locking diff. ok oga@
2010-09-21Add device_unref() calls as appropriate to vscsi(4) to fix referenceMatthew Dempsky
counting. Not really an issue, but dlg@ was teasing me about not finding any vscsi(4) bugs in a while. ;) "i trust you" dlg@ (without seeing the diff)
2010-09-21remove now obsolete XXX commentHenning Brauer
2010-09-21temporary hack to raise snaplen for pflog so that pflog header, ip headerHenning Brauer
and protocol header actually fit in the common cases. stays until canacar tells us how to do it right ;) ok dlg ryan
2010-09-21pflog overhaulHenning Brauer
pflog was logging the "wrong" as in not yet rewritten (nat/rdr) addresses. to address this without making an extra copy of the mbuf chain: -introduce bpf_mtap_pflog, which is a 1:1 copy of bpf_mtap_hdr, except that it supplies bpf_catchpacket with pflog_bpfcopy as copy function instead of plain bcopy -said new shiny pflog_bpfcopy knows what a pflog packet looks like, copies everything into bpf's buffer, contructs a fake mbuf (which is allocated once at attach time and reused over and over) which points to the bpf buffer as data storage -call pf_setup_pdesc on said fake mbuf -then call pf_translate to rewrite the addresses as needed right in the bpf buffer this changes the pflog header as we have to pass the new addresses/ports around. relies on canacar's awesome work in libpcap to work olrite with the new, longer pflog header as well as with the old, shorter one. almost completely written at c2k10 in canada, finished here at j2k10 in japan. ok ryan dlg
2010-09-21make pf_translate (void so far) return 1 if it actually changed somethingHenning Brauer
and 0 if it didn't so we know wether we have to rewrite or not. ok ryan dlg and in just an hour from now on this might have reached cvs eventually from njetwork challenged j2k10 in japan
2010-09-21Get rid of physio(9) in wdc(4)'s ioctl(2) handler. Based on similarMatthew Dempsky
changes to the SCSI subsystem ioctl(2) handlers. ok dlg@; ok and tweaks krw@; no objections jsg@