ƒ²p164609 175 706 108 208 209 239 3307 274 276 129 114 127 149 165 235 163 136 130 249 731 899 325 216 318 136 214 143 160 314 196 163 124 186 138 191 284 182 322 145 417 131 173 176 132 106 350 287 166 158 191 177 234 237 292 259 123 205 148 116 220 122 133 135 369 156 147 340 236 273 147 147 279 447 322 446 841 424 228 177 162 167 172 189 141 513 296 324 339 221 114 134 134 399 356 786 351 117 150 563 212 1638 112 691 677 1359 255 207 395 998 178 630 280 302 280 427 132 207 187 197 269 1441 137 254 1650 304 311 594 354 347 492 166 214 151 225 338 128 377 114 170 207 172 213 188 216 169 249 126 137 409 276 215 183 860 443 127 143 162 298 253 623 261 244 163 200 450 184 120 413 504 298 177 196 492 111 205 254 K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-11-26T05:39:28.000000Z K 7 svn:log V 608 Unbreak libarchive on arm. Two parts of libarchive relied on a traditional shortcut of defining on-disk layouts using structures of character arrays. Unfortunately, as recently discussed on cvs-all@, this usage is not actually sanctioned by the standards and specifically fails on GCC/arm (unless your data structures happen to be "naturally aligned"). The new code defines offsets/sizes for data fields and accesses them using explicit pointer arithmetic, instead of casting to a structure and accessing structure fields. In particular, the new code is now clean with WARNS=6 on arm. MFC after: 14 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-26T06:52:54.000000Z K 7 svn:log V 16 devsw.9 removed END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-26T07:54:44.000000Z K 7 svn:log V 113 - remove dead code - revert a previous change to pmap_enter where we could skip invalidates on unmanaged pages END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-11-26T11:07:37.000000Z K 7 svn:log V 116 Add entry and no-UHID quirk for I-tuner networks USB-LCD 2x20 as found in http://www.mini-box.com/Mini-Box-M200-LCD END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-11-26T11:55:48.000000Z K 7 svn:log V 141 MFP4 (109713): Add OSS_GETVERSION ioctl for compatibility. Some ports expect this and fail to compile on -current ATM. Submitted by: ryanb END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-11-26T12:24:06.000000Z K 7 svn:log V 3211 Welcome to Once-a-year Sound Mega-Commit. Enjoy numerous updates and fixes in every sense. General ------- - Multichannel safe, endian safe, format safe * Large part of critical pcm filters such as vchan.c, feeder_rate.c, feeder_volume.c, feeder_fmt.c and feeder.c has been rewritten so that using them does not cause the pcm data to be converted to 16bit little endian. * Macrosses for accessing pcm data safely are defined within sound.h in the form of PCM_READ_* / PCM_WRITE_* * Currently, most of them are probably limited for mono/stereo handling, but the future addition of true multichannel will be much easier. - Low latency operation * Well, this require lot more works to do not just within sound driver, but we're heading towards right direction. Buffer/block sizing within channel.c is rewritten to calculate precise allocation for various combination of sample/data/rate size. As a result, applying correct SNDCTL_DSP_POLICY value will achive expected latency behaviour simmilar to what commercial 4front driver do. * Signal handling fix. ctrl+c of "cat /dev/zero > /dev/dsp" does not result long delay. * Eliminate sound truncation if the sound data is too small. DIY: 1) Download / extract http://people.freebsd.org/~ariff/lowlatency/shortfiles.tar.gz 2) Do a comparison between "cat state*.au > /dev/dsp" and "for x in state*.au ; do cat $x > /dev/dsp ; done" - there should be no "perceivable" differences. Double close for PR kern/31445. CAVEAT: Low latency come with (unbearable) price especially for poorly written applications. Applications that trying to act smarter by requesting (wrong) blocksize/blockcount will suffer the most. Fixup samples/patches can be found at: http://people.freebsd.org/~ariff/ports/ - Switch minimum/maximum sampling rate limit to "1" and "2016000" (48k * 42) due to closer compatibility with 4front driver. Discussed with: marcus@ (long time ago?) - All driver specific sysctls in the form of "hw.snd.pcm%d.*" have been moved to their own dev sysctl nodes, notably: hw.snd.pcm%d.vchans -> dev.pcm.%d.vchans Bump __FreeBSD_version. Driver specific --------------- - Ditto for sysctls. - snd_atiixp, snd_es137x, snd_via8233, snd_hda * Numerous cleanups and fixes. * _EXPERIMENTAL_ polling mode support using simple callout_* mechanisme. This was intended for pure debugging and latency measurement, but proven good enough in few unexpected and rare cases (such as problematic shared IRQ with GIANT devices - USB). Polling can be enabled/disabled through dev.pcm.0.polling. Disabled by default. - snd_ich * Fix possible overflow during speed calibration. Delay final initialization (pcm_setstatus) after calibration finished. PR: kern/100169 Tested by: Kevin Overman * Inverted EAPD for few Nec VersaPro. PR: kern/104715 Submitted by: KAWATA Masahiko Thanks to various people, notably Joel Dahl, Yuriy Tsibizov, Kevin Oberman, those at #freebsd-azalia @ freenode and others for testing. Joel Dahl will do the manpage update. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-11-26T12:27:02.000000Z K 7 svn:log V 180 - Update the Runtime Configuration, FILES and DIAGNOSTICS sections to the new world order. - Use our standard section 4 SYNOPSIS. - Minor nits. Reviewed by: brueffer, ariff END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-26T14:36:34.000000Z K 7 svn:log V 184 - When building world WITHOUT_LIBPTHREAD, link libthr to libpthread. - Don't build ngctl(8) and cached(8) if threading libs aren't built. - Fix various issues in a cached(8) makefile. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-11-26T14:41:17.000000Z K 7 svn:log V 32 ah_if.m was removed a while ago END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-26T14:43:03.000000Z K 7 svn:log V 23 Fix "make checkdpadd". END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-11-26T14:43:45.000000Z K 7 svn:log V 30 Add libusb.h and libusbhid.h. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-11-26T15:04:30.000000Z K 7 svn:log V 52 Add some old includes to remove. Reported by: kris END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-26T15:46:30.000000Z K 7 svn:log V 71 Finish MFC (rev. 1.17) "optional" keyword. Approved by: re (kensmith) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-26T17:13:24.000000Z K 7 svn:log V 140 o Add a quirk for X-Micro Flash Disk. PR: usb/96901 Submitted by: Szalai Andras Reviewed by: nate (a half of year ago) MFC after: 3 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-26T17:15:54.000000Z K 7 svn:log V 69 o Style(9): trim eol w/spaces, w/spaces to tabs, kill an empty line. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-26T17:18:31.000000Z K 7 svn:log V 42 o Style: remove a w/space before a comma. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-26T18:27:16.000000Z K 7 svn:log V 36 o Add cam to a list of cscope dirs. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-26T18:43:48.000000Z K 7 svn:log V 152 use two stage creation of stp ports, this means that the stp variables can be set before the port is marked STP and they will no longer be overwrittten END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-26T18:49:44.000000Z K 7 svn:log V 636 o From the submitter: dos2unixchr will convert to lower case if LCASE_BASE or LCASE_EXT or both are set. But dos2unixfn uses dos2unixchr separately for the basename and the extension. So if either LCASE_BASE or LCASE_EXT is set, dos2unixfn will convert both the basename and extension to lowercase because it is blindly passing in the state of both flags to dos2unixchr. The bit masks I used ensure that only the state of LCASE_BASE gets passed to dos2unixchr when the basename is converted, and only the state of LCASE_EXT is passed in when the extension is converted. PR: kern/86655 Submitted by: Micah Lieske MFC after: 3 weeks END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-11-26T19:00:50.000000Z K 7 svn:log V 801 Write-blocking cleanup, largely thanks to Colin Percival (cperciva@). * If write block size is zero, don't block at all. This supports the unusual requirement of applications that need "no-delay" writes. * Expose _write_finish_entry() to give such applications more control over write boundaries. (Normal applications do not need this, as entries are completed automatically.) * Correct the type of write callbacks; this is a minor API change that does not affect the ABI. * Correct the error handling in _write_next_header() around completing the previous entry. * Correct the documentation for block-size markers: Remove docs for the long-defunct _read_set_block_size(); document all of the write block size manipulators. MFC after: 14 days END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-11-26T19:03:19.000000Z K 7 svn:log V 232 Remove leading dollar sign in rcvar command output. There's no dollar use in variable assignment in sh. Assuming this is can be expected behavior for some people, this change won't be MFC'ed to RELENG_6. Discussed with: yar on -rc END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-11-26T19:09:42.000000Z K 7 svn:log V 118 Bump the libarchive version number, correct the shell hackery to break the full version down into major/minor values. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-26T19:25:10.000000Z K 7 svn:log V 225 The real contents of this file were repeated twice. The repetition was harmless due to a usual #ifndef _FOO_H_ wrapper. Fortunately, nobody started to hack the second copy, so just remove it from the file. MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-26T19:49:34.000000Z K 7 svn:log V 40 Remove redundant setting of port state. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-11-26T19:55:26.000000Z K 7 svn:log V 121 device-independent implementation of AMRR tx rate control algorithm Obtained from: openbsd (w/ mods) MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-11-26T19:55:57.000000Z K 7 svn:log V 51 add rate control debug msg bit MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-11-26T19:56:25.000000Z K 7 svn:log V 68 add rate knob for net80211 rate control modules MFC after: 1 month END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-26T20:08:40.000000Z K 7 svn:log V 221 Don't overflow from the gigabyte scale to the bit scale if the number to auto-scale is >= 1024 Gb. Could be triggered on arches where ifdata counters had 64 bits. Reported by: Miroslav Slavkov on -net MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-26T20:14:47.000000Z K 7 svn:log V 103 There is no reason to use __inline here because we are rather far from a path critical to performance. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-26T20:33:29.000000Z K 7 svn:log V 67 Initialize the port info, this shouldnt have been removed in r1.28 END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-11-26T21:22:49.000000Z K 7 svn:log V 29 Clarify case body indention. END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-11-26T22:02:09.000000Z K 7 svn:log V 94 Teach find_processes() to use ${name}_chroot. Obtained from: NetBSD X-MFC after: 6.2-RELEASE END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-11-26T22:23:30.000000Z K 7 svn:log V 46 module glue for wlan_amrr MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-26T22:28:10.000000Z K 7 svn:log V 96 MFC: 1.457, 1.458 - Kill more references to lnc(4). - Add le(4). Tested by: Gheorghe Ardelean END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-26T22:31:23.000000Z K 7 svn:log V 189 Fix "shutdown -r" and "shutdown -h" - "shutdown -r" will reset the system - "shutdown -h" will power off the system We don't drop into OFW as newer versions of solaris don't do this either END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-26T22:47:52.000000Z K 7 svn:log V 88 Declare hypervisor system initiated reset function as needed by the previous commit :-/ END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-11-26T22:48:03.000000Z K 7 svn:log V 229 Default the rate sets for 802.11 operating modes so drivers aren't required to. Note this only happens when drivers don't set them up before calling ieee80211_ifattach so this change is backwards compatible. MFC after: 1 month END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-11-26T23:11:53.000000Z K 7 svn:log V 50 nfe_stop() requires lock to be held when calling. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-26T23:16:46.000000Z K 7 svn:log V 322 Fix module loading for sparc on machines with greater than 1GB of RAM t1# uname -m sparc64 t1# sysctl hw.physmem hw.physmem: 17150509056 t1# kldload reiserfs t1# kldstat Id Refs Address Size Name 1 3 0xc0000000 58cc38 kernel 2 1 0xcbe70000 234000 xfs.ko 3 1 0xcc0b6000 110000 reiserfs.ko END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-11-27T00:05:18.000000Z K 7 svn:log V 36 Fix editor fatfingering in rev 1.9. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-11-27T00:10:00.000000Z K 7 svn:log V 78 Grrr. new .vimrc file is really giving me trouble.. get the whitespace right. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-11-27T00:16:47.000000Z K 7 svn:log V 81 Fix the jumbo frame support. Submitted by: Peer Chen at nVIDIA (reworked by me) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-11-27T00:23:59.000000Z K 7 svn:log V 37 Reformat to KNF after revision 1.12. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-27T00:33:15.000000Z K 7 svn:log V 11 Add le(4). END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-27T00:35:40.000000Z K 7 svn:log V 253 Sync with the OpenBSD port of RSTP - use flags rather than sperate ioctls for edge, p2p - implement p2p and autop2p flags - define large pathcost constant as ULL - show bridgeid and rootid in ifconfig Obtained from: Reyk Floeter END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-27T01:35:11.000000Z K 7 svn:log V 195 Back out half of my previous change to support parallel makes. The generated Makefile clashes with the src/bin/sh/Makefile, causing it to try to use a rule to build something it doesn't need to. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-27T02:17:33.000000Z K 7 svn:log V 72 tte hash resizing may be causing errors when building - disable for now END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-11-27T04:47:27.000000Z K 7 svn:log V 63 Fix TX/RX checksum offload. Submitted by: Peer Chen at nVIDIA END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-11-27T06:16:36.000000Z K 7 svn:log V 97 - LNV -> LENOVO - Fix support for Samsung Q1 UltraMobile PC (inverted EAPD). Reported by: benno END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-27T06:51:51.000000Z K 7 svn:log V 83 re-enable tte hash resize, corruption was caused by a missing htole32 in mpt_cam.c END K 10 svn:author V 3 dds K 8 svn:date V 27 2006-11-27T09:02:01.000000Z K 7 svn:log V 141 MFC 1.26-1.34 of jot.c and 1.18-1.23 of jot.1. These revisions address bin/54878, docs/54879, bin/68981, and improve the code's readability. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2006-11-27T12:16:03.000000Z K 7 svn:log V 140 Shorten the KERNCONF filename to the basename in the install target as well as in the build target, although it is not used in this target. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2006-11-27T12:17:32.000000Z K 7 svn:log V 195 MFC 1.22 and 1.23: Shorten the kernel config file on the make command line to make things like NANO_KERNEL=/path/to/kernel.config work, so multiple images can share the same kernel config file. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T13:33:31.000000Z K 7 svn:log V 166 /usr/sbin/faithd is an INET6-specific tool, and now it won't be built if MK_INET6 is "no", so add it to the MK_INET6 block. PR: bin/100805 (audit-trail) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T14:16:40.000000Z K 7 svn:log V 31 C can enumerate things for us. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T14:18:54.000000Z K 7 svn:log V 112 Use C99 initializers so that we don't really have to worry about the order of related things at several places. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-27T14:37:09.000000Z K 7 svn:log V 57 MFC: 1.449: Fix endless visual beeping. PR: kern/68016 END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T14:48:46.000000Z K 7 svn:log V 24 Drop useless #includes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-27T14:49:38.000000Z K 7 svn:log V 128 MFC: 1.80: Restore support for directly loaded kernels. 1.81: Restore support for -c and -d. PR: i386/96430, i386/104709 END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-27T14:53:53.000000Z K 7 svn:log V 31 MFC: a.out -> ELF in comments. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T15:11:30.000000Z K 7 svn:log V 41 + Drop useless initializers. + style(9). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T15:14:50.000000Z K 7 svn:log V 43 Return back one initializer, it is needed. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T15:26:26.000000Z K 7 svn:log V 276 Allow for large scale factors. C99 warrants that ULLONG_MAX is not less than 2^64-1; and uintmax_t cannot be more narrow than unsigned long long. This allows for scale factors up to Exa inclusively. Use plain int for the scale index to be consistent with ifcmds.c and enum. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T16:14:32.000000Z K 7 svn:log V 64 Keep all convtbl-related constants and strings in convtbl.[ch]. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T16:23:09.000000Z K 7 svn:log V 55 Stop exposing things that can be private to convtbl.c. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-11-27T16:30:32.000000Z K 7 svn:log V 242 Improve support for large ISOs: * Correct a signed/unsigned problem that broke handling of files >2G. * Implement "skip" support for much faster "tar -t". Thanks to: Robert Sciuk for sending me a DVD that illustrated the first problem END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T16:33:44.000000Z K 7 svn:log V 143 Add the Tera scale factor, which is an easy job now. More scale factors would overflow the command line where the help for "scale" were shown. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-27T16:55:14.000000Z K 7 svn:log V 181 Push the detection of threading libs support down to ngctl/Makefile as the latter can be built without threading (with the loss of line editing functionality). Pointed by: glebius END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T16:59:08.000000Z K 7 svn:log V 55 Remove a wrong "const" qualifier. Spotted by: WARNS=6 END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T17:01:31.000000Z K 7 svn:log V 55 Don't discard a const qualifier from constant strings. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T17:24:36.000000Z K 7 svn:log V 186 + WARNS=4 reminds that nlist.n_name isn't const. + Use C99 initializers to be WARNS-clean. + The last element in a namelist should have its n_name set to NULL, not to an empty string. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T17:34:40.000000Z K 7 svn:log V 354 The logic of fetchnetstat_sysctl() isn't too complex: if idx is 0, we set and use xtp; if idx is 1, we set and use xip; the other cases are impossible. However, GCC cannot see that xip and xtp are always initialized before use because they are initialized and used in different if/else blocks. So setting them to NULL at the very beginning won't hurt. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T17:54:28.000000Z K 7 svn:log V 229 systat(1) reaches WARNS=6 on i386 and amd64. This is good for catching general regressions in future. Unfortunately, it still displays some problems at WARNS=6 on architectures with stricter alignment requirements, e.g., ia64. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-11-27T18:37:45.000000Z K 7 svn:log V 348 Overhaul this manpage somewhat: - Move mentionings of required drivers to the SYNOPSIS where they belong - Remove cruft (XiG, sheesh) from the EXAMPLES section and re-arrange things to make somewhat more sense - Fix an Xref to manpage from ports to mention the corresponsing port - Remove commented out HISTORY section header MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-27T18:39:02.000000Z K 7 svn:log V 745 Refine the previous change to only call bus_dmamap_sync() in case of an URQ_REQUEST when DMA segments are passed to usbd_start_transfer(); when the request doesn't include the optional data buffer the size of the transfer (xfer->length) is 0, in which case usbd_transfer() won't create a DMA map but call usbd_start_transfer() with no DMA segments. With the previous change this could result in the bus_dmamap_sync() implementation dereferencing the NULL-pointer passed as the DMA map argument. While at it fix what appears to be a typo in usbd_start_transfer(); in order to determine wheter usbd_start_transfer() was called with DMA segments check whether the number of segments is > 0 rather than the pointer to them being > 0. OK'ed by: imp END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-11-27T19:06:43.000000Z K 7 svn:log V 328 Fix for a bug caused by a race when 2 threads lookup the same file. Leave the loser's lock(s) initialized, so the reclaim logic can unconditionally destroy them when that race occurs (or if the vfs hash insert happened to fail for some other reason). Thanks to ups@ for a careful review of the code. Reported by : Kris Kennaway END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-27T19:38:28.000000Z K 7 svn:log V 136 There was a timeframe where crunchgen(1) was broken; force an upgrade during the build so those who are affected can build world again. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T19:48:45.000000Z K 7 svn:log V 85 We should return the name in cp, not printf it. Found by: WARNS=6 MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T19:50:50.000000Z K 7 svn:log V 70 Don't shadow globals. Found by: WARNS=6 MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-27T20:18:43.000000Z K 7 svn:log V 71 Keep the command name the same as the values display name in ifconfig. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T20:19:05.000000Z K 7 svn:log V 80 Consistently mark percentage scales as such. PR: bin/101975 MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2006-11-27T20:33:13.000000Z K 7 svn:log V 95 Write the short vendor name in ALL CAPS, since it will become a #define. Submitted by: brooks END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-27T20:52:57.000000Z K 7 svn:log V 45 Show the MAC address cache size and timeout. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-11-27T21:10:55.000000Z K 7 svn:log V 419 MFP4: Change 109654 Add two linprocfs entries for Linux IPC: /proc/sys/kernel/msgmni -> kern.ipc.msgmni /proc/sys/kernel/sem -> kern.ipc.semmsl kern.ipc.semmns kern.ipc.semopm kern.ipc.semmni This fixes msgget03 and semget05 from Linux Test Project (LTP) test suite. msgctl08 and msgctl09 also use /proc/sys/kernel/msgmni but another fix is required from p4 (Change 110179). Requested by: netchild END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-11-27T21:26:20.000000Z K 7 svn:log V 198 Partial MFC of revision 1.4: Fix a bug which caused a spurious "Fetching 2 metadata files... failed." error message the first time FreeBSD Update is run on a release which doesn't need any updates. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-11-27T21:27:33.000000Z K 7 svn:log V 226 Partial MFC of revision 1.4: Fix a bug which caused a spurious "Fetching 2 metadata files... failed." error message the first time FreeBSD Update is run on a release which doesn't need any updates. Approved by: re (kensmith) END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-27T21:30:38.000000Z K 7 svn:log V 246 Back out rev. 1.17: arch-dependent WARNS level. The policy is that the WARNS level should characterize the quality of a piece of code irrespective of any conditions. Otherwise the code doesn't deserve the WARNS level assigned. Requested by: ru END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-11-27T21:45:59.000000Z K 7 svn:log V 123 MFC: Remove uhidev.4 and references to it, the corresponding code was never imported from NetBSD. Approved by: re (bmah) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-11-27T21:54:46.000000Z K 7 svn:log V 21 Bump .Dd for r1.127. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-11-27T21:59:04.000000Z K 7 svn:log V 38 Add descriptions for p2p and autop2p. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-27T22:17:11.000000Z K 7 svn:log V 43 Fix some of the alignment warnings on ARM. END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-11-27T22:52:11.000000Z K 7 svn:log V 305 Do not mark Bluetooth HID device as a "potential keyboard" if its descriptor has items with CONSUMER page. For now only check for items with KEYBOARD page. This should prevent bthidd(8) from allocating vkbd(4) keyboard for Microsoft Bluetooth Explorer mouse. Reported by: Eric Anderson MFC after: 3 days END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-11-27T23:26:06.000000Z K 7 svn:log V 260 bde@ pointed out that tprintf() acquires Giant so callers of tprintf() don't have to explicitly acquire Giant (although they need to be aware of this and not hold any locks at that point). Remove the acquisitions of Giant in the NFS client wrapping tprintf(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-27T23:37:59.000000Z K 7 svn:log V 690 - Add a MIIF_FORCEANEG flag which forces an auto-negotiation to always take place if IFM_AUTO is selected. This allows drivers like nsphy(4), which need to force writing the ANAR according to the BMSR, to take advantage of mii_phy_setmedia(). [1] - In mii_phy_reset() once the current media is set don't isolate the PHY corresponding to the instance of the currently selected media rather than unconditionally not isolating the PHY corresponding to instance 0. This saves a isolation-unisolation-cycle of the PHY corresponding to the currently selected media for the case were it isn't instance 0. - Fix some whitespace nits. [1] Obtained from: NetBSD [1] MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-27T23:50:19.000000Z K 7 svn:log V 255 Analogous to mii_add_media(), factor out the code for checking whether the BMSR contains any media at all to mii_phy_add_media(). The majority of the drivers currently using mii_phy_add_media() were missing such a check anyway though. MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-28T00:05:04.000000Z K 7 svn:log V 25 Remove unused leftovers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-28T00:43:38.000000Z K 7 svn:log V 55 - Remove a dupe $FreeBSD$. - Fix some whitespace nits. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-28T00:45:48.000000Z K 7 svn:log V 467 - Don't set MIIF_NOISOLATE so lxtphy(4) can be used in configurations with multiple PHYs. There doesn't seem to be a problem with isolating LXT970 per se nor in combination with the NICs they're used with and lxtphy(4) was already adding IFM_NONE anyway. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia(). - Fix some whitespace nits. Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-28T00:47:54.000000Z K 7 svn:log V 116 - Rely on mii_phy_add_media() setting mii_anegticks as appropriate. - Fix some whitespace nits. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-28T01:01:02.000000Z K 7 svn:log V 1541 - Don't add IFM_NONE when used in combination with pcn(4) as for MII loopback to work PCnet chips additionally need to be placed into external loopback mode which pcn(4) doesn't do so far. - In nsphy_service() just use if_dname instead of determining the name of the parent NIC via device_get_name(device_get_parent(sc->mii_dev)). - Don't set MIIF_NOISOLATE, except for when used in combination with a NIC that wedges when isolating the PHYs, so nsphy(4) can be used in configurations with multiple PHYs. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia() (requires the MIIF_FORCEANEG added in sys/dev/mii/mii_physubr.c 1.26, sys/dev/mii/miivar.h 1.19). - Implement a separate nsphy_reset(). There are two reasons for this: 1) This PHY can take an inordinate amount of time to reset if media is attached; under fairly normal circumstances up to nearly one second. This is because it appears to go through an implicit auto- negotiation cycle as part of the reset. 2) During reset and auto-negotiation, the BMCR will clear the reset bit before the process is complete. It will return 0 until the process is complete and it's safe to access the PHY again. This is the first of two changes required to make the combination of Am79c971 and DP83840A found on certain HP cards and on-board in IBM machines work. - Fix some whitespace nits. Based on: NetBSD (except for the first and second item) MFC after: 2 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-28T01:03:29.000000Z K 7 svn:log V 21 Add arm to universe. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-28T01:08:45.000000Z K 7 svn:log V 595 - In qsphy_service() for the MII_TICK case don't bother to check whether the currently selected media is of type IFM_AUTO as auto-negotiation doesn't need to be kicked anyway. - Don't set MIIF_NOISOLATE so qsphy(4) can be used in configurations with multiple PHYs. There doesn't seem to be a problem with isolating QS6612 per se nor in combination with the NICs they're used with. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia(). Obtained from: NetBSD (except for the first item) MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-28T01:14:09.000000Z K 7 svn:log V 581 - In rlphy_service() for the MII_TICK case don't bother to check whether the currently selected media is of type IFM_AUTO as auto-negotiation doesn't need to be kicked anyway. - In rlphy_status() just use if_dname instead of determining the name of the parent NIC via device_get_name(device_get_parent(sc->mii_dev)). - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia(). - Fix some whitespace nits and remove commented out code that just can't be used with RealTek PHYs. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-11-28T01:33:17.000000Z K 7 svn:log V 1262 - Clear the PCN_MISC_ASEL bit so the media port can be actually set via the PCN_CSR_MODE register. Along with sys/dev/mii/nsphy.c 1.26 this fixes the case of certain Am79c971-based HP cards and on-board ones in IBM machines reporting link but not actually passing any traffic. [1] - Add support for the internal 10baseT PHY, which actually is used on at least said HP cards (together with an external DP83840A in a multiple PHYs configuration). With cards that don't make use of this internal PHY it'll also show up in FreeBSD but not cause any harm. This is still missing support for multiple PHYs configuration using the internal 100baseTX and/or HomePNA PHYs together with external PHYs or multiple external PHYs though. - In pcn_ifmedia_upd() call pcn_reset() as otherwise the Am79C971 of at least said HP cards can wedge when switching from the internal 10baseT PHY to the external PHY. This means that we need to also initialize and possibly start the chip again in pcn_ifmedia_upd(), which isn't that bad though as for setting the media port the chip has to be powered down or stopped anyway and unlike documented doesn't take effect until the next initialization. PR: 27995, 25959, 72966 (likely) [1] MFC after: 2 weeks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-11-28T03:24:34.000000Z K 7 svn:log V 158 - Remove third parameter of itimer_find, the parameter is always zero. - Call callout_drain on deleting POSIX timer. - Use kern_timer_delete in exiting hook. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-28T06:51:36.000000Z K 7 svn:log V 114 Add a fake flag for write. Many drivers have started to use it and it seems like a good idea. Submitted by: sam END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-11-28T11:05:31.000000Z K 7 svn:log V 298 If a thread was detached, return EINVAL instead, the error code is also returned by pthread_detach() if a thread was already detached, the error code was already documented: > [EINVAL] The implementation has detected that the value speci- > fied by thread does not refer to a joinable thread. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-11-28T11:19:36.000000Z K 7 svn:log V 901 Change net.isr.direct from defaulting to 0 to 1 in 7-CURRENT. This enables direct dispatch of the network stack from the device driver ithread, enabling input path parallelism by default when multiple interfaces are present. The strategy for network stack parallelism is something being actively discussed, and this is just one of several possible (and perfectly reasonable) strategies, but has the distinct advantage of reducing the number of context switches and preemptions significantly, resulting in higher efficiency in many cases. In some caes, this may reduce network stack parallelism due to work not being deferred from the ithread to the netisr. Therefore, the strategy may change in the future, but this offers a reasonable first pass and enabling parallelism while maintaining strong ordering. Hopefully this will trigger lots of nice new bugs. This change is not intended for MFC. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-11-28T11:48:34.000000Z K 7 svn:log V 85 Increase USR_MIN_SIZE to 160 because it requires more disk space. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-28T12:46:02.000000Z K 7 svn:log V 538 - Revert signedness type changes to "struct vmtotal"; by making them unsigned I made the possible overflows hard to detect, and it only saved 1 bit which isn't principal, even less now that the underlying issue with the total of virtual memory has been fixed. (For the record, it will overflow with >=2T of VM total, with 32-bit ints used to keep counters in pages.) - While here, fix printing of other "struct vmtotal" members such as t_rq, t_dw, t_pw, and t_sw as they are also signed. Reviewed by: bde MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-11-28T17:05:36.000000Z K 7 svn:log V 184 Merge rev 1.10 of if_bcereg.h and 1.20-1.21 of if_bce.c These fix VLAN tag handling and close a race in the TX path that would lead to lost packets under heavy load. Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-11-28T17:08:43.000000Z K 7 svn:log V 204 MFC v1.240: revision 1.240 date: 2006/11/23 00:57:10; author: kensmith; state: Exp; lines: +1 -1 Oops - what people refer to as linux_base-fc4 calls itself linux_base-fc and that's what pkg_add needs. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-11-28T17:14:07.000000Z K 7 svn:log V 184 Merge rev 1.10 of if_bcereg.h and 1.20-1.21 of if_bce.c These fix VLAN tag handling and close a race in the TX path that would lead to lost packets under heavy load. Approved by: re END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2006-11-28T17:30:58.000000Z K 7 svn:log V 329 MFS v1.233.2.4: > date: 2006/11/28 17:08:43; author: kensmith; state: Exp; lines: +1 -1 > MFC v1.240: > revision 1.240 > date: 2006/11/23 00:57:10; author: kensmith; state: Exp; lines: +1 -1 > Oops - what people refer to as linux_base-fc4 calls itself linux_base-fc > and that's what pkg_add needs. Approved by: re (bmah) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-11-28T19:03:53.000000Z K 7 svn:log V 40 Document major numbers used for amr(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-11-28T19:05:06.000000Z K 7 svn:log V 114 Assign major numbers 177 and 178 to mfi(4) rather than using two majors reserved for local devices (200 and 201). END K 10 svn:author V 4 rees K 8 svn:date V 27 2006-11-28T19:33:28.000000Z K 7 svn:log V 94 NFSv4 client: Add support for va_birthtime Fix va_ctime to use TIME_METADATA, not TIME_CREATE END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-28T20:04:00.000000Z K 7 svn:log V 105 Differentiate between data and instruction fetch in the fatal page fault trap handler. Reviewed by: alc END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-11-28T21:13:07.000000Z K 7 svn:log V 176 Add a quirk for devices recognized as usb keyboards not to be hooked by ukbd(4). PR: usb/105669 Submitted by: Henrik Brix Andersen MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-11-28T21:41:12.000000Z K 7 svn:log V 1343 Reformulate ip_ctloutput() and tcp_ctloutput() to work around the fact that so_pcb can be invalidated at any time due to an untimely reset. Move the body of ip_ctloutput() to ip_ctloutput_pcbinfo(), which accepts a pcbinfo argument, and wrap it with ip_ctloutput(), which passes a NULL. Modify tcp_ctloutput() to directly invoke ip_ctloutput_pcbinfo() and pass tcbinfo. Hold the pcbinfo lock when dereferencing so_pcb and acquiring the inpcb lock in order to prevent the inpcb from being freed; the pcbinfo lock is then immediately dropped. This is required as TCP may free the inppcb and invalidate so_pcb due to a reset at any time in the RELENG_6 network stack, which otherwise leads to a panic. This panic might be frequently seen on highly loaded IRC and Samba servers, which have long-lasting TCP connections, query socket options frequently, and see a significant number of reset connections. This change has been merged directly to RELENG_6 as the problem does not exist in HEAD, where the invariants for so_pcb are much stronger; the architectural changes in HEAD avoid the need to acquire a global lock in the socket option path. This change will be merged to RELENG_6_2. PR: 102412, 104765 Reviewed by: Diane Bruce Tested by: Daniel Austin , Kai Gallasch END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-11-28T21:59:47.000000Z K 7 svn:log V 45 Add support for making mfi and mfid devices. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-28T22:03:37.000000Z K 7 svn:log V 158 Partial MFC: Remove 16-bit wide I/O. It breaks when the register shift is non-null and may not work on all chipsets. PR: i386/105616 Tested by: Helge Oldach END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-11-28T23:19:18.000000Z K 7 svn:log V 1552 Merge ip_output.c:1.242.2.17, ip_var.h:1.95.2.1, tcp_usrreq.c:1.124.2.4 from RELENG_6 to RELENG_6_2: Reformulate ip_ctloutput() and tcp_ctloutput() to work around the fact that so_pcb can be invalidated at any time due to an untimely reset. Move the body of ip_ctloutput() to ip_ctloutput_pcbinfo(), which accepts a pcbinfo argument, and wrap it with ip_ctloutput(), which passes a NULL. Modify tcp_ctloutput() to directly invoke ip_ctloutput_pcbinfo() and pass tcbinfo. Hold the pcbinfo lock when dereferencing so_pcb and acquiring the inpcb lock in order to prevent the inpcb from being freed; the pcbinfo lock is then immediately dropped. This is required as TCP may free the inppcb and invalidate so_pcb due to a reset at any time in the RELENG_6 network stack, which otherwise leads to a panic. This panic might be frequently seen on highly loaded IRC and Samba servers, which have long-lasting TCP connections, query socket options frequently, and see a significant number of reset connections. This change has been merged directly to RELENG_6 as the problem does not exist in HEAD, where the invariants for so_pcb are much stronger; the architectural changes in HEAD avoid the need to acquire a global lock in the socket option path. This change will be merged to RELENG_6_2. PR: 102412, 104765 Reviewed by: Diane Bruce Tested by: Daniel Austin , Kai Gallasch Approved by: re (kensmith) END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-11-29T00:41:44.000000Z K 7 svn:log V 207 Deduce the "fstype" parameter to pass to nmount() by looking at the "_nfs" part of argv[0]. This should facilitate unifying mount_nfs and mount_nfs4 into one binary. MFC after: 1 month Reviewed by: mohans END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-11-29T00:46:30.000000Z K 7 svn:log V 214 Pass a string buffer named "errmsg" to nmount(). This will allow the NFS mount code to return a string error message in addition to returning an error integer value. Reviewed by: mohans MFC after: 1 month END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-11-29T01:19:23.000000Z K 7 svn:log V 497 Another attempt to MFC changes that prevent any accounting for the disabled HTT cores. This time make code conditional on !defined(SCHED_ULE), since SCHED_ULE is generally b0rken due to the fact that it doesn't honour hlt_cpus_mask when scheduling processes like all other schedulers in the system do. I am not sure if such SCHED_ULE behaviour should be considered as a security flaw, basically it means that anybody running SCHED_ULE kernel on HTT system still affected by FreeBSD-SA-05:09.htt. END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-11-29T02:21:40.000000Z K 7 svn:log V 258 In nfs_nget(), we must initialize the fh in the nfsnode before inserting the vnode into the vfs hash. Otherwise, another thread walking the hash can trip on an nfsnode with an uninitialized or partially initialized fh. Thanks to ups@ for spotting this race. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-29T04:52:51.000000Z K 7 svn:log V 252 We no longer need to remap hardware trap numbers to sparc64 trap numbers as this happens much earlier in trap handling. The fact that we continued to do this when it was no longer necessary caused breapoint to map to SIGILL as opposed to SIGTRAP :-(. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-29T05:18:19.000000Z K 7 svn:log V 397 - Explicitly name the fields in pcb that we use to store trap state for later retrieval, rather than using pad - save the fault address in sfar for use by the alignment fixup handler - mask off the trap number, so the context id doesn't confuse the UT_MAX comparison This change fixes alignment fixup handling which is needed for traceroute to work in spite of its copious unaligned accesses END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2006-11-29T05:29:13.000000Z K 7 svn:log V 71 MFC {r1.60 boot_i386.8, r1.24 reboot.8 }: Cross-reference nextboot(8). END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-29T05:53:25.000000Z K 7 svn:log V 121 Note that not all architectures use sendfile(2) buffers; refer to the respective manpage for details. MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-29T07:51:29.000000Z K 7 svn:log V 57 MFC rev. 1.16: check that -w width is not above maximum. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-29T07:57:02.000000Z K 7 svn:log V 132 MFp4: correct data counts so that we clock enough data for the spi transaction. This allows complete spi transactions to happen. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-29T08:05:55.000000Z K 7 svn:log V 245 MFp4: Preliminary support for Atmel AT45D series of DataFlash on the SPI bus (ok, not really a hardware bus, but a logical connection). This works only for the 8MB version of the part due to hard coding. Both read and write are supported. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-29T08:08:30.000000Z K 7 svn:log V 36 Build glue for at45d flash support. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-29T08:15:59.000000Z K 7 svn:log V 284 Make this work a lot better: Remove a lot of older cruft not needed. Improve ISR support, but it is still unused since polling is faster Properly initalize the speed register to get 90kb/s, not 400b/s. Try to catch NACK Allow 0 length read transfers to generate start/top pairs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-11-29T08:17:40.000000Z K 7 svn:log V 22 MFp4: formatting nit END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-29T09:01:28.000000Z K 7 svn:log V 76 o Xr netconfig(5). PR: docs/105720 Submitted by: koitsu MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-29T11:13:22.000000Z K 7 svn:log V 114 MFC rev 1.4: Properly stop at the gigabyte scale when the number to auto-scale is 1TB or greater. PR: bin/99731 END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-11-29T11:20:10.000000Z K 7 svn:log V 80 MFC rev 1.3: Remove the accidental duplicate of the real contents of this file. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-29T14:00:29.000000Z K 7 svn:log V 121 MFC: 1.72: Prevent cached rtentry from being removed, add rtentry locking to nd6_output(). PR: kern/93910, kern/105437 END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-11-29T15:15:30.000000Z K 7 svn:log V 94 Fix support for Medion MD MD95257 (GPIO2 quirk). Reported by: Chris Tophe END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2006-11-29T15:30:39.000000Z K 7 svn:log V 118 Fix mxge_submit_8rx() to behave like the comments says it does, and ensure that it copies at most 32 bytes at a time. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-11-29T17:07:02.000000Z K 7 svn:log V 76 Add the dev.pcm.%d.polling sysctl and a short description. Reviewed by: ru END K 10 svn:author V 6 marcel K 8 svn:date V 27 2006-11-29T17:54:59.000000Z K 7 svn:log V 153 MFS: Remove 16-bit wide I/O. It breaks when the register shift is non-null and may not work on all chipsets. PR: i386/105616 Approved by: re (kensmith) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2006-11-29T19:08:45.000000Z K 7 svn:log V 31 Document struct uio.h entries. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2006-11-29T19:10:53.000000Z K 7 svn:log V 42 Do a better job of documenting uio_resid. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2006-11-29T19:19:44.000000Z K 7 svn:log V 313 Stop INVARIANTS panics in if_aue with a stopgap. aue_tick calls several synchronous usb functions from a timeout(9), this is very broken since a timeout(9) is run as an interrupt and the usb functions tsleep. A stopgap fix is to schedule a taskqueue task from the timeout and defer work to that taskqueue task. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-11-29T19:31:23.000000Z K 7 svn:log V 181 - add separate variable for enabling printing of ranges - simplify handling of rounding phys_avail ranges to 4M boundaries (needed for all memory to be in the direct mapped area) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2006-11-29T20:24:56.000000Z K 7 svn:log V 119 Bump .Dd, (9 year jump!) Requested by: ru cvs: ---------------------------------------------------------------------- END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-11-29T21:42:48.000000Z K 7 svn:log V 86 Remove pre-5.3 compatibility ifdefs. Approved by: rwatson (mentor) MFC after: 5 days END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-30T04:17:05.000000Z K 7 svn:log V 768 Turn console printf buffering into a kernel option and only on by default for sun4v where it is absolutely required. This change moves the buffer from struct pcpu to the stack to avoid using the critical section which created a LOR in a couple of cases due to interaction with the tty code and kqueue. The LOR can't be fixed with the critical section and the pcpu buffer can't be used without the critical section. Putting the buffer on the stack was my initial solution, but it was pointed out that the stress on the stack might cause problems depending on the call path. We don't have a way of creating tests for those possible cases, so it's best to leave this as an option for the time being. In time we may get enough data to enable this option more generally. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-11-30T05:49:54.000000Z K 7 svn:log V 345 MFC: rev. 1.25 Overhaul this manpage somewhat: - Move mentionings of required drivers to the SYNOPSIS where they belong - Remove cruft (XiG, sheesh) from the EXAMPLES section and re-arrange things to make somewhat more sense - Fix an Xref to manpage from ports to mention the corresponsing port - Remove commented out HISTORY section header END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-11-30T06:17:54.000000Z K 7 svn:log V 35 fls was missing MFC after: 1 week END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2006-11-30T06:30:01.000000Z K 7 svn:log V 49 Better i2c bit definitions. Approved by: cognet END K 10 svn:author V 2 jb K 8 svn:date V 27 2006-11-30T07:25:52.000000Z K 7 svn:log V 71 Flushing the buffer is conditional on actually using the buffer. Oops. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2006-11-30T08:13:06.000000Z K 7 svn:log V 202 Don't use vm_page_flag_set() if installing bootstrap page-table entries since the vm page mutex's aren't yet initialized. Fixes boot-time panic. Reported by: Dario Freni saturnero at freesbie dot org END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-11-30T08:27:38.000000Z K 7 svn:log V 160 Only grab the sched_lock if we actually need to modify the thread priority. During a buildworld only 2/3 of the calls to msleep actually changed the priority. END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-11-30T10:50:29.000000Z K 7 svn:log V 530 Linker set support depends on the magic __start_
and __stop_
symbols generated by the static linker for elf sections. This is done only for the final link, and not for ld -r. Augment elf_obj in-kernel linker by recognizing such special symbols, and resolving them to the start and end of the section automatically. As result, linker sets on amd64 could be used in the same way as on other architectures, without explicit calls to linker_file_lookup_set(). Requested by: rdivacky No objections from: peter, jhb END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-11-30T10:54:54.000000Z K 7 svn:log V 164 Consistently use #ifdef INET6 rather than mixing and matching with #if defined(INET6). Don't comment the end of short #ifdef blocks. Comment cleanup. Line wrap. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-11-30T13:40:39.000000Z K 7 svn:log V 147 - Instead of if_watchdog/if_timer interface use our own timer that piggybacks on bge_tick() callout. - Lock bge_tick() using callout_init_mtx(). END K 10 svn:author V 3 flz K 8 svn:date V 27 2006-11-30T14:29:47.000000Z K 7 svn:log V 71 Bump __FreeBSD_version after UQ_KBD_IGNORE was set for Wi-Spy devices. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-11-30T14:58:01.000000Z K 7 svn:log V 103 - Instead of if_watchdog/if_timer interface use our own timer that piggybacks on fxp_tick() callout. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-11-30T15:02:01.000000Z K 7 svn:log V 353 The recent issues with em(4) interface has shown that the old 4.4BSD if_watchdog/if_timer interface doesn't fit modern SMP network stack design. Device drivers that need watchdog to monitor their hardware should implement it theirselves. Eventually the if_watchdog/if_timer API will be removed. For now, warn that driver uses it. Reviewed by: scottl END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-11-30T15:14:17.000000Z K 7 svn:log V 90 o ciss.ko depends on cam and pci. PR: kern/105989 Submitted by: nork MFC after: 1 month END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-11-30T18:06:57.000000Z K 7 svn:log V 27 Bump .Dd for revision 1.8. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-11-30T18:55:36.000000Z K 7 svn:log V 317 From OpenBSD, rev. 1.91: fix servicecurve check; no point in checking the same sc three times, it was obviously intended to check all three. has been wrong since the beginning, 4 years... noticed by Earl Lapus , Vasil Dimov mailed me then, ok mcbride MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-11-30T21:01:59.000000Z K 7 svn:log V 412 Fix the hardware VLAN tagging. TX was broken on little-endian machines and both TX and RX were broken on big-endian machines. The chip design is crazy -- on RX, it puts the 16-bit VLAN tag in network byte order (big-endian) in the 32-bit little-endian register! Thanks to John Baldwin for helping me document this change! ;-) Tested by: sat (amd64), test program (sparc64) PR: kern/105054 MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-11-30T23:30:40.000000Z K 7 svn:log V 202 Introduce CPU_XSCALE_CORE3, as XScale Core 3 is significally different than regular Xscale (it has no mini data cache, has armv6-style 16MB supersections, and can address 36bits). Define it for i81342. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-11-30T23:34:07.000000Z K 7 svn:log V 82 First bits of Xscale core 3 support (the VM bits are far from being optimal yet). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-11-30T23:35:34.000000Z K 7 svn:log V 100 In pmap_ts_referenced(), don't attempt to do anything if the page is fictitious, and just return 0. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-01T01:08:52.000000Z K 7 svn:log V 398 Simplify statistics updates, remove redundant register reads, and add discarded RX packets to input error for BCM5705 or newer chipset as the others. Unfortunately we cannot do the same for output errors because ifOutDiscards equivalent register does not exist. While I am here, replace misleading and wrong BGE_RX_STATS/BGE_TX_STATS with BGE_MAC_STATS. They were reversed but worked accidently. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-01T01:37:45.000000Z K 7 svn:log V 18 Fix white spaces. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-01T05:48:35.000000Z K 7 svn:log V 112 sizeof(struct llc) includes padding on arm; use LLC_SNAPFRAMELEN for now Submitted by: jhay MFC after: 2 weeks END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-01T06:53:13.000000Z K 7 svn:log V 159 Add inverted amplifier sense quirk for HP Compaq nx4300. PR: kern/106104 Submitted by: Shun-ichi Kobayashi MFC after: 3 days END