ĵ#190190 166 304 197 261 184 886 138 102 370 266 476 230 129 107 117 114 145 338 139 136 163 125 113 120 115 120 114 207 308 125 119 357 173 161 356 356 116 155 149 118 125 193 141 283 413 173 120 116 284 136 487 162 147 140 177 144 208 237 8083 170 162 136 257 257 689 706 251 354 2031 727 174 170 212 208 322 855 184 214 248 354 215 256 135 241 155 155 484 165 150 150 373 373 332 282 266 201 121 168 143 143 322 1195 135 634 1508 498 197 135 299 177 754 121 345 431 180 139 362 199 943 290 290 139 123 152 152 448 200 933 139 660 328 149 144 144 198 515 226 139 173 160 359 235 183 151 206 215 900 900 624 188 214 258 334 162 152 176 607 155 114 158 351 142 205 196 136 215 312 K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-20T23:06:16.519835Z K 7 svn:log V 212 MFC r185366: Unify ipsec[46]_delete_pcbpolicy in ipsec_delete_pcbpolicy. Ignoring different names because of macros (in6pcb, in6p_sp) and inp vs. in6p variable name both functions were entirely identical. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-20T23:12:14.452418Z K 7 svn:log V 100 Fix compile with USB_HAVE_BUSDMA/USB_HAVE_UGEN/USB_HAVE_STRINGS. Submitted by: Hans Petter Selasky END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-03-20T23:13:32.349468Z K 7 svn:log V 165 Separate the GEOM_PART entry into paragraphs with differences from old slicers. Add more notes. Reviewed by: marcel (implicit) Approved by: gnn (mentor) (implicit) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2009-03-20T23:55:01.273370Z K 7 svn:log V 90 - Add Ukranian catalog Submitted by: Alex Kozlov (via private mail) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-21T00:23:07.001478Z K 7 svn:log V 790 - In bge_ifmedia_upd_locked() take advantrage of LIST_FOREACH(). - If boot verbose, print asicrev, chiprev and bus type on attach. - For PCI Express devices: 1) Adjust max read request size to 4Kbytes 2) Turn on FIFO_LONG_BURST in RDMA during bge_blockinit() Though 1) does not seem to have much to do with the poor TX performance observed on PCI Express bge(4), 2) does fix the problem. [1] - Nuke the RX CPU self-diag, which prevents working cards from working (Linux tg3 does not have this diag neither does OpenBSD's bge(4)). The increasing of the firmware handshaking timeout to 20000 retries done as part of the original commit isn't merged as way already have a way higher BGE_TIMEOUT of 100000. PR: 119361 [1] Obtained from: tg3 via DragonflyBSD [1], DragonflyBSD END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-21T05:44:22.285694Z K 7 svn:log V 42 Revert r190173 as it breaks 64bit arches. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-03-21T10:10:33.668754Z K 7 svn:log V 9 o Spell. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-21T11:18:59.205812Z K 7 svn:log V 278 MFC r185370: Merge in6_pcbfree() into in_pcbfree() which after the previous IPsec change in r185366 (r185366 for stable/7) only differed in two additonal IPv6 lines. Rather than splattering conditional code everywhere add the v6 check centrally at this single place. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-21T12:02:11.499739Z K 7 svn:log V 174 MFC r185371: Replace most INP_CHECK_SOCKAF() uses checking if it is an IPv6 socket by comparing a constant inp vflag. This is expected to help to reduce extra locking. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-21T12:53:42.494375Z K 7 svn:log V 384 MFC r186141: Another step assimilating IPv[46] PCB code - directly use the inpcb names rather than the following IPv6 compat macros: in6pcb, in6p_sp, in6p_ip6_nxt, in6p_flowinfo, in6p_vflag, in6p_flags, in6p_socket, in6p_lport, in6p_fport, in6p_ppcb and sotoin6pcb(). Apart from removing duplicate code in netipsec, this is a pure whitespace, not a functional change. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-03-21T13:37:49.189205Z K 7 svn:log V 138 MFC r186223: Another step assimilating IPv[46] PCB code: normalize IN6P_* compat flags usage to their equialent INP_* counterpart. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T15:46:37.293653Z K 7 svn:log V 34 Exclude list for tcpdump imports. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T16:08:40.554075Z K 7 svn:log V 12 Fix a path. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T16:23:46.879598Z K 7 svn:log V 22 Import tcpdump 4.0.0. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T16:25:02.016432Z K 7 svn:log V 19 Tag tcpdump 4.0.0. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T17:01:29.460309Z K 7 svn:log V 50 Fix incorrect path of the svn:mergeinfo property. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-03-21T17:09:00.640033Z K 7 svn:log V 245 Fix a bug in the recent update to the Chelsio driver. The tick routine was not being restarted in the init_locked routine which could resulted in loss of carrier when updating the MTU. Submitted by: Navdeep Parhar at Chelsio MFC after: 3 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T18:30:25.006172Z K 7 svn:log V 44 Merge tcpdump 4.0.0 from the vendor branch. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T18:40:38.576282Z K 7 svn:log V 41 Add new build targets for tcpdump 4.0.0. END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-03-21T19:09:33.629702Z K 7 svn:log V 71 Wrap a long line. Save a copy of the CONFIGFILES before we spam them. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T20:16:15.182802Z K 7 svn:log V 30 Add exclude list for libpcap. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T20:18:32.274674Z K 7 svn:log V 18 Add svn:keywords. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T20:34:41.756450Z K 7 svn:log V 25 Add a couple more paths. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T20:39:22.257916Z K 7 svn:log V 20 Add Mac OS X stuff. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T20:43:56.411831Z K 7 svn:log V 25 Import of libpcap 1.0.0. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T20:44:46.012941Z K 7 svn:log V 19 Tag libpcap 1.0.0. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-03-21T21:12:16.965920Z K 7 svn:log V 110 MFC r180318: Remove the $DUMPDIR variable. It's redundant and the rest of the script uses $dumpdir directly. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-03-21T21:16:05.669589Z K 7 svn:log V 211 MFC r182460: Add the ability to run /usr/sbin/crashinfo on a new core dump automatically during boot. Right now this is disabled by default, but it can be enabled by setting 'crashinfo_enable=YES' in rc.conf. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-21T21:37:05.890964Z K 7 svn:log V 31 Vendor import of BIND 9.4.3-P2 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-21T21:37:53.246173Z K 7 svn:log V 25 Tag the 9.4.3-P2 release END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-21T21:49:07.960435Z K 7 svn:log V 260 In nfs_request(), always exit using the nfsmout label once we're definitely doing an NFSv2 or NFSv3 RPC, rather than sometimes doing so and sometimes not. This makes it easier to add a DTrace return probe at a single point in the function. MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T21:56:23.044921Z K 7 svn:log V 78 Fix WITHOUT_IPV6=yes build. Reported by: Andrzej Tobola ato at iem.pw.edu.pl END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-21T22:20:55.796326Z K 7 svn:log V 67 MFC r189902, clarify a few sections and add FreeBSD-specific notes END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-21T22:32:53.920932Z K 7 svn:log V 261 MFC r189761, r189763, r189992, r189994: 1. Fix creation and saving of the new mtree file with the -D option 2. Clean up usage() and man page so the options are all listed consistently 3. Add -F option 4. More man page cleanups for CVS -> VCS, punctuation, etc. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-21T22:35:44.639651Z K 7 svn:log V 261 MFC r189761, r189763, r189992, r189994: 1. Fix creation and saving of the new mtree file with the -D option 2. Clean up usage() and man page so the options are all listed consistently 3. Add -F option 4. More man page cleanups for CVS -> VCS, punctuation, etc. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T22:58:08.730621Z K 7 svn:log V 21 Merge libpcap 1.0.0. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T22:59:02.820079Z K 7 svn:log V 60 Support files for new libpcap 1.0.0. Includes a shlib bump. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-21T23:00:40.343269Z K 7 svn:log V 55 Merge from vendor/bind9/dist as of the 9.4.3-P2 import END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-21T23:03:56.795752Z K 7 svn:log V 24 MFC the 9.4.3-P2 update END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T23:08:04.616457Z K 7 svn:log V 30 Finish merge of zerocopy bpf. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-21T23:13:48.356238Z K 7 svn:log V 98 Remove remaining references to BIOCSETBUFMODE ifdefs. We now have another ifdef for zerocopy bpf. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-22T00:18:48.816718Z K 7 svn:log V 46 Add /usr/include/pcap (new in libpcap 1.0.0). END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-03-22T00:29:48.774263Z K 7 svn:log V 187 Be more explicit and complain if kernel dumps are perfomed on unsupported partition types. This is to help users used to the old behaviour. Reviewed by: marcel Approved by: gnn (mentor) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2009-03-22T00:45:47.995060Z K 7 svn:log V 315 Remove local in6_addr variables for local and foreign addresses in sysctl_drop, they were passed uninitialized to in6_pcblookup_hash. Instead, do as is done for IPv4 and use the addresses within the sockaddr structure, which are correctly populated. This fixes tcpdrop(8) for IPv6 address pairs. Reviewed by: bz END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-22T00:47:41.833464Z K 7 svn:log V 78 bpf_filter() and bpf_validate() can't live here if they already live in bpf.h END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-22T01:06:39.211094Z K 7 svn:log V 25 Install the new headers. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-03-22T01:24:32.624720Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-22T02:33:48.693876Z K 7 svn:log V 191 Eliminate the recomputation of pcb_cr3 from cpu_set_upcall(). The bcopy()ed value from the old thread is the correct value because the new thread and the old thread will share a page table. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-22T04:19:36.490480Z K 7 svn:log V 40 Improve debugging output around ioctls. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-22T04:32:05.633017Z K 7 svn:log V 394 In general, the kernel virtual address of the pml4 page table page that is stored in the pmap is from the direct map region. The two exceptions have been the kernel pmap and the swapper's pmap. These pmaps have used a kernel virtual address established by pmap_bootstrap() for their shared pml4 page table page. However, there is no reason not to use the direct map for these pmaps as well. END K 10 svn:author V 3 das K 8 svn:date V 27 2009-03-22T05:44:56.687053Z K 7 svn:log V 70 MFC r189804: Multibyte character support for cal(1). PR: 131578 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:01:33.166961Z K 7 svn:log V 51 MFC r189685: K&R -> ANSI C function definitions. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:04:16.488305Z K 7 svn:log V 44 MFC r189686: Remove extra tab characters. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:07:03.551622Z K 7 svn:log V 81 MFC r189687: Remove return statement at the end of function that returns void. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:11:35.046861Z K 7 svn:log V 48 MFC r189688: style(9) - space after keywords. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:16:44.969429Z K 7 svn:log V 111 MFC r189689: s/u_int8_t/uint8_t/g s/u_int16_t/uint16_t/g s/u_int32_t/uint32_t/g s/u_int64_t/uint64_t/g END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:21:35.663110Z K 7 svn:log V 140 MFC r189690: Replace local CRC32 routine with ether_crc32_be(). This should have happened long time ago. Also simplify Rx filter logic. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:26:47.599839Z K 7 svn:log V 7985 MFC r189714: bus_dma(9) conversion and make txp(4) work on all architectures. o Header file cleanup. o bus_dma(9) conversion. - Removed all consumers of vtophys(9) and converted to use bus_dma(9). - Typhoon2 functional specification says the controller supports 64bit DMA addressing. However all Typhoon controllers are known to lack of DAC support so 64bit DMA support was disabled. - The hardware can't handle more 16 fragmented Tx DMA segments so teach txp(4) to collapse these segments to be less than 16. - Added Rx buffer alignment requirements(4 bytes alignment) and implemented fixup code to align receive frame. Previously txp(4) always copied Rx frame to align it on 2 byte boundary but its copy overhead is much higher than unaligned access on i386/amd64. Alignment fixup code is now applied only for strict-alignment architectures. With this change i386 and amd64 will get instant Rx performance boost. Typhoon2 datasheet mentions a command that pads arbitrary bytes in Rx buffer but that command does not work. - Nuked pointer trick in descriptor ring. This does not work on sparc64 and replaced it with bcopy. Alternatively txp(4) can embed a 32 bits index value into the descriptor and compute real buffer address but it may make code complicated. - Added endianness support code in various Tx/Rx/command/response descriptor access. With this change txp(4) should work on all architectures. o Added comments for known firmware bugs(Tx checksum offloading, TSO, VLAN stripping and Rx buffer padding control). o Prefer faster memory space register access to I/O space access. Added fall-back mechanism to use alternative I/O space access. The hardware supports both memory and I/O mapped access. Users can still force to use old I/O space access by setting hw.txp.prefer_iomap tunable to 1 in /boot/loader.conf. o Added experimental suspend/resume methods. o Nuke error prone Rx buffer handling code and implemented local buffer management with TAILQ. Be definition the controller can't pass the last received frame to host if no Rx free buffers are available to use as head and tail pointer of Rx descriptor ring can't have the same value. In that case the Rx buffer pointer in Rx buffer ring still holds a valid buffer and txp_rxbuf_reclaim() can't fill Rx buffers as the first buffer is still valid. Instead of relying on the value of Rx buffer ring, introduce local buffer management code to handle empty buffer situation. This should fix a long standing bug which completely hangs the controller under high network load. I could easily trigger the issue by sending 64 bytes UDP frames with netperf. I have no idea how this bugs was not fixed for a long time. o Converted ithread interrupt handler to filter based one. o Rearranged txp_detach routine such that it's now used for general clean-up routine. o Show sleep image version on device attach time. This will help to know what action should be taken depending on sleep image version. The version information in datasheet was wrong for newer NV images so I followed Linux which seems to correctly extract version numbers from response descriptors. o Firmware image is no longer downloaded in device attach time. Now it is reloaded whenever if_init is invoked. This is to ensure correct operation of hardware when something goes wrong. Previously the controller always run without regard to running state of firmware. This change will add additional controller initialization time but it give more robust operation as txp(4) always start off from a known state. The controller is put into sleep state until administrator explicitly up the interface. o As firmware is loaded in if_init handler, it's now possible to implement real watchdog timeout handler. When watchdog timer is expired, full-reset the controller and initialize the hardware again as most other drivers do. While I'm here use our own timer for watchdog instead of using if_watchdog/if_timer interface. o Instead of masking specific interrupts with TXP_IMR register, program TXP_IER register with the interrupts to be raised and use TXP_IMR to toggle interrupt generation. o Implemented txp_wait() to wait a specific state of a controller. o Separate boot related code from txp_download_fw() and name it txp_boot() to handle boot process. o Added bus_barrier(9) to host to ARM communication. o Added endianness to all typhoon command processing. The ARM93C always expects little-endian format of command/data. o Removed __STRICT_ALIGNMENT which is not valid on FreeBSD. __NO_STRICT_ALIGNMENT is provided for that purpose on FreeBSD. Previously __STRICT_ALIGNMENT was unconditionally defined for all architectures. o Rewrote SIOCSIFCAP ioctl handler such that each capability can be controlled by ifconfig(8). Note, disabling VLAN hardware tagging has no effect due to the bug of firmware. o Don't send TXP_CMD_CLEAR_STATISTICS to clear MAC statistics in txp_tick(). The command is not atomic. Instead, just read the statistics and reflect saved statistics to the statistics. dev.txp.%d.stats sysctl node provides detailed MAC statistics. This also reduces a lot of waste of CPU cycles as processing a command ring takes a very long time on ARM93C. Note, Rx multicast and broadcast statistics does not seem to right. It might be another bug of firmware. o Implemented link state change handling in txp_tick(). Now sending packets is allowed only after establishing a valid link. Also invoke link state change notification whenever its state is changed so pseudo drivers like lagg(4) that relies on link state can work with failover or link aggregation without hacks. if_baudrate is updated to resolved speed so SNMP agents can get correct bandwidth parameters. o Overhauled Tx routine such that it now honors number of allowable DMA segments and checks for 4 free descriptors before trying to send a frame. A frame may require 4 descriptors(1 frame descriptor, 1 or more frame descriptors, 1 TSO option descriptor, one free descriptor to prevent descriptor wrap-around) at least so it's necessary to check available free descriptors prior to setting up DMA operation. o Added a sysctl variable dev.txp.%d.process_limit to control how many received frames should be served in Rx handler. Valid ranges are 16 to 128(default 64) in unit of frames. o Added ALTQ(4) support. o Added missing IFCAP_VLAN_HWCSUM as txp(4) can offload checksum calculation as well as VLAN tag insertion/stripping. o Fixed media header length for VLAN. o Don't set if_mtu in device attach, it's already set in ether_ifattach(). o Enabled MWI. o Fixed module unload panic when bpf listeners are active. o Rearranged ethernet address programming logic such that it works on strict-alignment architectures. o Removed unused member variables in softc. o Added support for WOL. o Removed now unused TXP_PCI_LOMEM/TXP_PCI_LOIO. o Added wakeup command TXP_BOOTCMD_WAKEUP definition. o Added a new firmware version query command, TXP_CMD_READ_VERSION. o Removed volatile keyword in softc as bus_dmamap_sync(9) should take care of this. o Removed embedded union trick of a structure used to to access a pointer on LP64 systems. o Added a few TSO related definitions for struct txp_tcpseg_desc. However TSO is not used at all due to the limitation of hardware. o Redefined PKT_MAX_PKTLEN to theoretical maximum size of a frame. o Switched from bus_space_{read|write}_4 to bus_{read|write}_4. o Added a new macro TXP_DESC_INC to compute next descriptor index. Tested by: don.nasco <> gmail dot com END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:28:53.568098Z K 7 svn:log V 74 MFC r189715: Uncomment txp(4), txp(4) should work on all architectures. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:30:54.213635Z K 7 svn:log V 66 MFC r189716: Add txp(4) to the list of drivers supporting ALTQ. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-22T06:31:59.359567Z K 7 svn:log V 40 MFC r189717: Xref altq.4 and bump .Dd END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-03-22T06:37:14.622706Z K 7 svn:log V 160 MFC 184941: Add a reset device command to ugen.c. This is needed to make some devices work that require a firmware upload and a USB reset afterwards. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-03-22T06:47:29.937781Z K 7 svn:log V 160 MFC 184941: Add a reset device command to ugen.c. This is needed to make some devices work that require a firmware upload and a USB reset afterwards. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-22T08:09:16.160147Z K 7 svn:log V 597 MFC: Don't disable CR-to-NL translation when waiting for data to arrive. A difference between the old and the new TTY layer is that the new implementation does not perform any post-processing before returning data back to userspace when calling read(). sh(1)'s read turns the TTY into a raw mode before calling select(). This means that the first character will not receive any ICRNL processing. Inherit this flag from the original terminal attributes. Even though this issue is not present on RELENG_*, I'm MFCing it to make sh(1) in jails behave better. PR: bin/129566 END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-22T08:14:01.030346Z K 7 svn:log V 614 MFC r189542: Don't disable CR-to-NL translation when waiting for data to arrive. A difference between the old and the new TTY layer is that the new implementation does not perform any post-processing before returning data back to userspace when calling read(). sh(1)'s read turns the TTY into a raw mode before calling select(). This means that the first character will not receive any ICRNL processing. Inherit this flag from the original terminal attributes. Even though this issue is not present on RELENG_*, I'm MFCing it to make sh(1) in jails behave better. PR: bin/129566 END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T09:57:57.421088Z K 7 svn:log V 155 MFC: r181640, r190003 - Add sys_tick and the USIII and beyond sys_tick_cmpr to state_regs[]. - Const'ify and static'ize as appropriate. - Use __FBSDID(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T10:08:41.700691Z K 7 svn:log V 258 MFC: r182918 Add drivers for the power management devices found on Fireplane/ Safari- and JBus-based machines. Currently the main purpose of these drivers is debugging of the resource allocation on nexus(4) and the register content of these devices though. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T10:33:10.823385Z K 7 svn:log V 1934 MFC: r183142, r186395, 190106 - Newer firmware versions no longer provide SUNW,stop-self so just disable interrupts and loop forever instead. We still could use SUNW,stop-self if implemented but acording to comments in OpenBSD, E{2,4}50 tend to have fragile firmware versions which wedge when using the OFW test service, so given that we don't really depend on SUNW,stop-self just nuke it altogether instead of risking problems. - Hide all MP-related bits in underneath #ifdef SMP. - Inline ipi_all_but_self(9) and ipi_selected(9). We don't expose any additional bits but save a few cycles by doing so. - Remove ipi_all(9), which actually only called panic(9). It can't be implemented natively anyway and having it removed at least causes MI users to already fail when linking. - At least Fire V880 have a small hardware glitch which causes the reception of IDR_NACKs for CPUs we actually haven't tried to send an IPI to, even not as part of the initial try. According to tests this apparently can be safely ignored though, so just return if checking for the individual IDR_NACKs indicates no outstanding dispatch. Serializing the sending of IPIs between MD and MI code by the combined usage of smp_ipi_mtx makes no difference to this phenomenon. [1] - Provide relevant debugging bits already with the initial panic in case of problems with the IPI dispatch, which would have allowed to diagnose the above problem without a specially built kernel. - In case of cheetah_ipi_selected() base the delay we wait for other CPUs which also might want to dispatch IPIs on the total amount of CPUs instead of just the number of CPUs we let this CPU send IPIs to because in the worst case all CPUs also want to IPI us at the same time. - There's no need to wrap kdb_active in #ifdef KDB as it's always available. Reported and access for extensive tests provided by: beat [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T10:42:07.638695Z K 7 svn:log V 631 MFC: r167274, r179694, r182816, r182962, r185004 - Some minor tweaks and updates to bus_dma(9) including some additional notes on the address filter and locking callback. - Mark "highaddr" and "lowaddr" appropriately. Change "dma" to "DMA". - Fix spelling mistage found by rodrigc@. - Document BUS_DMA_NOCACHE. - Remove unneeded comma. - For maximum flexibility, sparc64 supports BUS_DMA_COHERENT also with bus_dmamap_create() and not only bus_dmamem_alloc() so move the description of this flag up accordingly in order to document this fact. While at, it refine this description with an application example. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-22T10:51:40.679374Z K 7 svn:log V 81 MFC: r190027 Use the common PC98_SID_ACTIVE define instead of a local define. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-22T10:55:07.641468Z K 7 svn:log V 77 MFC: r190029 Use the common PC98_MID_* defines instead of a magic number. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-22T11:03:24.638981Z K 7 svn:log V 118 MFC: r190146, r190147 Teach the BIOS CD driver to use bounce buffers when the destination address is > 1 MB. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-03-22T11:07:13.285371Z K 7 svn:log V 114 MFC: r190146, r190147 Teach the BIOS CD driver to use bounce buffers when the destination address is > 1 MB. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-03-22T13:17:46.038082Z K 7 svn:log V 229 NO_INQUIRY is wrong for this device. Alternatively, if it is right, it is right for only a tiny fraction of these devices and this wild-card entry is too broad. # I run a kernel without this entry at all without ill effects... END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-22T13:42:41.551922Z K 7 svn:log V 762 Fix several issues with parsing the notes for ELF objects. Badly formed ELF note may cause the caclulated pointer to the next note to point both after the note region, that was checked in the code, but also to point before the region, that was not checked [1]. Remember the first note location in note0 and leap out if the note is not between note0 and note_end. In the similar way, badly formed note may cause infinite loop by pointing next note into the same or previous note. Guard against this by limiting amount of loop iterations by arbitrary choosen big number. For clarity, check the calculated note alignment in each iteration. Reported by: Chris Palmer [1] PR: kern/132886 Reviewed and tested by: dchagin MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-22T14:39:37.777395Z K 7 svn:log V 92 Bump __FreeBSD_version for dynamic token string support added in ld.so. Requested by: maho END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-03-22T15:29:12.194727Z K 7 svn:log V 121 7.2 will be the first release where strndup() appears. Submitted by: Florian Smeets MFC after: 3 days END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-03-22T15:46:12.423321Z K 7 svn:log V 151 If the device marked itself quiet, make detachment quiet as well. This avoids 'XX: detached' messages when the 'attached' message was suppressed. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2009-03-22T16:27:14.343535Z K 7 svn:log V 257 MFC the (current) u3g driver, a driver for USB based 3G cards and dongles. This includes changes to ubsa (removing attachment from that device), and small changes to ucom. Note: A change to umass reducing the attach priority for it was committed already. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-22T17:09:56.649782Z K 7 svn:log V 118 Set the endpoint on the preallocated fifo so it doesnt get matched as an endpoint fifo. Reported by: Pieter de Goeje END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-03-22T17:20:42.939383Z K 7 svn:log V 159 Make the output of the alias built-in POSIX-compliant: Drop the leading 'alias' and suppress printing the trailing space which is added for internal purposes. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-03-22T17:22:14.792158Z K 7 svn:log V 39 Update and extend the tests for alias. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-22T18:56:26.901925Z K 7 svn:log V 148 Update stale comments. The alternate address space mapping was eliminated when PAE support was added to i386. The direct mapping exists on amd64. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T20:36:26.797754Z K 7 svn:log V 60 MFC: 190097 - Sprinkle const. - Remove incorrect __unused. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T20:36:37.806939Z K 7 svn:log V 60 MFC: 190097 - Sprinkle const. - Remove incorrect __unused. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-03-22T20:46:37.971143Z K 7 svn:log V 391 MFC r188932, r189785, r189795, and r190272 Optimize free_pv_entry(); specifically, avoid repeated TAILQ_REMOVE()s. Update the pmap's resident page count when a page table page is freed in pmap_remove_pde() and pmap_remove_pages(). Update stale comments. The alternate address space mapping was eliminated when PAE support was added to i386. The direct mapping exists on amd64. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T20:48:05.049070Z K 7 svn:log V 70 MFC: r161587 Fix typo in a comment: DEFINE_CLASSx => DEFINE_CLASS_x. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T20:49:26.757414Z K 7 svn:log V 55 MFC: 188040 Use NULL in preference to 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T20:50:45.256271Z K 7 svn:log V 55 MFC: 188040 Use NULL in preference to 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T20:52:43.386326Z K 7 svn:log V 277 MFC: r188475 o Introduce KOBJMETHOD_END for the end of the kobj list. o Fix a minor indentation problem. o Put in the extra-strict KOBJMETHOD define, but commented out since the tree isn't yet ready. Reviewed by: (1) was posted to arch@ without objection (and 1 go for it) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T20:52:44.966466Z K 7 svn:log V 277 MFC: r188475 o Introduce KOBJMETHOD_END for the end of the kobj list. o Fix a minor indentation problem. o Put in the extra-strict KOBJMETHOD define, but commented out since the tree isn't yet ready. Reviewed by: (1) was posted to arch@ without objection (and 1 go for it) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T20:54:22.123363Z K 7 svn:log V 236 MFC: r190098 - Failing to register as interrupt controller during attach shouldn't be fatal so just inform about this instead of panicing. - Sort device methods. - Take advantage of KOBJMETHOD_END. - Remove some redundant variables. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-22T20:58:29.064256Z K 7 svn:log V 185 Fix up the flags to bus_dmamem again. The man page incorrectly showed the BUS_DMA_NOCACHE flags as being a valid flag for load instead of alloc. Discussed with: kib MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-03-22T21:00:58.318252Z K 7 svn:log V 169 Correct the documentation to reflect the fact that BUS_DMA_NOCACHE is a flag to bus_dmamem_alloc() rather than bus_dmamap_load(); Discussed with: kib MFC after: 3 days END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-03-22T21:09:22.075704Z K 7 svn:log V 104 - Apply the r190270 changes to printing of single aliases too. - Sort the aliases before printing them. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-03-22T21:12:00.356962Z K 7 svn:log V 25 Update test for r190284. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T21:14:33.669556Z K 7 svn:log V 73 MFC: r190099 - Sort device methods. - Take advantage of KOBJMETHOD_END. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T21:16:10.348589Z K 7 svn:log V 48 MFC: r190101 Take advantage of KOBJMETHOD_END. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T21:17:20.961723Z K 7 svn:log V 48 MFC: r190103 Take advantage of KOBJMETHOD_END. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T21:31:02.784359Z K 7 svn:log V 226 MFC: 190107 (partial) - There's no need to wrap kdb_active and kdb_trap() in #ifdef KDB as they're always available. - Remove unused variable. [1] - Add a missing const. - Sort includes. Submitted by: Christoph Mallon [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T21:38:24.816453Z K 7 svn:log V 1098 MFC: r190109 - Ensure we find no unexpected partner. - Failing to register as interrupt controller during attach shouldn't be fatal so just inform about this instead of panicing. - Disable rerun of the streaming cache as workaround for a silicon bug of certain Psycho versions. - Remove the comment regarding lack of newbus'ified bus_dma(9) as being able to associate a DMA tag with a device would allow to implement CDMA flushing/syncing in bus_dmamap_sync(9) but that would totally kill performance. Given that for devices not behind a PCI-PCI bridge the host-to-PCI bridges also only do CDMA flushing/syncing based on interrupts there's no additional disadvantage for polling(4) callbacks in the case schizo(4) has to do the CDMA flushing/syncing but rather a general problem. - Don't panic if the power failure, power management or over-temperature interrupts doesn't exist as these aren't mandatory and not available with all controllers (not even Psychos). [1] - Take advantage of KOBJMETHOD_END. - Remove some redundant variables. - Add missing const. PR: 131371 [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T22:00:19.841248Z K 7 svn:log V 40 MFC: r190111 Add device found in B100. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T22:05:22.484149Z K 7 svn:log V 538 MFC: r190112 - As suggested by OpenSolaris use up-burst-sizes for determining the supported burst sizes. - Add support for 64-bit burst sizes (required for SBus GEM). - Register our interrupt filters with the revived INTR_FAST so they these interrupts can even interrupt filters of device drivers as necessary. - Failing to register as interrupt controller during attach shouldn't be fatal so just inform about this instead of panicing. - Take advantage of KOBJMETHOD_END. - Remove some redundant variables. - Add missing const. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-03-22T22:07:52.070926Z K 7 svn:log V 1410 Add dtnfsclient, a first cut at an NFSv2/v3 client reuest DTrace provider. The NFS client exposes 'start' and 'done' probes for NFSv2 and NFSv3 RPCs when using the new RPC implementation, passing in the vnode, mbuf chain, credential, and NFSv2 or NFSv3 procedure number. For 'done' probes, the error number is also available. Probes are named in the following way: ... nfsclient:nfs2:write:start nfsclient:nfs2:write:done ... nfsclient:nfs3:access:start nfsclient:nfs3:access:done ... Access to the unmarshalled arguments is not easily available at this point in the stack, but the passed probe arguments are sufficient to to a lot of interesting things in practice. Technically, these probes may cover multiple RPC retransmits, and even transactions if the transaction ID change as a result of authentication failure or a jukebox error from the server, but usefully capture the intent of a single NFS request, such as access, getattr, write, etc. Typical use might involve profiling RPC latency by system call, number of RPCs, how often a getattr leads to a call to access, when failed access control checks occur, etc. More detailed RPC information might best be provided by adding a krpc provider. It would also be useful to add NFS client probes for events such as the access cache or attribute cache satisfying requests without an RPC. Sponsored by: Google, Inc. MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T22:08:30.339558Z K 7 svn:log V 402 MFC: r190117 - Set MIIF_NOLOOP and don't add IFM_LOOP as loopback apparently isn't supported with these pseudo-PHYs. The MIIF_NOLOOP flag currently triggers nothing but hopefully will be respected by mii_phy_setmedia() later on. - Don't add IFM_NONE as isolation isn't supported by these pseudo-PHYs. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-03-22T22:09:12.777616Z K 7 svn:log V 100 Improve the IFS handling of the read built-in. Obtained from: NetBSD Submitted by: Jilles Tjoelker END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-03-22T22:14:46.351577Z K 7 svn:log V 39 Add a few tests for the read built-in. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-22T22:19:54.453973Z K 7 svn:log V 203 MFC: r183423, r184428, r185133, r186290, r190108 Add a driver for `Schizo' Fireplane/Safari to PCI 2.1 and `Tomatillo' JBus to PCI 2.2 bridges including subsequent fixes and improvements as of r190108. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-03-22T22:57:53.603817Z K 7 svn:log V 81 Fix the behaviour of the read built-in when IFS is unset. Obtained from: NetBSD END K 10 svn:author V 5 silby K 8 svn:date V 27 2009-03-22T23:00:00.130740Z K 7 svn:log V 659 Fix unp_gc so that it recognizes file descriptors that are currently in the process of being passed between processes as alive and does not try to garbage collect them. The full description of the problem and a test program to reproduce it can be found in PR 112554. This fix was inspired by similar fixes in NetBSD and BSD/OS. However, it does not apply to FreeBSD 8 and above - when this code was rewritten and optimized, the bug was fixed in a different way. The test program in the PR passes on 8-current with flying colors. PR: 112554 Submitted by: Spencer Minear Reviewed by: Mike Silbersack Obtained from: Secure Computing Corp MFC after: 4 weeks END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-03-22T23:00:52.771352Z K 7 svn:log V 25 Test the r190298 change. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-03-23T00:00:50.159093Z K 7 svn:log V 247 Correctly sanity-check timer IDs. [SA-09:06] Limit the size of malloced buffer when dumping environment variables. [EN-09:01] Approved by: so (cperciva) Approved by: re (kensmith) Security: FreeBSD-SA-09:06.ktimer Errata: FreeBSD-EN-09:01.kenv END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-03-23T00:15:38.029674Z K 7 svn:log V 330 MFC r189675: Change the PVO zone for fictitious pages to the unmanaged PVO zone, to match the unmanaged flag set in the PVO attributes. Without doing this, pmap_remove() could try to remove fictitious pages (like those created by mmap of physical memory) from the wrong UMA zone, causing a panic. Reported by: Justin Hibbits END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-23T00:27:46.884961Z K 7 svn:log V 84 Fix inversed logic. pci_find_extcap() returns 0 when it finds specified capability. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2009-03-23T00:40:07.340575Z K 7 svn:log V 42 Add the URL for RFC2142 PR: conf/127510 END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-03-23T01:13:34.709166Z K 7 svn:log V 269 Add safety check that does not allow empty strings to be queued to the devctl notification queue. Empty strings cause devctl read call to return 0 and result in devd exiting prematurely. The actual offender (ugen notes for root hubs) will be fixed by separate commit. END K 10 svn:author V 3 kan K 8 svn:date V 27 2009-03-23T01:24:17.133820Z K 7 svn:log V 106 Do not pass uninitialized data buffer to devctl_queue_data function. This was botched in revision 190191. END K 10 svn:author V 3 scf K 8 svn:date V 27 2009-03-23T03:03:44.140478Z K 7 svn:log V 850 Merge r189866 from head to stable/7: Add the SIOCSIFMTU ioctl handling directly to tap(4) permitting it to have its MTU set higher than 1500 (ETHERMTU). Its new limit is now 65535 as enforced by ifhwioctl() in if.c This allows a tap(4) device to be added to a bridge, which requires all interface members to have the same MTU, with an interface configured for jumbo frames. QEMU may now connect to a network via tap(4) without requiring the real interface to have its MTU set to 1500 or lower. Reviewed by: rpaulo, bms Merge r189907 from head to stable/7: Remove the splimp()/splx() calls around the setting of the MTU. They are no-op's that I inadvertently added. Even if locking is needed in general for the ioctl's, setting a single long will not need it due to the operation being atomic. Reported by: rwatson END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-03-23T03:26:01.665098Z K 7 svn:log V 195 MFC of ... r187524: Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009. r188436: MFV of tzdata2009b. - Updated leapseconds r189923: MFV of tzdata2009c - Cuba has DST again. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-03-23T03:26:03.580378Z K 7 svn:log V 195 MFC of ... r187524: Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009. r188436: MFV of tzdata2009b. - Updated leapseconds r189923: MFV of tzdata2009c - Cuba has DST again. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-23T04:06:21.292133Z K 7 svn:log V 43 Sync usbdevs to HEAD, keeping name compat. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-23T04:07:46.104807Z K 7 svn:log V 27 Sync umass quirks to HEAD. END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2009-03-23T04:54:52.402872Z K 7 svn:log V 55 MFC r190304: Add the URL for RFC2142 PR: conf/127510 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2009-03-23T04:56:33.681882Z K 7 svn:log V 55 MFC r190304: Add the URL for RFC2142 PR: conf/127510 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-03-23T05:46:28.740669Z K 7 svn:log V 351 Togging ALLMULTI does not require controller reset so have Rx filtering handle this. Introduce a new function msk_rxfilter that handles Rx filter configuration and multicast setup as well as promiscuous mode. This simplifies code a lot. Promiscuous mode always have preference to any other Rx filtering so don't disable the mode when ALLMULTI is set. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2009-03-23T08:33:19.791349Z K 7 svn:log V 103 MFC 183005, 187812: Add code to parse mount options passed as individual items of the nmount() iovec. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-03-23T09:00:33.346572Z K 7 svn:log V 838 MFC r175118: when the ms/req fields exceed 1 second, drop the fractions to fit more digits. MFC r183665: batch mode. MFC r189738: fix man page sinopsys; remove BUG section. MFC r189739: turn the batch mode on if stdout is not tty. > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. _M gstat M gstat/gstat.c M gstat/gstat.8 END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-03-23T11:07:34.110479Z K 7 svn:log V 47 Save (empty) worklist at successful completion END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-03-23T12:07:29.328837Z K 7 svn:log V 565 MFC: r189864: Default to AF_LOCAL instead of AF_INET sockets for non-family-specific operations. This allows the query operations to work in non-IPv4 jails, and will be necessary in a future of possible non-INET networking. (reprise r189970) r190151: Call the interface's if_ioctl from ifioctl(), if the protocol didn't handle the ioctl. There are other paths that already call it, but this allows for a non-interface socket (like AF_LOCAL which ifconfig now uses) to use a broader class of interface ioctls. Approved by: bz (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-23T14:36:50.730345Z K 7 svn:log V 232 - Ensure that INTx isn't disabled, as these chips apparently have a quirk requiring it to be enabled even when using MSI. This makes the latter work again after r189285. - Remove a comment which no longer applies since r190194. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-23T14:42:41.262787Z K 7 svn:log V 55 Don't tempt svn to expand the example $FreeBSD strings END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-23T14:53:21.549236Z K 7 svn:log V 50 MFC 190320, don't expand example $FreeBSD strings END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-03-23T14:54:01.210814Z K 7 svn:log V 50 MFC 190320, don't expand example $FreeBSD strings END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-23T16:20:39.318713Z K 7 svn:log V 103 Fixed comments so it stays in 80 chars by line with hard tabs of 8 chars.... Approved by: gnn(mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-23T16:49:00.129399Z K 7 svn:log V 418 Support for a new environment variable, LD_ELF_HINTS_PATH for overriding the rtld hints file. This environment variable would be unset if the process is considered as tainted with setuid/setgid. This feature gives a convenient way of using a custom set of shared library that is not located in the default location and switch back. Feature requested by: iXsystems Original patch by: John Hixson MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-23T17:51:07.598164Z K 7 svn:log V 133 Release driver lock at the end of the watchdog routine instead of trying to acquire it again. Submitted by: bland MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-23T18:04:22.037310Z K 7 svn:log V 47 Merge 187210 to /etc to consolidate mergeinfo. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-23T18:13:18.467727Z K 7 svn:log V 77 MFC r189905 Fix checking of the IGNORE_RESIDUE quirk. Submitted by: marius END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-03-23T19:10:38.321628Z K 7 svn:log V 64 Fix order of debug printf items, addr and config# were swapped. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-23T19:27:23.622859Z K 7 svn:log V 266 Reenable 64-bit DMA for twa(4) controllers, but use a boundary of 4GB to prevent individual transactions from crossing a 4GB address boundary. Due to bus_size_t type limitations, the driver uses a 2GB boundary in PAE kernels. Reviewed by: scottl MFC after: 1 week END K 10 svn:author V 3 gnn K 8 svn:date V 27 2009-03-23T19:58:26.780160Z K 7 svn:log V 142 Minor updates to the Chelsio driver, including removing an LOR. Submitted by: Navdeep Parhar at Chelsio Reviewed by: gnn MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-23T20:18:06.676914Z K 7 svn:log V 91 Improve the description of a few sysctls. Submitted by: bde (partially) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-23T20:23:28.420277Z K 7 svn:log V 59 MFC: Move the debug.hashstat sysctl tree under DIAGNOSTIC. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-03-23T20:29:54.325310Z K 7 svn:log V 113 MFC: Export the current values of nbuf, ncallout, and nswbuf via read-only sysctls that match the tunable names. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2009-03-23T20:37:37.367082Z K 7 svn:log V 120 SAs are valid (but dying) when they reached soft lifetime, even if they have never been used. Approved by: gnn(mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-23T20:53:38.682775Z K 7 svn:log V 804 MFC: r190194 - In bge_ifmedia_upd_locked() take advantrage of LIST_FOREACH(). - If boot verbose, print asicrev, chiprev and bus type on attach. - For PCI Express devices: 1) Adjust max read request size to 4Kbytes 2) Turn on FIFO_LONG_BURST in RDMA during bge_blockinit() Though 1) does not seem to have much to do with the poor TX performance observed on PCI Express bge(4), 2) does fix the problem. [1] - Nuke the RX CPU self-diag, which prevents working cards from working (Linux tg3 does not have this diag neither does OpenBSD's bge(4)). The increasing of the firmware handshaking timeout to 20000 retries done as part of the original commit isn't merged as way already have a way higher BGE_TIMEOUT of 100000. PR: 119361 [1] Obtained from: tg3 via DragonflyBSD [1], DragonflyBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-03-23T20:53:50.483450Z K 7 svn:log V 804 MFC: r190194 - In bge_ifmedia_upd_locked() take advantrage of LIST_FOREACH(). - If boot verbose, print asicrev, chiprev and bus type on attach. - For PCI Express devices: 1) Adjust max read request size to 4Kbytes 2) Turn on FIFO_LONG_BURST in RDMA during bge_blockinit() Though 1) does not seem to have much to do with the poor TX performance observed on PCI Express bge(4), 2) does fix the problem. [1] - Nuke the RX CPU self-diag, which prevents working cards from working (Linux tg3 does not have this diag neither does OpenBSD's bge(4)). The increasing of the firmware handshaking timeout to 20000 retries done as part of the original commit isn't merged as way already have a way higher BGE_TIMEOUT of 100000. PR: 119361 [1] Obtained from: tg3 via DragonflyBSD [1], DragonflyBSD END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-03-23T21:16:21.906977Z K 7 svn:log V 530 Clean up MI inittodr(9) and kill noop code. It was derived from i386 version long ago but never resync'ed again. Originally, i386 version compared the current time from realtime clock with time_second (which was just `time' in the old days). When this MI version was written, it was wrongly compared against `base' AND never used because of a bug (typo?) in the code. This check was killed in i386 version when home-rolled calendaric calculation was removed. Now, we just remove the code here as well to make the code simpler. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-03-23T21:32:03.371203Z K 7 svn:log V 94 MFC: add support for local config files and non-chroot copy of files from the host filesystem END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-03-23T22:06:09.951793Z K 7 svn:log V 120 Check whether devd is running before calling resume notifier and reshuffle code to reduce unnecessary locking coverage. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-03-23T22:12:33.746862Z K 7 svn:log V 164 Add a function to reset system time after resuming, which will be used by amd64 shortly. It can be turned off by setting "debug.acpi.reset_clock" tunable to zero. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-03-23T22:35:30.695773Z K 7 svn:log V 240 - Clean up suspend/resume code for amd64. - Call acpi_resync_clock() to reset system time before hardclock is ready to tick. Note we assume the current timecounter hardware and RTC are already available for read operation. Tested by: mav END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-23T23:22:09.761135Z K 7 svn:log V 66 use more proper format string. Obtained from: NetBSD via OpenBSD END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-23T23:32:20.957178Z K 7 svn:log V 57 MFC: r189721: don't need to set symbol, default value OK END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-03-23T23:43:07.830402Z K 7 svn:log V 80 Save errno before calling _close(), which may clear it. Obtained from: OpenBSD END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T00:07:17.692419Z K 7 svn:log V 511 MFC: r187475: Remove inlining of functions that are used mostly in different object files. This lets use to remove NO_WERROR. r186558: Consistently use Var_SetGlobal(). r186713: Add the -Q be-quiet flag for parallel jobs. r186279: Exit with error code 2 when run with -k (continue if errors) and build failed. r186559: Add the ability to tweak the token output before targets in job mode. r181021: Add POSIX -p flag to make(1). r186502: Clarify the behaviour of conditionals when dealing with comparisons. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2009-03-24T00:08:58.663975Z K 7 svn:log V 58 Remove gratuitous unlock in error case. Reviewed by: sam END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-03-24T00:09:35.101313Z K 7 svn:log V 22 fix build w/ AH_DEBUG END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T00:30:06.913177Z K 7 svn:log V 63 MFC: r187724 / r187969: unsplit _PATH_SYSPATH & _PATH_STDPATH. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T00:34:55.046828Z K 7 svn:log V 255 MFC: r173412: Cleanup of userland __P use. r187943: Run with -B and just .POSIX. r173067: Include for the right prototype for exit(3). r173065: Set the program name if the crunched program is selected through argv[1] to mimic crt0 behaviour. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T00:43:12.043300Z K 7 svn:log V 47 MFC: r187931: Add the '-C' "check clean" flag. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T00:44:30.634755Z K 7 svn:log V 109 MFC: r187907: For files not named on the command line, only the basename is compared to the exclude pattern. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T00:46:44.441582Z K 7 svn:log V 100 MFC: r187116: If running with "-K" really do not information about symbols from the a.out argument. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T01:18:35.090995Z K 7 svn:log V 41 MFC: r187102 / r187107: Update fech URL. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-03-24T01:22:12.555359Z K 7 svn:log V 122 Don't call m_freem() after ip_output(), as it always consumes the mbuf chain provided to it. Found by: Pierre Guinoiseau END K 10 svn:author V 6 obrien K 8 svn:date V 27 2009-03-24T01:31:42.231323Z K 7 svn:log V 216 MFC: r189397: Add a -o mountprog parameter to mount which explicitly allows an alternative program to be used for mounting a file system. r187035/r187093/r187130: Don't overflow buffers when processing -o options. END