ƒ¯o178456 205 565 128 314 127 98 342 162 164 176 225 349 858 745 229 3114 775 184 236 130 160 156 236 314 147 236 178 236 281 189 241 1559 245 253 168 141 344 310 175 157 150 197 169 171 219 158 127 124 149 153 182 363 214 170 144 196 117 191 173 120 610 136 153 133 182 184 299 167 1090 136 147 236 492 588 236 199 123 164 440 136 124 334 239 165 200 114 371 123 215 345 186 154 138 261 220 262 163 152 163 118 437 547 149 199 248 149 377 161 269 143 394 188 116 284 162 331 359 175 216 120 123 173 162 337 525 154 155 151 154 297 324 225 276 169 459 312 161 305 169 305 329 299 195 225 496 630 154 135 610 224 120 388 205 190 467 195 221 276 435 393 343 837 163 278 251 256 162 113 504 139 504 299 193 113 227 184 206 123 151 268 414 154 140 316 268 129 128 285 156 110 227 248 192 119 218 150 149 121 232 199 166 144 267 117 142 161 K 10 svn:author V 3 gnn K 8 svn:date V 27 2008-04-24T06:56:45.000000Z K 7 svn:log V 472 Updated the test to handle multiple sinks. The sinks cut their transmissions by the number of them running so that they do not overwhelm the source. Added a simple shell script to kick off sinks on multiple hosts as well as a source on the host where the shell script is run. The script also collects the output of all the sinks and the source into files named for the host on which the tests are run. A date is appended to each output file to make it unique per run. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-04-24T07:49:00.000000Z K 7 svn:log V 37 Stricter check for integer overflow. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-04-24T09:58:33.000000Z K 7 svn:log V 221 Allow the vnode zone to return the unused memory. The vnode reference count is/shall be properly maintained for the long time, and VFS shall be safe against the vnode memory reclamation. Proposed by: jeff Tested by: pho END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-04-24T10:46:25.000000Z K 7 svn:log V 35 MFC: kernel-mode NFS lock manager. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-04-24T10:52:30.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-24T12:23:31.000000Z K 7 svn:log V 245 Use logic or, not binary or, when deciding whether or not a system call exit requires entering the audit code. The result is much the same, but they mean different things. MFC afer: 3 days Submitted by: Diego Giagio END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-04-24T13:08:30.000000Z K 7 svn:log V 70 Remove DDB options which accidentally got added in the last revision. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-04-24T18:18:53.000000Z K 7 svn:log V 69 Remove FreeBSD ID's so these are exact copies of the vendor sources. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2008-04-24T18:23:13.000000Z K 7 svn:log V 81 List of files that are off the vendor branch, but we use the stock vendor files. END K 10 svn:author V 4 kris K 8 svn:date V 27 2008-04-24T22:08:36.000000Z K 7 svn:log V 131 fdhold can return NULL, so add the one remaining missing check for this condition. Reviewed by: attilio MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-24T22:36:11.000000Z K 7 svn:log V 253 - Use NULL instead of 0 for pointers. - Remove superfluous returns in functions returning void. - In sym_alloc_lcb_tags() return directly instead of jumping to a label which just returns. - Fix some spelling in comments. - Remove trailing whitespace. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-24T22:42:01.000000Z K 7 svn:log V 762 MFC fix for PR ia64/118024 o Rename cpu_thread_setup() to cpu_thread_alloc() to better communicate that it relates to (is called by) thread_alloc() o Add cpu_thread_free() which is called from thread_free() to counter-act cpu_thread_alloc(). i386: Have cpu_thread_free() call cpu_thread_clean() to preserve behaviour. ia64: Have cpu_thread_free() call mtx_destroy() for the mutex initialized in cpu_thread_alloc(). files: sys/amd64/amd64/vm_machdep.c:1.256 sys/arm/arm/vm_machdep.c:1.35 sys/i386/i386/vm_machdep.c1.284 sys/ia64/ia64/machdep.c:1.227 sys/ia64/ia64/vm_machdep.c:1.95 sys/kern/kern_thread.c:1.260 sys/powerpc/powerpc/vm_machdep.c:1.117 sys/sparc64/sparc64/vm_machdep.c:1.77 sys/sun4v/sun4v/vm_machdep.c:1.8 sys/sys/proc.h:1.495 END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-24T22:48:34.000000Z K 7 svn:log V 649 - Use bus_{read,write}_*(9) instead of bus_space_{read,write}_*(9) in order to get rid of bus space handle and tag in struct sym_hcb. - Remove unused members related to bus addresses in struct sym_hcb. - sym(4) takes care of allocating an instance of struct sym_hcb itself so don't let newbus allocate it as an unused softc also. - Add basic MPSAFE locking. This includes changing the sym(4) CCBs to be allocated up-front instead of on demand as needed. Besides making these allocations more likely to succeed, this also solves the problem of calling bus_dmamap_create(9) with the SIM mutex held. Reviewed by: scottl MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-24T22:51:43.000000Z K 7 svn:log V 133 - vx_stop() requires the driver lock to be held. - Add some missing newlines to messages printed by vx_getlink(). MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-24T23:12:03.000000Z K 7 svn:log V 3017 o Disable HMEDEBUG by default. o Add CTASSERTs ensuring that HME_NRXDESC and HME_NTXDESC are set to legal values. o Use appropriate maxsize, nsegments and maxsegsize parameters when creating DMA tags and correct some comments related to them. o The FreeBSD bus_dmamap_sync(9) supports ored together flags for quite some time now so collapse calls accordingly. o Add missing BUS_DMASYNC_PREREAD when syncing the control DMA maps in hme_rint() and hme_start_locked(). o Keep state of the link state and use it to enable or disable the MAC in hme_mii_statchg() accordingly as well as to return early from hme_start_locked() in case the link is down. o Introduce a sc_flags and use it to replace individual members like sc_pci. o Add bus_barrier(9) calls to hme_mac_bitflip(), hme_mii_readreg(), hme_mii_writereg() and hme_stop() to ensure the respective bit has been written before we starting polling on it and for the right bits to change. o Rather just returning in case hme_mac_bitflip() fails and leaving us in an undefined state report the problem and move on; chances are the requested configuration will become active shortly after. o Don't call hme_start_locked() in hme_init_locked() unconditionally but only after calls to hme_init_locked() when it's appropriate, i.e. in hme_watchdog(). o Add a KASSERT which asserts nsegs is valid also to hme_load_txmbuf(). o In hme_load_txmbuf(): - use a maximum of the newly introduced HME_NTXSEGS segments instead of the incorrect HME_NTXQ, which reflects the maximum TX queue length, for loading the mbufs and put the DMA segments back onto the stack instead of the softc as 16 should be ok there. - use the common errno(2) return values instead of homegrown ones, - given that hme_load_txmbuf() is allowed to fail resulting in a packet drop for quite some time now implement the functionality of hme_txcksum() by means of m_pullup(9), which de-obfuscates the code and allows to always retrieve the correct length of the IP header, [1] - also add a KASSERT which asserts nsegs is valid, - take advantage of m_collapse(9) instead of m_defrag(9) for performance reasons. o Don't bother to check whether the interface is running or whether its queue is empty before calling hme_start_locked() in hme_tint(), the former will check these anyway. o In hme_intr() call hme_rint() before hme_tint() as gem_tint() may take quite a while to return when it calls hme_start_locked(). o Get rid of sc_debug and just check if_flags for IFF_DEBUG directly. o Add a shadow sc_ifflags so we don't reset the chip when unnecessary. o Handle IFF_ALLMULTI correctly. [2] o Use PCIR_BAR instead of a homegrown macro. o Replace sc_enaddr[6] with sc_enaddr[ETHER_ADDR_LEN]. o Use the maximum of 256 TX descriptors for better performance as using all of them has no additional static cost rather than using just half of them. Reported by: rwatson [2] Suggested by: yongari [1] Reviewed by: yongari MFC after: 1 month END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-04-25T05:18:50.000000Z K 7 svn:log V 681 - Add an integer argument to idle to indicate how likely we are to wake from idle over the next tick. - Add a new MD routine, cpu_wake_idle() to wakeup idle threads who are suspended in cpu specific states. This function can fail and cause the scheduler to fall back to another mechanism (ipi). - Implement support for mwait in cpu_idle() on i386/amd64 machines that support it. mwait is a higher performance way to synchronize cpus as compared to hlt & ipis. - Allow selecting the idle routine by name via sysctl machdep.idle. This replaces machdep.cpu_idle_hlt. Only idle routines supported by the current machine are permitted. Sponsored by: Nokia END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T05:28:47.000000Z K 7 svn:log V 92 MFC 1.11: sync channel defs w/ _ieee80211.h so cpp doesn't complain about redefinitions END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T05:30:11.000000Z K 7 svn:log V 143 MFC: move include paths to Makefile, use the AFTER trick to simplify adding new items, prepare stat blocks for additional data, other stuff END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T05:31:43.000000Z K 7 svn:log V 38 MFC 1.14: enable wired driver support END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T05:33:16.000000Z K 7 svn:log V 68 MFC 1.146: explain that you must set a default transmit key for WEP END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-25T06:56:31.000000Z K 7 svn:log V 65 Vendor import of the DTrace app and test suite from OpenSolaris. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-25T06:56:31.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r178476, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 daichi K 8 svn:date V 27 2008-04-25T07:58:19.000000Z K 7 svn:log V 218 o Added system hang-up process when VOP_READDIR of unionfs_nodeget() returns not end of the file status on debug mode (DIAGNOSTIC defined) kernel. Submitted by: Masanori OZAWA (ozawa@ongs.co.jp) MFC after: 1 week END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-25T09:04:09.000000Z K 7 svn:log V 56 Vendor import of libraries for DTrace from OpenSolaris. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-25T09:04:09.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r178479, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-25T09:07:28.000000Z K 7 svn:log V 87 Vendor import of the CTF (Compact C Type Format) code used by DTrace from OpenSolaris. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-25T09:07:28.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r178481, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 daichi K 8 svn:date V 27 2008-04-25T09:38:48.000000Z K 7 svn:log V 185 o Fixed inaccessible issue especially including devfs on unionfs case. fixed also: kern/117829 PR: kern/117829 Submitted by: Masanori OZAWA (ozawa@ongs.co.jp) MFC after: 1 week END K 10 svn:author V 6 daichi K 8 svn:date V 27 2008-04-25T09:44:47.000000Z K 7 svn:log V 94 o Fixed rename panic issue Submitted by: Masanori OZAWA (ozawa@ongs.co.jp) MFC after: 1 week END K 10 svn:author V 6 daichi K 8 svn:date V 27 2008-04-25T09:53:52.000000Z K 7 svn:log V 145 o Improved unix socket connection issue fixed: kern/118346 PR: kern/118346 Submitted by: Masanori OZAWA (ozawa@ongs.co.jp) MFC after: 1 week END K 10 svn:author V 4 oleg K 8 svn:date V 27 2008-04-25T10:29:26.000000Z K 7 svn:log V 1464 MFC: src/sys/netinet/ip_dummynet.h 1.41 src/sys/netinet/ip_dummynet.c 1.111-1.114 src/sys/netinet/ip_fw_pfil.c 1.26 src/sys/net/if_bridge.c 1.107 src/sys/net/if_ethersubr.c 1.240 src/sbin/ipfw/ipfw.8 1.206 - style(9) cleanup. - dummynet_io() declaration has changed. - Alter packet flow inside dummynet and introduce 'fast' mode of dummynet operation: allow certain packets to bypass dummynet scheduler. Benefits are: -- lower latency: if packet flow does not exceed pipe bandwidth, packets will not be (up to tick) delayed (due to dummynet's scheduler granularity). -- lower overhead: if packet avoids dummynet scheduler it shouldn't reenter ip stack later. Such packets can be fastforwarded. -- recursion (which can lead to kernel stack exhaution) eliminated. This fix long existed panic, which can be triggered this way: kldload dummynet sysctl net.inet.ip.fw.one_pass=0 ipfw pipe 1 config bw 0 for i in `jot 30`; do ipfw add 1 pipe 1 icmp from any to any; done ping -c 1 localhost - New sysctl nodes: net.inet.ip.dummynet.io_fast - enables 'fast' dummynet io net.inet.ip.dummynet.io_pkt - packets passed to dummynet net.inet.ip.dummynet.io_pkt_fast - packets avoided dummynet scheduler net.inet.ip.dummynet.io_pkt_drop - packets dropped by dummynet - Workaround p->numbytes overflow, which can result in infinite loop inside dummynet module (prerequisite is using queues with "fat" pipe). PR: kern/113548 kern/121955 END K 10 svn:author V 4 oleg K 8 svn:date V 27 2008-04-25T10:35:53.000000Z K 7 svn:log V 151 MFC: 1.111 Calculate p.fs.lookup_step correctly. This should prevent zeroing of w_q_lookup table (used in RED algorithm for (1 - w_q)^t computation). END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-25T10:58:54.000000Z K 7 svn:log V 157 MFC: 1.4 - Fix the path encoded in the multiple inclusion protection. - GCC uses 32-byte function alignment for UltraSPARC CPUs. - Remove code duplication. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-25T11:02:01.000000Z K 7 svn:log V 73 MFC: Makefile 1.11; atomic.S 1.1 Add atomic operations for ZFS/sparc64. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-25T11:03:35.000000Z K 7 svn:log V 46 MFC: 1.561 Hook up ZFS to the sparc64 build. END K 10 svn:author V 6 daichi K 8 svn:date V 27 2008-04-25T11:37:20.000000Z K 7 svn:log V 248 o Fixed multi thread access issue reported by Alexander V. Chernikov (admin@su29.net) fixed: kern/109950 PR: kern/109950 Submitted by: Alexander V. Chernikov (admin@su29.net) Reviewed by: Masanori OZAWA (ozawa@ongs.co.jp) MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-25T13:23:36.000000Z K 7 svn:log V 213 Rename debug.ddb.capture.bytes sysctl to debug.ddb.capture.bufoff in order to match the internal variable name. Add a new sysctl debug.ddb.capture.inprogress to export the inprogress variable. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-04-25T16:00:39.000000Z K 7 svn:log V 83 Always use PG_PS_FRAME to extract the physical address of a 2/4MB page from a PDE. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-25T16:09:03.000000Z K 7 svn:log V 62 Unbreak previous commit. While here, refactor the code a bit. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:21:05.000000Z K 7 svn:log V 58 MFC 1.9: Fix adhoc mode to scan all available channels... END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:22:31.000000Z K 7 svn:log V 104 MFC 1.179: (finally) add the hal status to the diagnostic generated after a failed ath_hal_reset call END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:33:23.000000Z K 7 svn:log V 77 MFC: add device hints to control the rx FIFO interrupt level on 16550A parts END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:34:14.000000Z K 7 svn:log V 79 MFC 1.12: document device hints including new ones to control rx fifo trigger END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:35:07.000000Z K 7 svn:log V 126 MFC 1.2: map device 5; the optional USB controller on Gateworks 2348 boards shows up here instead of the minipci slot at J4 END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:35:51.000000Z K 7 svn:log V 66 MFC 1.3: add hints to specify how NPE ports are mapped to MAC+PHY END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:38:14.000000Z K 7 svn:log V 35 MFC: add reject+blackhole keywords END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:40:18.000000Z K 7 svn:log V 32 MFC 1.344: add some CDMA modems END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:41:13.000000Z K 7 svn:log V 57 MFC 1.1286: add include path required to find ah_osdep.h END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:42:03.000000Z K 7 svn:log V 61 MFC 1.22: correct syslog mask so LOG_DEBUG msgs are not lost END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:43:19.000000Z K 7 svn:log V 90 MFC 1.23: Defer state change on disassociate to avoid unnecessarily dropping the lease. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2008-04-25T16:45:13.000000Z K 7 svn:log V 267 Initialize tz_active to a new constant TZ_ACTIVE_UNKNOWN and make no assumptions about the state of the cooling devices. Instead, switch them off on init and, only after that, we are in TZ_ACTIVE_NONE. Submited by: Andriy Gapon Reviewed by: njl END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:46:20.000000Z K 7 svn:log V 121 MFC 1.223: add M_PROTO[678]; sort mbuf flags and extend values to 32 bits; write M_COPYFLAGS in terms of M_PROTOFLAGS END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:48:08.000000Z K 7 svn:log V 78 MFC: Fix handling of create operation together with setting other parameters. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:50:48.000000Z K 7 svn:log V 52 MFC: enable dynamic addition of "show all" commands END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:52:09.000000Z K 7 svn:log V 103 MFC 1.41: IFM_IEEE80211_IBSSMASTER hasn't been used in many years; replace it with IFM_IEEE80211_WDS END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T16:59:30.000000Z K 7 svn:log V 25 MFC 1.95: add __noinline END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T17:04:45.000000Z K 7 svn:log V 99 MFC: split out tty create part of ucom_attach into ucom_attach_tty so derived drivers can use it END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T17:05:42.000000Z K 7 svn:log V 81 MFC 1.3: spell pidfile correctly so multiple wpa_supplicant processes can be run END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T17:18:45.000000Z K 7 svn:log V 28 MFC 1.19: fix locking botch END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-25T17:34:09.000000Z K 7 svn:log V 513 Add "ddb capture print" and "ddb capture status" commands do ddb(8), alowing the DDB output capture buffer to be easily extracted from user space. Both of these commands include -M/-N arguments, allowing them to be used with kernel crash dumps (or /dev/mem). This makes it easier to use DDB scripting and output capture with minidumps or full dumps rather than with text dumps, allowing DDB output (scripted or otherwise) to be easily extracted from a crash dump. MFC after: 1 week Discussed with: brooks, jhb END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T17:35:33.000000Z K 7 svn:log V 44 MFC: wpa_supplicant 0.5.10 + syslog support END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T17:39:55.000000Z K 7 svn:log V 61 MFC: enable syslog support and add -s option to the man page END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T18:02:11.000000Z K 7 svn:log V 41 MFC: hostapd 0.5.10 + radius acl support END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T18:32:22.000000Z K 7 svn:log V 90 MFC: bug fix to preserve high 16 bits of if flags so drivers don't lose IFF_NEEDSGIANT END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T19:13:38.000000Z K 7 svn:log V 92 remove scan task on state change so it doesn't unexpectedly fire Noticed by: Paul B. Mahol END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T19:45:42.000000Z K 7 svn:log V 206 hookup the parent device's if_input and if_output to stub routines to catch unintended use (one might argue about if_output but it's behaviour is ill-defined without vap context) Noticed by: Paul B. Mahol END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-25T20:42:48.000000Z K 7 svn:log V 75 add rules for statically embedding ipw, iwi, ral, and wpi firmware modules END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-04-25T21:19:41.000000Z K 7 svn:log V 997 This delta has a few important items: PR 122839 is fixed in both em and in igb Second, the issue on building modules since the static kernel build changes is now resolved. I was not able to get the fancier directory hierarchy working, but this works, both em and igb build as modules now. Third, there is now support in em for two new NICs, Hartwell (or 82574) is a low cost PCIE dual port adapter that has MSIX, for this release it uses 3 vectors only, RX, TX, and LINK. In the next release I will add a second TX and RX queue. Also, there is support here for ICH10, the followon to ICH9. Both of these are early releases, general availability will follow soon. Fourth: On Hartwell and ICH10 we now have IEEE 1588 PTP support, I have implemented this in a provisional way so that early adopters may try and comment on the functionality. The IOCTL structure may change. This feature is off by default, you need to edit the Makefile and add the EM_TIMESYNC define to get the code. Enjoy all!! END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-04-25T23:22:01.000000Z K 7 svn:log V 44 A change got dropped in the merge, add back END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-25T23:33:18.000000Z K 7 svn:log V 56 Vendor import of DTrace support files from OpenSolaris. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-25T23:33:18.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r178525, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-04-25T23:50:49.000000Z K 7 svn:log V 396 Replace the prototype vaps_ and vap_create_ variables with more wlans_ and create_args_ Add documentation for these variants and generally update the wireless device example. There is are very short lived shim from vaps_ which produces a warning and vap_create_ which does not. Misuse the MFC notification service to remind me to remove them. MFC after: 3 weeks END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T00:54:52.000000Z K 7 svn:log V 496 Vendor import of the full userland contrib part of DTrace support from OpenSolaris. This commit resets files to match the versions in the OpenSolaris tree as of 2008/04/10. The changes in this import from the previous import are the ones that will subsequently re-applied to take files off the vendor branch. This is unfortunately necessary because the Solaris developers won't allow FreeBSD support #ifdefs in their source code because that creates 'dead code' (stuff that they never compile). END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T00:54:52.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r178528, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-04-26T00:54:53.000000Z K 7 svn:log V 102 This commit was manufactured by cvs2svn to create tag 'opensolaris-vendor-cddl-opensolaris_20080410a'. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2008-04-26T02:15:40.000000Z K 7 svn:log V 31 Opps,missed line in the fix... END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2008-04-26T02:15:41.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_7'. END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-04-26T02:33:53.000000Z K 7 svn:log V 347 Have the man page catch up with the namespace pollution cleanup that occurred between 2001-2003. Thanks to bde for the history lesson[1] concerning sys/types.h and the many system calls that at one time (pre-2001) were required by POSIX to include it. 1. http://lists.freebsd.org/pipermail/freebsd-arch/2008-April/008126.html MFC after: 3 days END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:32:20.000000Z K 7 svn:log V 45 Port these test files to work under FreeBSD. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:34:22.000000Z K 7 svn:log V 33 Set the path to perl on FreeBSD. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:36:28.000000Z K 7 svn:log V 242 * Set the path to perl on FreeBSD. * Use the FreeBSD shell. * On FreeBSD the tests run from the OBJDIR, so output files go there rather than in the source tree like they do on Solaris. * FreeBSD doesn't need a special path to the compiler. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:39:02.000000Z K 7 svn:log V 147 Apply FreeBSD changes. There is an incomplete piece of code in here which requires the process handling library which is still under development. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:40:56.000000Z K 7 svn:log V 74 Add a missing include file. We care about function prototype definitions. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:44:47.000000Z K 7 svn:log V 108 On FreeBSD we can't afford to have a build fail simply because there was some sort of CTF conversion error. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:47:34.000000Z K 7 svn:log V 23 Apply FreeBSD changes. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-26T03:50:24.000000Z K 7 svn:log V 275 MFC: Better implement I-cache invalidation. Revision Changes Path 1.25 +4 -0 src/sys/ia64/ia64/elf_machdep.c 1.235 +18 -5 src/sys/ia64/ia64/machdep.c 1.198 +37 -84 src/sys/ia64/ia64/pmap.c 1.28 +1 -0 src/sys/ia64/include/md_var.h END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:54:23.000000Z K 7 svn:log V 32 Make this file compile cleanly. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-26T03:56:30.000000Z K 7 svn:log V 119 MFC: Correct an off-by-1 for GPART. Revision Changes Path 1.5 +8 -2 src/lib/libdisk/open_ia64_disk.c END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:56:49.000000Z K 7 svn:log V 253 We need to be consistent with prototype definitions. It isn't OK to use 'const' and just override it whenever we feel like it. If we use it at all, then we need to do it properly. Add a couple of functions that were useful in getting this code ported. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T03:59:24.000000Z K 7 svn:log V 95 Use FreeBSD's libdwarf which is BSD licensed instead of the GPL'd one that is used in Solaris. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:01:35.000000Z K 7 svn:log V 63 A lot of changes to make this code compile cleanly on FreeBSD. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:03:58.000000Z K 7 svn:log V 47 'echo' behaviour differs between SYSV and BSD. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:09:13.000000Z K 7 svn:log V 169 Solaris has code which makes zlib optional, so they have to jump through some hoops to get the compression functions. On FreeBSD have libz and can just link against it. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:11:16.000000Z K 7 svn:log V 128 Simplify for FreeBSD for now, bypassing the multibyte char variables that Solaris has. We may need to revisit this issue later. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:13:23.000000Z K 7 svn:log V 170 * Fix a function prototype. * Allow for the different level of indirection between SYSV's ioctl and BSD's. * Map a couple of sysconf definitions to one that FreeBSD has. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:16:17.000000Z K 7 svn:log V 72 * Use a portable POSIX timed wait. * Handle the different ioctl format. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:18:35.000000Z K 7 svn:log V 61 freopen() on FreeBSD behaves differently to the Solaris one. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:20:11.000000Z K 7 svn:log V 72 Handle the different level of indirection between ioctl on SYSV vs BSD. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:22:32.000000Z K 7 svn:log V 27 Make this compile cleanly. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:26:23.000000Z K 7 svn:log V 345 * Define YY_INPUT for flex since input() can't be re-defined. * On FreeBSD define both LITTLE_ENDIAN and BIG_ENDIAN and then set the BYTE_ORDER to the one we are using. On Solaris they define one or the other but not both. For us to keep using FreeBSD header files, we need to use endian definitions the same way we do in pure BSD code. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:33:15.000000Z K 7 svn:log V 455 * Get the maximum number of CPUs via a sysctl. * Handle the different ioctl design. * Support the freopen() changes. * Use functions in FreeBSD's process library rather than the CDDL library that Solaris has which sits on top of their process file system and is therefore unsuitable for use on FreeBSD. The libproc API for FreeBSD is deliberately different to that on Solaris because Sun wouldn't release the libproc.h header under a BSD license. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:34:50.000000Z K 7 svn:log V 58 Just leave out a few includes to compile this on FreeBSD. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:37:01.000000Z K 7 svn:log V 107 * Handle the different ioctl design. * Use FreeBSD's process library API. * Make the file compile cleanly. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:39:26.000000Z K 7 svn:log V 156 * Make this file compile cleanly. * Use FreeBSD's kld syscalls to get kernel module information instead of using an object file system like Solaris uses. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:40:38.000000Z K 7 svn:log V 58 Add some error definitions for FreeBSD action extensions. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:43:19.000000Z K 7 svn:log V 285 There are many places in libdtrace where errno can be set. When an error is returned all the way back to the dtrace app, it's hard to figure out where that error came from. Add a couple of functions to get and set the error location which can be optionally compiled into the library. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:44:34.000000Z K 7 svn:log V 70 * Handle the different ioctl design. * Make the file compile cleanly. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:47:16.000000Z K 7 svn:log V 177 * Add a couple of action definitions for FreeBSD extensions. * Handle the different ioctl design. * Add support for the get and set error location. * Add support for freopen(). END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:49:02.000000Z K 7 svn:log V 52 Leave out the hook that Solaris has into it's rtld. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:51:45.000000Z K 7 svn:log V 302 * Use FreeBSD's process library instead of the Solaris one. * There are a few placeholders in here for which there isn't libproc support code yet. This is relevent to userland tracing. This set of commits is designed to get kernel tracing up and running, with the userland stuff to follow later. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:53:24.000000Z K 7 svn:log V 97 Merge FreeBSD include file changes with some code that should have come in on the vendor branch. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:54:58.000000Z K 7 svn:log V 25 Leave out a header file. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:56:46.000000Z K 7 svn:log V 192 There is a lot of commented out code here which applies to future work for userland tracing. For now we need the basic functions to be in place so that DTrace can be used for kernel tracing. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T04:57:45.000000Z K 7 svn:log V 71 * Handle the different ioctl design. * Make this file compile cleanly. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T05:01:29.000000Z K 7 svn:log V 239 * Add FreeBSD action extensions. * Get the kernel module file name rather than hard-coding it like on Solaris. * Use FreeBSD's process library API. * Handle FreeBSD's different lock types. * Get the list of loaded providers via a syscall. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2008-04-26T05:02:48.000000Z K 7 svn:log V 265 - Remove cumbersome and inaccurate attempt at synchronizing the timestamps post collection. This is too error prone and introduces uncertainty into the timing. We'll simply have to require synchronized TSCs to run schedgraph on MP. Sponsored by: Nokia END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T05:03:22.000000Z K 7 svn:log V 84 * Make this file compile cleanly. * Add FreeBSD constructor/destructor definitions. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T05:05:48.000000Z K 7 svn:log V 124 * Handle building on FreeBSD for i386 and amd64. * Add stubs for the other FreeBSD arches. * Make the file compile cleanly. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T05:07:07.000000Z K 7 svn:log V 29 Leave out some header files. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T05:07:54.000000Z K 7 svn:log V 32 Make this file compile cleanly. END K 10 svn:author V 2 jb K 8 svn:date V 27 2008-04-26T05:09:19.000000Z K 7 svn:log V 82 * Handle the different ioctl design. * Add a couple of FreeBSD action extensions. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-04-26T05:46:28.000000Z K 7 svn:log V 70 Add support for the Davicom DM9601. Submitted by: William Grzybowski END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-26T10:54:17.000000Z K 7 svn:log V 241 - Use more appropriate maxsize, nsegments and maxsegsize parameters when creating the parent bus DMA tag. While at it correct the style and a nearby comment. - Take advantage of m_collapse(9) for performance reasons. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-26T11:01:38.000000Z K 7 svn:log V 429 Remove the MD isa_irq_pending() and the underlying PCI-specific infrastructure. Its only consumer ever was sio(4) and thus was unused on sparc64 since removing the last traces of sio(4) in sparc64 configuration files in favor for uart(4) over three years ago. If similar functionality is required again it should be brought back as an MD intr_pending() which works for all busses by using for example interrupt controller hooks. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-04-26T12:08:02.000000Z K 7 svn:log V 62 Add mips support libc from the mips2-jnpr branch of perforce. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-04-26T12:17:57.000000Z K 7 svn:log V 63 Bring in mips threads support from perforce mips2-jnpr branch. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-04-26T12:20:29.000000Z K 7 svn:log V 59 Add mips support to libm, from mips2-jnpr perforce branch. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-04-26T12:22:46.000000Z K 7 svn:log V 62 FreeBSD/mips gdb build suspport. From the mips2-jnpr branch. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-04-26T13:03:23.000000Z K 7 svn:log V 204 MFC: sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c:1.28 Fix mmap(2) on ZFS after some changes in VM subsystem. Submitted by: alc Reported by: kris (originally) and many others Reminded by: kris END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-04-26T13:04:48.000000Z K 7 svn:log V 231 Implement 'show mount' command in DDB. Without argument, it prints short info about all currently mounted file systems. When an address is given as an argument, prints detailed info about the given mount point. MFC after: 2 weeks END K 10 svn:author V 4 kris K 8 svn:date V 27 2008-04-26T13:16:55.000000Z K 7 svn:log V 131 * Correct a mis-merge that leaked the PROC_LOCK [1] * Return ENOENT on error instead of 0 [2] Submitted by: rdivacky [1], kib [2] END K 10 svn:author V 4 kris K 8 svn:date V 27 2008-04-26T13:19:07.000000Z K 7 svn:log V 182 Increase the default MUTEX_ADAPTIVE_SPINS to 2000, after further testing it turns out 200 was too short to give good adaptive performance. Reviewed by: jeff MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-26T14:13:48.000000Z K 7 svn:log V 74 Remove some remnant alpha hacks. Approved by: PCI-maintainers (imp, jhb) END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-26T14:17:21.000000Z K 7 svn:log V 363 - Use the revamped code from the gem(4) PCI front-end, which doesn't require parts of the Expansion ROM to be copied around, for obtaining the MAC address on !OFW platforms. - Don't unnecessarily cache bus space tag and handle nor RIDs in the softcs of the front-ends. - Don't use function calls in initializers. - Let the SBus front-end depend on sbus(4). END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-26T17:36:33.000000Z K 7 svn:log V 215 MFC to RELENG_7: Initialize variable "now" before using it (it is used by the LEFTEARTH macro) PR: 121418 Submitted by: Atsuo Ohki Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-04-26T17:37:13.000000Z K 7 svn:log V 69 Enable NFSLOCKD for MPC85XX kernel to comply with recent NFS rework. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-26T17:38:07.000000Z K 7 svn:log V 208 MFC to RELENG_7: Don't allocate the constant array "props" on the stack in wctype. PR: 74743 Submitted by: knut st. osmundsen Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-04-26T17:39:55.000000Z K 7 svn:log V 77 Move System Revision defines to a bit better place, add MPC8572 systems IDs. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2008-04-26T17:39:56.000000Z K 7 svn:log V 208 MFC to RELENG_6: Don't allocate the constant array "props" on the stack in wctype. PR: 74743 Submitted by: knut st. osmundsen Approved by: rwatson (mentor) MFC after: 1 month END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-04-26T17:47:28.000000Z K 7 svn:log V 236 Improve handling of Local Access Windows on MPC85xx systems: - detect number of LAWs in run time and initalize accordingly - introduce decode windows target IDs used in MPC8572 - other minor updates Obtained from: Freescale, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-04-26T17:57:29.000000Z K 7 svn:log V 206 Introduce a dedicated file for MPC85xx-specific routines. Move cpu_reset() there, as it's not relevant to Book-E specification, but is an implementation detail, directly dependent on the given SoC version. END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-04-26T18:03:00.000000Z K 7 svn:log V 102 Use RSTCR for resetting the MPC8572 (the old way does not apply). Obtained from: Freescale, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2008-04-26T18:07:24.000000Z K 7 svn:log V 132 Recognize Cicada CS8244 phy chip (among others, can be found on MPC8572DS development systems). Obtained from: Freescale, Semihalf END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-26T18:35:44.000000Z K 7 svn:log V 400 Take into account the size of the interrupt cell. It's determined by the parent for interrupt resources. This corrects parsing of the interrupts property. With parsing of the property fixed, add all interrupts to the resource list. Bump the max. number of interrupts from 5 to 6 as scc(4) attached to macio(4) has 6 interrupts (3 per channel). Submitted by: Nathan Whitehorn END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-26T18:40:59.000000Z K 7 svn:log V 534 With rev 1.24 of sys/powerpc/powermac/macio.c, we now get a total of 6 interrupt resources for scc(4) on macio(4). This is 3 per channel, of which the 1st of each channel is the interrupt associated with the SCC. The other 2 are for DMA operation. Change scc_bfe_attach() to accept an argument that's the number of interrupts per channel (ipc) and change each bus front-end (bfe) to pass that argument through a wrapper for the device_attach method. For now, we only allocate the 1st interrupt of each channel to perserve behaviour. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-26T18:41:42.000000Z K 7 svn:log V 59 Include the QUICC bus front-end in the module for PowerPC. END K 10 svn:author V 4 oleg K 8 svn:date V 27 2008-04-26T19:15:57.000000Z K 7 svn:log V 42 Unbreak RELENG_6 build. PR: misc/123110 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-26T19:22:41.000000Z K 7 svn:log V 514 Put the arguments of kse_switchin in local variables, rather than dereferencing uap throughout. On ia64 uap points into the trapframe and the call to set_mcontext() in this function will change the trapframe. Consequently, when we dereference uap afterwards we can best qualify the behaviour as undefined. By putting the arguments in local variables we also improve code-generation, because the compiler is not forced to reload after every function call. Caught by: Christian Kandeler END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-04-26T22:12:31.000000Z K 7 svn:log V 131 Just met Kurt Vonnegut's quote remarkably relevant to open software development (as well as to the other kinds of human activity.) END K 10 svn:author V 3 yar K 8 svn:date V 27 2008-04-26T22:15:03.000000Z K 7 svn:log V 28 Add a missing quote symbol. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-04-26T22:39:58.000000Z K 7 svn:log V 295 MFamd64 revision 1.544/i386 revision 1.549 Retire pmap_track_modified(). We no longer need it because we do not create managed mappings within the clean submap. To prevent regressions, add assertions blocking the creation of managed mappings within the clean submap. Approved by: imp END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-04-27T00:06:01.000000Z K 7 svn:log V 112 Remove an XXX comment. sys/amd64/amd64/pmap.c revision 1.516 explains why "pmap_initialized" no longer exists. END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-04-27T00:10:45.000000Z K 7 svn:log V 98 Remove two unused declarations. These variables are now fields within vm.h's struct kva_md_info. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-04-27T04:07:36.000000Z K 7 svn:log V 374 Add a breif example for the wlan change. Include an explicit pointer to rc.conf(5) to remind people where to look for all the details. People without network connectivity forget basics like this... This is in keeping with historic UPDATING entries which try to provide basic information in the entry, and a pointer to more extensive information documenting the new thing. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-04-27T10:57:53.000000Z K 7 svn:log V 102 Back out the last revision - it shouldn't have been committed and in any case its wrong for RELENG_6. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-04-27T11:36:42.000000Z K 7 svn:log V 125 MFC: 1.61 - vx_stop() requires the driver lock to be held. - Add some missing newlines to messages printed by vx_getlink(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-27T14:13:37.000000Z K 7 svn:log V 179 Merge procstat.1:1.2 from HEAD to RELENG_7: It is a bug that procstat(8) works only on live kernels and not crashdumps; document in case anyone wants to work on fixing this. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-27T14:17:32.000000Z K 7 svn:log V 338 Merge procstat.1:1.3 from HEAD to RELENG_7: Provide more detailed information about each procstat(1) display mode, including a key to fields in each mode and flag abbreviations. Note: mention of POSIX shared memory in the man page has been removed in the MFC, as explicit kernel support for pshm hasn't been merged to RELENG_7 yet. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-27T14:24:37.000000Z K 7 svn:log V 296 Remove fifo_vnops.c:1.143 from HEAD to RELENG_7: Remove Giant acquisition around soreceive() and sosend() in fifofs. The bug that caused us to reintroduce it is believed to be fixed, and Kris says he no longer sees problems with fifofs in highly parallel builds. Pointed out by: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-27T14:39:32.000000Z K 7 svn:log V 246 Merge in_pcb.c:1.203, in6_pcb.c:1.88 from HEAD to RELENG_7: In in_pcbnotifyall() and in6_pcbnotify(), use LIST_FOREACH_SAFE() and eliminate unnecessary local variable caching of the list head pointer, making the code a bit easier to read. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-27T15:50:00.000000Z K 7 svn:log V 740 When writing trailers in sendfile(2), don't call kern_writev() while holding the socket buffer lock. These leads to an immediate panic due to recursing the socket buffer lock. This bug was introduced in uipc_syscalls.c:1.240, but masked by another bug until that was fixed in uipc_syscalls.c:1.269. Note that the current fix isn't perfect, but better than panicking: normally we guarantee that simultaneous invocations of a system call to write on a stream socket won't be interlaced, which is ensured by use of the socket buffer sleep lock. This is guaranteed for the sendfile headers, but not trailers. In practice, this is likely not a problem, but should be fixed. MFC after: 3 days Pointy hat to: andre (1.240), cperciva (1.269) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-27T15:51:49.000000Z K 7 svn:log V 67 Fix include guard spelling. MFC after: 3 days Submitted by: diego END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-27T17:13:22.000000Z K 7 svn:log V 182 Remove mfsvr(): o The function is defined unconditionally but depends on SPR_SVR, which is defined conditionally. o spr.h defines mfspr() and mtspr(), which is no worse to use. END K 10 svn:author V 3 scf K 8 svn:date V 27 2008-04-27T17:39:33.000000Z K 7 svn:log V 158 MFC: Capitalize "Eve". This is the correct form and now matches calendar.usholiday. src/usr.bin/calendar/calendars/calendar.christian: rev 1.10 -> 1.11 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-27T18:34:34.000000Z K 7 svn:log V 160 Add support files for compiling with soft-float. This has been copied from ARM and modified to warrant the duplication. Oh, and to make it work for PowerPC :-) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-27T19:03:14.000000Z K 7 svn:log V 67 Make sure tmpstk is aligned and make it 8KB in size -- not 8KB+16. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-27T19:51:34.000000Z K 7 svn:log V 18 MFp4: SMP support END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-04-27T20:25:43.000000Z K 7 svn:log V 407 - Fix bugs where the value of arithmetic expansion$((...)) was trucated to type int. - Change the type used for arithmetic expansion to intmax_t (ie. 64 bit on all currently supported FreeBSD architectures). SUSv3 requires at least type long but allows for larger types. Other shells (eg. bash, zsh, NetBSD's sh) do that too. PR: 122659 Submitted by: Jaakko Heinonen (minor modifications by me) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-04-27T20:43:26.000000Z K 7 svn:log V 43 Revert, this was supposed to go into HEAD. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-04-27T20:46:45.000000Z K 7 svn:log V 407 - Fix bugs where the value of arithmetic expansion$((...)) was trucated to type int. - Change the type used for arithmetic expansion to intmax_t (ie. 64 bit on all currently supported FreeBSD architectures). SUSv3 requires at least type long but allows for larger types. Other shells (eg. bash, zsh, NetBSD's sh) do that too. PR: 122659 Submitted by: Jaakko Heinonen (minor modifications by me) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-27T21:04:54.000000Z K 7 svn:log V 203 Eliminate track_modified_needed(), better known as pmap_track_modified() on other platforms. We no longer need it because we do not create managed mappings within the clean submap. Pointed out by: alc END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-04-27T22:03:56.000000Z K 7 svn:log V 100 restore the hal's channel list when doing getradiocaps so it's in sync with the 802.11 layer's list END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-27T22:33:43.000000Z K 7 svn:log V 18 MFp4: SMP support END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-04-28T03:04:41.000000Z K 7 svn:log V 131 The first argment of mtdbatu or mtibatu is part of the encoding. It needs to be constant, so eliminate the loop and "hand-unroll". END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-04-28T05:30:23.000000Z K 7 svn:log V 92 vm_map_fixed(), unlike vm_map_find(), does not update "addr", so it can be passed by value. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2008-04-28T07:26:34.000000Z K 7 svn:log V 109 Sigh, when reapplying the patch to HEAD, I somehow forgot to commit this file. Reported by: Jaakko Heinonen END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-04-28T14:11:23.000000Z K 7 svn:log V 31 Document 'show mount' command. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-04-28T14:54:17.000000Z K 7 svn:log V 57 Handle endianness for mips Approved by: cognet (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-28T15:26:11.000000Z K 7 svn:log V 175 Remove the 'add_kld_command' arg from load_kld(). It is always true since the auto-loading of kld's switched to hooking into gdb's shared library support. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-04-28T16:19:36.000000Z K 7 svn:log V 322 MFC: sys/netipsec/key.c rev. 1.31, also apply to sys/netkey/key.c not present in 7.x/8. Import change from KAME, rev. 1.362 kame/kame/sys/netkey/key.c In case of "new SA", we must check the hard lifetime of the old SA to find out if it is not permanent and we can delete it. Submitted by: sakane via gnn END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-28T16:57:56.000000Z K 7 svn:log V 58 Correct minor typos in SCTP man pages. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-04-28T17:25:27.000000Z K 7 svn:log V 48 Eliminate pointless casts from kmem_suballoc(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-28T18:27:19.000000Z K 7 svn:log V 223 Use kgdb_parse() instead of libkvm(3) to read the first instruction from "calltrap" to see which method is used to pass trap frames. This seg faulted on remote gdb connections (where libkvm isn't used). MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2008-04-28T19:42:11.000000Z K 7 svn:log V 174 Check packet directions more properly instead of just checking received interface is null. PR: kern/123138 Submitted by: Dmitry (hanabana at mail dot ru) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-28T20:47:38.000000Z K 7 svn:log V 37 MFC: Add support for detach packets. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-04-28T20:48:42.000000Z K 7 svn:log V 36 MFC: Support for the detach packet. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-04-28T21:08:42.000000Z K 7 svn:log V 188 ANSIfy function prototypes. While I am there, constify some parameters and make use of C99 sparse initialization for static variables, this makes talk(1) to compile cleanly with WARNS=6. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-04-29T00:51:20.000000Z K 7 svn:log V 64 Add Epson DX8400 scanner. PR: 123148 Submitted by: Bill Squire END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-04-29T00:53:12.000000Z K 7 svn:log V 18 mention DX8400/50 END K 10 svn:author V 6 jasone K 8 svn:date V 27 2008-04-29T01:32:42.000000Z K 7 svn:log V 131 Check for integer overflow before calling sbrk(2), since it uses a signed increment argument, but the size is an unsigned integer. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-04-29T03:48:48.000000Z K 7 svn:log V 151 Introduce command UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATE to allow userland to specify that an address is not shared by multiple processes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-04-29T03:58:18.000000Z K 7 svn:log V 96 Use UMTX_OP_WAIT_UINT_PRIVATE and UMTX_OP_WAKE_PRIVATE to save time in kernel(avoid VM lookup). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-04-29T05:48:05.000000Z K 7 svn:log V 23 Fix compiling problem. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-04-29T06:48:00.000000Z K 7 svn:log V 126 - Fix makefile so it doesn't break the build in some corner cases. [1] - Remove an extra copy of zfs.c. Reported by: yar [1] END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-04-29T06:54:12.000000Z K 7 svn:log V 59 Don't depend on the modification time of the "zfs" subdir. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-04-29T07:35:31.000000Z K 7 svn:log V 57 The referenced section name is 'Formats', not 'FORMATS'. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-04-29T08:16:05.000000Z K 7 svn:log V 29 Fix some section references. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-04-29T09:08:33.000000Z K 7 svn:log V 135 Mention -U and -ai arguments to mergemaster in a comment for the general mergemaster line. MFC after: 3 days Suggested by: Ben Laurie END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-04-29T09:16:19.000000Z K 7 svn:log V 106 1) adds some additional logging 2) changes to use a inqueue_bytes calculated value in max_len calc's. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-04-29T09:17:39.000000Z K 7 svn:log V 74 Add pru_flush routine so a transport can flush itself during Shutdown END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-04-29T09:18:30.000000Z K 7 svn:log V 52 Use the pru_flush infrastructure to avoid a panic END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-04-29T09:20:25.000000Z K 7 svn:log V 174 Protection against errant sender sending a stream seq number out of order with no missing TSN's (a cisco box has this problem which will make a ssn be held forever). END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-04-29T09:21:52.000000Z K 7 svn:log V 25 Logging changes from MFC END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-04-29T09:26:32.000000Z K 7 svn:log V 50 - Have SCTP use the new pru_flush functionality END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2008-04-29T11:17:45.000000Z K 7 svn:log V 67 Define KINFO_PROC_SIZE for mips. Approved by: cognet (mentor) END