ƒ°b164784 186 1449 553 215 214 159 209 237 273 104 180 163 143 160 171 250 193 125 153 166 196 853 173 179 116 136 193 167 118 215 246 381 357 389 224 250 156 162 156 255 185 122 171 645 485 357 610 462 452 777 486 951 639 150 329 224 320 205 1506 278 151 575 219 561 219 181 205 190 421 440 408 152 393 176 113 280 168 190 271 695 136 2241 156 271 202 241 180 208 179 172 559 237 126 536 186 181 143 572 315 147 172 165 459 168 115 305 317 653 161 139 249 221 989 156 348 142 110 284 131 119 128 103 175 289 118 170 323 103 681 290 298 131 348 146 175 456 297 296 167 230 151 174 104 137 152 121 164 501 438 360 214 255 490 997 174 129 148 223 250 250 395 422 201 131 256 352 691 198 325 155 185 127 114 144 263 374 149 129 121 143 129 288 285 213 304 194 199 K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-12-01T07:01:19.000000Z K 7 svn:log V 1350 The sigconv.awk script generates a sigdesc.h header file, which contains a sigdec[] vector of structures, but the generated output is missing braces around the initializer of each struct, which triggers warnings in WARNS=3: src/usr.bin/top/sigdesc.h:10: warning: missing braces around initializer src/usr.bin/top/sigdesc.h:10: warning: (near initialization for `sigdesc[0]') * Fix the sigconv.awk script to generate a header with initializers which look better. * Add rules to usr.bin/top/Makefile that rebuilds a new sigconv.h header which matches the correct signal set from the build-time version of `${DESTDIR}/usr/include/signal.h' (so sigconv.h doesn't get stale once changes are made to the header). * Remove the old sigconv.h header, now that it is autoupdated at build time. * Various Makefile style fixes (the committed Makefile was kindly submitted by Ruslan): - Reorder .PATH, PROG, SRCS and CFLAGS to match style.Makefile(5) - Split off the generated sources (sigdesc.h top.local.h) in an SRCS+= line of their own. - Add entries to CLEANFILES near the rules that generate the respective files. - Move the explicit rule which builds top.1 after the implicit rules which generate its dependencies. Reviewed by: ru, bde Submitted by: ru (Makefile) MFC after: 2 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-01T07:06:35.000000Z K 7 svn:log V 460 Use CTASSERT to make sure: sizeof ether_header is 2 * ETHER_ADDR_LEN + 2 (14) bytes long sizeof ether_addr is ETHER_ADDR_LEN bytes long On arm, this shows that struct ether_addr needs to be __packed. The first condition muts be true for the bridging code to not dump core. The second one appears to be implicitly relied upon by wi (but many of the rids it sends down likely need __packed too to be safe) and maybe others. It appears to not hurt anything. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-01T07:58:23.000000Z K 7 svn:log V 122 MFC rev. 1.31: Note that, thanks to the work by Alan Cox et al, some arch'es don't need sendfile() buffers any more. END K 10 svn:author V 3 yar K 8 svn:date V 27 2006-12-01T08:06:42.000000Z K 7 svn:log V 121 MFC rev 1.90: Note that not all architectures use sendfile(2) buffers; refer to the respective manpage for details. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-01T08:34:38.000000Z K 7 svn:log V 63 MFC: Store fault address into POSIX siginfo. PR: amd64/106109 END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-01T09:00:38.000000Z K 7 svn:log V 117 Add missing `;;' in the example shell code snippet. PR: i386/106113 Submitted by: Richard Arends MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-12-01T12:29:55.000000Z K 7 svn:log V 141 We can have no PV entry here if the previous mapping was unmanaged, and the new one is unmanaged too, so update the KASSERT to reflect this. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-01T12:49:08.000000Z K 7 svn:log V 181 MFC: Revert signedness type changes to "struct vmtotal" to keep overflows easier to detect. As a bonus, fix printing of other "struct vmtotal" members, t_rq, t_dw, t_pw, and t_sw. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-01T13:07:52.000000Z K 7 svn:log V 13 Grammar nit. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-12-01T15:54:34.000000Z K 7 svn:log V 87 MFC: revision 1.153 Increase USR_MIN_SIZE to 160 because it requires more disk space. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-01T16:03:39.000000Z K 7 svn:log V 71 clarify shortcut return Submitted by: cognet, kevlo MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-01T16:11:05.000000Z K 7 svn:log V 51 MFC: Don't try to print a NULL string during boot. END K 10 svn:author V 4 piso K 8 svn:date V 27 2006-12-01T16:23:25.000000Z K 7 svn:log V 67 Delete old (and now unused) alias_*.so.4 files. Approved by: gleb END K 10 svn:author V 4 piso K 8 svn:date V 27 2006-12-01T16:27:11.000000Z K 7 svn:log V 78 Remove m_megapullup from ng_nat and put it under libalias. Approved by: gleb END K 10 svn:author V 4 piso K 8 svn:date V 27 2006-12-01T16:34:53.000000Z K 7 svn:log V 156 Make libalias.conf parsing a bit smarter. This closes PR kern/106112. While here, add mbuf's #includes i forgot in the previous commit. Approved by: gleb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-01T16:55:14.000000Z K 7 svn:log V 100 MFC: Look for capabilities in PCI-PCI bidges using the same CAP PTR register as for type 0 devices. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-01T17:02:35.000000Z K 7 svn:log V 33 MFC: Add suspend/resume support. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-01T17:13:56.000000Z K 7 svn:log V 61 MFC: Trim some x86 interrupt-related noise from bootverbose. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-12-01T17:13:57.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_6_3'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-01T17:46:25.000000Z K 7 svn:log V 104 Give up on waiting for a repo-copy (no answer in 20 days), and commit my markup fixes. OK'ed by: kmacy END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-01T17:50:11.000000Z K 7 svn:log V 760 Move the __packed declarations. This makes sizeof(struct llc) 8 again on the arm. Add an assert to ensure that the size is 8 to prefent others from falling into this trap (we should have more of these). Why the construct: struct foo { union bar { struct { ... } __packed fred; ... } __packed wilma; } __packed; has a different packing than: struct foo { union bar { struct { ... } fred __packed; ... } wilma __packed; } __packed; is beyond my ability to ferret out of the gcc documentation. Most likely some subtle binding issue (eg before it says the struct itself is packed, while after it means that the whole struct is packed into the thing it is in). Pointers to relevant documentation would be appreciated. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-01T17:58:33.000000Z K 7 svn:log V 81 back out use of LLC_SNAPFRAMELEN now that sizeof(struct llc) isn't padded on arm END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-01T18:18:35.000000Z K 7 svn:log V 87 Use FreeBDS standard __packed as opposed to the gcc centric __attribute__(__packed__). END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-01T18:25:18.000000Z K 7 svn:log V 24 fix typo in last commit END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-01T18:37:41.000000Z K 7 svn:log V 44 Make sure that carp_header is 36 bytes long END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-01T18:40:51.000000Z K 7 svn:log V 100 Fix packing on the country band descriptor. No real change since this is unused. Reviewed by: sam END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-12-01T20:29:55.000000Z K 7 svn:log V 72 ALTQify ep(4). Tested and Requested by: Andy Brook MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-01T21:52:07.000000Z K 7 svn:log V 27 if_watchdog -> rl_watchdog END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-01T22:45:43.000000Z K 7 svn:log V 118 Remove obfuscating OpenBSD/NetBSD/BSDI/FreeBSD 2.x/FreeBSD 5.x ifdefs from around printfs and address list iteration. END K 10 svn:author V 5 erwin K 8 svn:date V 27 2006-12-01T22:49:51.000000Z K 7 svn:log V 151 - Add israeli mirror [1] - Add an IPv6 main site now both ISC and TDC have IPv6 Submitted by: Rostislav Krasny [1] MFC: 3 days END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-12-01T23:33:22.000000Z K 7 svn:log V 287 MFC: Do not mark Bluetooth HID device as "potential keyboard" if its descriptor has items with CONSUMER page. For now only check for items with KEYBOARD page. This should prevent bthidd(8) from allocating vkbd(4) keyboard for Microsoft Bluetooth Explorer mouse. Approved by: re (bmah) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-02T08:49:40.000000Z K 7 svn:log V 264 MFC: sys/geom/eli/g_eli.c 1.32,1.33 Skip disabled CPU, because after we sched_bind() to a disabled CPU, we won't be able to exit from the thread. Function g_eli_cpu_is_disabled() stoled from kern_pmc.c. PR: 104669 Reported by: Nikolay Mirin END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-02T08:52:40.000000Z K 7 svn:log V 296 MFC: sys/geom/eli/g_eli.c 1.32,1.33 Skip disabled CPU, because after we sched_bind() to a disabled CPU, we won't be able to exit from the thread. Function g_eli_cpu_is_disabled() stoled from kern_pmc.c. PR: kern/104669 Reported by: Nikolay Mirin Approved by: re (kensmith) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-02T09:00:09.000000Z K 7 svn:log V 131 MFC: sys/nfsserver/nfs_serv.c 1.167 Protect nfsm_srvpathsiz() call with the nfsd_mtx lock. Reviewed by: mohans Requested by: kib END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-02T09:02:30.000000Z K 7 svn:log V 157 MFC: sys/nfsserver/nfs_serv.c 1.167 Protect nfsm_srvpathsiz() call with the nfsd_mtx lock. Reviewed by: mohans Requested by: kib Approved by: re (rwatson) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-12-02T09:03:06.000000Z K 7 svn:log V 59 bce(4) does not work correctly in polling(4) mode for now. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-12-02T09:05:22.000000Z K 7 svn:log V 65 MFC: bce(4) does not work correctly in polling(4) mode for now. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-02T09:10:29.000000Z K 7 svn:log V 64 Softc may be NULL in g_journal_orphan(), so don't be surprised. END K 10 svn:author V 5 erwin K 8 svn:date V 27 2006-12-02T09:58:01.000000Z K 7 svn:log V 160 Add ftp.il.freebsd.org to the IPv6 server section. Submitted by: Rostislav Krasny Reviewed by: simon (also previous commit) MFC: 3 days END K 10 svn:author V 4 piso K 8 svn:date V 27 2006-12-02T10:30:23.000000Z K 7 svn:log V 92 Forced commit to use the correct PR syntax. PR: kern/106112 Noted by: ru END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-12-02T13:37:29.000000Z K 7 svn:log V 27 Provide stream operations. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-02T13:58:13.000000Z K 7 svn:log V 74 Add the linux module to the amd64 build, all symbols can now be resolved. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-02T14:56:25.000000Z K 7 svn:log V 547 MFP4 (108673, 110519, 110874): - Currently LINUX_MAX_COMM_LEN is smaller than MAXCOMLEN, but in case this will change we have a buffer overflow. Apply some defensive programming to DTRT when this should happen. - Use copyinstr() instead of copyin where appropriate. * Fallback to copyin() in case of ENAMETOOLONG. [1] * Use the right source and destination (it was wrong before). - Use strlcpy instead of strcpy. - Properly lock the read case (PR_GET_NAME) like the write case. Reviewed by: rwatson (except [1]) Suggested by: rwatson [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-02T15:32:34.000000Z K 7 svn:log V 389 Add a helper function mii_phy_dev_probe(), which wraps around the mii_phy_match() API and takes care of the PHY device probe based on the struct mii_phydesc array and the match return value provided. Convert PHY drivers to take advantage of mii_phy_dev_probe(), converting drivers to provide a mii_phydesc table in the first place where necessary. Reviewed by: yongari MFC after: 2 weeks END K 10 svn:author V 5 ariff K 8 svn:date V 27 2006-12-02T17:12:24.000000Z K 7 svn:log V 262 Add support for Apple Intel/Mac. - Playback and headphone/speaker automute works. - Recording untested due to me being deaf doing back-and-forth remote debugging. Free Macbook donation is highly appreciated :) Tested by: Dennis Pielken END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-02T19:35:56.000000Z K 7 svn:log V 513 Many, many thanks to Masanori OZAWA and Daichi GOTO for submitting this major rewrite of unionfs. This rewrite was done to try to solve many of the longstanding crashing and locking issues in the existing unionfs implementation. This implementation also adds a 'MASQUERADE mode', which allows the user to set different user, group, and file permission modes in the upper layer. Submitted by: daichi, Masanori OZAWA Reviewed by: rodrigc (modified for minor style issues) END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-02T19:36:25.000000Z K 7 svn:log V 366 Some style changes to a couple of PHY drivers: - Fix some whitespace nits. - Fix some spelling in comments. - Use MII_ANEGTICKS instead of 5. - Don't define variables in nested scope. - Remove superfluous returns at the end of void functions. - Remove unused static global rgephy_mii_model. - Remove dupe $Id$ in tdkphy(4). - Sort brgphys table. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-02T19:48:53.000000Z K 7 svn:log V 356 - Don't set MIIF_NOISOLATE so rgephy(4) can be used in configurations with multiple PHYs and un-comment case IFM_NONE in case MII_MEDIACHG rgephy_service(). There doesn't seem to be a problem with isolating RTL8169S and their internal PHY. - Take advantage of mii_phy_add_media(). [1] Obtained from: NetBSD [1] Tested by: yongari MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-02T20:16:45.000000Z K 7 svn:log V 681 - Don't set MIIF_NOISOLATE so tdkphy(4) can be used in configurations with multiple PHYs. There doesn't seem to be a problem with isolating 78Q2120 per se nor in combination with the NICs they're used with and tdkphy(4) was already adding IFM_NONE anyway. - Set MIIF_NOLOOP as loopback doesn't work with this PHY. The MIIF_NOLOOP flag currently triggers nothing but hopefully will be respected by mii_phy_setmedia() later on. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia(). Thanks to Hans-Joerg Sirtl for lending me test hardware. Obtained from: NetBSD tqphy(4) MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-02T21:18:56.000000Z K 7 svn:log V 390 - Add another Altima PHY, which is a AC101 workalike and integrated in at least ADMtek ADM8511 but apparently is not mentioned in any publically available data sheet so the actual identifier is unknown. - Add Davicom DM9102 PHY. - Add DM9101 to the description of AMD 79C873 as at least some Davicom DM9101F identify identical to AMD 79C873. Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-02T21:19:54.000000Z K 7 svn:log V 855 - In acphy_service() for the MII_TICK case don't bother to check whether the currently selected media is of type IFM_AUTO as auto-negotiation doesn't need to be kicked anyway. - Fix a whitespace nit. - Probe another Altima PHY, which is a AC101 workalike and integrated in at least ADMtek ADM8511 but apparently is not mentioned in any publically available data sheet so the actual identifier is unknown. - Don't set MIIF_NOISOLATE so acphy(4) can be used in configurations with multiple PHYs. There doesn't seem to be a problem with isolating AC101 and workalikes per se nor in combination with the NICs they're used with. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia(). Obtained from: NetBSD (except for the first and second item) MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-02T21:21:16.000000Z K 7 svn:log V 543 - Probe Davicom DM9102 PHYs. - Don't set MIIF_NOISOLATE so amphy(4) can be used in configurations with multiple PHYs. There doesn't seem to be a problem with isolating AM79c873 and workalikes per se nor in combination with the NICs they're used with and amphy(4) was already adding IFM_NONE anyway. - Use mii_phy_add_media() instead of mii_add_media() so the latter can be eventually retired. - Take advantage of mii_phy_setmedia(). - Fix a whitespace nit. Obtained from: NetBSD dmphy(4) (except for the last item) MFC after: 2 weeks END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2006-12-02T22:30:30.000000Z K 7 svn:log V 54 Add missing includes for and . END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-03T00:28:11.000000Z K 7 svn:log V 233 Fix a debug message which didn't quite get it right about data direction. Fix things to use the LSI-Logic Fusion Library mask and shift names for offset and sync, no matter how awkward they are, in preference to just plain numbers. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-03T00:29:51.000000Z K 7 svn:log V 128 Forced commit: previous revision just correctly reflected that the number of attached devices is 16 bits wide, not 8 bits wide. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-03T01:49:22.000000Z K 7 svn:log V 223 Introduce userspace condition variable, since we have already POSIX priority mutex implemented, it is the time to introduce this stuff, now we can use umutex and ucond together to implement pthread's condition wait/signal. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2006-12-03T02:46:34.000000Z K 7 svn:log V 111 MFC: revision 1.153 Increase USR_MIN_SIZE to 160 because it requires more disk space. Approved by: re (bmah) END K 10 svn:author V 3 bde K 8 svn:date V 27 2006-12-03T03:49:28.000000Z K 7 svn:log V 1412 Optimized RTC accesses by avoiding null writes to the index register and by only delaying when an RTC register is written to. The delay after writing to the data register is now not just a workaround. This reduces the number of ISA accesses in the usual case from 4 to 1. The usual case is 2 rtcin()'s for each RTC interrupt. The index register is almost always RTC_INTR for this. The 3 extra ISA accesses were 1 for writing the index and 2 for delays. Some delays are needed in theory, but in practice they now just slow down slow accesses some more since almost eveyone including us does them wrong so modern systems enforce sufficient delays in hardware. I used to have the delays ifdefed out, but with the index register optimization the delays are rarely executed so the old magic ones can be kept or even implemented non- magically without significant cost. Optimizing RTC interrupt handling is more interesting than it used to be because RTC interrupts are currently needed to fix the more efficient apic timer interrupts on some systems. apic_timer_hz is normally 2000 so the RTC interrupt rate needs to be 2048 to keep the apic timer firing on such systems. Without these changes, each RTC interrupt normally took 10 ISA accesses (2 PIC accesses and 2 sets of 4 RTC accesses). Each ISA access takes 1-1.5uS so 10 of then at 2048 Hz takes 2-3% of a CPU. Now 4 of them take 0.8-1.2% of a CPU. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-03T07:11:55.000000Z K 7 svn:log V 182 It's confusing to say that "Command Queueing Supported" just based upon the scsi flag validity field. Instead, just say "Command Queueing Enabled" when it is- otherwise remain mute. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-03T07:15:49.000000Z K 7 svn:log V 60 MFC: 1.28: Fix the hardware VLAN tagging. PR: kern/105054 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-03T07:19:28.000000Z K 7 svn:log V 479 Remove CTS_SPI_FLAGS_TAG_ENB. Nobody is using it and at least one author can't remember why it was there. The CTS_SCSI_FLAGS_TAG_ENB remains in place, and makes sense, and is checked all over the place. The CTS_SPI_FLAGS_TAG_ENB was probably an attempt to distinguish protocol and transport tag capabilities. At the very least this can be confusing and prone to many bugs, so let's just assume that the transport tag case just flows from the protocol (and vice versa) for now. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-03T07:22:15.000000Z K 7 svn:log V 123 Fix XPT_GET_TRANSPORT_SETTINGS to zero validity and flags- this was causing us to not negotiate sync at all, or at random. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-03T07:59:12.000000Z K 7 svn:log V 465 Fix a massive couple of botches here: the NVRAM settings read wasn't flagging the SYNC mode was enabled. The temp values for offset and sync period were uint8_t, but were being assigned and shifted from a uint32_t value. This didn't show up in testing because a random number of 1030 cards set a bit that says "honor BIOS negotiation", which means this whole code path was skipped. This should clear up at least some of the negotation issues that have been seen. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-03T08:22:36.000000Z K 7 svn:log V 124 o As POSIX requires confstr(3) returns zero on errors, not -1. PR: misc/106234 Submitted by: Guy Harris MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-12-03T10:56:34.000000Z K 7 svn:log V 84 MFC: rev. 1.27 Remove pre-5.3 compatibility ifdefs. Approved by: rwatson (mentor) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-03T15:22:45.000000Z K 7 svn:log V 110 o /stand/sysinstall -> /usr/sbin/sysinstall. PR: conf/106254 Submitted by: Simon Olofsson MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-03T15:25:55.000000Z K 7 svn:log V 96 o Fix typo: manger -> manager. PR: misc/106253 Submitted by: Niclas Zeising MFC after: 1 week END K 10 svn:author V 3 dds K 8 svn:date V 27 2006-12-03T17:05:04.000000Z K 7 svn:log V 328 Correct handling of format strings with escaped % specifications. Note: It would be nice to be able to implement getformat() using fmtcheck(3), but fmtcheck does not distinguish between signed and unsigned types, a facility jot needs to perform range checks on its output. Submitted by: Per Kristian Hove MFC after: 2 weeks END K 10 svn:author V 3 dds K 8 svn:date V 27 2006-12-03T17:50:21.000000Z K 7 svn:log V 347 Prevent buffer overflow when forcibly terminating an escape character. Obtained from: OpenBSD Note: In the case of a full buffer the OpenBSD implementation will leave in the format string an invalid escape sequence. This appears to be harmless with our C library, but according to C99 this can cause undefined behavior. MFC after: 2 weeks END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-12-03T18:32:51.000000Z K 7 svn:log V 312 MFC: rev. 1.8 from OpenBSD, rev. 1.91: fix servicecurve check; no point in checking the same sc three times, it was obviously intended to check all three. has been wrong since the beginning, 4 years... noticed by Earl Lapus , Vasil Dimov mailed me then, ok mcbride END K 10 svn:author V 5 luigi K 8 svn:date V 27 2006-12-03T19:01:42.000000Z K 7 svn:log V 58 MFC 1.33: use standard mode instead of 500 for /sbin/init END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-03T19:04:26.000000Z K 7 svn:log V 298 o Do not leave uninitialized birthtime: in MSDOSFSMNT_LONGNAME set birthtime to FAT CTime (creation time) and in the other cases set birthtime to -1. o Set ctime to mtime instead of FAT CTime which has completely different meaning. PR: kern/106018 Submitted by: Oliver Fromme MFC after: 1 month END K 10 svn:author V 3 dds K 8 svn:date V 27 2006-12-03T19:18:41.000000Z K 7 svn:log V 84 New test cases demonstrating fixed bugs, and the reason why fmtcheck can't be used. END K 10 svn:author V 3 dds K 8 svn:date V 27 2006-12-03T19:26:17.000000Z K 7 svn:log V 21 Minor clarification. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-03T21:00:31.000000Z K 7 svn:log V 182 MFP4 (110957) Use TAILQ_FOREACH_SAFE instead of the unsafe one where an item is removed from the queue. This prevents a panic on kldunload. Submitted by: rdivacky Tested by: bsam END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-03T21:02:09.000000Z K 7 svn:log V 71 Sync with i386 (remove the LINUX stuff) now that the module is usable. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-12-03T21:06:07.000000Z K 7 svn:log V 93 MFP4 (110939): MFi386: return EOPNOTSUPP for unknown module events. Submitted by: rdivacky END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2006-12-03T21:50:57.000000Z K 7 svn:log V 175 Fix SIOCGDRVSPEC/BRDGGIFSSTP ioctl: make it copyin() the user provided buffer length before trying to use it. Reviewed by: thompsa Approved by: bz (mentor) MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2006-12-03T23:50:29.000000Z K 7 svn:log V 600 - put some common code in a function handle_remount(); - add better checks on non-existing directories to prevent error messages at run time; - introduce a function log() to help debugging diskless booting when things don't work; - modify the parsing of diskless_remount so you can add mount_nfs options after the pathname. You could use 'remount' to do something similar, but this way is more convenient because you don't have to hardwire the server name in the command. - document the above. I have been running the above in a diskless lab since february on RELENG_6. MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-12-04T00:41:48.000000Z K 7 svn:log V 40 Improve style(9) conformance of igmp.c. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-04T00:51:08.000000Z K 7 svn:log V 2144 - In hme_stop() mask all interrupts. - In hme_eint() print MIF register contents on MIF interrupts. - In hme_mifinit() don't bother to preserve the previous MIF config. This was mainly done in order to preserve the PHY select bit (external or internal PHY) but which only needs to be set as appropriate when reading from or writing to the desired PHY in hme_mii_{read,write}reg(). Similarly don't bother to set the PHY select bit in hme_mii_statchg(). - In hme_mii_{read,write}reg() ignore requests to PHYs other than the external and internal PHY one. - Move enabling/disabling the MII drivers of the external transceiver from hme_init_locked() and based on the sheer presence of an external to hme_mifinit() and based on the currently selected media, defaulting to the internal transceiver when the media hasn't been set, yet. Invoke hme_mifinit() from the newly added hme_mediachange_locked() so the setting of the MII drivers is updated when changing media. These changes keep the MII bus from wedging (which manifests in the HME and the PHYs no longer being able to communicate with each other) when the PHY device drivers isolate the unused PHY in two-PHY configurations as present in f.e. Netra t1 100 while changing media, either from hme_init_locked() (see also below) or via ifconfig(8). They also allow for using both transceivers/PHYs. - In the newly added hme_mediachange_locked() also reset the PHYs in two- PHY configurations before invoking mii_mediachg(). This is required for successfully unisolating the previously unused PHY when switching between PHYs. - Now that changing media should no longer cause problems back out rev. 1.27 and re-enable setting the current media in hme_init_locked() (see the commit message of rev. 1.23 for more info). These changes are roughly a merge of NetBSD gem.c rev. 1.32 - 1.35 (1.30 was already fixed differently in our 1.36; 1.31 and 1.32 were wrong) with some parts reworked and things that don't make sense like setting the MII drivers and restoring the previous MIF and XIF settings in hme_mii_{read, write}reg() omitted. MFC after: 2 weeks END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-12-04T00:51:14.000000Z K 7 svn:log V 61 MFC: ALTQify ep(4). Tested and Requested by: Andy Brook END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-04T01:53:40.000000Z K 7 svn:log V 175 Remove the HME_LOCK_ASSERT() in hme_mifinit(), which was added in the previous revision; it's actually ok when invoking hme_mifinit() from hme_config() without the lock held. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-04T05:06:47.000000Z K 7 svn:log V 107 recent changes have caused TRAP_TRACING to induce corruption disable until the issue has been tracked down END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2006-12-04T08:01:53.000000Z K 7 svn:log V 143 Argh. Restore a stat() call that was erroneously removed. Thanks to: WATANABE, Kazuo Pointy hat: me, from the handy dispenser I keep nearby. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-04T08:45:52.000000Z K 7 svn:log V 88 MFC: sys/kern/vfs_subr.c 1.682 Add 'show vnode ' DDB command. Requested by: kib END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-12-04T08:47:53.000000Z K 7 svn:log V 115 MFC: sys/kern/vfs_subr.c 1.682 Add 'show vnode ' DDB command. Requested by: kib Approved by: re (kensmith) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-04T09:42:22.000000Z K 7 svn:log V 85 MFC rev. 1.16: check that -w width is not above maximum. Approved by: re (kensmith) END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-04T11:11:59.000000Z K 7 svn:log V 81 MFC: 1.15: Add missing `;;' in the example shell code snippet. PR: i386/106113 END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-04T12:26:52.000000Z K 7 svn:log V 463 MFC: rp.c 1.69, 1.71, 1.72; rp_isa.c 1.8; rp_pci.c 1.12; rpreg.h 1.8; rpvar.h 1.9, 1.10 - We know it is called rpclose() so call it directly. - Fix -Wundef from compiling the amd64 LINT. - Make rp(4) 64-bit- and endian-clean as well as work on strict alignment archs. - Instead of bus_space_{read,write}*(rman_get_bustag(), rman_get_bushandle()) use bus_{read,write}*(). Unlike in 7.0-CURRENT, this has no other benefit than diff reduction with HEAD. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-12-04T12:55:00.000000Z K 7 svn:log V 141 Do not forget to call pmap_free_l2_bucket() in pmap_remove_pages(). This can fix the pmap-related panics reported on arm. MFC After: 3 days END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-04T14:05:42.000000Z K 7 svn:log V 32 o Correct a function prototype. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-04T14:15:12.000000Z K 7 svn:log V 439 if a thread blocked on userland condition variable is pthread_cancel()ed, it is expected that the thread will not consume a pthread_cond_signal(), therefor, we use thr_wake() to mark a flag, the flag tells a thread calling do_cv_wait() in umtx code to not block on a condition variable. Thread library is expected that once a thread detected itself is in pthread_cond_wait, it will call the thr_wake() for itself in its SIGCANCEL handler. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-04T14:20:41.000000Z K 7 svn:log V 90 Use kernel provided userspace condition variable to implement pthread condition variable. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-04T14:27:42.000000Z K 7 svn:log V 85 Fix typo, I was using a wrong header file, and the typo is not detected by compiler. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2006-12-04T14:35:17.000000Z K 7 svn:log V 47 Fix my error in rev. 1.152 Submitted by: oleg END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2006-12-04T14:45:02.000000Z K 7 svn:log V 476 Add two new flags to if_bridge(4) indicating whether the edge flag of the bridge port and path cost have been administratively set or calculated automatically by RSTP. Make sure to transition from non-edge to edge when the port goes down and the edge flag was manually set before. This is needed to comply with the condition ((!portEnabled && AdminEdge) || ....) in the Bridge Detection State Machine (IEE802.1D-2004, p. 171). Reviewed by: thompsa Approved by: bz (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-04T16:45:23.000000Z K 7 svn:log V 222 Fix an edge case in rman_manage_region() where it didn't handle a resource ending at ULONG_MAX properly. While here, use TAILQ_FOREACH_SAFE(). Tested by: "Stephane E. Potvin" MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-12-04T17:08:43.000000Z K 7 svn:log V 55 Use _kevent() instead of kevent(). Requested by: nork END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-04T18:39:11.000000Z K 7 svn:log V 80 document recent change to return ECONNRESET for tcp sockets MFC after: 1 month END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-04T18:44:07.000000Z K 7 svn:log V 74 MFC: Support cross-building by just specifying TARGET. Requested by: sam END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-04T19:35:40.000000Z K 7 svn:log V 364 - separate out rounding memory ranges to 4M boundaries from OFW memory allocation bug workaround - create real_phys_avail which includes all memory ranges to be added to the direct map - merge in nucleus memory to real_phys_avail - distinguish between tag VA and index VA in tsb_set_tte_real for cases where page_size != index_page_size - clean up direct map loop END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-04T19:50:49.000000Z K 7 svn:log V 75 Use bge_flags to save chipset family and remove dead code while I am here. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-04T20:34:25.000000Z K 7 svn:log V 24 Grammar. OK'ed by: sam END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-04T22:12:21.000000Z K 7 svn:log V 211 - Add BGE_FLAG_JUMBO flag which idicates jumbo frame capability. Some day we may be able to support jumbo frames for BCM5714 and BCM5780. - Rename BGE_IS_5705_OR_BEYOND() to BGE_IS_5705_PLUS() for consistency. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2006-12-04T22:15:50.000000Z K 7 svn:log V 222 Bug fix for obscenely large wait times on uncontested locks if waittime was zero (the lock was uncontested) l->lpo_waittime in the hash table would not get initialized. Inspection prompted by questions from: Attilio Rao END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-04T22:38:52.000000Z K 7 svn:log V 559 MFP4: 109652 Fixes for 'blocking in fifoor state' problem of LTP tests. linux_*stat*() functions were opening files with O_RDONLY to get major/minor pair for char/block special files. Unfortunately, when these functions are used against fifo, it is blocked forever because there is no writer. Instead, we only open char/block special files for major/minor conversion. We have to get rid of kern_open() entirely from translate_path_major_minor() but today is not the day. While I am here, add checks for errors before calling translate_path_major_minor(). END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-04T22:41:41.000000Z K 7 svn:log V 69 start 'o man page for xscale npe ethernet driver MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-04T22:42:27.000000Z K 7 svn:log V 47 hook npe.4 up to arm build MFC after: 1 month END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-12-04T22:46:09.000000Z K 7 svn:log V 155 MFP4: 109653 Linux mknod(2) can open any files, not just char/block or fifo files. This fixes Linux Test Project test cases mknod01, mknod07 and mknod09. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-04T23:04:13.000000Z K 7 svn:log V 125 Initial cut at Basic Domain Validation- just add some states to traverse through during probing. Reviewed by: scsi (scottl) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2006-12-05T04:01:52.000000Z K 7 svn:log V 893 Fix gdb issue where the i-cache was not being updated when a breakpoint was written into a user's address space. The fix is to modify uiomove_fromphys to sync the icache when an executable user-space page is written into. Alan Cox suggested that there should probably be a higher-level interface to this in the ptrace code, but agreed that this is an OK short-term solution. Files changed: pmap.h - declaration of pmap_page_executable() pmap_dispatch.c - pass through the page_executable call to the mmu object mmu_oea.c - implement the page_executable method by examining the PTE_EXEC field in the vm_page_t uio_machdep.c - in uiomove_fromphys(), if the op was a UIO_WRITE to user-space, and if the page is executable, sync the icache since this is at the least a breakpoint-write from gdb. Reported by: marcel Tested by: marcel, grehan on g3+g4 Discussed with: alc MFC after: 2 weeks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-05T05:01:57.000000Z K 7 svn:log V 60 Tweak _thr_cancel_leave_defer a bit to fix a possible race. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-05T05:06:59.000000Z K 7 svn:log V 255 Reference Hauppage's cxm_iic bit-bang device here. Add a note that suggests a cleanup. Note: This patch was derived based on looking at the pvrxxx/pvr250 ports' Makefiles only, and may be incomplete. It is not derived from anything I saw from Hauppage. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-05T05:14:56.000000Z K 7 svn:log V 46 Add a test for pthread's cv and cancellation. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-05T05:31:49.000000Z K 7 svn:log V 14 Fix spelling. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-05T06:11:10.000000Z K 7 svn:log V 191 More properly cleanup the iicbus child when deleting it. These are from patches by John Wehle, but the commentary has been updated by me. Obtained from: ports/multimedia/pvr250, indirectly END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-12-05T06:19:36.000000Z K 7 svn:log V 39 const poison submitted by: john wehle END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-05T06:53:44.000000Z K 7 svn:log V 23 Add _thr_ucond_init(). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-05T06:54:25.000000Z K 7 svn:log V 32 Use ucond to implement barrier. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-12-05T06:56:09.000000Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-05T07:23:58.000000Z K 7 svn:log V 79 the c_has_waiters is lazily updated, temporarily disable the false alarm code. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-05T07:45:28.000000Z K 7 svn:log V 193 Add an xpt_print function to reduce most of the xpt_print_path/printf pairs. Convert the core code to use it. Reviewed by: scsi (various folks weighing in with good advice) MFC after: 2 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-05T07:47:22.000000Z K 7 svn:log V 23 use xpt_print function END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-05T07:49:15.000000Z K 7 svn:log V 75 Add a chip timeout to ENABLE/MODIFY/DISABLE lun calls. MFC after: 1 month END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-12-05T07:50:23.000000Z K 7 svn:log V 227 Make ISPCTL_PLOGX find a handle to log into the management server with- not hope for the best. Change some things which were gated off of 24XX to be gated off of 2K login support. Convert some isp_prt calls to xpt_print calls. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-05T08:07:21.000000Z K 7 svn:log V 12 Fix markup. END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2006-12-05T11:18:51.000000Z K 7 svn:log V 583 Add a "-D" flag to restore which puts it into "degraded" mode. This makes restore less efficient, but it makes a bigger effore to read corrupted dumps. Specifiacally, when in degreded mode: 1) Restore shifts the input by 1 byte if it sees a problem, rather than one tape block. 2) It doesn't assume the inodes are stored in ascending order. 3) It turns some panics into warning printfs. We also verify some fields more carefully than before. There's probably more a degreded mode could do, but this seems to help a lot. Approved by: imp, iedowse, mckusick MFC after: 3 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-05T11:31:33.000000Z K 7 svn:log V 198 Use a different bitmask for superpages' base address so that it doesn't conflict with the PG_PDE_PAT bit. (We still don't mask off all the reserved bits but that's okay for now.) Reviewed by: alc END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-05T12:09:50.000000Z K 7 svn:log V 206 Once upon a time, the hostname was being set in the /etc/netstart, which can be called a "network initialization script", now that it is set in /etc/rc.d/hostname, "network" sounds confusing, so remove it. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-05T13:56:46.000000Z K 7 svn:log V 40 Oops, alpha is still alive on RELENG_6. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-05T15:31:05.000000Z K 7 svn:log V 255 Fix an off by one error in struct nve_tx_desc's frags[] array as a result of the nvenet lib upgrade (the constant went from 63 (2^n - 1) to 32 (2^n)). For reasons that are not obvious to me this fixes the driver on at least some NICs. MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-05T16:57:10.000000Z K 7 svn:log V 55 Move npe.4 to a machine specific manpage subdirectory. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-12-05T17:01:23.000000Z K 7 svn:log V 84 Teach mdoc(7) about FreeBSD/arm and FreeBSD 6.3; both needed by the npe(4) manpage. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-05T18:30:05.000000Z K 7 svn:log V 362 Forced commit to note a repo-copy of this file from src/release/doc/en_US.ISO8859-1/relnotes/common/new.sgml. This operation is a part of a reorganization of the release notes, which will (when completed) provide one version of the release notes covering all architectures, rather than multiple versions (each describing one architecture). Discussed on: -doc@ END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-12-05T18:41:35.000000Z K 7 svn:log V 201 MFC : Fix to readdir+ reply handling. When inserting an entry into the namecache, initialize the nfsnode's ctime. Otherwise a subsequent lookup purges the just entered namecache entry. Approved by: re END K 10 svn:author V 6 mohans K 8 svn:date V 27 2006-12-05T18:44:59.000000Z K 7 svn:log V 200 MFC: Fix to readdir+ reply handling. When inserting an entry into the namecache, initialize the nfsnode's ctime. Otherwise a subsequent lookup purges the just entered namecache entry. Approved by: re END K 10 svn:author V 3 ume K 8 svn:date V 27 2006-12-05T18:54:21.000000Z K 7 svn:log V 75 Use callout mechanism instead of timeout()/untimeout(). MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-05T20:22:14.000000Z K 7 svn:log V 132 Portability fix for non-POSIX operating systems: Open files in binary mode. PR: bin/106358 Submitted by: techtonik at php dot net END K 10 svn:author V 5 wilko K 8 svn:date V 27 2006-12-05T20:23:25.000000Z K 7 svn:log V 57 document that NCQ is not yet supported. PR: kern/106343 END K 10 svn:author V 5 gabor K 8 svn:date V 27 2006-12-05T22:22:02.000000Z K 7 svn:log V 80 - Add myself to calendar.freebsd Approved by: erwin (mentor) MFC after: 3 days END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-05T23:05:53.000000Z K 7 svn:log V 11 Fix typos. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2006-12-05T23:20:14.000000Z K 7 svn:log V 44 Flush my typo fix queue for this directory. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-05T23:46:11.000000Z K 7 svn:log V 56 _thr_ucond_wait drops lock, we should pick it up again. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-06T00:03:42.000000Z K 7 svn:log V 25 initialize mutex and cv. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-12-06T00:15:35.000000Z K 7 svn:log V 68 test cancel_pending to save a thr_wake call in some specical cases. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-06T01:56:38.000000Z K 7 svn:log V 405 - Use our own callout (the dc_tick() callout uses varying periods depending on the NIC and isn't used at all with HomePNA links) instead of if_slowtimo() for driving dc_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so dc(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Remove an alpha remnant in dc_softc. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-06T02:04:25.000000Z K 7 svn:log V 342 - Use the gem_tick() callout instead of if_slowtimo() for driving gem_watchdog() in order to avoid races accessing if_timer. While at it relax the watchdog a bit by reloading it in gem_tint() if there are still packets enqueued. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. - Fix inconsistencies in prototypes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-06T02:07:20.000000Z K 7 svn:log V 264 - Use the hme_tick() callout instead of if_slowtimo() for driving hme_watchdog() in order to avoid races accessing if_timer. - Use bus_get_dma_tag() so hme(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-06T02:14:31.000000Z K 7 svn:log V 118 Use our own callout instead of if_slowtimo() for driving lance_watchdog() in order to avoid races accessing if_timer. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-12-06T02:15:25.000000Z K 7 svn:log V 162 consolidate parsing of nfs root mount options in one place and handle all options (some may require fixes elsewhere) Reviewed by: jhb, mohans MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2006-12-06T02:18:41.000000Z K 7 svn:log V 394 - Use the xl_stats_update() callout instead of if_slowtimo() for driving xl_watchdog() in order to avoid races accessing if_timer. While at it relax the watchdog a bit by reloading it in xl_txeof()/ xl_txeof_90xB() if there are still packets enqueued. - Use bus_get_dma_tag() so xl(4) works on platforms requiring it. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-12-06T06:34:57.000000Z K 7 svn:log V 901 Threading cleanup.. part 2 of several. Make part of John Birrell's KSE patch permanent.. Specifically, remove: Any reference of the ksegrp structure. This feature was never fully utilised and made things overly complicated. All code in the scheduler that tried to make threaded programs fair to unthreaded programs. Libpthread processes will already do this to some extent and libthr processes already disable it. Also: Since this makes such a big change to the scheduler(s), take the opportunity to rename some structures and elements that had to be moved anyhow. This makes the code a lot more readable. The ULE scheduler compiles again but I have no idea if it works. The 4bsd scheduler still reqires a little cleaning and some functions that now do ALMOST nothing will go away, but I thought I'd do that as a separate commit. Tested by David Xu, and Dan Eischen using libthr and libpthread. END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-12-06T06:39:47.000000Z K 7 svn:log V 79 Note the mashing of the proc structure.. recommend recompiling kernel modules. END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-12-06T06:44:20.000000Z K 7 svn:log V 34 remove already commented out code END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-12-06T06:55:59.000000Z K 7 svn:log V 53 Changes to try fix sched_ule.c courtesy of David Xu. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-06T09:13:51.000000Z K 7 svn:log V 125 Correct a signedness bug which allowed members of the operator group to read kernel memory. Security: FreeBSD-SA-06:25.kmem END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-06T09:14:23.000000Z K 7 svn:log V 152 Correct a signedness bug which allowed members of the operator group to read kernel memory. Security: FreeBSD-SA-06:25.kmem Approved by: re (kensmith) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-06T09:15:40.000000Z K 7 svn:log V 152 Correct a signedness bug which allowed members of the operator group to read kernel memory. Security: FreeBSD-SA-06:25.kmem Approved by: so (cperciva) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-06T09:17:09.000000Z K 7 svn:log V 297 Correct a signedness bug which allowed members of the operator group to read kernel memory. [1] Disable handling of GNUTYPE_NAMES tar file entries by default, since they can be used to extract files outside of the cwd. [2] Security: FreeBSD-SA-06:25.kmem [1] Security: FreeBSD-SA-06:26.gtar [2] END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-12-06T09:18:02.000000Z K 7 svn:log V 324 Correct a signedness bug which allowed members of the operator group to read kernel memory. [1] Disable handling of GNUTYPE_NAMES tar file entries by default, since they can be used to extract files outside of the cwd. [2] Security: FreeBSD-SA-06:25.kmem [1] Security: FreeBSD-SA-06:26.gtar [2] Approved by: so (cperciva) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-06T12:00:26.000000Z K 7 svn:log V 106 o confstr(3) returns 0 on error. Check the return value accordingly. PR: misc/106414 MFC after: 1 week END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-12-06T13:44:46.000000Z K 7 svn:log V 37 MFC revs. 1.8, 1.9: Xr netconfig(5). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-06T15:10:11.000000Z K 7 svn:log V 163 Fix some edge cases in detach() as well as a memory leak if we fail to talk to the BMC. Reported by: Alexander Logvinov : ports at logvinov_com MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-06T17:45:35.000000Z K 7 svn:log V 259 Ignore any breakpoint instructions (int 3) we encounter in vm86 mode rather than treating them as a fatal exception and halting. At least one storage BIOS (some newer mpt(4) parts) have a breakpoint instruction in their disk read routine. MFC after: 3 days END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T18:04:52.000000Z K 7 svn:log V 597 Reorganize the release notes to better support multiple architectures. Rather than rendering a different version of the release notes for every architecture, we now produce a single release notes document that covers all architectures. This change makes document maintenence easier (because there is no longer a need to support each architecture specifically in the src/release/doc/ and www/ build infrastructures). It's also easier to read because there is now exactly one release notes document, and readers can see changes that affected various subsets of architectures. Discussed on: -doc@ END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T18:07:40.000000Z K 7 svn:log V 104 Teach release builds and release documentation snapshots that release notes are no longer MD documents. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-12-06T18:27:17.000000Z K 7 svn:log V 228 Allow machdep.cpu_idle_hlt to be set from the loader. This should allow to workaround the problem with SMP kernels on Turion64 X2 processors described in kern/104678 and may be useful in other situations too. MFC after: 3 days END K 10 svn:author V 5 wilko K 8 svn:date V 27 2006-12-06T19:05:12.000000Z K 7 svn:log V 61 MFC: document that NCQ is not yet supported. PR: kern/106343 END K 10 svn:author V 5 wilko K 8 svn:date V 27 2006-12-06T19:08:54.000000Z K 7 svn:log V 91 MFC: document that NCQ is not yet supported. PR: kern/106343 Approved by: re (rwatson) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T19:53:49.000000Z K 7 svn:log V 34 New release note: SA-06:25.kmem. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T19:55:31.000000Z K 7 svn:log V 21 MFC: SA-06:25.kmem. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T19:57:22.000000Z K 7 svn:log V 51 MFC: SA-06:25.kmem. Approved by: re (implicitly) END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2006-12-06T20:03:16.000000Z K 7 svn:log V 167 MFC: rev. 1.90 if_bridge.c Fix SIOCGDRVSPEC/BRDGGIFSSTP ioctl: make it copyin() the user provided buffer length before trying to use it. Approved by: bz (mentor) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2006-12-06T20:12:13.000000Z K 7 svn:log V 277 MFC all relevant changes since beginning of 2006: - Correct spelling of 3DNow!; - Add two new CPUID bits for AMD CPUs, i. e., SVM and extended APIC register; - Add another Intel CPU feature flag, xTPR (Send Task Priority Messages); - Remove bogus white-space diff to current. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T20:13:04.000000Z K 7 svn:log V 56 MFC: SA-06:25.kmem. New release note: SA-06:26.gtar. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T20:14:16.000000Z K 7 svn:log V 36 MFC: SA-06:25.kmem, SA-06:26.gtar. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T20:55:27.000000Z K 7 svn:log V 28 New errata: SA-06:25.kmem. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T20:57:39.000000Z K 7 svn:log V 50 MFC: SA-05:25.kmem. New errata: SA-05:26.gtar. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2006-12-06T20:59:07.000000Z K 7 svn:log V 36 MFC: SA-06:25.kmem, SA-06:26.gtar. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-12-06T21:23:51.000000Z K 7 svn:log V 192 Drop the iwi softc lock when calling back into net80211 on rx. This fixes a LOR with direct dispatch in the netisr. Reported and tested by: Munehiro Matsuda Submitted by: jhb LOR id: 194 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-06T22:00:46.000000Z K 7 svn:log V 192 Add an MI bus_dmamap_load_mbuf_sg() that wraps around bus_dmamap_load_mbuf() using a simple callback to make it easier to keep drivers in sync between 4.x and 6.x. Not objected to by: scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-06T22:01:46.000000Z K 7 svn:log V 120 Reduce diffs with RELENG_6: - Use bus_dmamap_load_mbuf_sg() for setting up rx descriptors. - Fix a few whitespace nits. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-06T22:03:13.000000Z K 7 svn:log V 211 Reduce diffs to RELENG_6: - Use bus_dmamap_load_mbuf_sg() rather than a private simple callback in conjuction with bus_dmamap_load_mbuf(). - Use bus_alloc_resource_any(). - Remove bogus BUS_DMA_ALLOCNOW flag. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-12-06T22:53:22.000000Z K 7 svn:log V 101 Fix compile with BCE_DEBUG. The last one tripped up gcc 2.95 on 4.x even with BCE_DEBUG turned off. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-12-07T00:24:15.000000Z K 7 svn:log V 103 Unbreak build for Skyeye: do not attempt to do any DMA, as Skyeye doesn't emulate it. Reported by: ru END