ë;187956 44 195 262 195 215 363 612 203 132 142 417 231 161 167 193 156 115 203 218 220 241 490 206 139 137 161 220 304 267 138 122 178 376 409 699 96 330 107 1526 980 146 258 199 199 1239 K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T13:48:15.686421Z K 7 svn:log V 103 Remove and unused variable. Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T17:34:55.581875Z K 7 svn:log V 170 There is no need to initialize the variable here. Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib (as part of a larger patch) MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T17:35:44.868459Z K 7 svn:log V 103 Remove unused local MACROs. Submitted by: Christoph Mallon christoph.mallon@gmx.de MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T17:36:22.301499Z K 7 svn:log V 123 Remove unused local variables. Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T18:06:34.110800Z K 7 svn:log V 271 After r186194 the *fs_strategy() functions always return 0. So we are no longer interested in the error returned from the *fs_doio() functions. With that we can remove the error variable as its value is unused now. Submitted by: Christoph Mallon christoph.mallon@gmx.de END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-31T18:27:02.578187Z K 7 svn:log V 519 Add a function attribute called `__malloc_like', which informs gcc that the annotated function returns a pointer that doesn't alias any extant pointer. This results in a 50%+ speedup in microbenchmarks such as the following: char *cp = malloc(1), *buf = malloc(BUF); for (i = 0; i < BUF; i++) buf[i] = *cp; In real programs, your mileage will vary. Note that gcc already performs this optimization automatically for any function called `malloc', `calloc', `strdup', or `strndup' unless -fno-builtins is used. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-31T18:31:57.914144Z K 7 svn:log V 110 Add tests for conj{,f,l}() that I wrote some time ago. These test the versions in libm, not the gcc builtins. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-01-31T18:32:39.122508Z K 7 svn:log V 40 Test wprintf() in addition to printf(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-01-31T20:46:01.471456Z K 7 svn:log V 47 Fix the inconsistent tabbing. Noticed by: bde END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-31T20:47:27.918224Z K 7 svn:log V 320 Move most of the ifnet logic into the usb2_ethernet module, this includes, - make all usb ethernet interfaces named ue%d - handle all threading in usb2_ethernet - provide default ioctl handler - handle mbuf rx - provide locked callbacks for init,start,stop,etc The drivers are not much more than data pushers now. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-01-31T21:40:27.308294Z K 7 svn:log V 139 Bring over the code from sys/i386/i386/mp_machdep.c, r187880 to make XEN config compile again: - Allocate apic vectors on a per-cpu basis. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-01-31T22:39:03.376613Z K 7 svn:log V 65 Add sysctl information for the parent device. Suggested by: sam END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-01-31T23:17:33.043744Z K 7 svn:log V 75 David doesn't consider the prior -s behavior a bug. Back out this change. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-02-01T00:50:46.392905Z K 7 svn:log V 98 Also un-split _PATH_STDPATH for grepability. While I'm here, fix other style bugs reported to me. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-01T00:51:25.184869Z K 7 svn:log V 60 Remove check for null softc in attach, it can never happen. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-01T01:04:31.528425Z K 7 svn:log V 19 MFH r187836-187970 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-01T01:07:15.990395Z K 7 svn:log V 106 Revert part of r187970, the NULL check was removed from udbp_bulk_read_complete() as well as udbp_attach. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-02-01T01:50:09.539003Z K 7 svn:log V 122 Constify val in g_handleattr() and str in g_handleattr_str(). This allows passing string constants to g_handleattr_str(). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-01T02:04:24.435940Z K 7 svn:log V 123 - Resubmit the xfer when pipe_stall is set, this removes the need for gotos. - Use usb2_clear_endpoint_stall() throughout. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-02-01T02:33:02.133801Z K 7 svn:log V 143 Permit ` as a pad character in the filename table. This seems to fix the devel/zziplib port, which distributes its man pages in an ar archive. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2009-02-01T06:15:46.775012Z K 7 svn:log V 392 Before this fix, pax would stop the restore sequence for symlinks after setting the owner. As a result, mode and timestamp were not restored. This patch corrects the problem by simply removing the short-circuit for symlinks and using lchown()/lchmod()/lutimes() always for restoring metadata. PR: bin/91316 Submitted by: Jaakko Heinonen Reviewed by: Joerg Sonnenberger MFC after: 14 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-01T06:39:40.262663Z K 7 svn:log V 109 Put the ethernet drivers on a further diet, use the built in stall handling and remove the clearstall xfers. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-01T06:50:37.060824Z K 7 svn:log V 43 Rearrange things slightly to reduce gotos. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-01T07:00:21.026699Z K 7 svn:log V 41 Be consistent about xfer debug messages. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-02-01T07:11:31.507084Z K 7 svn:log V 65 Change the names of the interrupt xfers to the same as the rest. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-02-01T09:59:10.598214Z K 7 svn:log V 127 Added new test scenario used to test the "VOP to translate vnode to its component name" by Joe Marcus Clarke Approved by: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-02-01T10:13:18.036078Z K 7 svn:log V 211 MFC rev. 187387 Remove strict limitation on minimal multilink MRRU. RFC claims that MRRU of 1500 must be supported, but allows smaller values to be negotiated. Enforce specified MRRU for outgoing frames. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-02-01T16:00:49.923917Z K 7 svn:log V 172 put the altq-related functions into a separate file. Minor cleanup of the includes used by the various source files, including annotations of why certain headers are used. END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-02-01T17:56:05.188870Z K 7 svn:log V 45 Fix a crashing bug. Submitted by: Jason But END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-02-01T18:03:55.525585Z K 7 svn:log V 29 Put back SctpShowAliasStats. END K 10 svn:author V 4 piso K 8 svn:date V 27 2009-02-01T18:10:06.957375Z K 7 svn:log V 85 Make fragments reassemblig before nat sysctl controllable and enable it per default. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-02-01T19:20:45.018240Z K 7 svn:log V 279 Merge r186717 from head to stable/7: Allow the IP_MINTTL socket option to be set to 0 so that it can be disabled entirely, which is its default state before set to a non-zero value. PR: 128790 Submitted by: Nick Hilliard END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-02-01T20:18:27.871580Z K 7 svn:log V 312 Merge r187987 from stable/7 to stable/6: Merge r186717 from head to stable/7: Allow the IP_MINTTL socket option to be set to 0 so that it can be disabled entirely, which is its default state before set to a non-zero value. PR: 128790 Submitted by: Nick Hilliard END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-02-01T21:11:08.841031Z K 7 svn:log V 607 Remove the single global unlocked route cache ip6_forward_rt from the inet6 stack along with statistics and make sure we properly free the rt in all cases. While the current situation is not better performance wise it prevents panics seen more often these days. After more inet6 and ipsec cleanup we should be able to improve the situation again passing the rt to ip6_forward directly. Leave the ip6_forward_rt entry in struct vinet6 but mark it for removal. PR: kern/128247, kern/131038 MFC after: 25 days Committed from: Bugathon #6 Tested by: Denis Ahrens (different initial version) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-02-01T21:50:07.604199Z K 7 svn:log V 5 bump END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-02-01T22:24:08.335076Z K 7 svn:log V 237 when promoting an 11b channel to 11g do not accept a ``pure G'' (OFDM only) channel, only accept a real 11g channel; this fixes a problem where we were wrongly promoting 11b to a Dynamic Turbo G channel which broke scanning on channel 6 END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-02-01T23:27:21.703391Z K 7 svn:log V 15 sync with head END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2009-02-01T23:28:52.702436Z K 7 svn:log V 1429 Some updates and bug squashing in the firewire stack. Move the interupt handler to a driver_intr_t type function as it was trying to do way to much for a lightweight filter interrupt function. Introduce much more locking around fc->mtx. Tested this for lock reversals and other such lockups. Locking seems to be working better, but there is much more to do with regard to locking. The most significant lock is in the BUS RESET handler. It was possible, before this checkin, to set a bus reset via "fwcontrol -r" and have the BUS RESET handler fire before the code responsible for asserting BUS RESET was complete. This locking fixes that issue. Move some of the memory allocations in the fc struct to the attach function in firewire.c Rework the businfo.generation indicator to be merely a on/off bit now. It's purpose according to spec is to notify the bus that the config ROM has changed. That's it. Catch and squash a possible panic in SBP where in the SBP_LOCK was held during a possible error case. The error handling code would definitely panic as it would try to acquire the SBP_LOCK on entrance. Catch and squash a camcontrol/device lockup when firewire drives go away. When a firewire device was powered off or disconnected from the firewire bus, a "camcontrol rescan all" would hang trying to poll removed devices as they were not properly detached. Don't do that. Approved by: scottl MFC after: 2 weeks END K 10 svn:author V 6 alfred K 8 svn:date V 27 2009-02-02T00:49:39.469235Z K 7 svn:log V 884 src/usr.bin/usbhidaction/usbhidaction.c src/usr.bin/usbhidctl/usbhid.c src/sys/dev/usb2/include/usb2_hid.h src/sys/dev/usb2/input/uhid2.c src/lib/libusbhid/Makefile src/lib/libusbhid/descr.c src/lib/libusbhid/descr_compat.c src/lib/libusbhid/usbhid.3 src/lib/libusbhid/usbhid.h src/lib/libusbhid/usbvar.h Patches to make libusbhid and HID userland utilities compatible with the new USB stack. All HID ioctls should go through the libusbhid library to ensure compatibility. I have found at least one piece of software in /usr/ports which needs to get updated before USB HID devices will work. This is the X joystick input driver. Reported and tested by: Daichi GOTO and Masanori OZAWA. src/sys/dev/usb2/core/usb2_process.c Correct USB process names. Reported by: Andre Guibert de Bruet src/sys/dev/usb2/serial/uftdi2.c Integrate changes from old USB stack. Submitted by: hps END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-02-02T02:05:58.567107Z K 7 svn:log V 54 Sort the options, per style(9). Reviewed by: obrien@ END K 10 svn:author V 8 sepotvin K 8 svn:date V 27 2009-02-02T03:34:40.275158Z K 7 svn:log V 160 Fix select on platforms where sizeof(long) != sizeof(int). This used to work by accident before the cleanup done in revision 187693. Approved by: kan (mentor) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-02-02T04:48:32.483258Z K 7 svn:log V 101 MFC 187375 from /head Add support for CMedia CMI120. PR: kern/123640 Approved by: ariff END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-02-02T04:53:39.848505Z K 7 svn:log V 101 MFC 187375 from /head Add support for CMedia CMI120. PR: kern/123640 Approved by: ariff END K 10 svn:author V 8 keramida K 8 svn:date V 27 2009-02-02T04:57:36.250811Z K 7 svn:log V 1140 MFC 187935 from /head Sometimes, depending on the bpf filter rules used in $PATTERN, the example script of the manpage feeds awk(1) with values larger than UINT32_MAX. Then awk prints a negative value, and this messes up $BPFPROG. Trying to load the resulting bpf byte codes with ngctl then fails. For example, the output for PATTERN="udp and dst net 255.255.0.0/16" should be (all in one line): bpf_prog_len=10 bpf_prog=[ { code=40 jt=0 jf=0 k=12 } { code=21 jt=7 jf=0 k=34525 } { code=21 jt=0 jf=6 k=2048 } { code=48 jt=0 jf=0 k=23 } { code=21 jt=0 jf=4 k=17 } { code=32 jt=0 jf=0 k=30 } { code=84 jt=0 jf=0 k=4294901760 } { code=21 jt=0 jf=1 k=4294901760 } { code=6 jt=0 jf=0 k=8192 } { code=6 jt=0 jf=0 k=0 } ] The two k=4294901760 values are displayed as k=-2147483648 by awk. Replace the awk script of the manpage example with a slower but safer version, that doesn't really attempt to convert the byte code printed by tcpdump from string to number and back. PR: docs/123255 Submitted by: Eugenio Maffione, eugenio.maffione at telecomitalia.it END