ƒ²167767 184 557 521 289 1506 138 319 148 311 133 526 188 155 144 222 231 213 705 133 223 226 207 461 509 315 159 169 176 1354 234 345 637 312 377 108 282 133 238 180 151 238 154 238 141 184 162 150 139 132 164 145 216 238 145 134 280 290 690 319 129 361 218 1936 229 184 125 535 201 184 165 130 153 143 548 173 134 185 139 137 230 160 115 196 139 643 134 458 373 187 183 551 138 615 258 143 147 184 290 195 200 241 157 267 340 252 448 370 221 173 139 186 116 155 168 484 163 173 214 689 305 353 393 382 145 601 421 551 212 410 640 152 218 230 289 204 146 216 206 257 936 162 154 355 577 170 143 352 244 392 137 158 213 233 318 264 432 150 147 220 184 203 175 192 184 418 762 190 245 336 156 133 143 608 1680 622 119 418 267 470 145 287 231 97 185 396 K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T15:36:38.000000Z K 7 svn:log V 464 Change the amd64, i386, and ia64 nexus drivers to setup bus space tags and handles when activating a resource via bus_activate_resource() rather than doing some of the work in bus_alloc_resource() and some of it in bus_activate_resource(). One note is that when using isa_alloc_resourcev() on PC-98, drivers now need to just use bus_release_resource() without explicitly calling bus_deactivate_resource() first. nyan@ has already fixed all of the PC-98 drivers. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T15:39:11.000000Z K 7 svn:log V 428 Change acpi's handling of suballocating system resources to be a little simpler. It now can just use rman_is_region_manager() during acpi_release_resource() to see if the the resource is suballocated from a system resource. Also, the driver no longer needs MD knowledge about how to setup bus space tags and handles when doing a suballocation, but can simply rely on bus_activate_resource() in the parent setting all that up. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-21T16:40:37.000000Z K 7 svn:log V 194 move call to t3_prep_adapter earlier in attach before msi-x setup occurs this works around the fact that pci_config_{save,restore} doesn't adequately restore state for msi-x MFC after: 3 days END K 10 svn:author V 4 oleg K 8 svn:date V 27 2007-03-21T17:25:15.000000Z K 7 svn:log V 1411 MFC rev. 1.102-1.105 - style(9) cleanup - Use separate thread for servicing dummynet(4). Utilize taskqueue(9) API. - Convert net.inet.ip.dummynet.curr_time net.inet.ip.dummynet.searches net.inet.ip.dummynet.search_steps to SYSCTL_LONG nodes. It will prevent frequent wrap around on 64bit archs. - Implement simple mechanics for dummynet(4) internal time correction. Under certain circumstances (system high load, dummynet lock contention, etc) dummynet's tick counter can be significantly slower than it should be. (I've observed up to 25% difference on one of my production servers). Since this counter used for packet scheduling, it's accuracy is vital for precise bandwidth limitation. Introduce new sysctl nodes: net.inet.ip.dummynet. tick_lost - number of ticks coalesced by taskqueue thread. tick_adjustment - number of time corrections done. tick_diff - adjusted vs non-adjusted tick counter difference tick_delta - last vs 'standard' tick differnece (usec). tick_delta_sum - accumulated (and not corrected yet) time difference (usec). - Use non-recursive mutex. MTX_RECURSE is unnecessary since rev. 1.70 - Pay respect to net.isr.direct: use netisr_dispatch() instead of ip_input() - purge_flow_set(): Do not leak memory while purging queues which are not bound to pipe. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-21T17:37:13.000000Z K 7 svn:log V 46 another missing change for recent crypto mods END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T18:05:54.000000Z K 7 svn:log V 224 Remove tcp_minmssoverload DoS detection logic. The problem it tried to protect us from wasn't really there and it only bloats the code. Should the problem surface in the future we can simply resurrect it from cvs history. END K 10 svn:author V 5 ariff K 8 svn:date V 27 2007-03-21T18:17:03.000000Z K 7 svn:log V 54 Memory leak killing spree, mostly bus_dma(9) related. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T18:25:28.000000Z K 7 svn:log V 216 Make TCP_DROP_SYNFIN a standard part of TCP. Disabled by default it doesn't impede normal operation negatively and is only a few lines of code. It's close relatives blackhole and log_in_vain aren't options either. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T18:36:49.000000Z K 7 svn:log V 39 Tidy up tcp_log_in_vain and blackhole. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T18:40:31.000000Z K 7 svn:log V 433 Fix an off-by-one error in iwi_init_fw_dma(). It didn't reuse the existing DMA memory for a firmware load if it was the exact size needed, thus in the common case the driver was constantly free'ing and reallocating the DMA buffer and it would eventually begin to fail. With this fix, iwi0 reuses the same buffer the entire time and no longer fails to load the firmware after the machine has been up for a while. MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T18:49:43.000000Z K 7 svn:log V 94 Tidy up the ACCEPTCONN section of tcp_input(), ajust comments and remove old dead T/TCP code. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T18:52:58.000000Z K 7 svn:log V 61 Update and clarify comments in first section of tcp_input(). END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T18:56:03.000000Z K 7 svn:log V 50 Tidy up IPFIREWALL_FORWARD sections and comments. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T19:04:07.000000Z K 7 svn:log V 127 Subtract optlen in the maximum length check for TSO and finally avoid slightly oversized TSO mbuf chains. Submitted by: kmacy END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2007-03-21T19:19:00.000000Z K 7 svn:log V 133 Fix previous commit due to libarchive 1.x vs libarchive 2.x differences. Submitted by: Henrik Nymann Jensen Pointy hat to: cperciva END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T19:28:20.000000Z K 7 svn:log V 120 Handle the case when a thread is blocked on a lockmgr lock with LK_DRAIN in DDB's 'show sleepchain'. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T19:32:08.000000Z K 7 svn:log V 612 If vn_open() fails during kern_open(), don't fdrop() the new file object until after the call to fdclose(). This closes an obscure race that could result in the later call to fdclose() actually closing a different file descriptor if another thread close()'s the file descriptor being opened before fdrop() is called, so the fdrop() in kern_open() frees the file object, then the second thread (or a third) creates a new file descriptor which reuses both the same index and the same file pointer thus tricking fdclose() in the first thread into thinking that the original file was still open. MFC after: 1 week END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T19:34:12.000000Z K 7 svn:log V 39 Match up SYSCTL declarations in style. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-21T19:37:55.000000Z K 7 svn:log V 128 ANSIfy function declarations and remove register keywords for variables. Consistently apply style to all function declarations. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T20:46:26.000000Z K 7 svn:log V 133 Don't use cv_wait_unlock() to implement cv_wait(). Instead, implement cv_wait() fully and add missing KTRACE context switch traces. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T21:20:51.000000Z K 7 svn:log V 114 Rename the 'mtx_object', 'rw_object', and 'sx_object' members of mutexes, rwlocks, and sx locks to 'lock_object'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T22:18:10.000000Z K 7 svn:log V 368 Make use of 'lock_object' being the same field name in the witness_check*() macros. - witness_check() replaces witness_check_mtx() and witness_check_exclusive_sx() and checks for an exclusive acquire of either a mutex, rwlock, or sx lock. - witness_check_shared() replaces witness_check_shared_sx() and checks for a shared acquire of either a rwlock or sx lock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-21T22:22:13.000000Z K 7 svn:log V 416 Rename the cv_*wait*() functions to _cv_*wait*() and change their second argument from a mutex to a lock_object. Add cv_*wait*() wrapper macros that accept either a mutex, rwlock, or sx lock as the second argument and convert it to a lock_object and then call _cv_*wait*(). Basically, the visible difference is that you can now use rwlocks and sx locks with condition variables using the same API as with mutexes. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-21T22:53:22.000000Z K 7 svn:log V 221 MFC: Sync bge(4) with -CURRENT (minus if_bge.c 1.185 and 1.186) - Support for BCM5754/5755/5786/5787. - Support for IPMI/ASF mode (disabled by default) - Fix lots of bugs including style(9) nits. Tested by: net, stable END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2007-03-22T02:47:23.000000Z K 7 svn:log V 62 MFC: rev 1.12 Add a description about hw.firewire.hold_count. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-22T03:57:00.000000Z K 7 svn:log V 73 MFC miidevs, rev. 1.37 to RELENG_6 Add a bunch of new Marvell PHY ids. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-22T03:59:04.000000Z K 7 svn:log V 80 MFC e1000phyreg.h, rev. 1.4 to RELENG_6 Add additional Marvell PHY registers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-22T04:05:17.000000Z K 7 svn:log V 1256 MFC e1000phy.c rev. 1.17, 1.18 to RELENG_6 rev. 1.17 o style(9) fixes rev. 1.18 o Add support code for newer Marvell PHYs. o Remove unused static global variable e1000phy_debug. o Take advantage of mii_phy_dev_probe(). o Use MII_ANEGTICKS/MII_ANEGTICKS_GIGE instead of magic number 5. o Add IFM_NONE as e1000phy(4) supports it without issues. o Nuke magic PHY programming sequence in PHY reset and follow correct reset sequence. [1] o Make manual media selection work for all supported media types. o Don't set MIIF_NOISOLATE so e1000phy(4) can be used in configurations with multiple PHYs. o In 1000baseT, when setting the link manually, one side must be the master and the other the slave. If LINK0 is set, program the PHY to be a master, otherwise it's a slave. o When we lost a link, reset mii_ticks immediately so it correctly check number of seconds elapsed in autonegotiation phase. o Announce link loss right after it happens. o After kicking autonegotiation, report PHY status instead of returning immediatly. o When link state check is in progress, check auto negotiation completion bit only when auto negotiation is enbaled. o When PHY is resolved to a master, show it with IFM_FLAG2. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-22T07:02:43.000000Z K 7 svn:log V 141 Change the order of lock reacquisition in vm_object_split() in order to simplify the code slightly. Add a comment concerning lock ordering. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-03-22T10:37:53.000000Z K 7 svn:log V 248 Remove global list of all llinfo_arp entries and use a callout per instance expiry of the ARP entries. Since we no longer abuse the IPv4 radix head lock, we can now enter arp_rtrequest() with a lock held on an arbitrary rt_entry. Reviewed by: bms END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-03-22T10:51:03.000000Z K 7 svn:log V 540 When working on an RTM_CHANGE do the route editing in the following sequence. First, if rt_ifa is going to be changed, then call ifa_rtrequest(RTM_DELETE). Second, if gateway is going to be changed, then call rt_setgate(). Third, change rt_ifa. With this change we are able to change a link level route to a gateway one, that wasn't possible before: # ifconfig em0 192.168.22.1/24 # arp -s 192.168.22.99 00:11:22:33:44:55 # route change 192.168.22.99 192.168.22.199 # ping 192.168.22.99 db> Reported by: avatar END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-03-22T10:55:13.000000Z K 7 svn:log V 215 Carefully merge revs 1.123, 1.124, omitting the 1.120 change. This should fix resets of the long living TCP connections with EHOSTDOWN message. PR: 100172 Submitted by: "Andrew - Supernews" END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-03-22T13:21:24.000000Z K 7 svn:log V 280 Move the dom_dispose and pru_detach calls in sofree() earlier. Only after calling pru_detach we can be absolutely sure, that we don't have any references to the socket in the stack. This closes race between lockless sbdestroy() and data arriving on socket. Reviewed by: rwatson END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-22T15:42:13.000000Z K 7 svn:log V 16 Add missing \n. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-22T16:09:23.000000Z K 7 svn:log V 189 - Simplify the #ifdef's for adaptive mutexes and rwlocks by conditionally defining a macro earlier in the file. - Add NO_ADAPTIVE_RWLOCKS option to disable adaptive spinning for rwlocks. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T17:24:05.000000Z K 7 svn:log V 40 Vendor import of Intel ACPI-CA 20070320 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T17:24:05.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r167802, 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 2007-03-22T17:24:06.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20070320'. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T17:36:29.000000Z K 7 svn:log V 58 Add fixes for FreeBSD build that were submitted upstream. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T17:36:29.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r167805, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T17:43:38.000000Z K 7 svn:log V 61 Remove files that are no longer needed or removed by vendor. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T17:43:38.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r167807, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T17:47:41.000000Z K 7 svn:log V 48 Remove files that removed on the vendor branch. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-22T17:47:58.000000Z K 7 svn:log V 89 Use proc name (ki_comm) instead of thread name (ki_ocomm) as these may now be different. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T17:58:27.000000Z K 7 svn:log V 69 Resolve conflicts of unchanged files that are off the vendor branch. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T18:02:34.000000Z K 7 svn:log V 57 Resolve conflicts from import of Intel ACPI-CA 20070320. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T18:08:11.000000Z K 7 svn:log V 46 Update to reflect import of ACPI-CA 20070320. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T18:16:43.000000Z K 7 svn:log V 39 Catch up with ACPI-CA 20070320 import. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-03-22T18:16:44.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-22T19:08:39.000000Z K 7 svn:log V 53 Fix a typo, and update a comment. Submitted by: yar END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T21:14:43.000000Z K 7 svn:log V 122 Fix tinderbox build breakage. Note that it is committed on the vendor branch because it will be submitted to the vendor. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T21:14:43.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r167817, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-22T21:23:29.000000Z K 7 svn:log V 52 Merge from vendor branch to fix tinderbox breakage. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-03-22T22:25:25.000000Z K 7 svn:log V 42 add include now required for crypto flags END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-03-22T23:38:32.000000Z K 7 svn:log V 184 MFP4: a) Some constification from NetBSD (gcc 4.1.2) b) Split default param fetching/setting into scsi and fibre functions and retry the fibre fetch more than once. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-03-22T23:45:25.000000Z K 7 svn:log V 194 Pass the RID from the bus frontends to the core probe function. Currently all RIDs are 0, but for PCI devices this typically isn't the case. This change is made with future PCI support in mind. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-23T00:00:22.000000Z K 7 svn:log V 596 Add '-s' option and update the manual page. With this option, it prints little more style(9) friendly output. For example: %file2c -n 8 -s -x 'const char data[] = {' '};' < /etc/motd const char data[] = { 0x46, 0x72, 0x65, 0x65, 0x42, 0x53, 0x44, 0x20, 0x37, 0x2e, 0x30, 0x2d, 0x43, 0x55, 0x52, 0x52, 0x45, 0x4e, 0x54, 0x20, 0x28, 0x42, 0x45, 0x41, 0x53, 0x54, 0x49, 0x45, 0x29, 0x20, 0x23, 0x30, 0x3a, 0x20, 0x57, 0x65, 0x64, 0x20, 0x4d, 0x61, 0x72, 0x20, 0x32, 0x31, 0x20, 0x31, 0x39, 0x3a, 0x30, 0x34, 0x3a, 0x33, 0x36, 0x20, 0x45, 0x44, 0x54, 0x20, 0x32, 0x30, 0x30, 0x37, 0x0a }; END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-23T01:00:40.000000Z K 7 svn:log V 223 MFC r1.64: KERN_PROC_ALL produces a kinfo_proc for each thread in a process, which caused fstat to produce duplicated output for threaded processes. Instead use KERN_PROC_PROC to get just one kinfo_proc per process. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-03-23T01:47:04.000000Z K 7 svn:log V 33 Reflect ACPI-CA 20070320 import. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-03-23T01:55:20.000000Z K 7 svn:log V 264 MFC revision 1.2 date: 2007/03/16 03:50:53; author: delphij; state: Exp; lines: +9 -1 Mention a limitation that was inherted from RFC1952, making it impossible to obtain correct file size from a file that is larger than 4GB before compression. PR: bin/110329 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-23T04:01:08.000000Z K 7 svn:log V 122 Stop setting ki_ocomm (thread name) to the proc name by default, as nothing in the base system relies on this any longer. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-03-23T05:05:48.000000Z K 7 svn:log V 1839 Use extents rather than binary buddies to track free pages within chunks. This allows runs to be any multiple of the page size. The primary advantage is that large objects are no longer constrained to be 2^n pages, which can dramatically decrease internal fragmentation for large objects. This also allows the sizes for runs that back small objects to be more finely tuned. Free runs are searched for linearly using the chunk page map (with the help of some heuristic optimizations). This changes the allocation policy from "first best fit" to "first fit". A prototype red-black tree implementation for tracking free runs that implemented "first best fit" did not cause a measurable speed or memory usage difference for realistic chunk sizes (though of course it is possible to construct benchmarks that favor one allocation policy over another). Refine the handling of fullness constraints for small runs to be more tunable. Restructure the per chunk page map to contain only two fields per entry, rather than four. Also, increase each entry from 4 to 8 bytes, since it allows for 32-bit integers, without increasing the number of chunk header pages. Relax the maximum chunk size constraint. This is of no practical interest; it is merely fallout from the chunk page map restructuring. Revamp statistics gathering and reporting to be faster, clearer and more informative. Statistics gathering is fast enough now to have little to no impact on application speed, but it still requires approximately two extra pages of memory per arena (per process). This memory overhead may be acceptable for most systems, but we still need to leave statistics gathering disabled by default in RELENG branches. Rename NO_MALLOC_EXTRAS to MALLOC_PRODUCTION in order to make its intent clearer (i.e. it should be defined in RELENG branches). END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-23T06:11:25.000000Z K 7 svn:log V 136 vm_page_busy() no longer requires the page queues lock to be held. Reduce the scope of the page queues lock in vm_fault() accordingly. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-03-23T08:52:36.000000Z K 7 svn:log V 88 Don't destroy a mutex just before we use it, instead, destroy it after we have used it. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-23T09:43:36.000000Z K 7 svn:log V 33 Purge two redundant case labels. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-23T17:15:07.000000Z K 7 svn:log V 442 - Fix exca_(io|mem)_map() to return proper errno values. - Change exca_activate_resource() to call BUS_ACTIVATE_RESOURCE() before calling exca_(io|mem)_map() since the latter use rman_get_bus(tag|handle) and the recent changes to nexus(4) mean that you need to activate a resource before reading the bus tag and handle. This was true before, but now the nexus(4) drivers on x86 and ia64 are more forceful about it. Reviewed by: imp END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-23T18:33:21.000000Z K 7 svn:log V 106 Bring SACK option handling in tcp_dooptions() in line with all other options and ajust users accordingly. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-23T19:11:22.000000Z K 7 svn:log V 90 Tidy up some code to conform better to surroundings and style(9), 0 = NULL and space/tab. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-23T19:45:53.000000Z K 7 svn:log V 73 MFC: acpi_dock (docking station) and acpi_hpet (high-perf timer) support END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-23T19:48:31.000000Z K 7 svn:log V 38 MFC: validity checking of _TMP values END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-03-23T19:57:27.000000Z K 7 svn:log V 58 Make sysinstall's code WARNS=2 clean . MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-23T20:02:39.000000Z K 7 svn:log V 51 MFC: always return ok when getting number of units END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-23T20:16:50.000000Z K 7 svn:log V 453 Split tcp_input() into its two functional parts: o tcp_input() now handles TCP segment sanity checks and preparations including the INPCB lookup and syncache. o tcp_do_segment() handles all data and ACK processing and is IPv4/v6 agnostic. Change all KASSERT() messages to ("%s: ", __func__). The changes in this commit are primarily of mechanical nature and no functional changes besides the function split are made. Discussed with: rwatson END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-23T20:18:07.000000Z K 7 svn:log V 79 Check PCI-e link width to avoid foot shooting with 4x links MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-23T21:03:19.000000Z K 7 svn:log V 40 MFC rev. 1.20: add ENVIRONMENT section. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-03-23T21:05:36.000000Z K 7 svn:log V 93 Exit status should be 1 on error. PR: bin/110705 Reported by: Tom Judge MFC after: 2 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-23T21:35:32.000000Z K 7 svn:log V 45 o Kill EOL whitespaces. HEAD is OK already. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-23T21:37:32.000000Z K 7 svn:log V 43 MFC rev. 1.75: kill addr2ascii() man page. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-03-23T21:55:59.000000Z K 7 svn:log V 137 If KERNEL_EXTRA is defined, make kernel-all target depend on it. If KERNEL_EXTRA_INSTALL is defined, install it into ${DESTDIR}${KODIR}. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-23T21:56:06.000000Z K 7 svn:log V 66 o Revert last: addr2ascii() is still there. Pointed out by: bmah END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-23T22:02:11.000000Z K 7 svn:log V 21 commit missed change END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-23T22:03:55.000000Z K 7 svn:log V 101 - Increase coalesce_nsecs - commit fixes for the following coverity warnings: 1765, 1760, 1758, 1756 END K 10 svn:author V 6 matteo K 8 svn:date V 27 2007-03-23T22:09:02.000000Z K 7 svn:log V 44 remove WARNS=2: we're not ready for it yet. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-23T22:26:01.000000Z K 7 svn:log V 549 Update to FICL 3.03 (the last release before FICL4 rewrite). The relevant changes for FreeBSD (excerpt from the release note): * Newly implemented CORE EXT words: CASE, OF, ENDOF, and ENDCASE. Also added FALLTHROUGH, which works like ENDOF but jumps to the instruction just after the next OF. * Bugfix: John-Hopkins locals syntax now accepts | and -- in the comment (between the first -- and the }.) * Bugfix: Changed vmGetWord0() to make Purify happier. The resulting code is no slower, no larger, and slightly more robust. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-03-23T22:48:44.000000Z K 7 svn:log V 38 Switch to ANSI function declarations. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-03-23T22:57:24.000000Z K 7 svn:log V 365 MFp4: A bunch of patches from myself and Tisco to improve the robustness of IIC transactions when parts aren't present. This also removes a bunch of debug. This also moves this driver to 7-1 addressing rather than 6-0 addressing, which is more inline with all the other iic drivers in the tree. I've tested this for about a million years on the systems at work. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-03-23T22:58:15.000000Z K 7 svn:log V 277 Fix posix_memalign() for large objects. Now that runs are extents rather than binary buddies, the alignment guarantees are weaker, which requires a more complex aligned allocation algorithm, similar to that used for alignment greater than the chunk size. Reported by: matteo END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-03-23T23:02:33.000000Z K 7 svn:log V 95 MFp4: Create an ivar for each iic device on the iicbus. This ivar holds the device's address. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-03-23T23:03:54.000000Z K 7 svn:log V 91 MFp4: Make iicbus_trasnfer_gen suitable for bridge drivers. Use it in the bitbang bridge. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-03-23T23:08:28.000000Z K 7 svn:log V 458 MFp4: Make the iicbus fully hinted. We no longer automatically add some devices (and not others). To get instances onto the iicbus, one now needs hints or an identify routine. We also do not probe the bus for devices because many iic devices cannot be safely probed (and when they can, the probe order turns out to be somewhat difficult to get right). # I'm not 100% sure that the iicsmb removal is right. Please contact me if # this causes difficulty. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-03-23T23:10:35.000000Z K 7 svn:log V 46 New device: icee. Generic i2c eeprom driver. END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-03-23T23:47:59.000000Z K 7 svn:log V 522 Default to booting off the SD card. It is more useful, and a full FreeBSD/arm installworld install is only 170MB. The smallest SD card I could find at the store today was 512MB (and it was only $10 after rebate), with a 2GB card for as low as $25.00... Now that the IIC stuff has been sorted out, include that as well. Include hints for the icee 16kb 16-bit i2c device. It should include info about the temperature sensor as well, but that driver isn't quite ready. Add bpf for dhclient happiness. MFC After: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-24T01:39:24.000000Z K 7 svn:log V 163 o While the script is correct and works well in sh(1) make it works in tcsh(1) which does not support <<- redirection. PR: docs/110097 Submitted by: Sameh Ghane END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-03-24T03:23:26.000000Z K 7 svn:log V 46 Fix compile error when libbz2 is unavailable. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-03-24T03:25:49.000000Z K 7 svn:log V 50 Issue a warning if there's a non-zero exit value. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-03-24T04:28:33.000000Z K 7 svn:log V 90 bus_size_t is a bad cross-architectural type with respect to printf, use uint32_t instead END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2007-03-24T05:02:16.000000Z K 7 svn:log V 192 Notice when mkdir() fails. Don't change permissions on an existing dir unless _EXTRACT_PERM is requested. In particular, bsdtar -x should not edit mode of existing dirs now; bsdtar -xp will. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-24T09:25:56.000000Z K 7 svn:log V 100 o Add several CDMA-2000 terminals. PR: usb/109838 Submitted by: R.Mahmatkhanov MFC after: 1 month END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-24T09:27:58.000000Z K 7 svn:log V 105 o A quirk for Sagem USB-Serial controller. PR: usb/109613 Submitted by: Mayr Gerald MFC after: 1 month END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-03-24T13:47:16.000000Z K 7 svn:log V 148 Update the regression test so that there are actually two independent networks involved, as opposed to two hosts on one network. MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-24T16:00:44.000000Z K 7 svn:log V 65 MFC: add acpi_hpet to the build (pointed out as missing by kib@) END K 10 svn:author V 2 le K 8 svn:date V 27 2007-03-24T18:53:33.000000Z K 7 svn:log V 175 Drop the ipw softc lock before calling back into net80211, fixing a LOR/deadlock. Tested by: Denis Shaposhnikov , le@ LOR id: 205 MFC in: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-24T19:53:22.000000Z K 7 svn:log V 247 In order to satisfy ACPI's need for an identity mapping, modify the temporary mapping created by locore so that the lowest two to four megabytes can become a permanent identity mapping. This implementation avoids any use of a large page mapping. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-24T20:19:44.000000Z K 7 svn:log V 155 General style cleanup. Correct spelling errors. Remove references to M_COPY_PKTHDR -- it was deprecated in 6.x and is not used (or defined) in our tree. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-24T20:26:54.000000Z K 7 svn:log V 355 Back out rev. 1.129 because it breaks the practice of auto-loading hardware drivers. Unlike pseudo-device drivers, which just attach to the cloning framework and wait for "ifconfig create", h/w drivers create interfaces for installed cards as soon as loaded. The issue of devd(8) involuntarily reloading modules should be dealt with in a different way. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2007-03-24T20:44:06.000000Z K 7 svn:log V 274 Fix some subtle bugs for posix_memalign() having to do with integer rounding and overflow. Carefully document what the various overflow tests actually detect. The bugs mostly canceled out, such that the worst possible failure cases resulted in non-fatal over-allocations. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-24T22:15:02.000000Z K 7 svn:log V 126 o Use a define for a buffer size. Prodded by: db o Add missed vars for TCPDEBUG in tcp_do_segment(). Prodded by: tinderbox END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-24T22:21:01.000000Z K 7 svn:log V 79 o Remove isofs from the cscope dirs list. Its content was repo-copied to fs/. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-24T22:40:16.000000Z K 7 svn:log V 45 o cd9660 code repo-copied, update a comment. END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-03-25T10:05:44.000000Z K 7 svn:log V 93 Update a comment: we usually call exec_vmspace_new with Giant not held, but sometimes it is. END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-03-25T10:07:23.000000Z K 7 svn:log V 23 Correct a comment typo END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-25T18:31:45.000000Z K 7 svn:log V 61 o ommitted -> omitted. PR: docs/110809 Submitted by: naddy END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-25T18:37:59.000000Z K 7 svn:log V 74 o Really commit typo fixes to HEAD. PR: docs/110809 Submitted by: naddy END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-25T19:33:40.000000Z K 7 svn:log V 391 Two small changes to vm_map_pmap_enter(): 1) Eliminate an unnecessary check for fictitious pages. Specifically, only device-backed objects contain fictitious pages and the object is not device-backed. 2) Change the types of "psize" and "tmpidx" to vm_pindex_t in order to prevent possible wrap around with extremely large maps and objects, respectively. Observed by: tegge (last summer) END K 10 svn:author V 3 mtm K 8 svn:date V 27 2007-03-25T19:45:20.000000Z K 7 svn:log V 71 Having gone to the trouble of setting up a variable, we should use it. END K 10 svn:author V 3 rik K 8 svn:date V 27 2007-03-25T20:21:31.000000Z K 7 svn:log V 81 Remove ancient preprocessor code. Fix module compilation. Requested by: n_hibma END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-25T20:53:45.000000Z K 7 svn:log V 121 MFCrevision 1.560 Don't invalidate the TLB in pmap_qenter() unless the old mapping was valid. Most often, it isn't. END K 10 svn:author V 3 rik K 8 svn:date V 27 2007-03-25T21:33:38.000000Z K 7 svn:log V 596 MFC: -j 1.95 -j 1.96 rik 2007-03-18 23:28:53 UTC FreeBSD src repository Modified files: sys/net if_bridge.c Log: Give a chance for packet to appear with a correct input interfaces in case of multiple interfaces with the same MAC in the same bridge. This commit do not solve the entire problem. Only case where packet arrived from such interface. PR: kern/109815 MFC after: 7 days Submitted by: Eygene Ryabinkin and rik@ Discussed with: bms@, thompsa@, yar@ Revision Changes Path 1.96 +50 -30 src/sys/net/if_bridge.c END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-25T21:44:24.000000Z K 7 svn:log V 208 Replace GIANT_REQUIRED's present for socket locking with NET_LOCK_GIANT(). If/when someone does the necessary MPSAFEty locking for the NFSv4 client, the socket code is generally MPSAFE now. Spotted by: kris END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-25T21:49:50.000000Z K 7 svn:log V 256 Replace a comment about RSVP/mrouting with a different but similar comment explaining that some more locking is needed. The routing pieces are done, but there is an interlocking issue between optionally compiled code and mandatory code. Spotted by: kris END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-25T22:01:24.000000Z K 7 svn:log V 300 MFC revision 1.546 Eliminate unnecessary invalidations of the entire TLB by pmap_remove(). Specifically, on mappings with PG_G set pmap_remove() not only performs the necessary per-page invlpg invalidations but also performs an unnecessary invalidation of the entire set of non-PG_G entries. END K 10 svn:author V 5 andre K 8 svn:date V 27 2007-03-25T23:27:26.000000Z K 7 svn:log V 287 In tcp_sack_doack() remove too tight KASSERT() added in last revision. This function may be called without any TCP SACK option blocks present. Protect iteration over SACK option blocks by checking for SACK options present flag first. Bug reported by: wkoszek, keramida, Nicolas Blais END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-03-25T23:58:46.000000Z K 7 svn:log V 50 Use "-ne" instead of "!=" for integer comparison. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-26T04:22:25.000000Z K 7 svn:log V 508 MFC Acquiring smp_ipi_mtx on every call to pmap_invalidate_*() is wasteful. For example, during a buildworld more than half of the calls do not generate an IPI because the only TLB entry invalidated is on the calling processor. This revision pushes down the acquisition and release of smp_ipi_mtx into smp_tlb_shootdown() and smp_targeted_tlb_shootdown() and instead uses sched_pin() and sched_unpin() in pmap_invalidate_*() so that thread migration doesn't lead to a missed TLB invalidation. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-26T04:39:18.000000Z K 7 svn:log V 328 Introduce a new toy interface, edsc(4). It's a discard interface imitating an Ethernet device, so vlan(4) and if_bridge(4) can be attached to it for testing and benchmarking purposes. Its source can be an introduction to the anatomy of a network interface driver due to its simplicity as well as to a bunch of comments in it. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-26T04:50:06.000000Z K 7 svn:log V 458 Introduce a new toy interface, edsc(4). It's a discard interface imitating an Ethernet device, so vlan(4) and if_bridge(4) can be attached to it for testing and benchmarking purposes. Its source can be an introduction to the anatomy of a network interface driver due to its simplicity as well as to a bunch of comments in it. (The rest of needed changes were in my previous commit, which got interrupted in the middle. Alas, CVS commits are not atomic.) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2007-03-26T07:40:51.000000Z K 7 svn:log V 119 Adding tests for Camellia which will be added to the tree soon. Added tests for aes-ctr which were not present before. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-26T08:58:22.000000Z K 7 svn:log V 317 We no longer embed ifnet in softc, and the pointer to ifnet doesn't need to be first in softc now. (It was the whole ifnet structure itself that needed to be first in the good old days.) Fix the respective comment accordingly. Add xrefs to ifnet(9) in some other comments while I'm here. Pointed out by: thompsa END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-26T08:59:03.000000Z K 7 svn:log V 543 Complete removal of uipc_socket2.c by moving the last few functions to other C files: - Move sbcreatecontrol() and sbtoxsockbuf() to uipc_sockbuf.c. While sbcreatecontrol() is really an mbuf allocation routine, it does its work with awareness of the layout of socket buffer memory. - Move pru_*() protocol switch stubs to uipc_socket.c where the non-stub versions of several of these functions live. Likewise, move socket state transition calls (soisconnecting(), etc) to uipc_socket.c. Moveo sodupsockaddr() and sotoxsocket(). END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-26T09:05:10.000000Z K 7 svn:log V 60 Give a hint that softc can contain many things besides ifp. END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-26T09:10:28.000000Z K 7 svn:log V 125 Fix some statements in disc(4) and about it: - ifnet is no more embedded in softc; - the interface name is `disc', not `ds'. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2007-03-26T11:44:46.000000Z K 7 svn:log V 135 - Fix typo PR: bin/110648 Submitted by: Seth Hieronymus Approved by: keramida (mentor) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-26T15:14:58.000000Z K 7 svn:log V 196 Initialize vfslocked to 0 before nfsm_srvmtofh() so that the variable is not used uninitialized in 'nfsmout' if nfsm_srvmtofh() gets an internal error. CID: 1766 Found by: Coverity Prevent (tm) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-26T15:39:49.000000Z K 7 svn:log V 111 Fix a silly bogon that broke ibcs2_rename(). CID: 1065 Found by: Coverity Prevent (tm) Reported by: netchild END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-03-26T16:31:42.000000Z K 7 svn:log V 51 Document the return type of elf_rand(3) correctly. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2007-03-26T17:05:09.000000Z K 7 svn:log V 119 Following movement of functions from uipc_socket2.c to uipc_socket.c and uipc_sockbuf.c, clean up and update comments. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-03-26T17:33:41.000000Z K 7 svn:log V 110 Clarify memory management rules for pmc_cpuinfo(). Suggested by: "Harald Servat" END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-03-26T17:41:14.000000Z K 7 svn:log V 161 Avoid manipulating semu_list outside of the scope of SEMUNDO_LOCK(). This would lead to an occasional hang with a cycle in semu_list. X-Discussed-On: hackers@ END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-26T18:03:29.000000Z K 7 svn:log V 843 Add an interface for drivers to be notified of changes to CPU frequency. cpufreq_pre_change is called before the change, giving each driver a chance to revoke the change. cpufreq_post_change provides the results of the change (success or failure). cpufreq_levels_changed gives the unit number of the cpufreq device whose number of available levels has changed. Hook in all the drivers I could find that needed it. * TSC: update TSC frequency value. When the available levels change, take the highest possible level and notify the timecounter set_cputicker() of that freq. This gets rid of the "calcru: runtime went backwards" messages. * identcpu: updates the sysctl hw.clockrate value * Profiling: if profiling is active when the clock changes, let the user know the results may be inaccurate. Reviewed by: bde, phk MFC after: 1 month END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-26T18:04:41.000000Z K 7 svn:log V 70 Bump FreeBSD version for inclusion of CPU frequency change notifiers. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-03-26T18:17:57.000000Z K 7 svn:log V 60 o Update a comment: sonewconn() lives in uipc_socket.c now. END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-03-26T19:38:28.000000Z K 7 svn:log V 262 Use a unique name for each mutex now that acpi-ca is creating more than one (hardware & global lock). This should address witness complaints that a duplicate mutex is being acquired. Be sure to free the mutex to fix a potential memory leak. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-26T20:18:52.000000Z K 7 svn:log V 484 Change the VPD code to read the VPD data on-demand when a driver asks for it via pci_get_vpd_*() rather than always reading it for each device during boot. I've left the tunable so that it can still be turned off if a device driver causes a lockup via a query to a broken device, but devices whose drivers do not use VPD (the vast majority) should no longer result in lockups during boot, and most folks should not need to tweak the tunable now. Tested on: bge(4) Silence from: jmg END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-26T21:23:23.000000Z K 7 svn:log V 77 Correct ACPI spinlock function parameters and use known ACPI spinlock names. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-26T21:36:31.000000Z K 7 svn:log V 50 Free the handle, not the lock. Pointy hat to me. END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-03-26T21:45:44.000000Z K 7 svn:log V 258 Remove unnecessary giant acquisition around panic in #ifdef DIAGNOSTIC code. # There is some question about whether this code is even relevant any # longer (it dates back to prehistoric times, i.e. present in r1.1), # especially on amd64. Reviewed by: jhb END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-03-26T21:47:03.000000Z K 7 svn:log V 150 make_dev(9) can be (and is) called without Giant, so there is no need to drop the topology lock and acquire Giant around this call. Reviewed by: phk END K 10 svn:author V 6 thomas K 8 svn:date V 27 2007-03-26T21:56:13.000000Z K 7 svn:log V 296 Fix setting of serial port speed. A junk value was passed in AX when bioscom is called to set up serial port parameters because COMSPEED was treated as an address instead of an immediate value, causing serial port parameters to never be set. PR: i386/110828 Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-26T21:56:35.000000Z K 7 svn:log V 44 Correct ACPI semaphore function parameters. END K 10 svn:author V 4 kris K 8 svn:date V 27 2007-03-26T21:56:46.000000Z K 7 svn:log V 65 Annotate that this giant acqusition is dependent on tty locking. END K 10 svn:author V 2 le K 8 svn:date V 27 2007-03-26T22:22:10.000000Z K 7 svn:log V 121 Check if the new user already exists right after entering the username instead of watching the final call to pw(8) fail. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-03-26T23:04:02.000000Z K 7 svn:log V 139 - Use '*h' instead of 'struct acpi_spinlock' for sizeof[1]. - Add a missing 'else' for 'if'[2]. Requested by: njl[1] Submitted by: njl[2] END K 10 svn:author V 2 le K 8 svn:date V 27 2007-03-26T23:29:20.000000Z K 7 svn:log V 226 Introduce the new option -M to allow to set the permissions of the user's newly created home directory. If omitted, it's derived from the current umask. PR: bin/16880, bin/83253 (partially), bin/104248 MFC in: 1 month END K 10 svn:author V 2 le K 8 svn:date V 27 2007-03-27T01:15:57.000000Z K 7 svn:log V 172 MFC: Drop the ipw softc lock before calling back into net80211, fixing a LOR/deadlock. Tested by: Denis Shaposhnikov , le@ LOR id: 205 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:16:15.000000Z K 7 svn:log V 335 MFC msk(4) to RELENG_6 Add msk(4), a driver for Marvell/SysKonnect Yukon II Gigabit Ethernet controller. Due to lack of documentation, this driver is based on the code from sk(4) and Marvell's myk(4) driver for FreeBSD. I've also adopted the OpenBSD interface name, msk(4) in order to reduce naming differences between BSDs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:20:20.000000Z K 7 svn:log V 54 MFC msk(4) to RELENG_6 Hook up msk(4) to the build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:23:05.000000Z K 7 svn:log V 51 MFC msk(4) to RELENG_6 Add a man page for msk(4) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:24:47.000000Z K 7 svn:log V 123 MFC vlan.4, rev. 1.33 to RELENG_6 Add msk(4) to the list of devices supporting full VLAN processing in the hardware. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:26:33.000000Z K 7 svn:log V 88 MFC altq.4, rev. 1.23 to RELENG_6 Add msk(4) to the list of drivers supporting ALTQ. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:28:15.000000Z K 7 svn:log V 106 MFC miibus.4, rev. 1.19 to RELENG_6 Add msk(4) to the list of device drivers use the miibus interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:29:45.000000Z K 7 svn:log V 79 MFC loader.conf, rev. 1.114 to RELENG_6 Add an entry for the msk(4) module. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:31:34.000000Z K 7 svn:log V 96 MFC devices.c, rev. 1.171 to RELENG_6 Add msk(4) to the list of supported network interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2007-03-27T02:33:00.000000Z K 7 svn:log V 88 MFC msk(4) to RELENG_6 Add msk(4) to the list of drivers supported by GENERIC kernel. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-03-27T04:40:57.000000Z K 7 svn:log V 322 Bug fixes to ar(1) archive handling: - Correctly retrieve the initial (special) members of an archive after an archive descriptor is rewound using elf_rand(SARMAG). - Do not strip trailing white space from the 'raw' names retrieved using elf_getarhdr(). Reported by: "Hyo geol, Lee" END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-27T04:42:26.000000Z K 7 svn:log V 669 MFC revision 1.547 Introduce pmap_try_insert_pv_entry(), a function that conditionally creates a pv entry if the number of entries is below the high water mark for pv entries. Use pmap_try_insert_pv_entry() in pmap_copy() instead of pmap_insert_entry(). This avoids possible recursion on a pmap lock in get_pv_entry(). Eliminate the explicit low-memory checks in pmap_copy(). The check that the number of pv entries was below the high water mark was largely ineffective because it was located in the outer loop rather than the inner loop where pv entries were allocated. Instead of checking, we attempt the allocation and handle the failure. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2007-03-27T04:47:50.000000Z K 7 svn:log V 95 Describe the contents of the "ar_name" and "ar_rawname" fields of Elf_Arhdr structures better. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-03-27T05:29:41.000000Z K 7 svn:log V 149 PowerPC is the only architecture with mpsafe_vfs=0. This is now broken. Rudimentary tests show that PowerPC can run with mpsafe_vfs=1. Make it so... END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-27T06:15:01.000000Z K 7 svn:log V 243 MFC revision 1.534 Replace diagnostic printf()s by assertions. Use consistent style for similar assertions. MFC revision 1.545 Remove stale KSE code. MFC revision 1.580 Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2007-03-27T06:29:19.000000Z K 7 svn:log V 62 Don't map mini-data cache page since ARM920T doesn't have it. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-27T07:21:16.000000Z K 7 svn:log V 36 MFC: rev. 1.19 Add Xref to msk(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-03-27T07:30:54.000000Z K 7 svn:log V 46 MFC: Autogenerate hardware notes for msk(4). END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-27T08:24:47.000000Z K 7 svn:log V 515 MFC revision 1.535 (in part) Change the format strings in many of the assertions that were recently converted from PMAP_DIAGNOSTIC printf()s so that they are compatible with PAE. Avoid unnecessary differences between the amd64 and i386 format strings. MFC 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. END K 10 svn:author V 3 alc K 8 svn:date V 27 2007-03-27T08:55:17.000000Z K 7 svn:log V 1586 Prevent a race between vm_object_collapse() and vm_object_split() from causing a crash. Suppose that we have two objects, obj and backing_obj, where backing_obj is obj's backing object. Further, suppose that backing_obj has a reference count of two. One being the reference held by obj and the other by a map entry. Now, suppose that the map entry is deallocated and its reference removed by vm_object_deallocate(). vm_object_deallocate() recognizes that the only remaining reference is from a shadow object, obj, and calls vm_object_collapse() on obj. vm_object_collapse() executes if (backing_object->ref_count == 1) { /* * If there is exactly one reference to the backing * object, we can collapse it into the parent. */ vm_object_backing_scan(object, OBSC_COLLAPSE_WAIT); vm_object_backing_scan(OBSC_COLLAPSE_WAIT) executes if (op & OBSC_COLLAPSE_WAIT) { vm_object_set_flag(backing_object, OBJ_DEAD); } Finally, suppose that either vm_object_backing_scan() or vm_object_collapse() sleeps releasing its locks. At this instant, another thread executes vm_object_split(). It crashes in vm_object_reference_locked() on the assertion that the object is not dead. If, however, assertions are not enabled, it crashes much later, after the object has been recycled, in vm_object_deallocate() because the shadow count and shadow list are inconsistent. Reviewed by: tegge Reported by: jhb MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2007-03-27T09:59:15.000000Z K 7 svn:log V 529 In account management, verify whether the account has been locked with `pw lock', so that it's impossible to log into a locked account using an alternative authentication mechanism, such as an ssh key. This change affects only accounts locked with pw(8), i.e., having a `*LOCKED*' prefix in their password hash field, so people still can use a different pattern to disable password authentication only. Mention all account management criteria in the manpage. Approved by: maintainer (timeout) PR: bin/71147 MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-27T15:09:10.000000Z K 7 svn:log V 27 Fix a comment grammar nit. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2007-03-27T15:55:32.000000Z K 7 svn:log V 320 Fix a bug which could lead to receive side lockup when WC is disabled. When submitting rx buffers and not using WC fifo, always replace the invalid DMA address with the real one, otherwise allocation failures could lead to the invalid DMA address being given to the NIC, and that would cause the receive side to lockup. END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-27T16:11:28.000000Z K 7 svn:log V 174 Fix a case where hardware removal of an interface caused an attempt to announce an ll_ifma which has gone away. Add a KASSERT to catch regressions. Bug found by: Tom Uffner END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-27T16:51:34.000000Z K 7 svn:log V 377 Align 'struct thread' on 16 byte boundaries so that the lower 4 bits are always 0. Previously we aligned threads on a minimum of 8-byte boundaries. Note: This changes the uma zone to no longer cache align threads. We really want the uma zone to do align threads to MAX(16, cache line size) but there currently isn't a good way to express that to uma. Submitted by: attilio END K 10 svn:author V 8 takawata K 8 svn:date V 27 2007-03-27T17:03:52.000000Z K 7 svn:log V 48 Correct HPET header handling. MFC after: 7 days END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-03-27T17:16:22.000000Z K 7 svn:log V 194 MFC rev 1.170: Increase default size of raw IP send and receive buffers to the same as udp_sendspace, to avoid a situation where jumbograms (datagrams > 9KB) are unnecessarily fragmented. END K 10 svn:author V 6 julian K 8 svn:date V 27 2007-03-27T18:55:06.000000Z K 7 svn:log V 135 Don't assume the run bit is still set after a suspend. Submitted by: Andrea Bittau ( adotbittauatcsdotucldotacdotuk) MFC After: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-03-27T19:32:40.000000Z K 7 svn:log V 6 Sort. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-03-27T19:36:12.000000Z K 7 svn:log V 89 Fix regression in rev. 1.140. Reported by: Yuriy Tsibizov , bsam END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2007-03-27T21:03:37.000000Z K 7 svn:log V 299 Revisit the watchdogs: Resetting the error to EINVAL after failing to set the watchdog might hide the succesful arming of an earlier one. Accept that on failing to arm any watchdog (because of non-supported timeouts) EOPNOTSUPP is returned instead of the more appropriate EINVAL. MFC after: 3 days END