ƒ°129639 202 3666 163 121 296 239 197 188 310 168 143 155 184 434 182 838 182 257 251 186 177 256 161 110 233 507 1239 175 258 189 102 160 126 134 204 146 153 153 166 200 159 172 239 193 147 177 133 237 180 140 135 123 150 167 808 136 171 237 201 128 128 136 172 791 269 445 565 212 187 183 229 158 202 300 162 164 159 377 144 433 288 134 428 170 185 174 282 214 110 215 145 223 169 121 123 133 224 138 182 182 359 210 272 151 1018 139 622 146 148 261 141 553 142 117 277 182 103 280 240 939 214 254 212 149 150 150 239 147 140 131 182 171 434 563 121 171 292 361 175 278 143 174 328 180 343 749 359 334 320 162 164 221 324 258 253 137 358 138 121 141 123 187 188 132 381 105 198 450 155 291 345 121 120 105 661 436 182 186 279 983 188 235 205 248 149 314 223 183 156 244 199 195 294 206 170 107 1148 199 431 201 605 291 315 K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-05-24T04:06:14.000000Z K 7 svn:log V 3568 The socket code upcalls into the NFS server using the so_upcall mechanism so that early processing on mbufs can be performed before a context switch to the NFS server threads. Because of this, if the socket code is running without Giant, the NFS server also needs to be able to run the upcall code without relying on the presence on Giant. This change modifies the NFS server to run using a "giant code lock" covering operation of the whole subsystem. Work is in progress to move to data-based locking as part of the NFSv4 server changes. Introduce an NFS server subsystem lock, 'nfsd_mtx', and a set of macros to operate on the lock: NFSD_LOCK_ASSERT() Assert nfsd_mtx owned by current thread NFSD_UNLOCK_ASSERT() Assert nfsd_mtx not owned by current thread NFSD_LOCK_DONTCARE() Advisory: this function doesn't care NFSD_LOCK() Lock nfsd_mtx NFSD_UNLOCK() Unlock nfsd_mtx Constify a number of global variables/structures in the NFS server code, as they are not modified and contain constants only: nfsrvv2_procid nfsrv_nfsv3_procid nonidempotent nfsv2_repstat nfsv2_type nfsrv_nfsv3_procid nfsrvv2_procid nfsrv_v2errmap nfsv3err_null nfsv3err_getattr nfsv3err_setattr nfsv3err_lookup nfsv3err_access nfsv3err_readlink nfsv3err_read nfsv3err_write nfsv3err_create nfsv3err_mkdir nfsv3err_symlink nfsv3err_mknod nfsv3err_remove nfsv3err_rmdir nfsv3err_rename nfsv3err_link nfsv3err_readdir nfsv3err_readdirplus nfsv3err_fsstat nfsv3err_fsinfo nfsv3err_pathconf nfsv3err_commit nfsrv_v3errmap There are additional structures that should be constified but due to their being passed into general purpose functions without const arguments, I have not yet converted. In general, acquire nfsd_mtx when accessing any of the global NFS structures, including struct nfssvc_sock, struct nfsd, struct nfsrv_descript. Release nfsd_mtx whenever calling into VFS, and acquire Giant for calls into VFS. Giant is not required for any part of the operation of the NFS server with the exception of calls into VFS. Giant will never by acquired in the upcall code path. However, it may operate entirely covered by Giant, or not. If debug.mpsafenet is set to 0, the system calls will acquire Giant across all operations, and the upcall will assert Giant. As such, by default, this enables locking and allows us to test assertions, but should not cause any substantial new amount of code to be run without Giant. Bugs should manifest in the form of lock assertion failures for now. This approach is similar (but not identical) to modifications to the BSD/OS NFS server code snapshot provided by BSDi as part of their SMPng snapshot. The strategy is almost the same (single lock over the NFS server), but differs in the following ways: - Our NFS client and server code bases don't overlap, which means both fewer bugs and easier locking (thanks Peter!). Also means NFSD_*() as opposed to NFS_*(). - We make broad use of assertions, whereas the BSD/OS code does not. - Made slightly different choices about how to handle macros building packets but operating with side effects. - We acquire Giant only when entering VFS from the NFS server daemon threads. - Serious bugs in BSD/OS implementation corrected -- the snapshot we received was clearly a work in progress. Based on ideas from: BSDi SMPng Snapshot Reviewed by: rick@snowhite.cis.uoguelph.ca Extensive testing by: kris END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-05-24T04:46:54.000000Z K 7 svn:log V 72 Add support for BCM5705K Submitted by: candy@kgc.co.jp PR: kern/67110 END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-05-24T04:53:08.000000Z K 7 svn:log V 30 MFC: support for the BCM5705K END K 10 svn:author V 3 cjc K 8 svn:date V 27 2004-05-24T06:23:15.000000Z K 7 svn:log V 203 /usr is not really the ideal place for a ports application to store a frequently updated database. /var/db is a much more reasonable place for this kind of thing. Set a good example. Reviewed by: -arch END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-24T07:02:25.000000Z K 7 svn:log V 146 Store the target handles in a separate list from normal commands. Add a CTIO fast post routine to handle CTIO completions. Submitted by: mjacob END K 10 svn:author V 3 ume K 8 svn:date V 27 2004-05-24T07:27:26.000000Z K 7 svn:log V 104 drop packet which has ::1 as src or dst via other than lo0 like as rc.firewall does. MFC after: 1 week END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T09:50:57.000000Z K 7 svn:log V 92 Include for exit() and add a prototype for yyparse(). Approved by: das (mentor) END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-24T09:55:02.000000Z K 7 svn:log V 217 Fixed insertion sort error in previous commit (prof_machdep.c). Fixed apparently-intentional disorder of the crypto files. Lists of files should be sorted first on the pathname, not on the option name or subsystem. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T10:11:31.000000Z K 7 svn:log V 72 Include for a sprintf() prototype. Approved by: das (mentor) END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-05-24T11:01:45.000000Z K 7 svn:log V 51 Remove another redundant if_output initialization. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-24T11:28:11.000000Z K 7 svn:log V 63 Don't repeat the definition of IDTVEC(). It is in asmacros.h. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-24T11:48:58.000000Z K 7 svn:log V 92 Move the task of updating nsswitch.conf / host.conf into a separate script called nsswitch. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-24T11:53:26.000000Z K 7 svn:log V 341 If nsswitch.conf does not exist, create it with the default settings. The reason for doing this is that (at least some) 4.x binaries are very unhappy if host.conf does not exist, and if we create host.conf but not nsswitch.conf, nsswitch.conf will be created at the next reboot, so it is better to create a correct nsswitch.conf right away. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T11:59:17.000000Z K 7 svn:log V 86 Include for ntoh*() and hton*() prototypes. Approved by: das (mentor) END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-24T12:08:56.000000Z K 7 svn:log V 745 Fixed profiling of trap, syscall and interrupt handlers and some ordinary functions, essentially by backing out half of rev.1.115 of amd64/exception.S. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .S files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T12:28:27.000000Z K 7 svn:log V 86 Include for a _rpc_dtablesize() prototype. Approved by: das (mentor) END K 10 svn:author V 2 le K 8 svn:date V 27 2004-05-24T12:38:54.000000Z K 7 svn:log V 165 Diff reduction to NetBSD. MFNetBSD 1.21; author: itojun use bounded string op MFNetBSD 1.22; author: grant s/netbsd.org/NetBSD.org/i Obtained from: NetBSD END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-24T12:42:16.000000Z K 7 svn:log V 158 Oops, ".align 4" for the data section in the previous commit should have been ".p2align 4". This bug is cosmetic since the data section happens to be empty. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T12:44:00.000000Z K 7 svn:log V 90 Include for prototypes of various string functions. Approved by: das (mentor) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T13:21:24.000000Z K 7 svn:log V 81 Include for exit() and abort() prototypes. Approved by: das (mentor) END K 10 svn:author V 2 le K 8 svn:date V 27 2004-05-24T13:22:00.000000Z K 7 svn:log V 164 Add option '-o' for one-line output in combination with '-d'. PR: bin/62911 (patch slightly adopted) Submitted by: Corris Randall END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T13:39:06.000000Z K 7 svn:log V 65 Include for kldload(). Approved by: das (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-24T14:17:19.000000Z K 7 svn:log V 18 Install nsswitch. END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-05-24T14:40:10.000000Z K 7 svn:log V 140 MFC changes 1.29 -> 1.30 Remove a trailing newline, to behave as documented in syslog(3): "A trailing newline is added if none is present." END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-05-24T15:51:46.000000Z K 7 svn:log V 414 Revert part of rev 1.230 and assume that all EISA IRQs use active high polarity rather than assuming that level triggered IRQs use active low and edge triggered IRQs use active high. Both the MultiProcessor 1.4 and ACPI 2.0 Specifications state in their examples that level triggered EISA IRQs are active low, but in practice they seem to be active high. Reported by: Nik Azim Azam nskyline_r35 at yahoo dot com END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-24T15:52:57.000000Z K 7 svn:log V 1145 Do not write to those config registers that are unambiguously defined in the various pci specifications as readonly. vendor, subvendor, device and subdevice are required to be loaded in hardware by some means that isn't the system BIOS or other system software (although some devices do have ways of accomplishing this). class and subclass are defined to be read-only in section 6.2.1 (v2.2). Apart from the status register, which we weren't touching, these are the only read-only registers I could find in the 2.2 spec. progif is also defined as being read-only in section 6.2.1. However, the PCI IDE programming document specifically states that some of the bits are read/write. Since we may have to restore registers before we have a driver attached, go ahead and restore this one byte when transitioning between D3 and D0. The PCI spec also says that writes to reserved and unimplemented registers must be completed normally. It makes no statements about writes to read-only registers, so be as conservative as possible, while covering the exception to the rule that is documented in a subpart of the standard. Requested by: socttl END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T16:10:57.000000Z K 7 svn:log V 79 Include for time conversion functions. Approved by: das (mentor) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T16:24:26.000000Z K 7 svn:log V 161 Use the correct types for the functions rst_opendir(), glob_readdir() and rst_closedir() which are called by glob(). Reviewed by: md5 Approved by: das (mentor) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-24T16:48:53.000000Z K 7 svn:log V 93 Don't declare spectHex() inside a function, use a real prototype. Approved by: das (mentor) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-05-24T17:40:32.000000Z K 7 svn:log V 9 Grammar. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-24T17:41:05.000000Z K 7 svn:log V 68 Use PCI_BAR() in preference to PCI_MAPS + x * 4. Submitted by: jhb END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-05-24T17:42:16.000000Z K 7 svn:log V 32 o MFC rev. 1.144: fix comments. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-05-24T18:31:56.000000Z K 7 svn:log V 42 Change a if (...) panic() to a KASSERT(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-05-24T19:39:23.000000Z K 7 svn:log V 111 Wrap the code to save/restore PCI config registers on suspend/resume in #ifndef BURN_BRIDGES. Noticed by: phk END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-05-24T19:39:56.000000Z K 7 svn:log V 54 Use PCI_BAR() rather than PCIR_MAPS. Noticed by: phk END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-05-24T20:41:40.000000Z K 7 svn:log V 58 Use NG_HOOKSIZ instead of the deprecated (NG_HOOKLEN + 1) END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-05-24T20:45:53.000000Z K 7 svn:log V 58 Use NG_NODESIZ instead of (NG_NODELEN + 1) Noted by: jhb END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-24T21:31:30.000000Z K 7 svn:log V 74 Mark du(1) as WARNS6 clean. Tested on: alpha, amd64, i386, ia64, sparc64 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-24T22:19:27.000000Z K 7 svn:log V 107 Add humanize_number(3) to libutil for formating numbers into a human readable form. Obtained from: NetBSD END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-24T22:22:29.000000Z K 7 svn:log V 67 Use humanize_number(3) to format sizes into a human readable form. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-24T22:52:32.000000Z K 7 svn:log V 80 In verbose mode print disk sizes in human readable form as well. OK'ed by: phk END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-05-24T22:56:15.000000Z K 7 svn:log V 144 Add two new flags: -w, which allows new files to be created, and -U, which allows the umask to be set. Obtained from: Patton Electronics, Co. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-24T23:03:29.000000Z K 7 svn:log V 100 Add manual page for geom(8) utility. Supported by: Wheel - Open Technologies - http://www.wheel.pl END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-24T23:05:21.000000Z K 7 svn:log V 55 - Add a cross-reference to geom(8). - Add missing 'a'. END K 10 svn:author V 5 mdodd K 8 svn:date V 27 2004-05-25T01:40:27.000000Z K 7 svn:log V 83 - Close fd if fdopen(fd) fails. - Format return () to resemble the one 5 lines up. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:34:44.000000Z K 7 svn:log V 41 Vendor import of Intel ACPI-CA 20040514. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:34:44.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r129684, 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 2004-05-25T02:34:45.000000Z K 7 svn:log V 84 This commit was manufactured by cvs2svn to create tag 'acpica-vendor-sys-r20040514'. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:39:01.000000Z K 7 svn:log V 48 Unchanged files that are off the vendor branch. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:39:46.000000Z K 7 svn:log V 43 Local diff: allow use of the disassembler. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:40:48.000000Z K 7 svn:log V 31 Local change: remove warnings. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:41:19.000000Z K 7 svn:log V 58 Local change: don't hang forever if WAK_STS is never set. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:41:49.000000Z K 7 svn:log V 75 Local change: allow usermode to compile this header. Submitted to vendor. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:47:35.000000Z K 7 svn:log V 715 Changes to implement 20040514: * Add calls to AcpiSetGpeType. We use wake/run as the type for lid and button switches since wake-only causes Thinkpads to immediately wake on the second suspend. Note that with wake/run, some systems return both wake and device-specific notifies so we don't register for system notifies for lid and button switches. * Remove the hw.acpi.osi_method tunable since it is not needed. * Always print unknown notifies for all types. * Add more cleanup for the EC if it fails to attach. * Use the GPE handle now that we parse it. This allows GPEs to be defined in AML GPE blocks. * Always use ACPI_NOT_ISR since it's ok to acquire a mutex in our thread which processes queued requests. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T02:56:55.000000Z K 7 svn:log V 44 Add suspend/resume support to the debugger. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T03:06:37.000000Z K 7 svn:log V 79 Remove a warning of a constant that is too large. Change submitted to vendor. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T03:06:37.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r129694, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T04:18:22.000000Z K 7 svn:log V 108 Remove call to _INI for thermal devices. ACPI-CA now calls _INI for Devices, ThermalZones, and Processors. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-25T05:27:16.000000Z K 7 svn:log V 33 Update for 4.10 Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-25T05:29:02.000000Z K 7 svn:log V 33 Update for 4.10 Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-25T05:30:47.000000Z K 7 svn:log V 41 Update for 4.10-RELEASE Approved by: re END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-25T05:33:40.000000Z K 7 svn:log V 77 Update __FreeBSD_version for 4.10. Note that it is 491000. Approved by: re END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-05-25T05:51:17.000000Z K 7 svn:log V 698 Correct two error cases in vm_map_unwire(): 1. Contrary to the Single Unix Specification our implementation of munlock(2) when performed on an unwired virtual address range has returned an error. Correct this. Note, however, that the behavior of "system" unwiring is unchanged, only "user" unwiring is changed. If "system" unwiring is performed on an unwired virtual address range, an error is still returned. 2. Performing an errant "system" unwiring on a virtual address range that was "user" (i.e., mlock(2)) but not "system" wired would incorrectly undo the "user" wiring instead of returning an error. Correct this. Discussed with: green@ Reviewed by: tegge@ END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T05:52:48.000000Z K 7 svn:log V 176 Use the correct location of the EBDA for searching for the RSDP. The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E. Pointed out by: robert.moore AT intel.com END K 10 svn:author V 5 joerg K 8 svn:date V 27 2004-05-25T07:34:20.000000Z K 7 svn:log V 350 Null commit: this is just a notification only that this file has been repo-copied over from src/sys/i386/isa/pcf.c which will be removed from the old location as soon as the new stuff here is ready for the masses. The intention is to work up the old pcf(4) driver to become machine independant, so it can be used for any PCF8584-controller I2C bus. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2004-05-25T07:42:45.000000Z K 7 svn:log V 470 Round #1 of improving pcf(4). This splits the driver into a bus-independant backend, plus bus-specific frontends. The old pcf(4) (i386/ISA) frontend is now in pcf_isa.c, the frontend in envctrl.c is for sparc64/Ebus2 (Sun device name: SUNW,envctrl from Sun E450 machines). More frontends are expected to appear in future. This is not yet ready for public consumption, but it basically works. Nicolas will bring over his ISA-specific fixes soon. Reviewed by: nsouch END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-25T10:42:52.000000Z K 7 svn:log V 119 Provide trivial macro implementations of getwc(), getwchar(), putwc() and putwchar() to reduce function call overhead. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-05-25T10:43:46.000000Z K 7 svn:log V 93 o Fix typo: s/bslim/bhlim/. PR: docs/67170 Submitted by: Anatoly Zherdev MFC after: 3 days END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-25T10:45:24.000000Z K 7 svn:log V 91 Scan the source string for invalid wide characters in wcsrtombs() in the dst == NULL case. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T11:04:01.000000Z K 7 svn:log V 136 Set baudrate to 100 Mbps, and advertise our ability to handle extended frames (802.1q). Submitted by: Steinar Haug END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T11:33:19.000000Z K 7 svn:log V 66 Set the IFCAP_VLAN_MTU bit in capenable as well. Reminded by: ru END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-25T12:02:49.000000Z K 7 svn:log V 109 Fix typo in previous: getwc() should call fgetwc(), not the function version of itself. Noticed by: stefanf END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T12:06:26.000000Z K 7 svn:log V 207 As previously threatened, give each device its own sysctl context and subtree (under the new dev top-level node). This should greatly simplify drivers which need per-device sysctl variables (such as ndis). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-25T12:11:13.000000Z K 7 svn:log V 70 Actually negative size is possible for file system, but not for disk. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-25T12:41:02.000000Z K 7 svn:log V 72 Revert to rev. 1.36 until issues with -Wredundant-decls are sorted out. END K 10 svn:author V 3 gad K 8 svn:date V 27 2004-05-25T14:05:25.000000Z K 7 svn:log V 67 Add pgrep(1) and pkill(1) to the cross-reference section of ps(1). END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-05-25T14:06:09.000000Z K 7 svn:log V 279 Unlike previous releases we want a few notes in the errata docs at the point the release goes out so we're adding it now to RELENG_4 and then will MFS it. This will probably be backed out so the entries are empty in RELENG_4 some time after the 4.10 release. Reviewed by: bmah END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-25T14:20:51.000000Z K 7 svn:log V 49 Add errata for the 4.10 release Approved by: re END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-05-25T14:30:12.000000Z K 7 svn:log V 340 After all the relevant drivers have been fixed, fix vlan(4) itself WRT manipulating capabilities of the parent interface: - use ioctl(SIOCSIFCAP) to toggle VLAN_MTU (the way that was done before was just wrong); - use the right order of conditional clauses to set the MTU fudge (that is logically independent from toggling VLAN_MTU.) END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-05-25T14:49:46.000000Z K 7 svn:log V 195 Teach fxp(4) to control VLAN_MTU in the hardware. Now reception of extended frames can be toggled through ioctl(SIOCSIFCAP). The card will also receive extended frames when in promiscuous mode. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-25T14:53:47.000000Z K 7 svn:log V 42 Use humanize_number(3). Reminded by: jhb END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-05-25T15:02:12.000000Z K 7 svn:log V 334 Add a super-user check to ipfw_ctl() to make sure that the calling process is a non-prison root. The security.jail.allow_raw_sockets sysctl variable is disabled by default, however if the user enables raw sockets in prisons, prison-root should not be able to interact with firewall rule sets. Approved by: rwatson, bmilekic (mentor) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-25T15:20:10.000000Z K 7 svn:log V 75 Trim the package list down some due to overflow problems. Approved by: re END K 10 svn:author V 4 bmah K 8 svn:date V 27 2004-05-25T15:47:50.000000Z K 7 svn:log V 92 Fix version number when referring to the current FreeBSD release. Approved by: re (scottl) END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-05-25T15:47:51.000000Z K 7 svn:log V 78 This commit was manufactured by cvs2svn to create tag 'RELENG_4_10_0_RELEASE'. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-25T16:17:39.000000Z K 7 svn:log V 189 Enable GPE at runtime rather than suspend time. This is to match the new behavior in ACPI-CA that defers GPE configuration. This is a temporary measure while reworking the GPE interface. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T16:31:49.000000Z K 7 svn:log V 121 MFS: rev 1.187.2.27 through 1.187.2.29, fix MS_INVALIDATE semantics but provide a sysctl knob for reverting to old ones. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-05-25T17:02:20.000000Z K 7 svn:log V 13 Fix spelling END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-05-25T17:41:08.000000Z K 7 svn:log V 117 Tagging for the 4.10 release is done so this is probably the right time to shift RELENG_4 from PRERELEASE to STABLE. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T18:28:52.000000Z K 7 svn:log V 53 Back out previous commit; it went to the wrong file. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T18:40:53.000000Z K 7 svn:log V 130 MFS: vm_map.c rev 1.187.2.27 through 1.187.2.29, fix MS_INVALIDATE semantics but provide a sysctl knob for reverting to old ones. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-05-25T18:53:54.000000Z K 7 svn:log V 73 You want to include libutil.h, not util.h. Some minor sentence tweaking. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-05-25T19:15:02.000000Z K 7 svn:log V 25 Definition of recursion. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-05-25T20:08:50.000000Z K 7 svn:log V 32 'ld' lists drives, not volumes. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-25T20:11:50.000000Z K 7 svn:log V 41 Humanize_number(3) is a part of libutil. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-05-25T21:54:07.000000Z K 7 svn:log V 131 Keepalive timer should be added if we does not have any sppp consumers before and should be deleted if we do not have any anymore. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T22:46:38.000000Z K 7 svn:log V 46 Cosmetic change to simplify patch generation. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T23:01:21.000000Z K 7 svn:log V 90 MFS: msync(2) with the MS_INVALIDATE flag should not delete dirty pages. Approved by: so END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-25T23:07:55.000000Z K 7 svn:log V 90 MFS: msync(2) with the MS_INVALIDATE flag should not delete dirty pages. Approved by: so END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-26T00:19:39.000000Z K 7 svn:log V 266 devlist2h.awk is too generic a name for what it does. It really converts miidevs to a .h file, so rename to reflect that. The usb and pccard versions have also been renamed and will be hooked into the build system shortly (I've made the conversion in my p4 tree). END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-26T00:38:52.000000Z K 7 svn:log V 117 Fix disorder introduce in 1.862 by sorting emu10k before miidevs.h, rather than after. bde inspired words: disorder END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-26T00:53:10.000000Z K 7 svn:log V 179 Move to generating pccarddevs.h on the fly, both for the kernel and the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-05-26T06:44:34.000000Z K 7 svn:log V 59 Bump patch level and document the change. Approved by: so END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-26T07:43:41.000000Z K 7 svn:log V 925 MFamd64: Fixed profiling of trap, syscall and interrupt handlers and some ordinary functions, essentially by backing out half of rev.1.106 of i386/exception.s. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .s files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls. vm86bios.s is included as before, but it is now between the labels for interrupt handlers again, which seems to be wrong since half of it is for a non-interrupt handler. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-05-26T08:53:59.000000Z K 7 svn:log V 48 MFC: Maintain statistics about received frames. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-26T09:43:38.000000Z K 7 svn:log V 529 Quick fix for overflow when tsc_freq >= 2^31. "int profrate" in struct gmon and struct gmonhdr was originally just to represent the kernel (profiling) clock frequency and it remains poorly suited to representing the frequencies of fast counters like the TSC. It broke a year or two ago. This quick fix keeps it working for another year or month or two until TSC frequencies can exceed 2^32, by dividing the frequency by 2. Dividing the frequency by 4 would work for a little longer but would lose a little too much precision. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-26T11:08:35.000000Z K 7 svn:log V 54 Print provider's size in human-readable form as well. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-05-26T11:34:51.000000Z K 7 svn:log V 56 Update the status of VLAN support in interface drivers. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-26T11:36:27.000000Z K 7 svn:log V 168 Dump some more informations: - device state - list of used providers - total number of disks - number of disks online Prodded by: Alex Deiter END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-05-26T11:41:26.000000Z K 7 svn:log V 49 if_printf() won't emit a newline unless told to. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-05-26T12:06:52.000000Z K 7 svn:log V 460 Move the per-CPU vmspace pointer fixup that is required before a struct vmspace is freed from cpu_sched_exit() to pmap_release(). This has the advantage of being able to rely on MI code to decide when a free should occur, instead of having to inspect the reference count ourselves. At the same time, turn the per-CPU vmspace pointer into a pmap pointer, so that pmap_release() can deal with pmaps exclusively. Reviewed (and embrassing bug spotted) by: jake END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-05-26T12:09:39.000000Z K 7 svn:log V 50 Retire cpu_sched_exit(); it is not used any more. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-05-26T13:10:37.000000Z K 7 svn:log V 24 MFi386: revision 1.493. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-26T16:31:41.000000Z K 7 svn:log V 184 Add pccarddevs.h and usbdevs.h as depends, ala miidevs.h, in the right places. This should have been committed last night with the rest of my changes, but wasn't. Pointy hat to: imp END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-26T16:36:32.000000Z K 7 svn:log V 90 Sysctl hw.bus.devctl_disable shouldn't be writtable from inside a jail. Approved by: imp END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-26T17:51:53.000000Z K 7 svn:log V 11 Fix order. END K 10 svn:author V 5 josef K 8 svn:date V 27 2004-05-26T20:18:58.000000Z K 7 svn:log V 185 Unbreak build if options BKTR_USE_FREEBSD_SMBUS is defined in kernel configuration. Submitted by: Tom Convery PR: kern/60458 Approved by: imp END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-05-26T21:14:13.000000Z K 7 svn:log V 142 Silence some constness and printf type warnings. Most of the const fixes are ugly 'cos the types in an iovec aren't quite right for a writev. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-05-26T21:59:01.000000Z K 7 svn:log V 846 It seems that clearing the MCR_IE bit in the modem control register does not reliably prevent the triggering of interrupts for all supported configurations. Thus, the FIFO size probe could cause an interrupt, which could lead to an interrupt storm in the shared interrupt case. To prevent this, change ns8250_bus_probe() to use the overflow bit in the line status register instead of the RX ready bit in the interrupt identification register to detect whether the FIFO has filled up. This allows us to clear all bits in the interrupt enable register during the probe, which should prevent interrupts reliably. Additionally, the detected FIFO size may be a bit more accurate, because the overflow bit is only set when the FIFO did actually fill up, while interrupts would trigger a bit early. Reviewed and tested on a lot of hardware by: marcel END K 10 svn:author V 4 matk K 8 svn:date V 27 2004-05-26T22:05:50.000000Z K 7 svn:log V 120 Add PCI ID for via 8237. Submitted by: Josh Elsasser Approved by: tanimura (mentor) PR: kern/61730 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-05-26T22:58:06.000000Z K 7 svn:log V 158 Add support for an /etc/eui64 file modeled on /etc/ethers. The API is modeled on ethers(3) except that all functions are thread-safe. Reviewed by: simokawa END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-05-26T22:59:55.000000Z K 7 svn:log V 116 Use new eui64(3) functions to print EUI-64s and to allow access to nodes by EUI-64 and name. Reviewed by: simokawa END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-05-26T23:03:27.000000Z K 7 svn:log V 57 Those sysctls shouldn't be writtable from inside a jail. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-27T01:27:04.000000Z K 7 svn:log V 58 Sort includes, remove unnecssary ones. Submitted by: bde END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-27T01:31:11.000000Z K 7 svn:log V 58 These are now not needed, after repo copy and conversion. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-27T03:49:45.000000Z K 7 svn:log V 146 Fix disordering of pccarddevs.h noticed by bde. Also remove a few redundant includes and fix some of the include disordering. Submitted by: bde END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T03:58:55.000000Z K 7 svn:log V 50 Add read-only support for .Z compressed archives. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T04:00:25.000000Z K 7 svn:log V 43 Add prototypes for .Z compression support. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T04:01:58.000000Z K 7 svn:log V 34 GC some no-longer-used constants. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T04:21:52.000000Z K 7 svn:log V 85 Document support for reading .Z compressed archives. Correct a few other minor nits. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T04:30:59.000000Z K 7 svn:log V 74 Provide framework for exiting with non-zero value on non-critical errors. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T04:35:36.000000Z K 7 svn:log V 336 Minor corrections to error handling and user notifications: * Move format/compression reporting to end of output, since we don't always know the input format until then. * Set bsdtar exit value to 1 if any file could not be restored. * Generate gtar-style warning when stripping leading '/' characters. * Warn when removing symlinks. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T05:02:35.000000Z K 7 svn:log V 465 Previously, restoring an archive with hardlinked files that had certain flags set (e.g., schg or uappend) would fail because the flags were restored before the hardlink was created. To address this, I've generalized the existing machinery for deferring directory timestamp/mode restoration and used it to defer the restoration of highly-restrictive flags to the end of the extraction, after any links have been created. Pointed out by: Pawel Jakub Dawidek (pjd@) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-05-27T06:19:32.000000Z K 7 svn:log V 24 Note 4.10-RELEASE date. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-05-27T06:21:52.000000Z K 7 svn:log V 74 MFS of rev 1.73.2.91, note 4.10-RELEASE date. Approved by: re (implicit) END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-27T10:08:44.000000Z K 7 svn:log V 199 Bring back the macro versions of getwc(), getwchar(), putwc() and putwchar(), but this time avoid redundantly declaring __stdinp and __stdoutp when source files include both and . END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-27T10:54:34.000000Z K 7 svn:log V 268 Buffer partial wide characters more efficiently: instead of storing the multibyte representation in conversion state objects, store the accumulated wide character, set number and number of bytes remaining to avoid having to derive them every time mbrtowc() is called. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-05-27T11:12:07.000000Z K 7 svn:log V 83 Touch .Dd because the content of the manpage has been updated. Pointed out by: ru END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-05-27T11:34:21.000000Z K 7 svn:log V 185 Correct some types in the yp structures; this fixes a number of problems on sparc64. Obtained from and cross-checked with the NetBSD version of this file and the rpcgen-generated code. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2004-05-27T13:29:09.000000Z K 7 svn:log V 49 Make "envctrl" a known master driver for iicbus. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2004-05-27T13:31:16.000000Z K 7 svn:log V 80 Fix an off-by-one error in the range check for the maximal -i or -o block size. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-05-27T14:36:58.000000Z K 7 svn:log V 235 POLA dictates that VLAN_MTU be enabled by default. In particular, disabling it was likely to break configurations involving ng_vlan(4) since the latter couldn't control the parent's VLAN_MTU in the way vlan(4) did. Pointed out by: ru END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-27T15:21:51.000000Z K 7 svn:log V 88 Fixing disorder is the hardest thing in the world: Learn to sort :-) Submitted by: bde END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-05-27T17:23:32.000000Z K 7 svn:log V 247 Fix stupid patch(1) tricks. Apparently patch thinks all files match the empty file so if you accidently apply a patch created with diff -N twice, you get files with duplicate contents. Reported by: Antoine Brodin END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-27T18:38:45.000000Z K 7 svn:log V 656 Restructure the wake GPE API. Now there are three functions: acpi_wake_init: Evaluate _PRW and set the GPE type acpi_wake_set_enable: Enable or disable a device's GPE. acpi_wake_sleep_prep: Perform any last-minute changes to the device to prepare it for entering the given sleep state. Also, walk the entire namespace when transitioning to a sleep state, disabling any GPEs which aren't appropriate for the given state. Transition acpi_lid and acpi_button to the new API. This clears the way for non-ACPI-aware devices to wake the system (i.e. modems) and fixes a problem where systems power up after shutdown when a GPE is triggered. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-27T19:23:27.000000Z K 7 svn:log V 266 Check for >= 255 since sign extension from byte to u_int sometimes makes the value for "unknown" 0xffffffff. The underlying kernel drivers should be updated to only return 255 but the ABI is used by too many userland utilities. Also, make this WARNS 6 compatible. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-05-27T20:34:04.000000Z K 7 svn:log V 237 Call nfsm_clget_nolock() instead of nfsm_clget() when holding the NFS subsystem lock to avoid tripping over an assertion regarding whether the lock is held or not. This is likely to be the cause of a panic tripped over by Andrea Campi. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T21:27:42.000000Z K 7 svn:log V 222 'gnutar' is now handled by the 'tar' reader, so there's no need to enable support for it separately from 'tar.' (The call to enable gnutar support is now just an alias for the tar support, left in to avoid API breakage.) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-27T22:43:10.000000Z K 7 svn:log V 70 Use rman_get_start in preference to reaching into the rman structure. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-05-27T23:23:36.000000Z K 7 svn:log V 72 New errata: The release notes should have mentioned the bfe(4) driver. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-05-27T23:42:26.000000Z K 7 svn:log V 125 Add ftp-proxy 8021/tcp in order to make the inetd.conf entry actually work. Submitted-by: brueffer Approved-by: bms(mentor) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-05-27T23:51:05.000000Z K 7 svn:log V 228 FreeBSD-ify the manpage. Our inetd does not support bind-address:port syntax Christian will follow up with some additional words about how to protect this from the outside world. Submitted-by: brueffer Approved-by: bms(mentor) END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-27T23:57:45.000000Z K 7 svn:log V 160 Connect libarchive decompress support to the build. Also, add it to archive_read_support_compression_all() so that typical clients get it pulled in by default. END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-05-28T00:05:28.000000Z K 7 svn:log V 160 give out a little more information in case of a missing dependency PR: 56549 Submitted by: edwin Reviewed by: joerg, ru Approved by: joerg MFC after: 2 weeks END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-05-28T00:12:38.000000Z K 7 svn:log V 45 Add FreeBSD 4.10-RELEASE. MFC after: 3 days END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-05-28T00:23:00.000000Z K 7 svn:log V 259 First release of ixgb driver for the Intel(R) PRO/10GbE Family of Adapters. This driver has been developed for use with FreeBSD, version 4.8 and later. Submitted by: Hema Joyce Reviewed by: Prafulla Deuskar Approved by: Prafulla Deuskar MFC after: 1 week END K 10 svn:author V 9 tackerman K 8 svn:date V 27 2004-05-28T00:27:31.000000Z K 7 svn:log V 40 Adding ixgb(4) for Intel 10GbE Adapters END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-05-28T00:49:57.000000Z K 7 svn:log V 30 Define another HOTPLUG event. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-05-28T01:53:47.000000Z K 7 svn:log V 50 Don't compile ciss with CISS_DEBUG=0 as a module. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-28T02:23:10.000000Z K 7 svn:log V 31 Include required machine/bus.h END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-05-28T02:24:07.000000Z K 7 svn:log V 95 Don't nest includes here. There's no need and the subset included is lame. Submitted by: bde END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-05-28T02:50:43.000000Z K 7 svn:log V 93 Fix LP64 environments: cast a pointer type to intptr_t before casting to int and vice versa. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-28T04:42:10.000000Z K 7 svn:log V 37 Remove a redundant include directive END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-28T06:28:55.000000Z K 7 svn:log V 288 Attach per-device sysctls to allow users to set whether or not a given device can wake the system. For example: dev.root0.nexus0.acpi0.acpi_lid0.wake: 1 dev.root0.nexus0.acpi0.acpi_button0.wake: 1 dev.root0.nexus0.acpi0.pcib0.wake: 0 dev.root0.nexus0.acpi0.sio0.wake: 0 END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-28T06:29:30.000000Z K 7 svn:log V 13 Fix paste-o. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-28T06:32:16.000000Z K 7 svn:log V 105 Pass a pointer to the sleep state instead of casting gymnastics to pass the value itself in the pointer. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-28T07:04:09.000000Z K 7 svn:log V 357 Update the new suspend/resume GPE methods to properly limit the GPE based on the destination sleep state. Add a method to restore the old state on resume. This is needed for the case of suspending to a very low state disabling a GPE (i.e. S4), resuming, and then suspending to a higher state (i.e. S3). This case should now keep the proper GPEs enabled. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-28T07:15:55.000000Z K 7 svn:log V 63 Style cleanups. "extern" is unneeded for function prototypes. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-28T07:16:52.000000Z K 7 svn:log V 198 Now that we properly disable GPEs before entering a sleep state, including S5 (soft off), we don't need to disable ACPI when powering off. This may fix some systems that don't power off correctly. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-28T07:25:23.000000Z K 7 svn:log V 252 Unify the start/size parameters for the RSDP search area. Don't bother trying to exclude the top end of the range since it should hurt to overlap by 4 bytes in the off-chance the RSDP signature appears incorrectly at the very top of our search space. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-05-28T07:59:31.000000Z K 7 svn:log V 27 MFC rev. 1.20: fix a typo. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-05-28T14:20:06.000000Z K 7 svn:log V 26 Style. Submitted by: bde END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-28T16:38:37.000000Z K 7 svn:log V 13 Style fixes. END K 10 svn:author V 3 eik K 8 svn:date V 27 2004-05-28T17:17:15.000000Z K 7 svn:log V 568 - introduce a new primary `-depth n', which tests whether the depth of the current file relative to the starting point of the traversal is n. The usual +/- modifiers to the argument apply. - while I'm here, fix -maxdepth in the case of a depth-first traversal Print the top ten maintainers of python module ports (works with p5-* too): find /usr/ports -depth 2 \! -name 'py-*' -prune -o \ -depth 3 -name Makefile -execdir make -VMAINTAINER \; \ | sort | uniq -c | sort -nr | head PR: 66667 Reviewed by: ru, joerg Approved by: joerg MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-05-28T17:31:32.000000Z K 7 svn:log V 343 Don't assume that the current setting (_CRS) of a PCI link device is correct. Instead, check it against the possible settings (_PRS) when the link is probed. This is important when using APIC mode but link devices still have PIC mode settings. This is also what Linux does. Additional prodding by: Len Brown len dot brown at intel dot com END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-28T17:41:36.000000Z K 7 svn:log V 86 Include for the complete type of struct iovec. Approved by: das (mentor) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2004-05-28T17:44:11.000000Z K 7 svn:log V 90 Include to have a prototype for ether_ntoa(). Approved by: das (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-05-28T17:50:07.000000Z K 7 svn:log V 186 Reenable ithread preemption for interrupts that occur while executing in the kernel. I accidentally broke this with the new interrupt code that came in prior to 5.2. Submitted by: bde END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-05-28T19:42:02.000000Z K 7 svn:log V 890 Remove a broken micro-optimization from pmap_enter(). The ill effect of this micro-optimization occurs when we call pmap_enter() to wire an already mapped page. Because of the micro-optimization, we fail to mark the PTE as wired. Later, on teardown of the address space, pmap_remove_pages() destroys the PTE before vm_fault_unwire() has unwired the page. (pmap_remove_pages() is not supposed to destroy wired PTEs. They are destroyed by a later call to pmap_remove().) Thus, the page becomes lost. Note: The page is not lost if the application called munlock(2), only if it relies on teardown of the address space to unwire its pages. For the historically inclined, this bug was introduced by a megacommit, revision 1.182, roughly six years ago. Leak observed by: green@ and dillon independently Patch submitted by: dillon at backplane dot com Reviewed by: tegge@ MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-05-28T21:16:13.000000Z K 7 svn:log V 94 Add the integrated NICs on the Dell PowerEdge 1750 and 2650 to the list of supported devices. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2004-05-28T21:16:14.000000Z K 7 svn:log V 139 Look up ${CUSTOMIZE} in ${.CURDIR} first, and then as a path name by itself, assuming in the latter case that it is an absolute path name. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2004-05-28T21:16:44.000000Z K 7 svn:log V 107 Decide how much space we need to print a pointer using sizeof(void *) rather than if __alpha__ is defined. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2004-05-28T21:23:23.000000Z K 7 svn:log V 152 Support for optional initialization of the configuration slice by specifying the name of a directory to be copied there in Makefile variable CFGMASTER. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2004-05-28T21:26:49.000000Z K 7 svn:log V 54 Add trailing backslash missing from previous checkin. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-05-29T00:51:19.000000Z K 7 svn:log V 218 Switch to using C99 sparse initialisers for the type methods array. Should make no binary difference. Submitted by: Gleb Smirnoff Reviewed by: Harti Brandt MFC after: 1 week END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-29T01:09:00.000000Z K 7 svn:log V 130 Provide the _start_ctors and _stop_ctors symbols. As on i386, the addresses of these are the start and end of the .ctors section. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-29T01:13:28.000000Z K 7 svn:log V 91 Implement __bb_init_func. This is a fairly straightforward conversion of the i386 version. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-29T01:18:14.000000Z K 7 svn:log V 64 Enable MI bits for gcc -ftest-coverage -fprofile-arcs on amd64. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-29T01:22:53.000000Z K 7 svn:log V 151 Fix the type of struct bbf's arc_count member: according to gcc's definition of struct bb_function_info in libgcc2.c, it should be an int, not a long. END K 10 svn:author V 3 kan K 8 svn:date V 27 2004-05-29T04:05:37.000000Z K 7 svn:log V 106 Remove componenst which are not part of GCC 3.3 and which are not likely to get used again in the future. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-29T04:32:50.000000Z K 7 svn:log V 102 Style cleanups, don't set the device description before the probe routine has completed successfully. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-29T04:52:37.000000Z K 7 svn:log V 201 Throw the switch and enable use of the lowest idle states while online in addition to offline. This can be overridden in /etc/rc.conf if it causes trouble although this has been stable since 2003/12. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-05-29T05:34:04.000000Z K 7 svn:log V 113 Decrease sleep_delay default to 1 second now that the machines that required the 5 second delay have been fixed. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-05-29T05:36:43.000000Z K 7 svn:log V 76 Remove unneeded XXX comments botched in previous commit. Submitted by: bde END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-05-29T06:10:42.000000Z K 7 svn:log V 13 Format nits. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-05-29T06:41:17.000000Z K 7 svn:log V 1052 In subr_ndis.c, when searching for keys in our make-pretend registry, make the key name matching case-insensitive. There are some drivers and .inf files that have mismatched cases, e.g. the driver will look for "AdhocBand" whereas the .inf file specifies a registry key to be created called "AdHocBand." The mismatch is probably a typo that went undetected (so much for QA), but since Windows seems to be case-insensitive, we should be too. In if_ndis.c, initialize rates and channels correctly so that specify frequences correctly when trying to set channels in the 5Ghz band, and so that 802.11b rates show up for some a/b/g cards (which otherwise appear to have no 802.11b modes). Also, when setting OID_802_11_CONFIGURATION in ndis_80211_setstate(), provide default values for the beacon interval, ATIM window and dwelltime. The Atheros "Aries" driver will crash if you try to select ad-hoc mode and leave the beacon interval set to 0: it blindly uses this value and does a division by 0 in the interrupt handler, causing an integer divide trap. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-05-29T07:16:49.000000Z K 7 svn:log V 103 Missed these in the last commit. Change to C99 structure initialisation for the type method structure. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-05-29T07:21:46.000000Z K 7 svn:log V 335 Add a new netgraph method to allow restoration of some behaviour lost in the change from 4.x style netgraph tee nodes. Alter the tee node to use the new method. Document the behaviour. Step the ABI version number... old netgraph klds will refuse to load. Better than just crashing. Submitted by: Gleb Smirnoff END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-05-29T13:17:28.000000Z K 7 svn:log V 108 Switch to using C99 sparse initialisers for the type methods array. Requested by: harti MFC after: 1 week END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-05-29T14:51:23.000000Z K 7 svn:log V 508 Refuse to change the configuration index if the device has open pipes, since open pipes are linked off a usbd_interface structure that is free()'d when the configuration index is changed. Attempting to close or use such pipes later would access freed memory and usually crash the system. The only driver that is known to trigger this problem is if_axe, which is itself at fault, but it is worth detecting the situation to avoid the obscure crashes that result from this type of easily made driver mistakes. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-05-29T15:21:25.000000Z K 7 svn:log V 194 No need to conditionally acquire Giant in nfssvc_nfsd() because it is acquired by the caller. Should not cause problems, but causes an unnecessary recursion on Giant. Pointed out by: bmilekic END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-05-29T15:21:33.000000Z K 7 svn:log V 218 In axe_stop(), close the pipes before calling axe_reset(). axe_reset() changes the device configuration index, which should not be done while there are pipes open. Debugged with help from: Luke Dean END