ƒ˜P229854 146 236 173 171 191 233 1382 1382 183 171 171 1270 1270 1270 425 425 425 665 665 665 191 229 229 229 214 214 298 298 866 154 180 166 233 222 156 168 168 182 182 252 252 252 185 185 185 969 173 173 173 1123 267 210 214 1123 212 220 223 266 213 218 209 216 250 229 215 233 275 138 708 318 317 290 343 309 241 241 227 230 223 380 288 409 203 183 168 153 353 126 257 125 159 257 206 249 168 151 151 261 112 124 777 205 777 394 171 171 198 171 303 137 139 140 349 313 288 235 176 664 171 209 284 284 310 420 188 426 168 220 475 117 114 293 173 208 212 188 116 212 212 295 295 206 206 206 5748 1287 113 K 10 svn:author V 3 avg K 8 svn:date V 27 2012-01-09T12:06:09.457834Z K 7 svn:log V 143 enable stop_scheduler_on_panic by default My plan is to make this behavior unconditional before 10.0 release. X-MFC after: r228424 (if ever) END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2012-01-09T13:35:10.330683Z K 7 svn:log V 78 MFC r227822: Avoid panics from recursive rename operations. PR: kern/159418 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-09T14:23:18.618400Z K 7 svn:log V 79 cc(4) and cc(9) were renamed to mod_cc(4) and mod_cc(9). Spotted by: lstewart END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-09T14:35:05.411318Z K 7 svn:log V 95 Can't pass MSIZE to m_cljget(), an mbuf can't be attached as external storage to another mbuf. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-01-09T15:56:33.715273Z K 7 svn:log V 141 MFC r227823, r228163: Append unit number to the WMI status device name to allow attaching multiple acpi_wmi(4) instances. PR: kern/162491 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T18:32:45.231275Z K 7 svn:log V 1284 MFC r210522,213489,218423,218527: r210522: Fix an apparent typo. r213489: Add the capability to read the complete contents of the NVRAM via sysctl dev.bce..nvram_dump Add the capability to write the complete contents of the NVRAM via sysctl dev.bce..nvram_write These are only available if the kernel option BCE_DEBUG is enabled. The nvram_write sysctl also requires the kernel option BCE_NVRAM_WRITE_SUPPORT to be enabled. These are to be used at your own caution. Since the MAC addresses are stored in the NVRAM, if you dump one NIC and restore it on another NIC the destination NIC's MAC addresses will not be preserved. A tool can be made using these sysctl's to manage the on-chip firmware. r218423: - Added systcls for header splitting, RX/TX buffer count, interrupt coalescing, strict RX MTU, verbose output, and shared memory debug. - Added additional debug counters (VLAN tags and split header frames). - Updated debug counters to 64 bit definitions. - Updated l2fhdr bit definitions. - Combined RX buffer sizing into a single function. - Added buffer size and interrupt coalescing settings to adapter info printout. r218527: - Added error checking to nvram read functions. - Minor style updates. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T18:33:54.227728Z K 7 svn:log V 1284 MFC r210522,213489,218423,218527: r210522: Fix an apparent typo. r213489: Add the capability to read the complete contents of the NVRAM via sysctl dev.bce..nvram_dump Add the capability to write the complete contents of the NVRAM via sysctl dev.bce..nvram_write These are only available if the kernel option BCE_DEBUG is enabled. The nvram_write sysctl also requires the kernel option BCE_NVRAM_WRITE_SUPPORT to be enabled. These are to be used at your own caution. Since the MAC addresses are stored in the NVRAM, if you dump one NIC and restore it on another NIC the destination NIC's MAC addresses will not be preserved. A tool can be made using these sysctl's to manage the on-chip firmware. r218423: - Added systcls for header splitting, RX/TX buffer count, interrupt coalescing, strict RX MTU, verbose output, and shared memory debug. - Added additional debug counters (VLAN tags and split header frames). - Updated debug counters to 64 bit definitions. - Updated l2fhdr bit definitions. - Combined RX buffer sizing into a single function. - Added buffer size and interrupt coalescing settings to adapter info printout. r218527: - Added error checking to nvram read functions. - Minor style updates. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-09T18:46:03.055815Z K 7 svn:log V 91 The sysctls for the new NFS server on stable/8 live under vfs.newnfs rather than vfs.nfsd. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T18:52:47.334873Z K 7 svn:log V 75 MFC r218529: - Updated firmware which improves small packet performance. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T18:55:28.759269Z K 7 svn:log V 75 MFC r218529: - Updated firmware which improves small packet performance. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:07:14.862459Z K 7 svn:log V 1172 MFC r228476: Rework link state tracking and remove superfluous link UP/DOWN messages. o Add check for actually resolved speed in miibus_statchg callback instead of blindly reprogramming BCE_EMAC_MODE register. The callback may be called multiple times(e.g. link UP, link transition, auto-negotiate complete etc) while auto-negotiation is in progress. All unresolved link state changes are ignored now and setting BCE_EMAC_MODE after link establishment is done once. o bce(4) is careful enough not to drive MII_TICK if driver got a valid link. To detect lost link, bce(4) relied on link state change interrupt and if driver see the interrupt, it forced to drive MII_TICK by calling bce_tick() in interrupt handler. Because bce(4) generates multiple link state change interrupts while auto-negotiation is in progress, bce_tick() would be called multiple times and this resulted in generating multiple link UP/DOWN messages. With this change, bce_tick() is not called in interrupt handler anymore such that miibus_statchg callback handles link state changes with consistent manner. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:08:52.474903Z K 7 svn:log V 1172 MFC r228476: Rework link state tracking and remove superfluous link UP/DOWN messages. o Add check for actually resolved speed in miibus_statchg callback instead of blindly reprogramming BCE_EMAC_MODE register. The callback may be called multiple times(e.g. link UP, link transition, auto-negotiate complete etc) while auto-negotiation is in progress. All unresolved link state changes are ignored now and setting BCE_EMAC_MODE after link establishment is done once. o bce(4) is careful enough not to drive MII_TICK if driver got a valid link. To detect lost link, bce(4) relied on link state change interrupt and if driver see the interrupt, it forced to drive MII_TICK by calling bce_tick() in interrupt handler. Because bce(4) generates multiple link state change interrupts while auto-negotiation is in progress, bce_tick() would be called multiple times and this resulted in generating multiple link UP/DOWN messages. With this change, bce_tick() is not called in interrupt handler anymore such that miibus_statchg callback handles link state changes with consistent manner. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:10:11.557212Z K 7 svn:log V 1172 MFC r228476: Rework link state tracking and remove superfluous link UP/DOWN messages. o Add check for actually resolved speed in miibus_statchg callback instead of blindly reprogramming BCE_EMAC_MODE register. The callback may be called multiple times(e.g. link UP, link transition, auto-negotiate complete etc) while auto-negotiation is in progress. All unresolved link state changes are ignored now and setting BCE_EMAC_MODE after link establishment is done once. o bce(4) is careful enough not to drive MII_TICK if driver got a valid link. To detect lost link, bce(4) relied on link state change interrupt and if driver see the interrupt, it forced to drive MII_TICK by calling bce_tick() in interrupt handler. Because bce(4) generates multiple link state change interrupts while auto-negotiation is in progress, bce_tick() would be called multiple times and this resulted in generating multiple link UP/DOWN messages. With this change, bce_tick() is not called in interrupt handler anymore such that miibus_statchg callback handles link state changes with consistent manner. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:18:53.727950Z K 7 svn:log V 328 MFC r228479-228480: r228479: BCM5720 performance tweak from Broadcom. o Allow multiple outstanding read requests from non-LSO read DMA engine. o Allow 4KB burst length reads for non-LSO frames. o Enable 512B burst length reads for buffer descriptors. r228480: Destroy DMA tag for jumbo RX buffer in device detach. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:20:46.078486Z K 7 svn:log V 328 MFC r228479-228480: r228479: BCM5720 performance tweak from Broadcom. o Allow multiple outstanding read requests from non-LSO read DMA engine. o Allow 4KB burst length reads for non-LSO frames. o Enable 512B burst length reads for buffer descriptors. r228480: Destroy DMA tag for jumbo RX buffer in device detach. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:23:29.042482Z K 7 svn:log V 328 MFC r228479-228480: r228479: BCM5720 performance tweak from Broadcom. o Allow multiple outstanding read requests from non-LSO read DMA engine. o Allow 4KB burst length reads for non-LSO frames. o Enable 512B burst length reads for buffer descriptors. r228480: Destroy DMA tag for jumbo RX buffer in device detach. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:28:51.740163Z K 7 svn:log V 568 MFC r228716: TCP header size is represented by number of 32bits words. Fix the TCP header size calculation such that makes TSO engine cache all header(ethernet/IP/TCP) bytes to its internal buffer. While here, remove extra pull up for TCP payload. Unlike some em(4) controllers, fxp(4) does not require such work around for TSO. The two limitations are ethernet/IP/TCP header size should be less than or equal to the size of controller's internal buffer(80 bytes) and these header information should be found in the first fragment of a TSO frame. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:30:23.382156Z K 7 svn:log V 568 MFC r228716: TCP header size is represented by number of 32bits words. Fix the TCP header size calculation such that makes TSO engine cache all header(ethernet/IP/TCP) bytes to its internal buffer. While here, remove extra pull up for TCP payload. Unlike some em(4) controllers, fxp(4) does not require such work around for TSO. The two limitations are ethernet/IP/TCP header size should be less than or equal to the size of controller's internal buffer(80 bytes) and these header information should be found in the first fragment of a TSO frame. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:31:35.899937Z K 7 svn:log V 568 MFC r228716: TCP header size is represented by number of 32bits words. Fix the TCP header size calculation such that makes TSO engine cache all header(ethernet/IP/TCP) bytes to its internal buffer. While here, remove extra pull up for TCP payload. Unlike some em(4) controllers, fxp(4) does not require such work around for TSO. The two limitations are ethernet/IP/TCP header size should be less than or equal to the size of controller's internal buffer(80 bytes) and these header information should be found in the first fragment of a TSO frame. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-01-09T19:34:12.183791Z K 7 svn:log V 99 Convert the per-interface address list lock from a mutex to a reader/writer lock. Reviewed by: bz END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:57:07.519255Z K 7 svn:log V 132 MFC r228717: Increase wait time for OP_TCPSTART command processing. It seems 100us is not enough to ensure prefetch unit work. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:58:41.608212Z K 7 svn:log V 132 MFC r228717: Increase wait time for OP_TCPSTART command processing. It seems 100us is not enough to ensure prefetch unit work. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T19:59:53.210735Z K 7 svn:log V 132 MFC r228717: Increase wait time for OP_TCPSTART command processing. It seems 100us is not enough to ensure prefetch unit work. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T20:07:38.230134Z K 7 svn:log V 117 MFC r212378: Catch up to rename of the constant for the Master Data Parity Error bit in the PCI status register. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T20:08:57.399250Z K 7 svn:log V 117 MFC r212378: Catch up to rename of the constant for the Master Data Parity Error bit in the PCI status register. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T20:14:52.872174Z K 7 svn:log V 201 MFC r198999: Take a step towards removing if_watchdog/if_timer. Don't explicitly set if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc() sets those members to NULL/0 already. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-09T20:16:06.308013Z K 7 svn:log V 201 MFC r198999: Take a step towards removing if_watchdog/if_timer. Don't explicitly set if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc() sets those members to NULL/0 already. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-01-09T20:25:14.425520Z K 7 svn:log V 769 Get rid of a spurious warning on the console when booting the kernel from the interactive loader(8) prompt and beastie_disable="YES" is set in loader.conf(5). In this case menu.rc is not evaluated and consequently menu-unset does not have a body yet. This results in the ficl warning "menu-unset not found" when try-menu-unset invokes menu-unset. Check for beastie_disable="YES" explicitly, so that the try-menu-unset word will not attempt to invoke menu-unset because the menu will have never been configured. [1] Use the sfind primitive as a last resort as an additional safer approach conjuring a foreign word safely. [2] PR: kern/163938 Submitted by: Devin Teske [1] Reviewed by: Devin Teske [2] Reported and tested by: dim MFC after: 1 week X-MFC with: r228985 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-01-09T21:49:03.769165Z K 7 svn:log V 58 MFC r225955 Allow ixp425 boot2 to compile after r219452 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-01-09T21:49:47.839446Z K 7 svn:log V 84 MFC r226034 Add missing newbus glue, this has never attached properly to gpiobus. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-01-09T21:51:50.217682Z K 7 svn:log V 70 MFC r226242 Fix build after TARGET_BIG_ENDIAN was nuked from orbit. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-01-09T21:52:55.556392Z K 7 svn:log V 136 MFC r226324 Dont just set the pin high when turning on output, use the current value. Also let this value be set when in input mode. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-01-09T23:01:42.305040Z K 7 svn:log V 123 Add support for >2TB disks in GEOM RAID for Intel metadata format. Reviewed by: mav Approved by: scottl MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-01-09T23:20:30.153070Z K 7 svn:log V 63 Enable hardware RNG for VIA Nano processors. PR: kern/163974 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:01:17.430315Z K 7 svn:log V 73 MFC 227489: - fix duplicate "a a" in some comments Approved by: simon END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:03:30.756078Z K 7 svn:log V 73 MFC 227489: - fix duplicate "a a" in some comments Approved by: simon END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:19:18.149239Z K 7 svn:log V 87 MFC 226404: - add support for I-O DATA RSA-PCI2/R PR: kern/142999 Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:20:28.852991Z K 7 svn:log V 87 MFC 226404: - add support for I-O DATA RSA-PCI2/R PR: kern/142999 Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:26:54.738539Z K 7 svn:log V 156 MFC r227532: - add support for Broadcom 802.11bg/EDGE/GPRS CardBus (Serial) - correct mislabeling of 0x432214e4 device PR: kern/119606 Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:27:16.083344Z K 7 svn:log V 156 MFC r227532: - add support for Broadcom 802.11bg/EDGE/GPRS CardBus (Serial) - correct mislabeling of 0x432214e4 device PR: kern/119606 Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:27:37.532017Z K 7 svn:log V 156 MFC r227532: - add support for Broadcom 802.11bg/EDGE/GPRS CardBus (Serial) - correct mislabeling of 0x432214e4 device PR: kern/119606 Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:34:40.631233Z K 7 svn:log V 90 MFC r227535: - add support for Titan VScom PCIex-800H PR: kern/124128 Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:35:01.787925Z K 7 svn:log V 90 MFC r227535: - add support for Titan VScom PCIex-800H PR: kern/124128 Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T00:35:25.248732Z K 7 svn:log V 90 MFC r227535: - add support for Titan VScom PCIex-800H PR: kern/124128 Approved by: jhb END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-01-10T00:48:29.835891Z K 7 svn:log V 871 Consumers of bpfdetach() expect it to remove all bpf_if structs from the bpf_iflist list which reference the specified ifnet. The existing implementation only removes the first matching bpf_if found in the list, effectively leaking list entries if an ifnet has been bpfattach()ed multiple times with different DLTs. Fix the leak by performing the detach logic in a loop, stopping when all bpf_if structs referencing the specified ifnet have been detached and removed from the bpf_iflist list. Whilst here, also: - Remove the unnecessary "bp->bif_ifp == NULL" check, as a bpf_if should never exist in the list with a NULL ifnet pointer. - Except when INVARIANTS is in the kernel config, silently ignore the case where no bpf_if referencing the specified ifnet is found, as it is harmless and does not require user attention. Reviewed by: csjp MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T01:01:57.648267Z K 7 svn:log V 78 - Remove extraneous null ptr deref checks - Fix memory leak Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T01:02:19.462903Z K 7 svn:log V 78 - Remove extraneous null ptr deref checks - Fix memory leak Approved by: jhb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T01:02:40.730129Z K 7 svn:log V 78 - Remove extraneous null ptr deref checks - Fix memory leak Approved by: jhb END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-10T02:16:38.169930Z K 7 svn:log V 1024 MFC: r228757 jwd@ reported a problem via email where the old NFS client would get a reply of EEXIST from an NFS server when a Mkdir RPC was retried, for an NFS over UDP mount. Upon investigation, it was found that the client was retransmitting the Mkdir RPC request over UDP, but with a different xid. As such, the retransmitted message would miss the Duplicate Request Cache in the server, causing it to reply EEXIST. The kernel client side UDP rpc code has two timers. The first one causes a retransmit using the same xid and socket and was set to a fixed value of 3seconds. (The default can be overridden via CLSET_RETRY_TIMEOUT.) The second one creates a new socket and xid and should be larger than the first. However, both NFS clients were setting the second timer to nm_timeo ("timeout=" mount argument), which defaulted to 1second, so the first timer would never time out. This patch fixes both NFS clients so that they set the first timer using nm_timeo and makes the second timer larger than the first one. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-01-10T02:21:48.701272Z K 7 svn:log V 169 Fix more places to use the correct structure types (_ctl_) for kernel/userspace control messages which were not caught during refactoring. Submitted by: Nigel Williams END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:55:35.317526Z K 7 svn:log V 114 Fix warning when compiling with gcc46: error: variable 'bp' set but not use Approved by: dim MFC After: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:55:43.082566Z K 7 svn:log V 118 Fix warning when compiling with gcc46: error: variable 'defname' set but not use Approved by: dim MFC after: 3 day END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-10T02:55:43.728846Z K 7 svn:log V 1024 MFC: r228757 jwd@ reported a problem via email where the old NFS client would get a reply of EEXIST from an NFS server when a Mkdir RPC was retried, for an NFS over UDP mount. Upon investigation, it was found that the client was retransmitting the Mkdir RPC request over UDP, but with a different xid. As such, the retransmitted message would miss the Duplicate Request Cache in the server, causing it to reply EEXIST. The kernel client side UDP rpc code has two timers. The first one causes a retransmit using the same xid and socket and was set to a fixed value of 3seconds. (The default can be overridden via CLSET_RETRY_TIMEOUT.) The second one creates a new socket and xid and should be larger than the first. However, both NFS clients were setting the second timer to nm_timeo ("timeout=" mount argument), which defaulted to 1second, so the first timer would never time out. This patch fixes both NFS clients so that they set the first timer using nm_timeo and makes the second timer larger than the first one. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:58:20.892218Z K 7 svn:log V 116 Fix warning when compiling with gcc46: error: variable 'wdone' set but not use Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:58:29.012076Z K 7 svn:log V 124 Fix warning when compiling with gcc46: error: variable 'verbose' set but not use Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:58:36.261990Z K 7 svn:log V 127 Fix warning when compiling with gcc46: error: variable 'ifnetfound' set but not used Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:58:44.409758Z K 7 svn:log V 170 Silence bogus warning when compiling with gcc46: error: 'pos' may be used uninitialized in this function Reviewed by: cperciva Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:58:52.937364Z K 7 svn:log V 117 Fix warning when compiling with gcc46: error: variable 'Sflag' set but not used Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:59:01.786043Z K 7 svn:log V 122 Fix warning when compiling with gcc46: error: variable 'origextlen' set but not used Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:59:09.471376Z K 7 svn:log V 113 Fix warning when compiling with gcc46: error: variable 'c' set but not used Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:59:18.004070Z K 7 svn:log V 120 Fix warning when compiling with gcc46: error: variable 'firstkey' set but not used Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:59:26.220460Z K 7 svn:log V 154 Fix warning when compiling with gcc46: error: variable 'op' set but not used error: variable 'cmd' set but not used Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:59:35.317465Z K 7 svn:log V 133 Fix warning when compiling with gcc46: error: variable 'secsz' set but not used Reviewed by: ae Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:59:43.701101Z K 7 svn:log V 119 Fix warning when compiling with gcc46: error: variable 'inumber' set but not used Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:59:50.692191Z K 7 svn:log V 137 Fix warning when compiling with gcc46: error: variable 'blksfree' set but not used Reviewed by: pjd Approved by: dim MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-10T02:59:58.974278Z K 7 svn:log V 179 Fix warning when compiling with gcc46: error: variable 'freq' set but not used error: variable 'mode_pars' set but not used Reviewed by: mav Approved by: dim MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-10T04:19:36.820434Z K 7 svn:log V 41 Merge in an up to date kernel from head. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-10T07:21:11.671849Z K 7 svn:log V 615 Add relnotes items: RACCT resource accounting API, RCTL resource limiting API and rctl(8), sendmsg(2)/recvmsg(2) improvement in Linux compat layer, open(2)/fhopen(2) O_CLOEXEC, COMPAT_43 supports a.out binary on amd64, usb_pf and usbdump(8), cxgb(4) 7.11.0, em(4) 7.3.2, igb(4) 2.2.5, OFED 1.5.3 imported to support Infiniband, graid(8), resolvconf(8) 3.4.4 imported, hastd(8) source keyword, ps(1) -o usertime, systime, utmp(5) replaced by utmpx(3) [*], GNU GCC updated to the last GPLv2-licensed version, tzdata2011e, add description about incompatibilities due to ATA_CAM. Submitted by: ed[*] END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-10T07:38:46.400894Z K 7 svn:log V 225 MFC r229401: In sys/dev/if_ndis/if_ndis_pccard.c, fix a bug where a garbage rid was passed to resource_list_add(). The rid that was just returned by bus_alloc_resource_any() should have been used instead. Reviewed by: jhb END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-10T07:42:01.037028Z K 7 svn:log V 224 MFC r229402: In sys/compat/linux/linux_ioctl.c, work around a warning when a pointer is compared to an integer, by casting the pointer to l_uintptr_t. No functional difference on both i386 and amd64. Reviewed by: ed, jhb END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-10T07:45:00.128000Z K 7 svn:log V 197 MFC r229423: In sys/dev/qlxgb/qla_misc.c, fix a copy/paste issue. Clang complained the variable 'val' was uninitialized when used. Instead, 'sig' should have been printed. Reviewed by: davidcs END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-01-10T07:46:35.539856Z K 7 svn:log V 250 MFC r229425: In sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c, check the the number of links against LINK_MAX (which is INT16_MAX), not against UINT32_MAX. Otherwise, the constant would implicitly be converted to -1. Reviewed by: pjd END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-10T08:01:24.514851Z K 7 svn:log V 216 Add relnotes items: machdep.disable_tsc_calibration tunable, ada(4) kern.cam.ada.write_cache sysctl, geom_map(4) added, readline(3) functions imported into libedit, and lib{md,crypt} SHA-256/-512 support added. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2012-01-10T08:16:28.872566Z K 7 svn:log V 144 MFC r228431, r228502, r228802: Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2012-01-10T08:41:10.225907Z K 7 svn:log V 144 MFC r228431, r228502, r228802: Add watchdog support for VIA south bridge chipset. Tested on VT8251, VX900 but CX700, VX800, VX855 should works. END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-01-10T11:41:02.535036Z K 7 svn:log V 134 MFC: r227550, r227576 Handle invalid large values for getdirentries(2) data buffer size. Fix build, use %d for int value formatting. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-01-10T12:45:24.454036Z K 7 svn:log V 132 Add setsockopt(2) example to ng_ksocket(4). While here, fix formatting a bit Approved by: kib(mentor) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-10T13:34:39.849614Z K 7 svn:log V 130 MFC r229428: Document the state of the lowervp vnode for null_nodeget(). MFC r229600 (by dim): Output the correct vnode pointer. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-10T13:41:14.696644Z K 7 svn:log V 287 MFC r229431: Do the vput() for the lowervp in the null_nodeget() for error case too. Several callers of null_nodeget() did the cleanup itself, but several missed it, most prominent being null_bypass(). Remove the cleanup from the callers, now null_nodeget() handles lowervp free itself. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2012-01-10T15:29:03.853785Z K 7 svn:log V 192 Implement an option to execute SNMP walks using GETBULK requests in bsnmpwalk(1) retrieving multiple values with a Single PDU. Reviewed by: philip@ Tested by: tsanand129 (at) gmail (dot) com END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-10T18:05:44.092632Z K 7 svn:log V 316 Change the type of the paging_in_progress refcounter from u_short to u_int. With the auto-sized buffer cache on the modern machines, UFS metadata can generate more the 65535 pages belonging to the buffers undergoing i/o, overflowing the counter. Reported and tested by: jimharris Reviewed by: alc MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-01-10T18:20:19.073357Z K 7 svn:log V 111 MFC r228021: Add LINT-NOINET LINT-NOINET6 and LINT-NOIP to the make clean target. This was missed in r221353. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-10T18:43:27.057163Z K 7 svn:log V 87 Set the FD_CLOEXEC flag on the open pidfile file descriptor. Discussed with: pjd, des END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-10T19:53:25.427268Z K 7 svn:log V 72 Add pidfile_fileno() to obtain the file descriptor for an open pidfile. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-10T19:54:53.790564Z K 7 svn:log V 57 Revert unintentional commit of changes to getnetgrent.c. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-01-10T19:57:23.871969Z K 7 svn:log V 258 small code cleanup in preparation for future modifications in the memory allocator used by netmap. No functional change, two small bug fixes: - in if_re.c add a missing bus_dmamap_sync() - in netmap.c comment out a spurious free() in an error handling block END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-01-10T20:52:02.871992Z K 7 svn:log V 30 style. No functional changes. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-10T21:39:43.379645Z K 7 svn:log V 160 Document that pidfile_open() now sets the FD_CLOEXEC flag on the open file descriptor, and that errors can be returned as a result of the fcntl(2) system call. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-10T21:47:58.638870Z K 7 svn:log V 29 Style fixes courtesy of pjd. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-10T22:22:35.931351Z K 7 svn:log V 63 Add link for pidfile_fileno.3 to pidfile.3 - thanks again pjd! END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-01-10T22:24:57.770245Z K 7 svn:log V 164 Don't touch pidfiles when running in foreground. Before that change we would create an empty pidfile on start and check if it changed on SIGHUP. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-01-10T22:39:07.805177Z K 7 svn:log V 113 For functions that return -1 on failure check exactly for -1 and not for any negative number. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-01-10T22:41:09.750988Z K 7 svn:log V 156 - Fix a bug where pidfile was removed in SIGHUP when it hasn't changed in configuration file. - Log the fact that pidfile has changed. MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-01-10T23:02:01.874357Z K 7 svn:log V 74 other simplifications in the internal interfaces to the memory allocator. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-10T23:37:32.521391Z K 7 svn:log V 56 Add in the vendor extension bit in the radiotap header. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-11T00:16:44.541089Z K 7 svn:log V 56 style(9) changes. This shouldn't change functionality. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-11T00:18:33.402882Z K 7 svn:log V 165 Re-enable the PHY radar error frames if sc_dodfs is set. This was messing up a local port of the atheros reference radar detection code; I'll fix the port instead. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-01-11T00:31:04.391787Z K 7 svn:log V 20 Constify arguments. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-11T01:09:08.661335Z K 7 svn:log V 29 Add the MCS radiotype entry. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-11T01:24:35.524343Z K 7 svn:log V 679 MFC: r228827 During investigation of an NFSv4 client crash reported by glebius@, jhb@ spotted that nfscl_getstateid() might modify credentials when called from nfsrpc_read() for the case where p != NULL, whereas nfsrpc_read() only did a crdup() to get new credentials for p == NULL. This bug was introduced by r195510, since pre-r195510 nfscl_getstateid() only modified credentials for the p == NULL case. This patch modifies nfsrpc_read()/nfsrpc_write() so that they do crdup() for the p != NULL case. It is conceivable that this bug caused the crash reported by glebius@, but that will not be determined for some time, since the crash occurred after about 1month of operation. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-01-11T01:42:16.456317Z K 7 svn:log V 109 Revert r228556 - this breaks building on 8.*, and I still use these systems daily to do CURRENT development. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-11T01:58:49.067985Z K 7 svn:log V 679 MFC: r228827 During investigation of an NFSv4 client crash reported by glebius@, jhb@ spotted that nfscl_getstateid() might modify credentials when called from nfsrpc_read() for the case where p != NULL, whereas nfsrpc_read() only did a crdup() to get new credentials for p == NULL. This bug was introduced by r195510, since pre-r195510 nfscl_getstateid() only modified credentials for the p == NULL case. This patch modifies nfsrpc_read()/nfsrpc_write() so that they do crdup() for the p != NULL case. It is conceivable that this bug caused the crash reported by glebius@, but that will not be determined for some time, since the crash occurred after about 1month of operation. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-01-11T02:46:42.546217Z K 7 svn:log V 296 jwd@ reported via email that the "CacheSize" field reported by "nfsstat -e -s" would go negative after using the "-z" option to zero out the stats. This patch fixes that by not zeroing out the srvcache_size field for "-z", since it is the size of the cache and not a counter. MFC after: 2 weeks END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-01-11T13:52:34.389562Z K 7 svn:log V 78 MFC: revision 229462 Fix 230MB MO support. Submitted by: Kaho Toshikazu END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-01-11T13:56:31.694469Z K 7 svn:log V 78 MFC: revision 229462 Fix 230MB MO support. Submitted by: Kaho Toshikazu END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-11T13:57:48.079957Z K 7 svn:log V 101 When running with INVARIANTS the mutex(9) code does all necessary asserts for non-recursive mutexes. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2012-01-11T13:59:49.233952Z K 7 svn:log V 78 MFC: revision 229462 Fix 230MB MO support. Submitted by: Kaho Toshikazu END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-11T14:11:10.262723Z K 7 svn:log V 206 Merge from OpenBSD: revision 1.128 date: 2009/08/16 13:01:57; author: jsg; state: Exp; lines: +1 -5 remove prototypes of a bunch of functions that had their implementations removed in pfsync v5. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-11T14:13:42.395148Z K 7 svn:log V 41 Move PF_LOCK_ASSERT() under __FreeBSD__. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-11T14:19:04.077656Z K 7 svn:log V 43 Add necessary locking in pfsync_in_ureq(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-11T14:24:03.056995Z K 7 svn:log V 44 Fix some spacing in code under __FreeBSD__. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-01-11T15:00:16.374321Z K 7 svn:log V 256 Fix for PR 138526. Add the ability for /dev/null and /dev/zero to accept being set into non blocking mode via fcntl(). This brings the code into compliance with IEEE Std 1003.1-2001 as referenced in another PR, 94729. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-11T16:35:26.198856Z K 7 svn:log V 216 jilles pointed out that O_CLOEXEC could be used in the open(2) flags rather than using fcntl(2) later, and in addition to saving a system call, removes a possible race with fork/exec from threads or signal handlers. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-01-11T16:53:51.352134Z K 7 svn:log V 187 Add a memory barrier to bus_dmamap_sync(), as should have always been present. We need a sync instead of eieio, as eieio does not enforce storage ordering between main and device memory. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-11T17:10:27.059111Z K 7 svn:log V 139 Add the ability to kick an existing mesh node without waiting for it to time out. Submitted by: Monthadar Al Jaberi END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-01-11T17:21:22.738144Z K 7 svn:log V 80 MFC r211801: fix typo. Spotted by: Ildar Hizbulin (stable/7) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-11T17:41:14.322805Z K 7 svn:log V 568 Introduce wtap, the beginnings of a net80211 wlan simulator. This introduces: * a basic wtap interface * a HAL, which implements an abstraction layer for implementing different device behavious; * A visibility plugin, which allows for control over which nodes see other nodes (useful for mesh work.) It doesn't yet implement sta/adhoc/hostap modes but these are quite feasible to implement. Monthadar uses it to do 802.11s mesh verification. The userland tools will be committed in a follow-up commit. Submitted by: Monthadar Al Jaberi END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-01-11T17:46:08.620156Z K 7 svn:log V 79 Add PCI Id for the AMT SOL UART on 5 series Intel chipsets. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-01-11T17:51:56.739149Z K 7 svn:log V 113 Bring over a tool to create and destroy wtap instances. Submitted by: Monthadar Al Jaberi END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-11T18:12:53.444646Z K 7 svn:log V 191 MFC r228726, r228727: Cast some vendor-specific spell on VIA VT1708S codecs to: - make analog input loopback work; - get access to the mics boost controls. Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-01-11T18:14:22.746254Z K 7 svn:log V 191 MFC r228726, r228727: Cast some vendor-specific spell on VIA VT1708S codecs to: - make analog input loopback work; - get access to the mics boost controls. Sponsored by: iXsystems, Inc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-01-11T18:18:37.888760Z K 7 svn:log V 213 MFC r228940: Import the first release of HighPoint RocketRAID 27xx SAS 6Gb/s HBA card driver. This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms. Many thanks to HighPoint for providing this driver. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-01-11T18:34:57.482375Z K 7 svn:log V 323 Redo r226660: - Define schednetisr() to swi_sched. - In the swi handler check if there is some data prepared, and if true, then call pfsync_sendout(), however tell it not to schedule swi again. - Since now we don't obtain the pfsync lock in the swi handler, don't use ifqueue mutex to synchronize queue access. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-01-11T18:38:52.359974Z K 7 svn:log V 91 Add hpt27xx to the hardware notes, While here, add the 2012 copyright. MFC after: 1 week END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2012-01-11T19:12:29.679474Z K 7 svn:log V 328 MFC: 226265 When unmounting a filesystem always wait for the vfs_busy lock to clear so that if no vnodes in the filesystem are actively in use the unmount will succeed rather than failing with EBUSY. Reported by: Garrett Cooper Reviewed by: Attilio Rao and Kostik Belousov Tested by: Garrett Cooper PR: kern/161016 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-11T20:04:52.245707Z K 7 svn:log V 76 Add a document for brief installation instructions. Submitted by: kensmith END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-01-11T21:03:54.113115Z K 7 svn:log V 127 Fix an inconsistency that crept in while replacing constants from the new header. Approved by: jhb (mentor) MFC after: 3 days END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-01-11T21:17:14.433172Z K 7 svn:log V 382 Replace GPL'd headers in the emu10kx snd driver code. This uses the emuxkireg.h already used in the emu10k1 snd driver. Special thanks go to Alexander Motin as he was able to find some errors and reverse engineer some wrong values in the emuxkireg header. The emu10kx driver is now free from the GPL. PR: 153901 Tested by: mav, joel Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-01-11T21:25:42.030258Z K 7 svn:log V 24 Import ACPICA 20120111. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-01-11T21:26:46.553264Z K 7 svn:log V 21 Tag ACPICA 20120111. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2012-01-11T21:38:05.974962Z K 7 svn:log V 195 Pass the arguments to mtx_init() in the correct order. There should be no change to the binary because the value of MTX_DEF is zero and there is a visible function prototype. MFC after: 1 week END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-11T22:12:45.987746Z K 7 svn:log V 77 Fix forward structure declaration and prototype disorder. Requested by bde. END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-11T22:33:41.038776Z K 7 svn:log V 111 Fix namespace issues with prototype parameter names. Add missing prototype parameter names. Requested by bde. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-01-11T22:37:45.512910Z K 7 svn:log V 116 MFC r227981: Point out that @reboot runs at every cron startup, not just system startup. Approved by: gjb (mentor) END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-01-11T22:45:15.662649Z K 7 svn:log V 92 Fix prototype formatting (indentation, long lines, and continued lines). Requested by bde. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-01-11T23:06:37.041380Z K 7 svn:log V 23 Merge ACPICA 20120111. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-01-11T23:11:27.819328Z K 7 svn:log V 116 MFC r227981: Point out that @reboot runs at every cron startup, not just system startup. Approved by: gjb (mentor) END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-01-11T23:11:48.011466Z K 7 svn:log V 116 MFC r227981: Point out that @reboot runs at every cron startup, not just system startup. Approved by: gjb (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-11T23:30:18.911780Z K 7 svn:log V 199 MFC r228669: du: Allow multiple -HLP options, the last one wins. This matches 4.4BSD tradition and other utilities with these options and is required by POSIX (POSIX does not specify -P, only -HL). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-01-12T00:01:11.857056Z K 7 svn:log V 199 MFC r228669: du: Allow multiple -HLP options, the last one wins. This matches 4.4BSD tradition and other utilities with these options and is required by POSIX (POSIX does not specify -P, only -HL). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-12T00:02:14.684383Z K 7 svn:log V 110 MFC r228445: - Add support for ASCII art splash screens in TheDraw format PR: kern/143370 Approved by: ed END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-12T00:03:50.793276Z K 7 svn:log V 110 MFC r228445: - Add support for ASCII art splash screens in TheDraw format PR: kern/143370 Approved by: ed END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-01-12T00:05:35.918974Z K 7 svn:log V 110 MFC r228445: - Add support for ASCII art splash screens in TheDraw format PR: kern/143370 Approved by: ed END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-01-12T00:34:33.122975Z K 7 svn:log V 5654 Add the CAM Target Layer (CTL). CTL is a disk and processor device emulation subsystem originally written for Copan Systems under Linux starting in 2003. It has been shipping in Copan (now SGI) products since 2005. It was ported to FreeBSD in 2008, and thanks to an agreement between SGI (who acquired Copan's assets in 2010) and Spectra Logic in 2010, CTL is available under a BSD-style license. The intent behind the agreement was that Spectra would work to get CTL into the FreeBSD tree. Some CTL features: - Disk and processor device emulation. - Tagged queueing - SCSI task attribute support (ordered, head of queue, simple tags) - SCSI implicit command ordering support. (e.g. if a read follows a mode select, the read will be blocked until the mode select completes.) - Full task management support (abort, LUN reset, target reset, etc.) - Support for multiple ports - Support for multiple simultaneous initiators - Support for multiple simultaneous backing stores - Persistent reservation support - Mode sense/select support - Error injection support - High Availability support (1) - All I/O handled in-kernel, no userland context switch overhead. (1) HA Support is just an API stub, and needs much more to be fully functional. ctl.c: The core of CTL. Command handlers and processing, character driver, and HA support are here. ctl.h: Basic function declarations and data structures. ctl_backend.c, ctl_backend.h: The basic CTL backend API. ctl_backend_block.c, ctl_backend_block.h: The block and file backend. This allows for using a disk or a file as the backing store for a LUN. Multiple threads are started to do I/O to the backing device, primarily because the VFS API requires that to get any concurrency. ctl_backend_ramdisk.c: A "fake" ramdisk backend. It only allocates a small amount of memory to act as a source and sink for reads and writes from an initiator. Therefore it cannot be used for any real data, but it can be used to test for throughput. It can also be used to test initiators' support for extremely large LUNs. ctl_cmd_table.c: This is a table with all 256 possible SCSI opcodes, and command handler functions defined for supported opcodes. ctl_debug.h: Debugging support. ctl_error.c, ctl_error.h: CTL-specific wrappers around the CAM sense building functions. ctl_frontend.c, ctl_frontend.h: These files define the basic CTL frontend port API. ctl_frontend_cam_sim.c: This is a CTL frontend port that is also a CAM SIM. This frontend allows for using CTL without any target-capable hardware. So any LUNs you create in CTL are visible in CAM via this port. ctl_frontend_internal.c, ctl_frontend_internal.h: This is a frontend port written for Copan to do some system-specific tasks that required sending commands into CTL from inside the kernel. This isn't entirely relevant to FreeBSD in general, but can perhaps be repurposed. ctl_ha.h: This is a stubbed-out High Availability API. Much more is needed for full HA support. See the comments in the header and the description of what is needed in the README.ctl.txt file for more details. ctl_io.h: This defines most of the core CTL I/O structures. union ctl_io is conceptually very similar to CAM's union ccb. ctl_ioctl.h: This defines all ioctls available through the CTL character device, and the data structures needed for those ioctls. ctl_mem_pool.c, ctl_mem_pool.h: Generic memory pool implementation used by the internal frontend. ctl_private.h: Private data structres (e.g. CTL softc) and function prototypes. This also includes the SCSI vendor and product names used by CTL. ctl_scsi_all.c, ctl_scsi_all.h: CTL wrappers around CAM sense printing functions. ctl_ser_table.c: Command serialization table. This defines what happens when one type of command is followed by another type of command. ctl_util.c, ctl_util.h: CTL utility functions, primarily designed to be used from userland. See ctladm for the primary consumer of these functions. These include CDB building functions. scsi_ctl.c: CAM target peripheral driver and CTL frontend port. This is the path into CTL for commands from target-capable hardware/SIMs. README.ctl.txt: CTL code features, roadmap, to-do list. usr.sbin/Makefile: Add ctladm. ctladm/Makefile, ctladm/ctladm.8, ctladm/ctladm.c, ctladm/ctladm.h, ctladm/util.c: ctladm(8) is the CTL management utility. It fills a role similar to camcontrol(8). It allow configuring LUNs, issuing commands, injecting errors and various other control functions. usr.bin/Makefile: Add ctlstat. ctlstat/Makefile ctlstat/ctlstat.8, ctlstat/ctlstat.c: ctlstat(8) fills a role similar to iostat(8). It reports I/O statistics for CTL. sys/conf/files: Add CTL files. sys/conf/NOTES: Add device ctl. sys/cam/scsi_all.h: To conform to more recent specs, the inquiry CDB length field is now 2 bytes long. Add several mode page definitions for CTL. sys/cam/scsi_all.c: Handle the new 2 byte inquiry length. sys/dev/ciss/ciss.c, sys/dev/ata/atapi-cam.c, sys/cam/scsi/scsi_targ_bh.c, scsi_target/scsi_cmds.c, mlxcontrol/interface.c: Update for 2 byte inquiry length field. scsi_da.h: Add versions of the format and rigid disk pages that are in a more reasonable format for CTL. amd64/conf/GENERIC, i386/conf/GENERIC, ia64/conf/GENERIC, sparc64/conf/GENERIC: Add device ctl. i386/conf/PAE: The CTL frontend SIM at least does not compile cleanly on PAE. Sponsored by: Copan Systems, SGI and Spectra Logic MFC after: 1 month END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-12T00:34:54.080875Z K 7 svn:log V 1193 Add relnotes items: hhook(9) and khelp(9), hw.memtest.tests loader tunable, posix_fallocate(2), boot loader menu updated, iwn(4) firmware update, vxge(4) for Neterion X3100 10GbE Server/Storage adapter added, ipfw(8) fwd IPv6 support, ipfw(8) call/retrun action added, IPv4 /31 network support as in RFC 3021, IPV6_PKTINFO bug fixed, h_ertt(4) (Enhanced Round Trip Time) khelp module added, ng_ipfw(4) IPv6 support, arcmsr(4) 1.20.00.22, cam(4) descriptor format sense data in SPC-3 support added, mxge(4) updated, tws(4) for 3ware 9750 SATA+SAS 6Gb/s RAID controller added, newfs(8), fsck_ffs(8) -E option added, NFS nocto mount option added, vfs.typenumhash loader tunable, libarchive, tar(1), cpio(1) 2.8.4, makefs(8) ISO 9660 support, rtadvd(8), rtsold(8) RDNSS/DNSSL RA option support, rtadvd(8) noifprefix keyword, tftpd(8) interop issue fixed, zpool(8) labelclear command added, awk 20110807, compiler-rt imported, netcat 4.9, tnftp 20100118, less v444, OpenSSH 5.8p2 + hpn patch, pf 4.5, sendmail 8.14.5, tzdata2011m, xz 20110711. - Add descriptions about network configuration changes, openresolv import, and disk partition management utilities. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-01-12T00:38:57.603155Z K 7 svn:log V 21 Bump &release.next;. END