summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-07-15when mpii(4) gets an async event (ie, sas topology change ordlg1-23/+50
integrated raid has changed state) that needs an acknowledgement, it currently goes scsi_io_get. because events are handled at interrupt time it cannot wait for ccbs, so if the ccb pool is empty, it wont get a ccb to ack the event with. this cuts the code over to using iohandlers to ack these events. when an ack is required, it shoves the rcb onto a queue and schedules an iohandler to be run whenever a ccb becomes available. the majority of the time the ccb will be there and the reply will happen immediately. however, if the hba is busy we might be deferred until some other command completes and gives its ccb back to the pool. because it looks like we can now receive many events at a time (rather than just one at a time like in mpi), im using a queue to store the events in. the alternative was an iohandler per rcb, but that struck me as a bit too heavy. mikeb is really impressed no objection from krw@
2010-07-15document .Sm; prodded by kristaps@schwarze1-2/+14
2010-07-15some escapes i missed;jmc2-7/+7
2010-07-15cvs and rcs use diff_output() to print everything since it is notray1-52/+50
always to stdout. A large number of differences are due to this. This diff reduces many more differences between diff and cvs/rcs. Personally I think it's kinda ugly. =( "Looks fine" millert
2010-07-15repair incorrect block nesting, which screwed up indentation;schwarze1-3/+3
problem reported and fix OK by jmc@
2010-07-15More delimiters that need quoting inside macros, hunted down by jmc@,schwarze13-49/+49
who asked me to commit because he is just running out of the door.
2010-07-15According to Linux ath9k, the AR9280 1.0 was never sold.damien3-57/+17
Since this is the only chip revision that requires split TKIP MIC keys, remove code that deal with that.
2010-07-15remove dead code (AR9286 1.1 does not really exist.)damien1-16/+2
2010-07-15When the first argument or arguments of a macro are opening delimitersschwarze3-22/+22
(parentheses and/or square brackets), both modern groff and mandoc first output those leading delimiters as plain text, then start the macro scope after these opening delimiters. This is similar to printing trailing punctuation and trailing closing delimiters on a macro line outside and after the macro scope. For example, ".Sq ( text )" is "(`text')", not "`(text)'". Thus, we now need to quote leading opening delimiters when we want them inside the macro scope. These are the cases in src/bin. "makes sense" jmc@
2010-07-15sync ar5008_bb_load_noisefloor() with ar9003_bb_load_noisefloor().damien1-6/+6
we must not restore the noisefloor values if load failed on AR5008 family too.
2010-07-15fix PDADC value for target index (AR5008 family only.)damien1-2/+2
2010-07-15On AR9285, the antCtrlCommon ROM field may have the upper 16 bits set.damien4-8/+8
Remove an incorrect mask to fix antenna diversity on some chips.
2010-07-15sync initialization values for AR9160 and AR9280 with ath9k.damien2-238/+240
see http://marc.info/?l=linux-wireless&m=127802223525594&w=2 for the list of changes/fixes.
2010-07-15Remove initialization values for chips that never made it into production:damien8-1186/+49
- AR9280 1.0 - AR9285 1.0 and 1.1 - AR9287 1.0 Remove checks that are now useless since we know we will never see those chips, and rename some functions.
2010-07-15Remove unused arguments from check(). From cvs/rcs.ray1-4/+4
OK millert
2010-07-15Die immediately if pread fails. It's a fatal error so treat it asray2-12/+6
such. Besides, we weren't handling the NULL being returned. From diff. Minor nit by nicm. OK xsa stsp nicm
2010-07-15Use warnx instead of warn since errno wasn't set. From diff.ray1-2/+2
OK xsa stsp nicm
2010-07-15sync the elf types and their comments; ok millertjmc1-8/+6
2010-07-15document the missing "note section";jmc1-3/+33
reported by Michael Kerrisk, freebsd pr 147995 big thanks to miod and millert for filling in the blanks
2010-07-15knock out MetaGeek Wi-Spy 2.4i from attaching to uhid.sthen1-1/+2
2010-07-15syncsthen2-4/+16
2010-07-15add MetaGeek Wi-Spy 2.4isthen1-1/+5
2010-07-15store openssl error output during verification, and log it if it didn't work.espie1-3/+15
2010-07-15Correct function in panic string. From Christophe Fillotclaudio1-2/+2
2010-07-15Sync with diff/diffreg.c r1.75:ray2-10/+8
Return -1 on error as advertised. Handle case when only one stream failed. OK xsa, stsp
2010-07-15whitespaceespie5-39/+39
2010-07-15m_getptr(m, 0, ...) may return an mbuf different from m -- if m has noclaudio1-6/+6
data in it. m_getptr() hops over empty buffers and points to the first allocated data byte. Because of this the m_dup_pkthdr() call done by m_copym0() can panic because not the first mbuf is passed. Found the hard way by myself, diff by blambert@ commiitting for him since he is not around. Tested and OK myself
2010-07-15* Comment poll support in conf.hmglocker2-3/+8
* Comment why we call the video interrupt in the mmap interface now in uvideo.c
2010-07-15add two new members to structs audio_encoding and audio_prinfo.jakemsr43-224/+505
for both structs, the new members are 'bps' and 'msb', which describe the number of bytes per sample and data alignment in the sample, respectively. drivers must properly set these fields in the 'query_encoding', 'set_parameters' and 'get_default_params' hardware interface methods. discussed with ratchov, deraadt
2010-07-15limit the pools from 14 bits down. We cannot use PAGE_SIZE because itderaadt1-3/+3
is a variable on sparc. This should be revisited... after the arguments for pagesize vs 4K complete :)
2010-07-15the uvm_km_putpage is calling into tangly uvm guts again on not pmap direct.tedu2-22/+64
go back to something more like the previous design, and have the thread do the heavy lifting. solves vmmaplk panics. ok deraadt oga thib [and even simple diffs are hard to get perfect. help from mdempsky and deraadt]
2010-07-14syncsthen1-2/+1
2010-07-14sync from mirrors.datsthen1-58/+61
2010-07-14pass the correct af if not specified.dhill1-3/+3
fixes printing active connections twice. ok claudio@
2010-07-14Return -1 on error as advertised.ray1-5/+4
Handle case when only one stream failed. OK otto, millert
2010-07-14implement poll() for video(4)jakemsr4-23/+96
ok mglocker
2010-07-14The append side of a socketbuffer is not allowed to call sbflush().claudio1-3/+1
Learned the hard way. dlg@ confirmed that it is save to just remove them, the desync will still work but the reader needs to dequeue all packets first.
2010-07-14In urndis_decap(), delay the memcpy() for as long as possible. There ismk1-8/+9
no point in copying before having done the final sanity check (we copied before the last one). ok armani
2010-07-14urndis_newbuf() is only called with NULL as it's third argument so justmk1-26/+18
get rid of it. ok armani
2010-07-14Newer 8168x and 810x chipsets have a different way of stopping the chipset.naddy1-2/+7
From FreeBSD via Brad.
2010-07-14Make pane/window wrapping more logical (so with 10 windows, +10 fromnicm3-88/+116
window 5 stays in the same place), and tidy the code. From Tiago Cunha.
2010-07-14Another hand knitted offsetof() that needs to die. This time steal theclaudio1-6/+6
mask2prefixlen6 version from bgpd.
2010-07-14finally ssh synopsis looks nice again! this commit just removes a ton ofjmc1-26/+8
hacks we had in place to make it work with old groff;
2010-07-14use offsetof() instead of self knitted version to please gcc4.claudio1-2/+3
stolen from ospf.h
2010-07-14Zero the pitem array so checking items after those used works asnicm1-7/+6
expected, also do not look beyond the size of the array. ok otto deraadt
2010-07-14Let vga_pci.c build in kernel configs without acpi. ok kettenis@matthieu1-6/+9
2010-07-14Eliminate some unused malloc(9) type defines. Also get rid of thematthew4-47/+17
mysterious and unused mbtypes[] array in mbuf.h. ok tedu@, deraadt@
2010-07-14Fix a mrt fd leak by moving the block which closes finished dumps.claudio1-12/+10
The previous location also depended on poll results and in most cases was therefor not entered because finished dumps are not added to the poll array. Problem reported by Peter Haag, OK henning@
2010-07-14add regress tests for upcoming redirection changes to ftphalex2-4/+92
2010-07-14SCSI HBA drivers need to report success/error through xs, not xs->bp.matthew1-12/+8
By trying to do the latter, ioprbs(4) was inadvertently always signalling to the SCSI mid and upper layers that read/write requests succeeded, even if they failed or only partially completed. Light testing by claudio@, which is still way more effort than this driver deserved.