ƒ·C166000 155 196 145 196 171 176 113 220 248 260 166 300 143 778 358 134 274 162 235 188 143 135 147 290 2373 128 178 355 183 178 166 398 412 357 284 263 261 134 133 401 179 168 264 248 116 372 119 199 178 550 167 186 180 163 218 147 192 138 2314 501 3082 484 180 422 413 440 539 162 178 328 313 197 411 140 159 159 182 180 550 233 163 144 194 139 162 187 430 630 247 150 167 250 386 1010 358 128 419 548 160 215 130 798 220 603 200 240 435 225 163 1437 441 314 574 1090 488 461 285 173 217 236 130 484 296 189 523 167 239 181 190 185 583 227 149 146 155 165 152 233 651 190 637 309 123 1915 1257 516 539 147 475 184 212 974 592 398 262 294 K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-13T22:48:23.000000Z K 7 svn:log V 100 Forced commit to denote that this file has been repo-copied from src/sys/sparc64/include/ofw_upa.h. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-01-14T02:13:07.000000Z K 7 svn:log V 51 exclude the icu and clock lock from LOCK_PROFILING END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2007-01-14T09:58:39.000000Z K 7 svn:log V 99 Updated calendar.judaic from Josef Grosch. I converted some tabs to spaces before committing this. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-14T12:20:31.000000Z K 7 svn:log V 77 o Move the comment to the correct place. PR: misc/107904 MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-14T13:51:35.000000Z K 7 svn:log V 82 o Typo: note -> node. PR: misc/107906 Submitted by: Alex Keda MFC after: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-14T13:55:43.000000Z K 7 svn:log V 19 o Wrap long lines. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-14T16:07:01.000000Z K 7 svn:log V 122 MFp4 (112705): Inherit setting of the default emulation version to the jails. Pointed out by: jhb Submitted by: rdivacky END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-14T16:20:37.000000Z K 7 svn:log V 150 MFp4 (112893): Make linux_vfork() actually work. This enables make to work again with 2.6. It also fixes the LTP vfork tests. Submitted by: rdivacky END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-14T16:34:43.000000Z K 7 svn:log V 162 MFp4 (112379): Implement SETALL/GETALL IPC primitives. This fixes some LTP testcases and LabView is able to proceed a little bit further. Submitted by: rdivacky END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-01-14T17:28:33.000000Z K 7 svn:log V 74 MFC 1.46: Tell backing v_object the filesize right on it's creation. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-14T18:44:17.000000Z K 7 svn:log V 205 o Increment requests counter right before send out an ARP query actually. Otherwise the code could lead to the spurious EHOSTDOWN errors. PR: kern/107807 Submitted by: Dmitrij Tejblum MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2007-01-14T21:45:05.000000Z K 7 svn:log V 48 Propagate the CPU model to the hw.model sysctl. END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-15T01:12:28.000000Z K 7 svn:log V 685 Add initial support for 900MHz cards like the Ubiquiti SR9: o add channel flag to enable freq <-> ieee channel # mapping (can go away in the future when ieee number is precomputed) o add mapping between 900mhz freq's and channel #'s that gives a unique channel # for each half/quarter/full width channel o remove assumptions that half/quarter rate channels on happen in 11a o remove assumptions that all 11g channels are full width o ensure ic_curchan is reset on mode change so changing the channel list (e.g. on countrycode change) doesn't leave curchan set to an invalid channel There is still an issue with switching rate sets; to be fixed separately. MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-15T01:15:57.000000Z K 7 svn:log V 265 Add initial support for 900MHz cards like the Ubiquiti SR9: o eliminate assumptions that half/quarter rate channels on exist in 11a o handle frequency mapping between hal and net80211; hal gives us freq's in the range 2422..2437 that we remap MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-15T01:17:44.000000Z K 7 svn:log V 42 save changes for handling 5416/5418 parts END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-15T01:20:28.000000Z K 7 svn:log V 181 Add initial support for 900MHz channels; still has some rough edges but ifconfig ath0 list chan works and you can use ieee channel #'s to lock/select a channel. MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2007-01-15T04:26:19.000000Z K 7 svn:log V 70 add compat shim for ath_hal_isgsmsku until the new hal gets committed END K 10 svn:author V 6 emaste K 8 svn:date V 27 2007-01-15T04:58:49.000000Z K 7 svn:log V 139 MFC hwpmc_x86.c 1.4 and 1.5: Add support for a new/unreleased Pentium-M. Add support for Intel cpu model's 5 & 6. Approved by: jkoshy END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-01-15T05:01:31.000000Z K 7 svn:log V 92 Update ip and tcp pointers after m_pullup(). Submitted by: Alexander Motin END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-01-15T05:55:56.000000Z K 7 svn:log V 47 Whitespace cleanup. Checked with: cvs diff -b END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-15T06:14:50.000000Z K 7 svn:log V 41 o Add FreeBSD 6.2, bump copyright years. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2007-01-15T06:16:29.000000Z K 7 svn:log V 50 6.2-RELEASE is done, RELENG_6 is back to -STABLE. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-01-15T15:06:28.000000Z K 7 svn:log V 197 Reviewed by: rwatson Approved by: gnn Add a new function hashinit_flags() which allows NOT-waiting for memory (or waiting). The old hashinit() function now calls hashinit_flags(..., HASH_WAITOK); END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-01-15T15:12:10.000000Z K 7 svn:log V 2279 - Macroizes the V6ONLY flag check. - Added a short time wait (not used yet) constant - Corrected the type of the crc32c table (it was unsigned long and really is a uint32_t - Got rid of the user of MHeaders until they are truely needed by lower layers. - Fixed an initialization problem in the readq structure (ordering was off). - Found yet another collision bug when the random number generator returns two numbers on one side (during a collision) that are the same. Also added some tracking of cookies that will go away when we know that we have the last collision bug gone. - Fixed an init bug for book_size_scale, that was causing Early FR code to run when it should not. - Fixed a flight size tracking bug that was associated with Early FR but due to above bug also effected all FR's - Fixed it so Max Burst also will apply to Fast Retransmit. - Fixed a bug in the temporary logging code that allowed a static log array overflow - hashinit_flags is now used. - Two last mcopym's were converted to the macro sctp_m_copym that has always been used by all other places - macro sctp_m_copym was converted to upper case. - We now validate sinfo_flags on input (we did not before). - Fixed a bug that prevented a user from sending data and immediately shuting down with one send operation. - Moved to use hashdestroy instead of free() in our macros. - Fixed an init problem in our timed_wait vtag where we did not fully initialize our time-wait blocks. - Timer stops were re-positioned. - A pcb cleanup method was added, however this probably will not be used in BSD.. unless we make module loadable protocols - I think this fixes the mysterious timer bug.. it was a ordering of locks problem in the way we did timers. It now conforms to the timeout(9) manual (except for the _drain part, we had to do this a different way due to locks). - Fixed error return code so we get either CONNREUSED or CONNRESET depending on where one is in progression - Purged an unused clone macro. - Fixed a read erro code issue where we were NOT getting the proper error when the connection was reset. - Purged an unused clone macro. - Fixed a read erro code issue where we were NOT getting the proper error when the connection was reset. Approved by: gnn END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-01-15T15:25:15.000000Z K 7 svn:log V 37 Tidy up formatting and some wording. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-01-15T16:22:20.000000Z K 7 svn:log V 83 Add a missing mutex unlock to an error path. Submitted by: Yuxiang Luo PR: 107943 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2007-01-15T17:11:38.000000Z K 7 svn:log V 259 MFC: head.c revs 1.19-20, Makefile rev 1.2 Fix head -c ### where ### is greater than 2^31. Unlike the submitted patch this uses off_t. WARNSify and add $FreeBSD$ to Makefile. PR: bin/107824 Submitted by: Brian Cornell END K 10 svn:author V 3 njl K 8 svn:date V 27 2007-01-15T18:17:36.000000Z K 7 svn:log V 91 Clean up some debug prints from last commit and move one under boot -v. Reminded by: bruno END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-15T18:37:33.000000Z K 7 svn:log V 85 Update version numbers for 6.2-STABLE. Trim release notes and errata appropriately. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2007-01-15T18:37:34.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 3 pav K 8 svn:date V 27 2007-01-15T18:45:36.000000Z K 7 svn:log V 305 Rewrite the udf_read() routine to use a file vnode instead of the devvp vnode. The code is modelled after cd9660, including support for simple read-ahead courtesy of clustered read. Fix udf_strategy to DTRT. This change fixes sendfile(2) not to send out garbage. Reviewed by: scottl MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-01-15T21:43:43.000000Z K 7 svn:log V 318 - Fix BCM5754 support found in Dell PowerEdge SC440. - Move some PHY bug detections from brgphy.c to if_bge.c. - Do not penalize working PHYs. - Re-arrange bge_flags roughly by their categories. - Fix minor style(9) nits. PR: kern/107257 Obtained from: OpenBSD Tested by: Mike Hibler END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-01-15T22:21:44.000000Z K 7 svn:log V 263 - Move Ethernet@WireSpeed and jumbo frame configurations to separate functions. The idea is taken from OpenBSD. - Set/clear jumbo frame configurations for bge(4). - Re-add BCM5750 PHY workaround for bce(4), which was mistakenly removed from the previous commit. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-15T22:24:37.000000Z K 7 svn:log V 188 MFC: 1.12 In ofw_pcibus_attach() skip dupe PCI devices reported by the firmware by checking whether a device with the same triple of bus number, slot and function already has been added. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-15T22:37:59.000000Z K 7 svn:log V 167 Check the return value of bus_setup_intr() when setting up the over-temperature and power-fail interrupts. Suggested by: Coverity Prevent (CID 683) MFC after: 1 week END K 10 svn:author V 8 keramida K 8 svn:date V 27 2007-01-15T23:25:51.000000Z K 7 svn:log V 163 Document that uniq(1) limits input line length to LINE_MAX characters. PR: docs/107578 Submitted by: Jan Schaumann, jschauma.at.netmeister.org MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2007-01-16T00:09:58.000000Z K 7 svn:log V 40 Fix warning by adding extra parentheses END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-01-16T00:52:26.000000Z K 7 svn:log V 40 Move MII model and revision into softc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-01-16T07:51:04.000000Z K 7 svn:log V 308 MFC rev. 1.117, 1.118 and 1.119. - When looking up the symbol by dlsym, look it not only in the object given as dso handle, but also in the implicit dependencies of that dso. - Const-ify the read-only parameter objlist of symlook_list. - Clean up white spaces and fix style(9). Patch backported by: jkim END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-01-16T09:40:24.000000Z K 7 svn:log V 87 Bump __FreeBSD_version for MFC rev. 1.117, 1.118 and 1.119 of libexec/rtld-elf/rtld.c. END K 10 svn:author V 6 murray K 8 svn:date V 27 2007-01-16T10:29:10.000000Z K 7 svn:log V 73 Provide a more accurate description of the size of the ports collection. END K 10 svn:author V 6 murray K 8 svn:date V 27 2007-01-16T10:47:56.000000Z K 7 svn:log V 168 Add French dvorak keymap that supports accents. Based on Francis Leboutte's french layout. Submitted by: Clement Pillias MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-01-16T11:40:55.000000Z K 7 svn:log V 155 Removes useless (flags | ) KASSERT. The ^ one that actually does what we want. Submitted by: Li Xin delphij@delphij.net Reviewed by: rrs Approved by: gnn END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-01-16T12:27:13.000000Z K 7 svn:log V 23 Fix typo in a comment. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-01-16T15:17:27.000000Z K 7 svn:log V 279 When we try to set set-gid bit with chmod(2) on a file, which we own, but our effective group ID (and any of our group) doesn't match the group ID of the file, we get EPERM. This doesn't conform POSIX. POSIX requires that we should return 0, but silently clear the set-gid bit. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-16T15:33:53.000000Z K 7 svn:log V 26 Note FreeBSD 6.2-RELEASE. END K 10 svn:author V 3 ume K 8 svn:date V 27 2007-01-16T15:55:29.000000Z K 7 svn:log V 106 Avoid infinite loop if nicmp6 and nip6 are not on the same mbuf. NetBSD PR 34994+35333 MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-16T17:01:42.000000Z K 7 svn:log V 86 Remove duplicate variable initialization. CID: 1706 Found by: Coverity Prevent (tm) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-16T17:04:42.000000Z K 7 svn:log V 457 Fix the subvendor ID for PCI-PCI bridges. - Retire the PCI_SUB*_1 constants and don't try to read a subvendor ID out of them. There isn't a standard subvendor ID field for PCI-PCI bridges. Instead, the dword at offset 0x34 is actually mostly reserved except for the LSB which is the capabilities pointer. - Add support for the PCI-PCI bridge subvendor ID capability (13) and use it to set the subvendor ID for PCI-PCI bridges. MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2007-01-16T17:48:57.000000Z K 7 svn:log V 74 Correct driver_t brgphy_driver, which was forgotten from the last commit. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-16T18:28:43.000000Z K 7 svn:log V 92 o Remove duplicate #include . Obtained from: NetBSD (submitted by Slava Semushin) END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-01-16T19:35:43.000000Z K 7 svn:log V 88 Fix a spelling error in some comments. heirarchy -> hierarchy. Obtained from: OpenBSD END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-01-16T19:40:25.000000Z K 7 svn:log V 71 Fix a spelling error. heirarchy -> hierarchy. Obtained from: OpenBSD END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-16T19:44:45.000000Z K 7 svn:log V 125 Disable MSI for the Intel 845 and 865 chipsets and update comment for E7210 to note it is the same devid as the 875 chipset. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2007-01-16T19:46:05.000000Z K 7 svn:log V 50 Fix a typo in a comment, introduced in rev. 1.19. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-16T20:28:35.000000Z K 7 svn:log V 99 New errata: Separate doc disk, wrong geli(8) reference, arcmsr(4), unp_gc.patch, zonelimit issue. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2007-01-16T20:31:50.000000Z K 7 svn:log V 45 Use canonical address for security Web page. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-16T20:35:23.000000Z K 7 svn:log V 2217 o In re_newbuf() and re_encap() if re_dma_map_desc() aborts the mapping operation as it ran out of free descriptors or if there are too many segments in the first place, call bus_dmamap_unload() in order to unload the already loaded segments. For trying to map the defragmented mbuf (chain) in re_encap() this introduces re_dma_map_desc() setting arg.rl_maxsegs to 0 as a new failure mode. Previously we just ignored this case, corrupting our view of the TX ring. o In re_txeof(): - Don't clear IFF_DRV_OACTIVE unless there are at least 4 free TX descriptors. Further down the road re_encap() will bail if there aren't at least 4 free TX descriptors, causing re_start() to abort and prepend the dequeued mbuf again so it makes no sense to pretend we could process mbufs again when in fact we won't. While at it replace this magic 4 with a macro RL_TX_DESC_THLD throughout this driver. - Don't cancel the watchdog timeout as soon as there's at least one free TX descriptor but instead only if all descriptors have been handled. It's perfectly normal, especially in the DEVICE_POLLING case, that re_txeof() is called when only a part of the enqueued TX descriptors have been handled, causing the watchdog to be disarmed prematurely. o In re_encap(): - If m_defrag() fails just drop the packet like other NIC drivers do. This should only happen when there's a mbuf shortage, in which case it was possible to end up with an IFQ full of packets which couldn't be processed as they couldn't be defragmented as they were taking up all the mbufs themselves. This includes adjusting re_start() to not trying to prepend the mbuf (chain) if re_encap() has freed it. - Remove dupe initialization of members of struct rl_dmaload_arg to values that didn't change since trying to process the fragmented mbuf chain. While at it remove an unused member from struct rl_dmaload_arg. o In re_start() remove a abandoned, banal comment. The corresponding code was moved to re_attach() some time ago. With these changes re(4) now survives one day (until stopped) of hammering out packets here. Reviewed by: yongari MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-16T20:42:21.000000Z K 7 svn:log V 405 Teach OF_decode_addr() about the bus space used for devices on the nexus (which might or might not reflect an UPA interconnection bus; accordingly UPA_BUS_SPACE should be renamed to NEXUS_BUS_SPACE at a later point) and subordinate/slave UPA busses. This is part 1/4 of allowing creator(4) to work in USIII machines (which have a UPA bus hanging off from the Fireplane/Safari bus reflected by the nexus). END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-16T21:08:22.000000Z K 7 svn:log V 2985 - Merge sys/sparc64/creator/creator_upa.c into sys/dev/fb/creator.c. The separate bus front-end was inherited from the OpenBSD creator(4), which at that time had a mainbus(4) (for USI/II machines, which use an UPA interconnection bus as the nexus) and an upa(4) (for USIII machines, which use a subordinate/slave UPA bus hanging off from the Fireplane/Safari interconnection bus) front-end. With FreeBSD and newbus there is/will be no need to have two separate bus front-ends for these busses, so we can easily coallapse the shared front-end and the back-end into a single source file (note that the FreeBSD creator_upa.c was misnomer anyway; based on what it actually attached to that should have been creator_nexus.c), actually OpenBSD meanwhile also has moved to a shared front-end and a single source file. Due to the low-level console support creator.c also wasn't free from bus related things before. While at it, also split sys/sparc64/creator/creator.h into a sys/dev/fb/creatorreg.h that only contains register macros and move the structures to the top of sys/dev/fb/creator.c as suggested by style(9) so creator(4) is no longer scattered over two directories. - Use OF_decode_addr()/sparc64_fake_bustag() to obtain the bus tags and handles for the low-level console support instead of hardcoding support for AFB/FFB hanging off from nexus(4) only. This is part 2/4 of allowing creator(4) to work in USIII machines (which have a UPA bus hanging off from the Fireplane/Safari bus reflected by the nexus), which already makes it work as the low-level console there. - Allocate resources in the bus attach routine regardless of whether creator(4) is used as for the low-level console and thus the required bus tags and handles have been already obtained or not so the resources are marked as taken in the respective RMAN. - For both obtaining the bus tags and handles for the low-level console support as well as allocating the corresponding resources in the regular bus attach routine don't bother to get all for the maximum of 24 register banks but only (for) the two tag/handle pairs required for providing the video interface for syscons(4) support. If we can't allocate the rest of them just limit the memory range accessible via creator_fb_mmap() accordingly. - Sanity check the memory range spanned by the first and last resources and the resources in between as far as possible, as the XFree86/Xorg sunffb(4) expects to be able to access the whole region, even though the backing resources are actually non-continuous. Limit and check the memory range accessible via creator_fb_mmap() accordingly. - Reduce the size of buffers for OFW properties to what they actually need to hold. - Rename some tables to creator_ for consistency. - Also for the sizes in the creator_fb_mmap() mapping table entries use macros for consistency, add macros for the remaining register banks for completeness. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-16T22:08:27.000000Z K 7 svn:log V 388 Resurrect upa(4), now used for the subordinate/slave UPA bridge and bus hanging off from the Fireplane/Safari bus in some USIII machines. This is part 3/4 of allowing creator(4) to work in these machines. The little info needed on how to configure the bridge and to work around the incorrect values contained in the `interrupts' properties of its children were obtained form OpenSolaris. END K 10 svn:author V 8 ssouhlal K 8 svn:date V 27 2007-01-16T22:56:28.000000Z K 7 svn:log V 83 Remove hptlock from the static witness table, now that it's a regular sleep mutex. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2007-01-16T23:43:14.000000Z K 7 svn:log V 325 Add a 3rd entry in the cache, which keeps the end position from just before extending a file. This has the desired effect of keeping the write speed constant. And yes, that helps a lot copying large files always at full speed now, and I have seen improvements using benchmarks/bonnie. Stolen from: NetBSD Reviewed by: bde END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-01-17T00:53:05.000000Z K 7 svn:log V 317 - Add bounce pages for arm, largely based on the i386 implementation. - Add a default parent dma tag, similar to what has been done for sparc64. - Before invalidating the dcache in POSTREAD, save the bits which are in the same cachelines than our buffers, but not part of it, and restore them after the invalidation. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-01-17T00:58:25.000000Z K 7 svn:log V 344 Create bus dma tags for both the PCI bus and the IXP425 root bus. Set the PCI bus' one as the default one, and explicitely use the other one for non-PCI devices. This is needed because the PCI bus can only address 64MB of RAM, while some IXP425 boards have 128MB or more, and most of the PCI drivers do not bother providing the parent dma tag. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-01-17T01:42:12.000000Z K 7 svn:log V 446 Add 3436 file system regression tests in 184 files. Almost all regression tests are based on very flexible fstest tool. They verify correctness (POSIX conformance) of almost all file system-related system calls. The motivation behind this work is my ZFS port and POSIX, who doesn't provide free test suites. Runs on: FreeBSD/UFS, FreeBSD/ZFS, Solaris/UFS, Solaris/ZFS To try it out: # cd fstest # make # find tests/* -type d | xargs prove END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-17T02:45:35.000000Z K 7 svn:log V 68 MFC revs. 1.115 - 1.117: fix lines misorder, typo, wrap long lines. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-01-17T02:58:41.000000Z K 7 svn:log V 83 Add PCI Id's for upcoming controllers. Obtained from: LSI Corp. MFC After: 3 days END K 10 svn:author V 6 markus K 8 svn:date V 27 2007-01-17T03:50:45.000000Z K 7 svn:log V 232 Fix a buffer overflow iff USB_DEBUG is set, hw.usb.ums.debug is > 5 and the total size of all input reports is < 6. PR: usb/106435 Submitted by: Eygene Ryabinkin Approved by: emax (mentor) MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2007-01-17T12:43:06.000000Z K 7 svn:log V 220 On i386, make "prescott" an alias for "nocona" (instead of the other way around), and introduce "core", along with the alias "core2". All of these enable SSE3. On amd64, add "core2" (enables SSE3). MFC after: 3 weeks END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-01-17T14:27:03.000000Z K 7 svn:log V 103 - Add a small section on boot-time configuration. - Add more Xrefs. - Fix minor nits. Reviewed by: ru END K 10 svn:author V 3 des K 8 svn:date V 27 2007-01-17T14:49:13.000000Z K 7 svn:log V 318 Correct errors in previous commit. I didn't realize that ${CPUTYPE} is passed unmodified to gcc. Therefore, "prescott" should be used for Prescott, Nocona, Core and Core 2 CPUs when building 32-bit code, and "nocona" should be used for Prescott, Nocona and Core 2 CPUs when building 64-bit code. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2007-01-17T14:54:53.000000Z K 7 svn:log V 48 "If I only had a brain..." MFC after: 3 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-17T14:58:53.000000Z K 7 svn:log V 63 Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-17T15:05:52.000000Z K 7 svn:log V 63 Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-17T20:17:06.000000Z K 7 svn:log V 90 MFC: Warn that the swap zone is exhausted before the machine deadlocks. Reviewed by: alc END K 10 svn:author V 3 bms K 8 svn:date V 27 2007-01-17T22:23:28.000000Z K 7 svn:log V 88 Document the loader tunables which control hard process memory limits. Reviewed by: ru END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-01-18T00:08:00.000000Z K 7 svn:log V 453 MFC: ifbridge.c r1.5, ifconfig.8 r1.126, if_bridge.c r1.87, if_bridgevar.h r1.17 Add a new address cache type called sticky. On an interface marked sticky any address learned by the bridge is made permanent, the address will not age out and most importantly will not migrate to another interface. This can be used to stop mac address poisoning or clients roaming in much the same way as static entries without the hassle of preloading the table. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-18T02:00:04.000000Z K 7 svn:log V 136 Forward declare __pcpu as a pointer type instead of an array type to eliminate GCC 4.1 error: "array type has incomplete element type". END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-01-18T02:02:03.000000Z K 7 svn:log V 67 MFC r1.82 Use LIST_FOREACH_SAFE instead of a hand rolled version. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-18T03:04:56.000000Z K 7 svn:log V 48 Fix a typo. Submitted by: applecom at inbox ru END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-18T03:07:04.000000Z K 7 svn:log V 98 Oops... Revert previous commit because "installathon" is really a contest's name and not a typo. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2007-01-18T05:46:32.000000Z K 7 svn:log V 43 Revert previous change. Requested by: kan END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-01-18T07:13:01.000000Z K 7 svn:log V 66 Set topology change propagation on all ports _except_ the caller. END K 10 svn:author V 2 ru K 8 svn:date V 27 2007-01-18T09:24:08.000000Z K 7 svn:log V 96 Fix definitions of kilobits etc. PR: bin/106116 Nudged by: Rostislav Krasny MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-01-18T09:32:08.000000Z K 7 svn:log V 337 Add support for LINUX_O_DIRECT, LINUX_O_DIRECT and LINUX_O_NOFOLLOW flags to open() [1]. Improve locking for accessing session control structures [2]. Try to document (most likely harmless) races in the code [3]. Based on submission by: Intron (intron at intron ac) [1] Reviewed by: jhb [2] Discussed with: netchild, rwatson, jhb [3] END K 10 svn:author V 3 rrs K 8 svn:date V 27 2007-01-18T09:58:43.000000Z K 7 svn:log V 537 - most all includes (#include <>) migrate to the sctp_os_bsd.h file - Finally all splxx() are removed - Count error fixed in mapping array which might cause a wrong cumack generation. - Invariants around panic for case D + printf when no invariants. - one-to-one model race condition fixed by using a pre-formed connection and then completing the work so accept won't happen on a non-formed association. - Some additional paranoia checks in sctp_output. - Locks that were missing in the accept code. Approved by: gnn END K 10 svn:author V 3 kib K 8 svn:date V 27 2007-01-18T10:42:10.000000Z K 7 svn:log V 154 Forced commit to note that rev. 1.100 added support for LINUX_O_DIRECTORY, LINUX_O_DIRECT and LINUX_O_NOFOLLOW flags to linux_open(). Noted by: netchild END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-18T11:05:18.000000Z K 7 svn:log V 56 MFC rev. 1.110: FreeBSD 6.2-RELEASE, copyright years++. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-18T11:08:44.000000Z K 7 svn:log V 73 MFC rev. 1.34, 1.36: markup nits, document SO_TIMESTAMP and SO_BINSTAMP. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-18T13:08:08.000000Z K 7 svn:log V 154 On sparc64 also use the fillw() this header provides for ia64 so the sparc64 MD code doesn't need to provide a memsetw() along with the ISA compat cruft. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-18T13:33:36.000000Z K 7 svn:log V 290 Wrap the EISA-specific parts of the dpt(4) and si(4) back-ends in the newly added DEV_EISA. This is done so that these back-ends can be compiled on platforms not providing in{b,w,l}()/out{b,w,l}() and friends (but may wish to use them together with bus front-ends other than the EISA one). END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-18T13:52:44.000000Z K 7 svn:log V 914 Remove the compat shims for the ISA old-stlye in{b,w,l}()/out{b,w,l}() and friends along with all hacks required to implement them. None of the drivers currently built (as part of GENERIC, LINT or modules) on sparc64 or sun4v and none of those we might want to use there in future uses them, AFAICT there actually never was a driver hooked up to the sparc64 or sun4v build that correctly used these functions (and it looks like that due to a bug read{b,w,l}()/write{b,w,l}() and the other functions working on a memory handle never actually worked on sun4v). All they ever were good for on sparc64 and sun4v was erroneously dragging in dependencies on isa(4) in drivers like f.e. dpt(4), si(4) and syscons(4) in source files that supposedly were bus-neutral and hiding issues with drivers like f.e. ng_bt3c(4) that used these functions with busses other than isa(4) and therefore couldn't work on these platforms. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2007-01-18T13:55:21.000000Z K 7 svn:log V 261 Revise the ng_ppp(4) node, so that code flow is more clear. All non-link hooks get their per hook rcvdata methods, and all functions are organized corresponding to protocol stack model. Submitted by: Alexander Motin Reviewed by: archie, julian END K 10 svn:author V 4 joel K 8 svn:date V 27 2007-01-18T15:27:15.000000Z K 7 svn:log V 35 Add missing comma. Noticed by: ru END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-18T16:14:19.000000Z K 7 svn:log V 322 MFC if_bce.c (1.23-24), if_bcereg.h (1.11): - Instead of if_watchdog/if_timer interface use our own timer that piggybacks on bce_tick() callout. - Instead of unconditionally resetting the controller, try to skip the reset in case we got a pause frame, like em(4) did. - Lock bce_tick() using callout_init_mtx(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-18T18:32:26.000000Z K 7 svn:log V 452 - Rename UPA_BUS_SPACE to NEXUS_BUS_SPACE; besides an UPA bus, nexus(4) may also reflect a Fireplane/Safari or JBus bus (or a virtual bus which in turn reflects a JBus bus or something like that...). - In the both the sparc64 and sun4v bus_machdep.c use __FBSDID. - Spell SBus the official way in comments. - Replace hardcoded function names (all of which were actually outdated) in panic and status strings with __func__. - Fix whitespace nits. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2007-01-18T18:53:13.000000Z K 7 svn:log V 65 Temporarily comment out the KASSERT that broke the kernel build. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-18T19:19:19.000000Z K 7 svn:log V 119 - Probe the CS4231 in USIII machines. - Remove unused variables. [1] Reported by: Coverity Prevent (CID 700, 701) [1] END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-18T19:41:39.000000Z K 7 svn:log V 35 A less draconian fix to the build. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-18T22:01:19.000000Z K 7 svn:log V 702 - Add a uart_rxready() and corresponding device-specific implementations that can be used to check whether receive data is ready, i.e. whether the subsequent call of uart_poll() should return a char, and unlike uart_poll() doesn't actually receive data. - Remove the device-specific implementations of uart_poll() and implement uart_poll() in terms of uart_getc() and the newly added uart_rxready() in order to minimize code duplication. - In sunkbd(4) take advantage of uart_rxready() and use it to implement the polled mode part of sunkbd_check() so we don't need to buffer a potentially read char in the softc. - Fix some mis-indentation in sunkbd_read_char(). Discussed with: marcel END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2007-01-18T22:31:22.000000Z K 7 svn:log V 123 Use eaccess() instead of access() for the type builtin, like we do for the test builtin. Submitted by: Martin Kammerhofer END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-19T01:16:35.000000Z K 7 svn:log V 510 On FreeBSD/arm, any value > 50 bits will result in a rediculously huge number being returned for mktime and timegm calls. Choose 48 because that works well. This does reduce the dynamic range of tm_year from about 2 billion years down to "only" about 9 million years. Please contact me if this restriction poses a problem. Due to the complexity of the code, I admit that I didn't trace down what, exactly, was overflowing with longer bits. This fixes software that we run on the embedded systems we have. END K 10 svn:author V 3 phk K 8 svn:date V 27 2007-01-19T08:13:17.000000Z K 7 svn:log V 107 Make DK-HOSTMASTER show contact info for .dk domains. Submitted by: Søren Hansen END K 10 svn:author V 3 imp K 8 svn:date V 27 2007-01-19T08:49:28.000000Z K 7 svn:log V 147 Cope gracefully with device_get_children returning an error. Obtained from: Hans Petter Selasky P4: http://perforce.freebsd.org/chv.cgi?CH=112957 END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-19T11:15:34.000000Z K 7 svn:log V 339 Convert the remainder of the low hanging fruits regarding including headers in .S directly rather than getting to their macros through genassym.c/assym.s so there are less headers genassym.c has to be kept in sync with. While at it fix some stytle(9) bugs (indentation, prototype format, sort headers, etc) and remove trailing whitespace. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-19T12:22:50.000000Z K 7 svn:log V 129 Remove remnants from the sparc64 origin of this file and which are unlikely to be ever used and misplaced on sun4v respectively. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2007-01-19T17:34:52.000000Z K 7 svn:log V 68 Add a reference too pthread_cancel(3). Submitted by: Jeremie Le-Hen END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-19T21:56:08.000000Z K 7 svn:log V 1342 Major revamp of ULE's cpu load balancing: - Switch back to direct modification of remote CPU run queues. This added a lot of complexity with questionable gain. It's easy enough to reimplement if it's shown to help on huge machines. - Re-implement the old tdq_transfer() call as tdq_pickidle(). Change sched_add() so we have selectable cpu choosers and simplify the logic a bit here. - Implement tdq_pickpri() as the new default cpu chooser. This algorithm is similar to Solaris in that it tries to always run the threads with the best priorities. It is actually slightly more complex than solaris's algorithm because we also tend to favor the local cpu over other cpus which has a boost in latency but also potentially enables cache sharing between the waking thread and the woken thread. - Add a bunch of tunables that can be used to measure effects of different load balancing strategies. Most of these will go away once the algorithm is more definite. - Add a new mechanism to steal threads from busy cpus when we idle. This is enabled with kern.sched.steal_busy and kern.sched.busy_thresh. The threshold is the required length of a tdq's run queue before another cpu will be able to steal runnable threads. This prevents most queue imbalances that contribute the long latencies. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-19T22:37:52.000000Z K 7 svn:log V 348 - Change the PCI-X registers constants to be relative to the PCI-X PCI capability rather than hardcoded offsets for a particular card. While I'm here, expand the constants some. - Change the ahd(4) driver to use pci_find_extcap() to locate the PCI-X capability to keep up with the first change. Reviewed by: scottl, gibbs (earlier version) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2007-01-19T23:01:34.000000Z K 7 svn:log V 221 MFC: Change the life cycle of bpf interface objects to close attach/detach races with bpf(4). This includes shims to preserve the ABI for any old modules. For more details see the commit log for 1.166 of sys/net/bpf.c. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T00:52:29.000000Z K 7 svn:log V 478 - Don't set MIIF_NOISOLATE so ukphy(4) can be used in configurations with multiple PHYs. In case some PHYs currently driven by ukphy(4) exhibit problems when isolating due to incomplete implementations or silicon bugs we'll need to add specific drivers for these. Looking at NetBSD and OpenBSD I don't expect problems here though (quite the contrary; we still seem to set MIIF_NOISOLATE without good reason in a bunch of PHY drivers). - Fix a style(9) whitespace nit. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T00:55:03.000000Z K 7 svn:log V 994 - In miibus_attach() remove IFM_IMASK from the dontcare_mask of the ifmedia_init() invocation. IFM_IMASK makes only sense here when all of the maxium of 32 PHYs on each one MII bus support disjoint sets of media, which generally isn't the case (though it would be nice if we had a way to let NIC drivers indicate that for the few card models where the PHY configuration is known/fixed and IFM_IMASK actually makes sense). - Add and use a miibus_print_child() for the bus_print_child method which additionally prints the PHY number (which actually is the PHY address) so one can figure out the media instance <-> PHY number mapping from the PHY driver attach output. This is intented to be usefull in situations where the addresses of the PHYs on the bus are known (f.e. of internal/ integrated PHYs) so one can feed the appropriate media instance number to ifconfig(8) (with the upcoming change for ifconfig(8)). This is more or less inspired by the NetBSD mii_print(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T00:56:49.000000Z K 7 svn:log V 392 - Display the media instance numbers and allow the user to set the active one. This is based on NetBSD but unlike NetBSD this implementation prints the instance number for all media instances and doesn't skip it for the first one as I don't see a reason to suppress it except for the vague reason to preserve the output for single-instance configurations. - Fix some whitespace nits. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-20T02:19:09.000000Z K 7 svn:log V 367 MFC df.c revision 1.66 Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our current implementation of df(1) is does not properly format the output under certain conditions. Right now -kP and -Pk are not the same thing. Further, when we set the BLOCKSIZE environment variable, we use "1k" instead of "1024", making the header display incorrectly. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-20T02:19:57.000000Z K 7 svn:log V 191 MFC hosts.allow revision 1.22 Since NIS is an RPC based service, add a note that when adjusting access controls in NIS, similar access controls should be considered for the rpcbind as well. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-20T02:23:39.000000Z K 7 svn:log V 80 MFC if_tap.c revision 1.65 - Do not unconditionally report success on write(2) END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-20T02:24:06.000000Z K 7 svn:log V 123 MFC audit_private.h revision 1.12 MFC audit_arg.c revision 1.7 - Change the type we are using for struct sockaddr storage END K 10 svn:author V 4 csjp K 8 svn:date V 27 2007-01-20T02:25:36.000000Z K 7 svn:log V 142 MFC Makefile revision 1.53 (with changes) MFC login.c revision 1.102 MFC login.h revision 1.6 - Conditional build of audit based on NO_AUDIT END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2007-01-20T02:39:34.000000Z K 7 svn:log V 34 Add a section about RSTP support. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-20T04:00:21.000000Z K 7 svn:log V 388 MFP4: Move default setting to the end of isp_reset instead of the front of isp_init so we can read NVRAM even if we're role ISP_NONE. Prepare for reintroduction of channels (for FC) for N-Port Virtualization. Fix a botch in handle assignment that caused us to nuke one device when a new one arrives and end up with two devices with the same identity in the virtual target mapping table. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-01-20T04:24:20.000000Z K 7 svn:log V 203 Add the following knobs for quotas if they are enabled: quotaon_flags - flags for the quotaon command quotaoff_flags - flags for the quotaoff command quotacheck_flags - flags for the quotacheck command END K 10 svn:author V 3 ume K 8 svn:date V 27 2007-01-20T06:22:31.000000Z K 7 svn:log V 97 MFC 1.74: Avoid infinite loop if nicmp6 and nip6 are not on the same mbuf. NetBSD PR 34994+35333 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-20T07:05:55.000000Z K 7 svn:log V 426 MFC revision 1.4 date: 2006/12/20 17:10:53; author: delphij; state: Exp; lines: +5 -0 On amd64 platform, use linux32 headers so 32-bit Linux applications would be able to work with aac(4). This approach is used by some other drivers as well. However, we need a more generic way to do this in order to avoid having to special case headers in individual drivers for each platform. Obtained from: Adaptec (version b11518) END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T07:32:02.000000Z K 7 svn:log V 73 Import ncurses 5.6-20061217 onto the vender branch Approved by: delphij END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T07:32:02.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r166124, 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-01-20T07:32:03.000000Z K 7 svn:log V 85 This commit was manufactured by cvs2svn to create tag 'ncurses-vendor-v5_6_20061217'. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2007-01-20T07:38:31.000000Z K 7 svn:log V 95 Grumble- let a linux-ism slip in and had an llx which then choked on a 64 bit platforms. Oops. END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T07:39:17.000000Z K 7 svn:log V 91 - Resolve conflicts - Remove files that are removed in vender branch Approved by: delphij END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T07:43:46.000000Z K 7 svn:log V 488 Force commit to note the following repocopies: lib/libform/Makefile -> lib/ncurses/form/Makefile lib/libmenu/Makefile -> lib/ncurses/menu/Makefile lib/libncurses/Makefile -> lib/ncurses/ncurses/Makefile lib/libncurses/ncurses_cfg.h -> lib/ncurses/ncurses/ncurses_cfg.h lib/libncurses/pathnames.h -> lib/ncurses/ncurses/pathnames.h lib/libncurses/termcap.c -> lib/ncurses/ncurses/termcap.c lib/libpanel/Makefile -> lib/ncurses/panel/Makefile Approved by: delphij Repocopied by: kuriyama END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T07:46:45.000000Z K 7 svn:log V 132 Introduce new ncurses build glues which are part of ncurses 5.6 update. Approved by: delphij Inspired by: DragonFly's and lib/bind END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T07:48:10.000000Z K 7 svn:log V 55 Switch to new ncurses build glue Approved by: delphij END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T07:49:43.000000Z K 7 svn:log V 52 Retire old ncurses build glue Approved by: delphij END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T08:21:19.000000Z K 7 svn:log V 61 Remove files that are no longer exist. Approved by: delphij END K 10 svn:author V 5 maxim K 8 svn:date V 27 2007-01-20T08:24:02.000000Z K 7 svn:log V 71 o Remove duplicate includes. Obtained from: Slava Semushin via NetBSD END K 10 svn:author V 5 rafan K 8 svn:date V 27 2007-01-20T08:24:05.000000Z K 7 svn:log V 58 Add instructions for future update. Approved by: delphij END K 10 svn:author V 3 pjd K 8 svn:date V 27 2007-01-20T08:52:04.000000Z K 7 svn:log V 140 Send not only Access Request, but also Access Challenge with defined NAS-Identifier and NAS-IP-Address. Reviewed by: bz MFC after: 1 month END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-20T09:03:43.000000Z K 7 svn:log V 557 - In tdq_transfer() always set NEEDRESCHED when necessary regardless of the ipi settings. If NEEDRESCHED is set and an ipi is later delivered it will clear it rather than cause extra context switches. However, if we miss setting it we can have terrible latency. - In sched_bind() correctly implement bind. Also be slightly more tolerant of code which calls bind multiple times. However, we don't change binding if another call is made with a different cpu. This does not presently work with hwpmc which I believe should be changed. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T09:57:09.000000Z K 7 svn:log V 95 Use bus_get_dma_tag() to obtain the parent DMA tag so le(4) works on platforms requiring this. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T10:47:16.000000Z K 7 svn:log V 541 For setting the port PCnet chips must be powered down or stopped and unlike documented may not take effect without an initialization. So don't invoke (*sc_mediachange) directly in lance_mediachange() but go through lance_init_locked(). It's suboptimal to impose this for all chips but given that besides the affected PCI bus front-end the only other front-end which supports media selection is and likely ever will be the 'ledma' front-end I see not enough reason to break the in-driver API for this (though one could argue both ways here). END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-20T11:07:41.000000Z K 7 svn:log V 211 Convert a KASSERT into a runtime warning (rate limited) + failsafe fallback. Because of a stupid bug (also fixed with this commit) the KASSERT was triggered when runnung the linux top. Pointy hat to: netchild END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-20T11:31:14.000000Z K 7 svn:log V 26 Ooops, fix the ratelimit. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-01-20T11:58:32.000000Z K 7 svn:log V 1821 Quota system cleanup. 1) Do not do quota accounting for the actual quota data files or for file system snapshot files ("system" files). This prevents a deadlock descibed in PR kern/30958 if the kernel ever has to grow the quota file. Snapshot files were already exempt from the quota checks, but this change generalized the check. 2) Fix a cast that caused extremely large uids/gids to incorrectly write the quota information to the data file at a truncated value for a uint_t32 id value. The incorrect cast caused quota files in this case to be around 4GB in size, with the correct cast they can now be 131GB in size. Also related to PR kern/30958. 3) Check for what appear to be negative UIDs/GIDs and not account for them. This prevents the quota files from becoming 131GB in size and causing quotacheck to run forever at bootup. This could also cause the kernel to try and expand the quota file, which might deadlock due to the issue in #1. kern/30958 and kern/38156 (and some much older closed PR's). 4) With the deadlock problems gone, the kernel can now expand the size of the quota database files if it needs to. 5) Pass in the i-node count change value to chkiq and chkiqchg as an int, like it used to be before the common routine was split up into 2 different routines to increase / decrease the i-node in-use count. Prevents an underflow on the i-node count. Related to PR kern/89247. 6) Prevent the block usage from growing slowly if a file system is full and the write was denied due to that fact. PR kern/89247. Some of these changes require an updated quotacheck to prevent the creation of huge (131GB) quota data files (item #3). #1/#4 probably fixes a lot of the random hangs when quotas are enabled, possibly some of the jail hangs. END K 10 svn:author V 3 mpp K 8 svn:date V 27 2007-01-20T12:28:15.000000Z K 7 svn:log V 1163 Quota system cleanup. 1) Do not account for uids/gids that appear negative to prevent the creation of 131GB+ quota files. This is the same as the kernel now determines which files to provide quota accounting for. Related to PR kern/38156. This should also prevent boots from hanging if a negative uid appears in the file systems. 2) Do not count system files in the usage counts. These currently are file system snapshot and quota data files. This is how the kernel now handles those files. 3) Correctly generate new quota data files if the current files do not exist or are zero length in size. PR kern/30958. It should now be possible to newfs / mount / touch quota.{user,group} and quotaon a file system and have everything work. 4) Change some diagnostics to report the file system and type of id (uid or gid) that is being reported. 5) Truncate the quota data files if possible, instead of letting them grow to a big enough size to hold the largest UID/GID on the system (typically "nobody"). The kernel should now be able to grow the files as needed without deadlocking the system. PR: kern/30958, kern/38156 END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T12:53:30.000000Z K 7 svn:log V 420 Add front-ends for the 'lebuffer' variants found on some SBus cards. These are shared-memory variants based on Am79C90-compatible chips that apart from the missing DMA engine are similar to the 'ledma' variant including using a (pseudo-)bus/device for the buffer that the actual LANCE device hangs off from. The performance of these is close to that of the 'ledma' one, like expected at a few times the CPU load though. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T13:37:15.000000Z K 7 svn:log V 443 - For the sake of completeness mention back-end support for the ILACC and add a list of known-working PCI devices. - For consistency throughout this man page also talk about C-Bus and ISA adapters rather than cards. - Add missing .Tn. - Mention ifconfig(8) along with listing selectable media types. - Add/un-comment hardware notes for the newly supported 'lebuffer' variants (the transition from P/N 501-1860 to 501-1869 isn't a typo). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2007-01-20T13:54:28.000000Z K 7 svn:log V 51 Fix build. chkdquot() should not return anything. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T14:06:01.000000Z K 7 svn:log V 379 - Use bus_get_dma_tag() to obtain the parent DMA tag so dma(4) will work when we start requiring this. - Don't specify an alignment when creating our own parent DMA tag; the supported DMA engines require no alignment constraint (f.e. the LANCE child does though) and it's no inherited by the child DMA tags anyway (which probably is a bug though). - Fix whitespace nits. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T14:19:29.000000Z K 7 svn:log V 89 Remove BUS_DMA_WAITOK from bus_dma_tag_create() invocations as it's no valid flag there. END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T14:57:51.000000Z K 7 svn:log V 116 Add macros for the individual divisor bits as some MC146818A-compatible chips also use them for different purposes. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2007-01-20T14:58:59.000000Z K 7 svn:log V 876 MFp4 (113077, 113083, 113103, 113124, 113097): Dont expose em->shared to the outside world before its properly initialized. Might not affect anything but its at least a better coding style. Dont expose em via p->p_emuldata until its properly initialized. This also enables us to get rid of some locking and simplify the code because we are workin on a local copy. In linux_fork and linux_vfork create the process in stopped state to be sure that the new process runs with fully initialized emuldata structure [1]. Also fix the vfork (both in linux_clone and linux_vfork) race that could result in never woken up process [2]. Reported by: Scot Hetzel [1] Suggested by: jhb [2] Reviewed by: jhb (at least some important parts) Submitted by: rdivacky Tested by: Scot Hetzel (on amd64) Change 2 comments (in the new code) to comply to style(9). Suggested by: jhb END K 10 svn:author V 3 ume K 8 svn:date V 27 2007-01-20T14:59:12.000000Z K 7 svn:log V 499 MFC: Extend the nsswitch to support Services, Protocols and Rpc databases. include/nsswitch.h: 1.4 (partly) include/rpc/rpcent.h: 1.3, 1.4 lib/libc/net/Makefile.inc: 1.59 (partly) lib/libc/net/getproto.c: 1.6 (partly) lib/libc/net/getprotoent.c: 1.8 (partly) lib/libc/net/getprotoname.c: 1.6 (partly) lib/libc/net/getservbyname.c: 1.9 lib/libc/net/getservbyport.c: 1.9 lib/libc/net/getservent.c: 1.22 (partly) lib/libc/net/netdb_private.h: 1.12 lib/libc/rpc/getrpcent.c: 1.15 (partly) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2007-01-20T17:03:33.000000Z K 7 svn:log V 304 - We do need to IPI the idlethread on some systems. It may be stuck in a power saving mode otherwise. - If the thread is already bound in sched_bind() unbind it before re-binding it to a new cpu. I don't like these semantics but they are expected by some code in the tree. Patch by jkoshy. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2007-01-20T17:05:12.000000Z K 7 svn:log V 166 The multicast hash table has 8 slots in the BCE hardware, not 4 slots like the BGE hardware. Adapt the driver for this. Submitted by: Mike Karels MFC After: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2007-01-20T17:14:12.000000Z K 7 svn:log V 198 Quiet GCC4 warnings regarding the width of printf()-arguments not matching the format. While at it limit the format to unsigned int as we're only interested in the 11 least significant bits anyway. END