summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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@
2010-09-21audio(4) and ac97(4) style suspend/resumeJacob Meuser
2010-09-21factor our the code to set up pf_pdesc, a central structure in pf carryingHenning Brauer
information about the packet we're currently dealing with, into its own function. ok ryan dlg and additional testing sthen
2010-09-21gpio at glxpcib was forgotten; tested by piroftiTheo de Raadt
2010-09-21umass is set up to only handle one command on the bus at any pointDavid Gwynne
in time, which is a problem if your umass device has multiple luns on it. if multiple commands are issued at the same time then they step on some shared state, which in turn causes some interesting panics. this diff introduces an iopool in umass so only one command can be "allocated" and scheduled at a time. found, reproduced and investigated by krw@ fix verified by krw@ ok matthew@ krw@
2010-09-21use audio(4)'s DVACT_{QUIESCE,RESUME} and ac97(4)'s ac97_resume() forJacob Meuser
suspend/resume, like in other AC'97 drivers
2010-09-21* add autoconf(9) activate function. basically the same as other ac97(4)Jacob Meuser
devices. * only one codec will ever be supported, and there's no reason to restrict the supported codec to being in the first codec slot.
2010-09-21* use audio(4)'s DVACT_{QUIESCE,RESUME} to handle I/O stopping/restartingJacob Meuser
for suspend/resume, and ac97(4)'s ac97_resume() to reset and restore the codec at resume * return the sample rate the codec is using and remove unneeded adjusted sample rate checking that was incorrectly copied from auich(4) tested/ok pirofti (on loongson)
2010-09-21Add support for newer asus boards that use a different method to pollClaudio Jeker
and enumerate the sensors. When available aibs is using the RTMP, RVLT, and RFAN nodes else in new mode GGRP, GITM, and SITM are used. Tested by me and japser@ on old HW and me and Mattieu Baptiste on new HW. OK deraadt@
2010-09-21Add assertwaitok(9) to declare code paths that assume they can sleep.Matthew Dempsky
Currently only checks that we're not in an interrupt context, but will soon check that we're not holding any mutexes either. Update malloc(9) and pool(9) to use assertwaitok(9) as appropriate. "i like it" art@, oga@, marco@; "i see no harm" deraadt@; too trivial for me to bother prying actual oks from people.
2010-09-21mclgeti() support for xl(4). All done by Loganaden Velvindron.Claudio Jeker
Tested by various people on tech@. OK dlg@, deraadt@ and myself
2010-09-21Make splassert(IPL_NONE) work on amd64 the same as it does on i386.Matthew Dempsky
ok oga@ (a while back)
2010-09-21When attaching a unknown SFP+ module on the 82598 controller recompute theClaudio Jeker
list_offset and data_offset. Makes my ix(4) happy again. OK jsg@
2010-09-20Make md_printins() get the printf-like function as an extra parameter, andMiod Vallat
make it visible so that md parts of the kernel can use it for debug messages.
2010-09-20remove remaining pod2man escapes, mandoc now uses the standard preamble;Ingo Schwarze
from kristaps@
2010-09-20Format multiple authors (.%A) in the same way as groff:Ingo Schwarze
Two authors with "and", but without a comma. Three or more with commata, and an "and" before the last one. From kristaps@.