ĵ`152545 154 715 408 104 101 508 289 104 678 115 192 141 189 604 335 229 234 413 273 289 289 1170 250 496 104 104 136 106 120 106 140 112 119 115 121 125 224 351 264 238 156 235 255 300 335 112 542 137 637 238 152 537 812 125 171 246 3242 186 400 182 247 223 223 285 256 109 189 359 441 246 149 354 417 1185 166 640 1099 238 286 789 368 303 1222 460 188 128 138 140 138 358 103 207 246 170 216 412 150 926 272 169 690 1104 178 662 352 345 124 681 275 197 276 297 531 302 223 120 224 315 606 296 243 153 720 863 241 813 130 287 327 138 380 129 216 201 458 137 328 265 133 905 748 429 356 308 389 239 194 164 164 113 123 164 1129 452 1733 K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-17T10:13:18.000000Z K 7 svn:log V 618 - Backout last change, since it is memory overkill for a non busy host or for a notebook with em(4) adapter. - Introduce tunables em.hw.txd and em.hw.rxd, which allow administrator to configure number of transmit and receive descriptors. - Check em.hw.txd and em.hw.rxd against hardware limits [*] and require them to be multiple of 128. [*] According to comments in if_em.h the 82540EM/82541ER chips can handle more than 256 descriptors. Since we don't have this hardware to test, we decided to mimic NetBSD wm(4) driver, that limits these chips to 256 descriptors. In collaboration with: yongari END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-17T11:01:32.000000Z K 7 svn:log V 310 Correctly handle a TCP connection being shutdown by the server while we're reading response headers. (Handle it as a connection-killing error, rather than entering an infinite loop reading zero bytes.) Reported by: simon Discovered thanks to: A not-very-transparent transparent HTTP proxy. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-17T12:15:23.000000Z K 7 svn:log V 13 -mdoc sweep. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-17T12:16:33.000000Z K 7 svn:log V 10 doc sweep END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-11-17T12:19:19.000000Z K 7 svn:log V 413 When a user is in more than 16 groups the call to authunix_create() will result in abort() beeing called. This is because there is a limit of the number of groups in the RPC which is 16. When the actual number of groups is too large it results in xdr_array() returning an error which, in turn, authunix_create() handles by just calling abort(). Fix this by passing only the first 16 groups to authunix_create(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-17T12:56:40.000000Z K 7 svn:log V 192 MFOpenBSD 1.62: Prevent backup CARP hosts from replying to arp requests, fixes strangeness with some layer-3 switches. From Bill Marquette. Tested by: Kazuaki Oda END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-17T13:00:00.000000Z K 7 svn:log V 13 -mdoc sweep. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-17T13:11:36.000000Z K 7 svn:log V 581 Merge kern_descrip.c:1.286, 1.287, 1.288 from HEAD to RELENG_6: Add a DDB "show files" command to list the current open file list, some state about each open file, and identify the first process in the process table that references the file. This is helpful in debugging leaks of file descriptors. Expand the set of details printed for each file descriptor to include it's garbage collection flags. Reformat generally to make this fit and leave some room for future expansion. Add the f_msgcount field to the set of struct file fields printed in show files. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-17T15:10:40.000000Z K 7 svn:log V 19 Document tunables. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-17T16:26:31.000000Z K 7 svn:log V 95 MFC: rev. 1.5 by delphij Mention that hptmv(4) actually works for the amd64 platform as well. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-17T16:37:16.000000Z K 7 svn:log V 44 Mention BCM5752 support in two more places. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-17T16:43:56.000000Z K 7 svn:log V 92 Mention that this driver does not work on i386+PAE. Suggested by: scottl MFC after: 3 days END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-11-17T18:08:58.000000Z K 7 svn:log V 509 MFC: add.h:1.12, main.c:1.65, perform.c:1.78, pkg_add.1:1.67 date: 2005/11/12 11:45:01; author: krion; state: Exp; lines: +9 -2 Add -P flag, it does the same as the -p option, except that the given prefix is also used recursively for the dependency packages, if any. If the -P flag appears after any -p flag on the command line, it overrides it's effect, causing pkg_add to use the given prefix recursively. PR: bin/75742 Submitted by: Frerich Raabe END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-17T19:31:52.000000Z K 7 svn:log V 238 Print (total - used) as the amount of available swap for a swap device when printing swapinfo output, rather than (total), as that is (strictly speaking) more accurate. Pointed out by: Rob MFC after: 3 days END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-11-17T21:05:25.000000Z K 7 svn:log V 134 No CAVEAT about EISA attachment given that there is no EISA support Sort of submitted by: jhb Forgotten in previous commit by: wilko END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-11-17T21:07:39.000000Z K 7 svn:log V 139 MFC: No CAVEAT about EISA attachment given that there is no EISA support Sort of submitted by: jhb Forgotten in previous commit by: wilko END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-18T01:31:10.000000Z K 7 svn:log V 316 In vfs_nmount(), check to see if "update" mount option was passed in, and if so, set MNT_UPDATE filesystem flag. vfs_nmount() calls vfs_domount(), and there is special logic inside vfs_domount() if MNT_UPDATE is set. This is very important when we want to do an update mount of the root filesystem, using nmount(). END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-11-18T02:23:59.000000Z K 7 svn:log V 180 don't match packets other than IPv4 against divert rule. divert supports only IPv4. Reported by: SAITOU Toshihide Discussed with: suz MFC after: 1 day END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-11-18T02:32:32.000000Z K 7 svn:log V 196 MFC 1.55: The KAME's getipnodebyaddr() code honor the MULTI_PTRS_ARE_ALIASES define also, but res_config.h was not included into libc/net/name6.c. So getipnodebyaddr() ignored the multiple PTRs. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-11-18T02:38:45.000000Z K 7 svn:log V 196 MFC 1.55: The KAME's getipnodebyaddr() code honor the MULTI_PTRS_ARE_ALIASES define also, but res_config.h was not included into libc/net/name6.c. So getipnodebyaddr() ignored the multiple PTRs. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2005-11-18T02:43:49.000000Z K 7 svn:log V 1076 Fix a bug that caused some /dev entries to continue to exist after the underlying drive had been hot-unplugged from the system. Here is a specific example. Filesystem code had opened /dev/da1s1e. Subsequently, the drive was hot-unplugged. This (correctly) caused all of the associated /dev/da1* entries to be deleted. When the filesystem later realized that the drive was gone it closed the device, reducing the write-access counts to 0 on the geom providers for da1s1e, da1s1, and da1. This caused geom to re-taste the providers, resulting in the devices being created again. When the drive was hot-plugged back in, it resulted in duplicate /dev entries for da1s1e, da1s1, and da1. This fix adds a new disk_gone() function which is called by CAM when a drive goes away. It orphans all of the providers associated with the drive, setting an error condition of ENXIO in each one. In addition, we prevent a re-taste on last close for writing if an error condition has been set in the provider. Sponsored by: Isilon Systems Reviewed by: phk MFC after: 1 week END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-18T05:03:12.000000Z K 7 svn:log V 157 Removed an unused declaration which was so old that it wasn't a prototype and thus just broke building at any nonzero WARNS level. Fixed nearby style bugs. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-18T06:06:10.000000Z K 7 svn:log V 399 - Add parsing for the following existing UFS/FFS mount options in the nmount() callpath via vfs_getopt(), and set the appropriate MNT_* flag: -> acls, async, force, multilabel, noasync, noatime, -> noclusterr, noclusterw, snapshot, update - Allow errmsg as a valid mount option via vfs_getopt(), so we can later add a hook to propagate mount errors back to userspace via vfs_mount_error(). END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T10:36:29.000000Z K 7 svn:log V 13 -mdoc sweep. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T10:56:28.000000Z K 7 svn:log V 13 -mdoc sweep. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T11:53:23.000000Z K 7 svn:log V 45 Fix up markup etc. in recently born manpage. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T11:54:14.000000Z K 7 svn:log V 15 Fix up markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T12:01:14.000000Z K 7 svn:log V 29 Provide a short description. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T12:08:31.000000Z K 7 svn:log V 15 Fix up markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T13:44:44.000000Z K 7 svn:log V 49 Minimally fix this manpage to not emit warnings. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T13:50:59.000000Z K 7 svn:log V 21 Minor markup tweaks. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T13:53:36.000000Z K 7 svn:log V 28 Fix warning, sort sections. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T14:01:11.000000Z K 7 svn:log V 24 Unbreak and fix markup. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-11-18T14:05:47.000000Z K 7 svn:log V 26 Cross-reference hwpmc(4). END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T14:21:28.000000Z K 7 svn:log V 34 Fix markup, grammar and spelling. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-18T14:40:43.000000Z K 7 svn:log V 129 Add KASSERTs to M_ALIGN() and MH_ALIGN() to prevent usage on wrong mbuf types. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-18T14:44:48.000000Z K 7 svn:log V 256 In ip_forward() copy as much into the temporary error mbuf as we have free space in it. Allocate correct mbuf from the beginning. This allows icmp_error() to quote the entire TCP header in error messages. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-18T14:48:42.000000Z K 7 svn:log V 169 Rework icmp_error() to deal with truncated IP packets from ip_forward() when doing extended quoting in error messages. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-18T16:23:26.000000Z K 7 svn:log V 143 Purge layer specific mbuf flags on layer crossings to avoid confusing upper or lower layers. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-11-18T16:47:24.000000Z K 7 svn:log V 65 Add support for a new/unreleased Pentium-M. Reviewed by: jkoshy END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-18T16:51:13.000000Z K 7 svn:log V 140 Add CLOCK_UPTIME to clock_gettime(2) reporting the current uptime measured in SI seconds. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-18T17:04:49.000000Z K 7 svn:log V 160 Remove references to MEXT_ADD_REF, MEXT_REM_REF and MEXT_IS_REF which were removed with rev. 1.179 of mbuf.h. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-18T17:13:22.000000Z K 7 svn:log V 205 Document CLOCK_UPTIME which returns the current uptime in SI seconds. At the moment it is just an alias for CLOCK_MONOTONIC which reports the same number. Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-18T19:26:46.000000Z K 7 svn:log V 242 - Always print the trap number so that we have something to start with for mystery traps. If we don't have a message for a given trap, just use UNKNOWN for the message. - Add trap messages for T_XMMFLT and T_RESERVED. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-18T19:38:45.000000Z K 7 svn:log V 21 Unifdef for FreeBSD. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2005-11-18T19:41:55.000000Z K 7 svn:log V 446 Add sanity checking for QUEUE(3) lists under INVARIANTS. Races may lead to list corruption, which can be difficult to unravel in a post-mortem analysis. These checks verify that prev and next pointers are consistent when inserting or removing elements, thus catching any corruption earlier. Also use TRASHIT to break LIST and SLIST link pointers on element removal, from mlaier via -hackers. Reviewed by: mlaier Approved by: rwatson (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-18T19:47:41.000000Z K 7 svn:log V 45 Document the -32 flag and add it to usage(). END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-18T20:12:40.000000Z K 7 svn:log V 542 Consolidate all IP Options handling functions into ip_options.[ch] and include ip_options.h into all files making use of IP Options functions. From ip_input.c rev 1.306: ip_dooptions(struct mbuf *m, int pass) save_rte(m, option, dst) ip_srcroute(m0) ip_stripoptions(m, mopt) From ip_output.c rev 1.249: ip_insertoptions(m, opt, phlen) ip_optcopy(ip, jp) ip_pcbopts(struct inpcb *inp, int optname, struct mbuf *m) No functional changes in this commit. Discussed with: rwatson Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-18T21:37:02.000000Z K 7 svn:log V 142 Second part of the AMRR commit. Enable automatic rate adaptation in BSS operating mode. Works great here. Will need a lot of testing though. END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-18T21:46:28.000000Z K 7 svn:log V 57 ural now supports automatic rate adaptation in BSS mode. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-18T22:34:31.000000Z K 7 svn:log V 440 Add "shortnames" and "longnames" mount options which are synonyms for "shortname" and "longname" mount options. The old (before nmount()) mount_msdosfs program accepted "shortnames" and "longnames", but the kernel nmount() checked for "shortname" and "longname". So, make the kernel accept "shortnames", "longnames", "shortname", "longname" for forwards and backwarsd compatibility. Discovered by: Rainer Hurling END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-19T02:38:27.000000Z K 7 svn:log V 719 Moved all the optimizations for |x| <= 9pi/2 from __ieee754_rem_pio2f() to its 3 callers and manually inline them. On Athlons, with favourable compiler flags and optimizations and favourable pipeline conditions, this gives a speedup of 30-40 cycles for cosf(), sinf() and tanf() on the range pi/4 < |x| <= 9pi/4, so thes functions are now signifcantly faster than the hardware trig functions in many cases. E.g., in a benchmark with uniformly distributed x in [-2pi, 2pi], A64 hardware fcos took 72-129 cycles and cosf() took 37-55 cycles. Out-of-order execution is needed to get both of these times. The optimizations in this commit apparently work more by removing 1 serialization point than by reducing latency. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-19T04:43:29.000000Z K 7 svn:log V 30 Fix typo: s/_LIBC_R/_LIBC_R_/ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-19T04:45:15.000000Z K 7 svn:log V 76 o Include o Make this ILP32/LP64 clean: cast pointers to long. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-19T04:47:06.000000Z K 7 svn:log V 150 o Include o Make this ILP32/LP64 clean: cast pointers to long o Code conditional upon DEBUG must also be conditional upon _LIBC_R_ END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-19T05:06:32.000000Z K 7 svn:log V 3148 MFC revision 1.517 When support for 2MB/4MB pages was added in revision 1.148 an error was made in pmap_protect(): The pmap's resident count should not be reduced unless mappings are removed. The errant change to the pmap's resident count could result in a later pmap_remove() failing to remove any mappings if the errant change has set the pmap's resident count to zero. MFC revision 1.518 Decouple the unrefing of a page table page from the removal of a pv entry. In other words, change pmap_remove_entry() such that it no longer unrefs the page table page. Now, it only removes the pv entry. MFC revision 1.519 Eliminate unneeded diagnostic code. MFC revision 1.520 Eliminate unneeded diagnostic code. Eliminate an unused #include. (Kernel stack allocation and deallocation long ago migrated to the machine-independent code.) MFC revision 1.521 Simplify the page table page reference counting by pmap_enter()'s change of mapping case. Eliminate a stale comment from pmap_enter(). MFC revision 1.522 Correct a performance bug in revision 1.462. The effect of the bug is to execute the outer loop in procedures such as pmap_protect() many more times than necessary. MFC revision 1.523 Introduce pmap_pml4e_to_pdpe() and pmap_pdpe_to_pde() and use them to avoid recomputation of the pml4e and pdpe in pmap_copy(), pmap_protect(), and pmap_remove(). MFC revision 1.524 Change pmap_extract() and pmap_extract_and_hold() to use PG_FRAME rather than ~PDRMASK to extract the physical address of a superpage from a PDE. The use of ~PDRMASK is problematic if the PDE has PG_NX set. Specifically, the PG_NX bit will be included in the physical address if ~PDRMASK is used. MFC revision 1.525 Pass the PDE from pmap_remove() to pmap_remove_page() so that the latter procedure doesn't have to recompute it. MFC revision 1.526 Remedy the following three problems: 1. The amd64 pmap, unlike the i386 pmap, maintains a reference count for each page directory (PD) page. However, in the transformation of the i386 pmap into the amd64 pmap, operations, such as pmap_copy() and pmap_object_init_pt(), that create 2MB "superpage" mappings by setting the PG_PS bit in a PD entry were not modified to adjust the underlying PD page's reference count. Consequently, superpage mappings could disappear prematurely. 2. pmap_object_init_pt() could crash or corrupt memory if either the virtual address range being mapped crosses a 1GB boundary in the virtual address space or nothing is mapped in the 1GB area. 3. When pmap_allocpte() destroys a 2MB "superpage" mapping it does not reduce the pmap's resident count accordingly. It should. (This bug is inherited from i386.) MFC revision 1.528 Eliminate unnecessary TLB invalidations by pmap_enter(). Specifically, eliminate TLB invalidations when permissions are relaxed, such as when a read-only mapping is changed to a read/write mapping. Additionally, eliminate TLB invalidations when bits that are ignored by the hardware, such as PG_W ("wired mapping"), are changed. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-11-19T06:06:59.000000Z K 7 svn:log V 94 MFC 1.48: don't match packets other than IPv4 against divert rule. divert supports only IPv4. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-19T06:45:44.000000Z K 7 svn:log V 308 Add the NO_INCS knob to bsd.prog.mk and bsd.lib.mk to not include bsd.incs.mk, and use it when installing 32-bit compat libraries on amd64. This causes it to *not* overwrite native headers with i386 versions, which was the case with and . PR: amd64/83806 Prodded by: bde MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-19T07:04:17.000000Z K 7 svn:log V 91 Revert last revision by phk@, it's redundant since bsd.incs.mk already handles this, FWIW. END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-11-19T11:30:55.000000Z K 7 svn:log V 152 Do not explicitly state how many bytes an argument list can be in the description of E2BIG, since it's now larger on some platforms. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-19T11:55:50.000000Z K 7 svn:log V 126 Merge kdump.1:1.14 and kdump.c:1.28 from HEAD to RELENG_6: Add "-s" argument to kdump to suppress the display of I/O data. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-19T12:15:10.000000Z K 7 svn:log V 126 Merge kdump.1:1.14 and kdump.c:1.28 from HEAD to RELENG_5: Add "-s" argument to kdump to suppress the display of I/O data. END K 10 svn:author V 6 jkoshy K 8 svn:date V 27 2005-11-19T12:21:11.000000Z K 7 svn:log V 189 - Move the documentation for the ENABLE_WPA_SUPPLICANT_EAPOL knob to into the list for 'world' builds. - Increase the width of a bullet list. - Use .Ss to name sub-sections of this file. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-19T14:01:32.000000Z K 7 svn:log V 161 Move MAX_IPOPTLEN and struct ipoption back into ip_var.h as userland programs depend on it. Pointed out by: le Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-19T15:08:05.000000Z K 7 svn:log V 14 Minor tweaks. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-19T16:38:39.000000Z K 7 svn:log V 93 Properly parse the nowin95 mount option. Tested by: Rainer Hurling END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-19T16:54:55.000000Z K 7 svn:log V 263 Load firmware images directly from the filesystem (looks into /etc/firmware directory by default) without requiring the user to load them by hand using e.g iwicontrol. Get rid of the old ioctl crud. Updated iwi-firmware port coming soon. Obtained from: OpenBSD END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-19T17:04:52.000000Z K 7 svn:log V 346 Remove 'ipprintfs' which were protected under DIAGNOSTIC. It doesn't have any know to enable it from userland and could only be enabled by either setting it to 1 at compile time or through the kernel debugger. In the future it may be brought back as KTR tracing points. Discussed with: rwatson Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-19T17:26:54.000000Z K 7 svn:log V 150 Remove references to iwicontrol. Firmware is now loaded by the driver itself. Remove references to wicontrol. wicontrol should not be used with iwi. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2005-11-19T19:20:56.000000Z K 7 svn:log V 57 New errata item: ipfw.ko does not support IPv6 on 6.0R. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-19T20:25:18.000000Z K 7 svn:log V 262 Finally bring in what was produced during Google SoC 2005: Add functions to rename objects and to move a subdisk from one drive to another. Obtained from: Chris Jones Sponsored by: Google Summer of Code 2005 MFC in: 1 week END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-19T20:26:52.000000Z K 7 svn:log V 325 Finally bring in what was produced during Google SoC 2005: Add functions to rename objects and to move a subdisk from one drive to another. Add manual page (finally). Bring up-to-date the online help. Obtained from: Chris Jones Sponsored by: Google Summer of Code 2005 MFC in: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-19T20:31:31.000000Z K 7 svn:log V 1091 MFC Begin and end the initialization of pvzone in pmap_init(). Previously, pvzone's initialization was split between pmap_init() and pmap_init2(). This split initialization was the underlying cause of some UMA panics during initialization. Specifically, if the UMA boot pages was exhausted before the pvzone was fully initialized, then UMA, through no fault of its own, would use an inappropriate back-end allocator leading to a panic. (Previously, as a workaround, we have increased the UMA boot pages.) Fortunately, there is no longer any reason that pvzone's initialization cannot be completed in pmap_init(). Eliminate a check for whether pv_entry_high_water has been initialized or not from get_pv_entry(). Since pvzone's initialization is completed in pmap_init(), this check is no longer needed. Use cnt.v_page_count, the actual count of available physical pages, instead of vm_page_array_size to compute the maximum number of pv entries. Introduce the vm.pmap.pv_entries tunable on alpha and ia64. Eliminate some unnecessary white space. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-11-19T20:31:32.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_1'. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-19T21:22:21.000000Z K 7 svn:log V 543 Parse more mount options in vfs_donmount(), before vfs_domount() is called. It looks like there are lots of different mount flags checked in vfs_domount(), so we need to do the parsing for these particular mount flags earlier on. The new flags parsed are: async, force, multilabel, noasync, noatime, noclusterr, noclusterw, noexec, nosuid, nosymfollow, snapshot, suiddir, sync, union. Existing code which uses mount() to mount UFS filesystems is not affected, but new code which uses nmount() to mount UFS filesystems should behave better. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-19T21:51:45.000000Z K 7 svn:log V 1002 Fix bug introduced in revision 1.186: When all file systems have a time stamp of zero, which is the case for example when the root file system is on a read-only medium, we ended up not calling inittodr() at all. A potential uncleanliness existed as well. If multiple file systems had a non-zero time stamp, we would call inittodr() multiple times. While this should not be harmful, it's definitely not ideal. Fix both issues by iterating over the mounted file systems to find the largest time stamp and call inittodr() exactly once with that time stamp. This could of course be a zero time stamp if none of the mounted file systems have a non-zero time stamp. In that case the annoying errors mentioned in the commit log for revision 1.186 still haven't been avoided. The bottom line is that inittodr() should not complain when it gets a time base of zero. At the time of this commit only alpha seems to have that problem. Reported by: Dario Freni (saturnero at freesbie dot org) MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2005-11-19T23:26:57.000000Z K 7 svn:log V 145 Return 0 if we are a network card and do match. Previously, we'd bogusly fail and the card wouldn't be detected. Submitted by: Bryan Blackburn END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-19T23:28:19.000000Z K 7 svn:log V 189 Add more options to ffs_opts, so that vfs_filteropts() will not complain when we pass these options to a UFS filesystem as strings via nmount(): noexec, nosuid, nosymfollow, sync, suiddir END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-20T00:38:06.000000Z K 7 svn:log V 692 Merge main.c:1.80, mbuf.c:1.45, netstat.h:1.46 from HEAD to RELENG_6: Modify netstat -mb to use libmemstat when accessing a core dump or live kernel memory and not using sysctl. Previously, libmemstat was used only for the live kernel via sysctl paths. This results in netstat output becoming both more consistent between core dumps and the live kernel, and also more information in the core dump case than previously (i.e., mbuf cache information). Statistics relating to sfbufs still rely on a kvm descriptor as they are not currently exposed via libmemstat. netstat -m operating on a core is still unable to print certain sfbuf stats available on the live kernel. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2005-11-20T00:40:03.000000Z K 7 svn:log V 271 Merge pstat.c:1.96 from HEAD to RELENG_6: Print (total - used) as the amount of available swap for a swap device when printing swapinfo output, rather than (total), as that is (strictly speaking) more accurate. Pointed out by: Rob END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-11-20T00:50:30.000000Z K 7 svn:log V 205 An empty file does not have a positive number of lines. Make sure that the number of lines read is non-zero before in order to avoid dumping core. Reported by: Wojciech A. Koszek Pointy hat to: cperciva END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-11-20T01:29:29.000000Z K 7 svn:log V 1126 Correct the API for Windows interupt handling a little. The prototype for a Windows ISR is 'BOOLEAN isrfunc(KINTERRUPT *, void *)' meaning the ISR get a pointer to the interrupt object and a context pointer, and returns TRUE if the ISR determines the interrupt was really generated by the associated device, or FALSE if not. I had mistakenly used 'void isrfunc(void *)' instead. It happens the only thing this affects is the internal ndis_intr() ISR in subr_ndis.c, but it should be fixed just in case we ever need to register a real Windows ISR vi IoConnectInterrupt(). For NDIS miniports that provide a MiniportISR() method, the 'is_our_intr' value returned by the method serves as the return value from ndis_isr(), and 'call_isr' is used to decide whether or not to schedule the interrupt handler via DPC. For drivers that only supply MiniportEnableInterrupt() and MiniportDisableInterrupt() methods, call_isr is always TRUE and is_our_intr is always FALSE. In the end, there should be no functional changes, except that now ntoskrnl_intr() can terminate early once it finds the ISR that wants to service the interrupt. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-20T01:31:29.000000Z K 7 svn:log V 364 Improve inittodr(). Assume the real-time clock is reliable and only use the base time in case the real-time clock is bogus or behind the base time. Most importantly, don't sanity-check the base time up front because it may be zero. This is not a preposterous condition. It just means that none of the file systems have their mount time updated. MFC after: 1 week END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2005-11-20T03:18:22.000000Z K 7 svn:log V 92 MFC 1.68: fix a typo that caused crashes and other problems when reading from ulpt devices. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-11-20T04:27:24.000000Z K 7 svn:log V 33 Fix compile on 64-bit platforms. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-11-20T06:09:49.000000Z K 7 svn:log V 46 Eliminate pmap_init2(). It's no longer used. END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-20T10:35:46.000000Z K 7 svn:log V 49 Fix whitespace issues. Pointed out by: joel@ END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-20T10:40:06.000000Z K 7 svn:log V 47 Fix whitespace issue. Pointed out by: joel@ END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-20T12:12:31.000000Z K 7 svn:log V 266 Always declare variables at the start of the function. Don't allocate potentially large variables on the stack. Check strsep() return values when the string comes from userland. Shorten variable names for lucidity's sake. most of the stuff: Pointed out by: njl@ END K 10 svn:author V 2 le K 8 svn:date V 27 2005-11-20T12:14:18.000000Z K 7 svn:log V 12 Whitespace. END K 10 svn:author V 3 dds K 8 svn:date V 27 2005-11-20T13:48:15.000000Z K 7 svn:log V 114 Use the appropriate error function for displaying the error, instead of printing it to stdout. MFC after: 1 week END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-20T16:02:04.000000Z K 7 svn:log V 150 Don't use /etc/firmware. /etc is for configuration files only. Use /boot to store firmware files instead. Requested by: Daniel O'Connor, Scott Long END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-11-20T16:13:00.000000Z K 7 svn:log V 75 Use memcpy/memset consistently accross ipw and iwi instead of bcopy/bzero. END K 10 svn:author V 5 andre K 8 svn:date V 27 2005-11-20T16:17:12.000000Z K 7 svn:log V 121 Include ip_options.h for IPX-IP encapsulation. Noticed by: Tinderbox Sponsored by: TCP/IP Optimization Fundraise 2005 END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-20T17:04:50.000000Z K 7 svn:log V 315 If export mount flag is not passed in, set default parameters for export structure and pass that to vfs_export(). Currently in userland mount(8), an export structure is unconditionally passed in, only for UFS. This is an attempt to move that UFS-specific behavior out of mount(8) and into the UFS filesystem code. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-20T20:17:04.000000Z K 7 svn:log V 58 Restored a cleanup in rev.1.9 tthat was lost in rev.1.10. END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-21T00:38:21.000000Z K 7 svn:log V 833 Use double precision to simplify and optimize a long division. On athlons, this gives a speedup of 10-20% for tanf() on uniformly distributed args in [-2Pi, 2Pi]. (It only directly applies for 43% of the args and gives a 16-20% speedup for these (more for AXP than A64) and this gives an overall speedup of 10-12% which is all that it should; however, it gives an overall speedup of 17-20% with gcc-3.3 on AXP-A64 by mysteriously effected cases where it isn't executed.) I originally intended to use double precision for all internals of float trig functions and will probably still do this, but benchmarking showed that converting to double precision and back is a pessimization in cases where a simple float precision calculation works, so it may be optimal to switch precisions only when using extra precision is much simpler. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-21T01:12:37.000000Z K 7 svn:log V 178 MFC sycalls.master revision 1.199 MFC vfs_syscalls.c revision 1.395 - Push Giant down in for extended attributes - Mark extended attribute related system calls as being MP safe END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-21T01:36:28.000000Z K 7 svn:log V 76 Regenerate "generated from" portions of various files after a: make sysent END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-11-21T03:37:43.000000Z K 7 svn:log V 593 Add a hack to ignore PCR bit for 6300ESB, 82801[D-G]B chips. It seems that enabling busmastering would result in PCR bit ON after codec reset. While I'm here add DELAY(1) to codec access routine to give reasonable time to codec operation. Without the delay, it would cause problems on super-fast machines(> 2GHz). Also enable legacy audio for all 6300ESB, 82801[D-G]B chips. Previously, it enabled legacy audio for 82801DB(ICH4) chip only. Reported by: Maxim Maximov mcsi AT mcsi DOT pp DOT ru Andrew Bliznak andriko.b AT gmail DOT com Tested by: brueffer, Maxim Maximov, Andrew Bliznak END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-11-21T04:17:43.000000Z K 7 svn:log V 1006 busdma cleanup for em(4). - don't force busdma to pre-allocate bounce pages for parent tag. - use system supplied roundup2 macro instead of rolling its own version. - TX/RX decriptor length should be multiple of 128. There is no no need to expand the size with the multiple of 4096. - don't create/destroy DMA maps in TX/RX handlers. Use pre-allocated DMA maps. Since creating DMA maps on sparc64 is time consuming operations(resource mananger overhead), this change should boost performance on sparc64. I could get > 2x speedup on Ultra60. - TX/RX descriptors could be aligned on 128 boundary. Aligning them on PAGE_SIZE is waste of resource. - don't blindly create TX DMA tag with size of MCLBYTES * 8. The size is only valid under jumbo frame environments. Instead of using the hardcoded value, re-compute necessary size on the fly. - RX side bus_dmamap_load_mbuf_sg(9) support. - remove unused macro EM_ROUNDUP and constant EM_MMBA. Reviewed by: scottl Tested by: glebius END K 10 svn:author V 4 arun K 8 svn:date V 27 2005-11-21T04:47:46.000000Z K 7 svn:log V 85 Create a device node in /dev when a USB keyboard is plugged in. Reviewed by: grehan END K 10 svn:author V 3 bde K 8 svn:date V 27 2005-11-21T04:57:12.000000Z K 7 svn:log V 569 Mess up the "kernel" float trig function .c files with ifdefs so that they can be #included in other .c files to give inline functions, and use them to inline the functions in most callers (not in e_lgammaf_r.c). __kernel_tanf() is too large and complicated for gcc to inline very well. An athlons, this gives a speed increase under favourable pipeline conditions of about 10% overall (larger for AXP, smaller for A64). E.g., on AXP, sinf() on uniformly distributed args in [-2Pi, 2Pi] now takes 30-56 cycles; it used to take 45-61 cycles; hardware fsin takes 65-129. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-21T14:41:10.000000Z K 7 svn:log V 260 Fix mysterious build failures (with parallel make) early in buildkernel: provide a real but dummy name to ${DEPENDFILE} so that the relevant exists() check in bsd.prog.mk fails and ensures that ${GENHDRS} are built before any other objects. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-21T16:44:16.000000Z K 7 svn:log V 253 - Merge FreeBSD Configuration subsection etc. with SYNOPSIS. - Remove the description of how to build a module. - Remove the description of how to patch the sources. - Refer to the polling(4) manpage on how to enable the polling mode. - Tidy up markup. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-21T17:18:34.000000Z K 7 svn:log V 33 Tidy up markup and fix two bugs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-21T18:39:17.000000Z K 7 svn:log V 588 Expand the hack to mask the atpics if 'device atpic' is not in the kernel during boot up. Now we do a full reset of the 8259As and setup a simple interrupt handler (we actually borrow the apic one that just does an immediate iret) to handle any spurious interrupts triggered by either chip. This should fix some folks that were getting a Trap 30 during bootup of certain SMP AMD systems. This might get pushed into the 6.0 branch as an errata. For now a suitable workaround is to add 'device atpic' to your kernel config. Tested by: scottl Helpful info from: dillon MFC after: 1 week END K 10 svn:author V 4 rees K 8 svn:date V 27 2005-11-21T18:39:18.000000Z K 7 svn:log V 181 fix a problem with XID re-use when a server returns NFSERR_JUKEBOX. Submitted by: cel@citi.umich.edu Fixed by: rick@snowhite.cis.uoguelph.ca Approved by: alfred MFC after: 3 weeks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-21T19:06:25.000000Z K 7 svn:log V 101 Add an alternate ID for the arm920t (the real solution is to have per-cpu class masks, but oh well). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2005-11-21T19:10:44.000000Z K 7 svn:log V 180 Force pmap to write-back the pte cacheline after each pte modification, even if the pte is supposed to be cached in write through mode (might be a skyeye bug, I'll have to check). END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-11-21T19:22:10.000000Z K 7 svn:log V 205 Fix for a bug that causes SACK scoreboard corruption when the limit on holes per connection is reached. Reported by: Patrik Roos Submitted by: Mohan Srinivasan Reviewed by: Raja Mukerji, Noritoshi Demizu END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-11-21T19:23:46.000000Z K 7 svn:log V 439 - Always return success from NFS strategy. nfs_doio(), in the event of an error, does the right thing, in terms of setting the error flags in the buf header. That fixes a crash from bstrategy(). - Treat ETIMEDOUT as a "recoverable" error, causing the buffer to be re-dirtied. ETIMEDOUT can occur on soft mounts, when the number of retries are exceeded, and we don't want data loss in that case. Submitted by: Mohan Srinivasan END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-11-21T19:25:24.000000Z K 7 svn:log V 210 Fix for a bug where NFS/TCP would not reconnect (in the case where the server FIN'ed). Seen with Solaris NFS servers. Reported by: TOMITA Yoshinori Submitted by: Mohan Strinivasan END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-21T19:33:23.000000Z K 7 svn:log V 130 MFC: If we get a source index in a _PRT entry that is not zero, assume that it is really a hard-wired IRQ and not a source index. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-21T19:41:52.000000Z K 7 svn:log V 29 MFC: Markup and misc. fixes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-21T20:11:39.000000Z K 7 svn:log V 132 Pull up sys/modules/acpi/acpi/Makefile,v 1.10 change by iedowse@. This should fix another parallel make breakage, reported by pjd@. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-21T20:17:46.000000Z K 7 svn:log V 222 Create DEFAULTS files for alpha, ia64, powerpc, and sparc64 and move 'device mem' over from GENERIC to DEFAULTS to be consistent with i386 and amd64. Additionally, on ia64 enable ACPI by default since ia64 requires acpi. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-21T20:22:35.000000Z K 7 svn:log V 513 Don't enable PUC_FASTINTR by default in the source. Instead, enable it via the DEFAULTS kernel configs. This allows folks to turn it that option off in the kernel configs if desired without having to hack the source. This is especially useful since PUC_FASTINTR hangs the kernel boot on my ultra60 which has two uart(4) devices hung off of a puc(4) device. I did not enable PUC_FASTINTR by default on powerpc since powerpc does not currently allow sharing of INTR_FAST with non-INTR_FAST like the other archs. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2005-11-21T21:27:40.000000Z K 7 svn:log V 200 Teach schedgraph how to parse KTR_CRITICAL records. critical_enter/exit events are now plotted as a counting graph, similar to CPU load, so that their duration and critnest values can be visualized. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-21T21:40:33.000000Z K 7 svn:log V 150 Turn PUC_FASTINTR back off on by default on sparc64 since it breaks with the built-in serial ports on the ultra60 and e4500. In collusion with: kris END K 10 svn:author V 5 wilko K 8 svn:date V 27 2005-11-21T21:42:43.000000Z K 7 svn:log V 59 add witty remark about serious thought. MFC after: 2 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-21T21:50:07.000000Z K 7 svn:log V 627 Various fixes to make de(4) not panic after ru@'s IF_LLADDR() changes: - Don't call tulip_addr_filter() to reset the RX address filter in tulip_reset() since that gets called before ether_ifattach(). Just call it in tulip_init_locked(). - Use be16dec() and le16dec() to parse MAC addresses when programming the RX filter. - Let ether_ioctl() handle SIOCSIFMTU since we were doing the exact same thing with the added bonus that we leaked the driver lock if the MTU was > ETHERMTU in the homerolled version. This part will be MFC'd. Clue from: wpaul (1) Stolen from: marcel (2 via patch for dc(4)) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-21T22:01:16.000000Z K 7 svn:log V 770 Fix the code to look up the BIOS IRQ for a given link device by reading the IRQ set by the BIOS in existing devices to actually get the correct bus number of the child PCI bus. I was not reading the bus number from the bridge device correctly. The __BUS_ACCESSOR() macros (from which pcib_get_bus() is built) assume that the passed in argument is a child device. However, at the time I'm reading the bus there is no child device yet, so I was passing in the pcib device as the child device. The parent of the pcib device probably returned an error in the case of a host bridge, thus resulting in random stack garbage for the bus number. For PCI-PCI bridges, the bus number being used was actually the subvendor of the PCI-PCI bridge device itself. MFC after: 1 week END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-21T22:07:54.000000Z K 7 svn:log V 144 For mounting a UFS filesystem, call nmount() directly, instead of having special logic which called mount() in a separate mount_ufs() function. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2005-11-21T22:14:49.000000Z K 7 svn:log V 720 Overhaul nve(4) locking to make it more like other ethernet drivers in the tree. - Add locked variants of nve_start(), nve_init(), and nve_ifmedia_upd(). - Use callout_* to manage callouts rather than timeout(9). - Mark interrupt handler MPSAFE (IFF_NEEDGIANT was already clear). - Lock the driver lock in driver entry points such as the interrupt handler, if_start, and if_init rather than locking the driver mutex in the various work functions called by the binary blob. The spin lock used by the binary block can probably be stubbed out now. - Use IFQ_DRV_IS_EMPTY() macro rather than doing it by hand. - Fix locking in detach. - Remove some unused fields from the softc. Tested by: cognet MFC after: 2 weeks END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2005-11-21T22:51:16.000000Z K 7 svn:log V 34 Bring mount_nullfs up to WARNS=6. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2005-11-22T01:51:57.000000Z K 7 svn:log V 191 Resolve misalignment traps caused by changes to IF_LLADDR(). Use de16dec() and le16dec() to fetch the link-level address from struct ifnet. Tested on: alpha Reviewed by: jhb See also: de(4) END K 10 svn:author V 3 jdp K 8 svn:date V 27 2005-11-22T01:55:29.000000Z K 7 svn:log V 234 Fix a bug in the loop in sonewconn that makes room on the incomplete connection queue for a new connection. It was removing connections from the wrong list. Submitted by: Paul Mikesell Sponsored by: Isilon Systems MFC after: 1 week END K 10 svn:author V 2 bp K 8 svn:date V 27 2005-11-22T02:01:01.000000Z K 7 svn:log V 47 MFC: Allow overriding of remote port numbers. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-22T02:06:59.000000Z K 7 svn:log V 286 MFC revision 1.111 MFC revision 1.110 MFC revision 1.109 - Lock the object while traversing the list of it's backing objects - Use the correct object while calculating offsets - Conditionally pickup Giant if debug.mpsafevfs == 0 or if the file system is not marked as being MP safe. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-11-22T02:12:08.000000Z K 7 svn:log V 36 MFC revision 1.119 Giant push down END K 10 svn:author V 2 bp K 8 svn:date V 27 2005-11-22T02:15:46.000000Z K 7 svn:log V 124 Prevent module unloading if there are active connections. PR: kern/89085 Submitted by: Rostislav Krasny MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-11-22T03:34:09.000000Z K 7 svn:log V 108 Cache the result of battery info retrieval from smbat as well as cmbat. Reviewed by: njl MFC after: 3 days END K 10 svn:author V 2 bp K 8 svn:date V 27 2005-11-22T07:13:00.000000Z K 7 svn:log V 366 Fix interaction with Windows 2000/XP based servers: If the complete reply on the TRANS2_FIND_FIRST2 request fits exactly into one responce packet, then next call to TRANS2_FIND_NEXT2 will return zero entries and server will close current transaction. To avoid subsequent errors we should not perform FIND_CLOSE2 request. PR: kern/78953 Submitted by: Jim Carroll END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-22T11:31:03.000000Z K 7 svn:log V 46 Fold some common stuff into a macro ${KMAKE}. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-22T12:02:41.000000Z K 7 svn:log V 236 Get rid of SPECIAL_INSTALLCHECKS variable that isn't settable by a user. Instead, add individual checks as dependencies to the main "installcheck" target. Make sure that installkernel etc. depend on it (including the UID/GID checks). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-11-22T12:46:15.000000Z K 7 svn:log V 168 Check IFF_DRV_RUNNING in the re_intr() loop. It can disappear, since re_rxeof() drops the lock for some time. Reported & tested by: XueFeng Deng END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-22T14:21:03.000000Z K 7 svn:log V 38 Remove unused function and variables. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-22T16:37:45.000000Z K 7 svn:log V 809 - Add a new method ofw_bus_default_get_devinfo() that allows to retrieve a newly introduced struct ofw_bus_devinfo which can hold the OFW info of a device recallable via the ofw_bus KOBJ interface. Introduce a set of functions ofw_bus_gen_get_*() which use ofw_bus_default_get_devinfo() to provide generic subroutines for implementing the rest of the ofw_bus KOBJ interface in a bus driver. This is inspired by bus_get_resource_list() and bus_generic_rl_*_resource() and allows to reduce code duplication in bus drivers as they only have to provide an ofw_bus_default_get_devinfo() implementation in order to provide the ofw_bus KOBJ interface via ofw_bus_gen_get_*(). - While here add a comment to ofw_bus_if.m describing the intention of the ofw_bus KOBJ interface. Reviewed by: marcel END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-22T16:39:44.000000Z K 7 svn:log V 652 - Convert these bus drivers to make use of the newly introduced set of ofw_bus_gen_get_*() for providing the ofw_bus KOBJ interface in order to reduce code duplication. - While here sync the various sparc64 bus drivers a bit (handle failure to attach a child gracefully instead of panicing, move the printing of child resources common to bus_print_child() and bus_probe_nomatch() implementations of a bus into a _print_res() function, ...) and fix some minor bugs and nits (plug memory leaks present when attaching a bus or child device fails, remove unused struct members, ...). Additional testing by: kris (central(4) and fhc(4)) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-22T17:12:49.000000Z K 7 svn:log V 333 Move zs.c from files to files.powerpc as zs(4) by now is only supported on powerpc (more or less...). That way people updating from FreeBSD 5 to FreeBSD 6 and beyond on sparc64 will get an error from config(8) rather than a mysterious compile error when they have a stale 'device zs' in their kernel config file. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-22T17:25:10.000000Z K 7 svn:log V 260 Conditionalize the compilation of the envctrl.c front-end of pcf(4) additionally on ebus(4) as the 'SUNW,envctrl' devices (as well as 'SUNW,envctrltwo' and 'SUNW,rasctrl', which we might want to also support in envctrl.c in the future) are only found on EBus. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-22T17:32:51.000000Z K 7 svn:log V 212 - Add ofw_bus_if.h to SRCS on sparc64 as envctrl.c and pcf_ebus.c depend on it. - Sync with sys/conf/files* and build pcf_isa.c only on i386 for now. - Try to adhere to style.Makefile(5) (sorting, whitespace). END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-22T18:51:43.000000Z K 7 svn:log V 295 Revise hcsecd(8) and sdpd(8) rc.d scripts one more time - Use _prestart rc.d method to automatically kldload ng_btsocket(4) if needed; - Rename "sdpd_user" to "sdpd_username" and "sdpd_group" to "sdpd_groupname" to avoid collision with "magic" variables; Inspired by: yar MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2005-11-22T19:13:09.000000Z K 7 svn:log V 144 MFC 1.46: Do not explicitly state how many bytes an argument list can be in the description of E2BIG, since it's now larger on some platforms. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-11-22T19:17:41.000000Z K 7 svn:log V 100 Remove not needed redirection of kldstat -q output to /dev/null. Noticed by: pjd MFC after: 3 days END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-11-22T19:17:42.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-11-22T19:17:43.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-22T20:47:43.000000Z K 7 svn:log V 22 Unbreak installworld. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-11-22T20:58:58.000000Z K 7 svn:log V 32 MFC: Reimplement the -I option. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-11-22T21:04:22.000000Z K 7 svn:log V 67 MFC: rev. 1.6 Mention that this driver does not work on i386+PAE. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-22T21:34:26.000000Z K 7 svn:log V 1032 Some clean-up, style changes and changes that will reduce differences between this driver and other Host-PCI bridge drivers based on this one: - Make the code fit into 80 columns. - Make the code adhere style(9) (don't use function calls in initializers, use uintXX_t instead of u_intXX_t, add missing prototypes, ...). - Remove unused and superfluous struct declaration, softc member, casts, includes, etc. - Use FBSDID. - Sprinkle const. - Try to make comments and messages consistent in style throughout the driver. - Use convenience macros for the number of interrupts and ranges of the bridge. - Use __func__ instead of hardcoded function names in panic strings and error messages. Some of the hardcoded function names actually were outdated through moving code around. [1] - Rename softc members related to the PCI side of the bridge to sc_pci_* in order to make it clear which side of the bridge they refer to (so stuff like sc_bushandle vs. sc_bh is less confusing while reading the code). PR: 76052 [1] END K 10 svn:author V 5 dougb K 8 svn:date V 27 2005-11-22T22:24:27.000000Z K 7 svn:log V 357 Update the test for failed zone transfers to reflect BIND 9.3.1 semantics Simplify the shell scripting a bit, and remove a useless grep | sed The problem was pointed out by the PR, and I used part of the solution suggested there, but the semantics changed again for 9.2.x -> 9.3.x. PR: conf/74228 Submitted by: Jeremy Chadwick END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-11-22T22:32:50.000000Z K 7 svn:log V 1636 - Add a workaround (change the interrupt map mask to compare the full INO) for incorrect interrupt map entries on E250 machines. These incorrect entries caused the INO of the on-board HME to be also assigned to the second on-board NS16550 and to the on-board printer port controller. Further down the road caused hme(4) to fail to attach to the on-board HME in FreeBSD 5 and 6 as INTR_FAST and non-INTR_FAST handlers can't share the same IRQ there (it's unknown what whould happen in -CURRENT now that INTR_FAST and non-INTR_FAST handlers can share an IRQ but I'd expect funny problems with uart(4)). - Make sure there are exactly 4 PCI ranges instead of just checking that the bridge has a 'ranges' property in the OFW device tree at all. Besides the fact that currently the 64bit memory range isn't used by this driver it we can't really work with less than 4 ranges and don't have memory for more than 4 bus handles for the ranges in the softc. - Remove sc_range and sc_nrange from softc; for the bridges supported by this driver we no longer need to know the ranges besides the bus handles obtained from them once this driver is attached. That way we also can free the memory allocated for sc_range during attach again. - Remove sc_dvmabase from the softc and pass it to psycho_iommu_init() via an additional argument as we no longer need to know the DVMA base in this driver once the IOMMU is initialized. - Remove sc_dmatag from the softc, there isn't much sense in keeping the nexus dma tag around locally. PR: 88279 [1] Info from: OpenSolaris [1] Tested by: kensmith [1] MFC after: 1 month END