ı?128620 196 179 173 161 159 130 420 133 188 708 234 282 276 258 156 107 137 2090 212 120 154 134 203 148 253 170 162 566 588 191 293 206 163 395 898 161 266 173 254 474 231 308 299 139 354 857 141 198 295 167 773 235 307 239 182 103 239 409 154 158 425 276 227 120 301 845 252 183 133 159 200 133 373 523 167 180 334 125 250 476 218 437 541 165 231 191 180 137 242 192 192 200 298 604 490 268 157 480 177 204 187 177 455 341 159 143 227 203 136 151 223 160 148 707 225 137 130 130 132 117 129 425 302 215 164 444 360 207 278 246 296 165 224 207 180 215 505 188 183 248 168 118 119 164 130 125 138 118 117 173 226 1144 294 578 160 128 124 443 474 240 204 1531 856 453 145 280 260 371 176 215 272 163 208 312 144 183 139 187 176 284 310 321 114 346 142 275 178 133 405 139 415 295 214 450 149 338 206 K 10 svn:author V 3 alc K 8 svn:date V 27 2004-04-24T23:23:36.000000Z K 7 svn:log V 87 Add a VM_OBJECT_LOCK_ASSERT() call. Remove splvm() and splx() calls. Move a comment. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-04-24T23:34:04.000000Z K 7 svn:log V 79 document the locking behaviour of the functions that access the routing table. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-04-24T23:34:56.000000Z K 7 svn:log V 67 Correct and extend the description of the behaviour of rt_check(). END K 10 svn:author V 2 le K 8 svn:date V 27 2004-04-24T23:41:21.000000Z K 7 svn:log V 68 Plug a mem leak in vinum_scandisk(). Approved by: grog (mentor) END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-04-25T00:08:15.000000Z K 7 svn:log V 38 Prefix a printf with the device name. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-04-25T00:30:28.000000Z K 7 svn:log V 327 Some code cleanup: - Fix some comments; remove numerous superfluous or outdated ones. - Correctly pass on the requesting device when handing requests up to the parent bus. - Use the complete device name, including unit number, to build the IOMMU instance name. - Inline a function that was only used once, and was trivial. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-04-25T01:39:00.000000Z K 7 svn:log V 39 fix one typo and remove one wrong line END K 10 svn:author V 3 das K 8 svn:date V 27 2004-04-25T02:32:46.000000Z K 7 svn:log V 96 Remove a stale comment referring to values.h, which has never been part of FreeBSD. PR: 65939 END K 10 svn:author V 3 das K 8 svn:date V 27 2004-04-25T02:35:42.000000Z K 7 svn:log V 615 Make sure that symbols are declared in math.h iff the appropriate namespaces are visible. Previously, math.h failed to hide some C99-, XSI-, and BSD-specific symbols in certain compilation environments. The referenced PR has a nice listing of the appropriate conditions for making symbols visible in math.h. The only non-stylistic difference between the patch in the PR and this commit is that I superfluously test for __BSD_VISIBLE in a few places to be more explicit about which symbols have historically been part of the FreeBSD environment. PR: 65939 Submitted by: Stefan Farfeleder END K 10 svn:author V 3 das K 8 svn:date V 27 2004-04-25T02:36:29.000000Z K 7 svn:log V 141 Hide FLT_EVAL_METHOD and DECIMAL_DIG in pre-C99 compilation environments. PR: 63935 Submitted by: Stefan Farfeleder END K 10 svn:author V 3 hmp K 8 svn:date V 27 2004-04-25T04:10:17.000000Z K 7 svn:log V 189 The paper "Hashed Timers and Hierarchical Wheels: Data Structures for the Efficient Implementation of a Timer Facility" was co-author'ed by T. Lauk, not A. Lauk. Adjust nearby whitespace. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-04-25T04:30:40.000000Z K 7 svn:log V 180 Don't mask TCD in IMR0 when we initialize the channel. Doing so makes it impossible to check the interrupt status bit when we try to get a character in the low level console code. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-04-25T04:33:56.000000Z K 7 svn:log V 165 Fixed breakage of the formatting operation in rev.1.266. The wrong clause of an if-else statement was removed. Reviewed by: no response from maintainer in 12 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-04-25T07:58:59.000000Z K 7 svn:log V 64 Zero the physical page only if it is invalid and not prezeroed. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-04-25T08:52:26.000000Z K 7 svn:log V 15 Add ng_sppp.4. END K 10 svn:author V 3 rik K 8 svn:date V 27 2004-04-25T08:56:46.000000Z K 7 svn:log V 45 Add ng_sppp(4) to the modules build process. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-04-25T09:24:52.000000Z K 7 svn:log V 1994 This commit does two things: 1. rt_check() cleanup: rt_check() is only necessary for some address families to gain access to the corresponding arp entry, so call it only in/near the *resolve() routines where it is actually used -- at the moment this is arpresolve(), nd6_storelladdr() (the call is embedded here), and atmresolve() (the call is just before atmresolve to reduce the number of changes). This change will make it a lot easier to decouple the arp table from the routing table. There is an extra call to rt_check() in if_iso88025subr.c to determine the routing info length. I have left it alone for the time being. The interface of arpresolve() and nd6_storelladdr() now changes slightly: + the 'rtentry' parameter (really a hint from the upper level layer) is now passed unchanged from *_output(), so it becomes the route to the final destination and not to the gateway. + the routines will return 0 if resolution is possible, non-zero otherwise. + arpresolve() returns EWOULDBLOCK in case the mbuf is being held waiting for an arp reply -- in this case the error code is masked in the caller so the upper layer protocol will not see a failure. 2. arpcom untangling Where possible, use 'struct ifnet' instead of 'struct arpcom' variables, and use the IFP2AC macro to access arpcom fields. This mostly affects the netatalk code. === Detailed changes: === net/if_arcsubr.c rt_check() cleanup, remove a useless variable net/if_atmsubr.c rt_check() cleanup net/if_ethersubr.c rt_check() cleanup, arpcom untangling net/if_fddisubr.c rt_check() cleanup, arpcom untangling net/if_iso88025subr.c rt_check() cleanup netatalk/aarp.c arpcom untangling, remove a block of duplicated code netatalk/at_extern.h arpcom untangling netinet/if_ether.c rt_check() cleanup (change arpresolve) netinet6/nd6.c rt_check() cleanup (change nd6_storelladdr) END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-04-25T11:21:30.000000Z K 7 svn:log V 116 Add support Buffalo(MELCO) USB-Key Lan Adaptor(LUA-U2-KTX) Submitted by: KAWAI Kenichi END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-04-25T11:24:40.000000Z K 7 svn:log V 25 Sync to 1.171 of usbdevs END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-04-25T11:39:47.000000Z K 7 svn:log V 59 Add support Buffalo(MELCO) USB-Key Lan Adaptor(LUA-U2-KTX) END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-04-25T12:43:44.000000Z K 7 svn:log V 41 Merged from sys/isa/fd.c revision 1.270. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-04-25T12:50:14.000000Z K 7 svn:log V 108 Start the arp timer at init time. It runs so rarely that it makes no sense to wait until the first request. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-04-25T14:06:23.000000Z K 7 svn:log V 54 remove a stale comment on the behaviour of arpresolve END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-04-25T14:09:38.000000Z K 7 svn:log V 158 mdoc(7) janitor: - Remove EOL whitespace. - Expand contracted words. - Correct usage of .Fl macro. - Use complete argument to -width. - Remove redundant ','. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-04-25T14:13:48.000000Z K 7 svn:log V 76 mdoc(7) janitor: - Sort SEE ALSO by section number. - Remove redundant ','. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-04-25T15:00:17.000000Z K 7 svn:log V 68 Another small set of changes to reduce diffs with the new arp code. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-04-25T16:03:41.000000Z K 7 svn:log V 468 This is an MFC of work done by Alan Cox. It addresses a security issue with mmap(2) where pages marked as PROT_NONE may become readable under certain circumstances. The commits to -current being MFC-ed with this are: Revision Changes Path 1.333 +5 -4 src/sys/vm/vm_map.c 1.109 +1 -1 src/sys/vm/vm_map.h Which were a result of a PR: Submitted by: "Mark W. Krentel" PR: kern/64573 Reviewed by: alc END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-04-25T17:10:18.000000Z K 7 svn:log V 492 MFC: 1.52 Fix a couple of camcontrol issues that popped up on sparc64: - bzero the CCB header in getdevtree() and set the path properly, to avoid having random garbage in the CCB header. - if the lun isn't specified in a device specifier, it should default to 0, not whatever random data happens to be in the lun variable. - move the prototype for getdevtree() out from under #ifndef MINIMALISTIC, since it is used in both cases. Approved by: ken (maintainer), marcel (mentor) END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-04-25T17:13:22.000000Z K 7 svn:log V 97 - Update description of watchdogd_enable to reflect current reality. - Document watchdogd_flags. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-04-25T19:50:20.000000Z K 7 svn:log V 197 Simplify the building of our i386 'binary' boot components by directly producing them using 'ld' options rather than post-processing with 'objcopy'. Idea by: Ryan Sommers END K 10 svn:author V 4 ache K 8 svn:date V 27 2004-04-25T19:56:50.000000Z K 7 svn:log V 112 Rewrite split_lines() to operate safely PR: 62694 Submitted by: moulin p END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-04-25T20:36:44.000000Z K 7 svn:log V 68 Use a more compact syntax for passing the "binary" options to 'ld'. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-04-26T02:11:38.000000Z K 7 svn:log V 302 Fix two typos from PR: 65694 1) In pci.c, we need to check the child device's state, not the parent device's state. 2) In acpi_pci.c, we have to run the power state change after the acpi method when the old_state is > new state, not the other way around. Submitted by: Dmitry Remesov PR: 65694 END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-04-26T02:56:31.000000Z K 7 svn:log V 803 Tighten up reset handling in order to make reset attacks as difficult as possible while maintaining compatibility with the widest range of TCP stacks. The algorithm is as follows: --- For connections in the ESTABLISHED state, only resets with sequence numbers exactly matching last_ack_sent will cause a reset, all other segments will be silently dropped. For connections in all other states, a reset anywhere in the window will cause the connection to be reset. All other segments will be silently dropped. --- The necessity of accepting all in-window resets was discovered by jayanth and jlemon, both of whom have seen TCP stacks that will respond to FIN-ACK packets with resets not meeting the strict last_ack_sent check. Idea by: Darren Reed Reviewed by: truckman, jlemon, others(?) END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-04-26T02:57:33.000000Z K 7 svn:log V 67 Add the bad reset statistic (corresponds to tcp_input.c rev 1.235) END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-04-26T05:25:06.000000Z K 7 svn:log V 173 Move the call to AcpiEnterSleepStatePrep() to before we select the BSP (cpuid 0) as the processor. It mallocs some data and smp_rendezvous calls functions with locks held. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2004-04-26T08:49:11.000000Z K 7 svn:log V 76 Fix build breakage. Submitted by: Xin LI PR: 65979 END K 10 svn:author V 6 archie K 8 svn:date V 27 2004-04-26T14:26:54.000000Z K 7 svn:log V 158 Add 'enableWindowing' configuration knob to the ng_pptpgre(4) netgraph node. Submitted by: Michael Bretterklieber MFC after: 2 weeks END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-04-26T15:13:46.000000Z K 7 svn:log V 376 The previous change to mount(8) to report ufs or ufs2 used libufs, which only works for Charlie root. This change reverts the introduction of libufs and moves the check into the kernel. Since the f_fstypename is the same for both ufs and ufs2, we check fs_magic for presence of ufs2 and copy "ufs2" explicitly instead. Submitted by: Christian S.J. Peron END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-26T15:44:42.000000Z K 7 svn:log V 138 Always use nd.ni_vp->v_mount as an argument for VFS_QUOTACTL(), just like in RELENG_4. Pointed out by: Alex Lyashkov END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-04-26T17:22:07.000000Z K 7 svn:log V 215 Since pmap_pinit() wants a prezeroed page, change it to ask for one. (Note that vm_page_grab(), unlike vm_page_alloc(), always returns a prezeroed page if VM_ALLOC_ZERO is specified. So, checking is unnecessary.) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2004-04-26T17:49:05.000000Z K 7 svn:log V 201 MFamd64: implement the PG_UNMANAGED flag on vm_pages. Alan noticed that alpha ignored PG_UNMANAGED when we were looking into pmap_emulate_reference() panics. Perhaps this will help. Reviewed by: alc END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-04-26T19:28:08.000000Z K 7 svn:log V 48 make this compile/work with CISS_DEBUG defined. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-04-26T19:41:37.000000Z K 7 svn:log V 259 Removes the check for the existence of the sysctl variable debug.watchdog since it is not created by hardware watchdog(4) devices. The watchdog(4) device is always compiled in the kernel, so removing the check should not cause any problems. Approved by: phk END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-04-26T19:46:52.000000Z K 7 svn:log V 759 Give jail(8) the feature to allow raw sockets from within a jail, which is less restrictive but allows for more flexible jail usage (for those who are willing to make the sacrifice). The default is off, but allowing raw sockets within jails can now be accomplished by tuning security.jail.allow_raw_sockets to 1. Turning this on will allow you to use things like ping(8) or traceroute(8) from within a jail. The patch being committed is not identical to the patch in the PR. The committed version is more friendly to APIs which pjd is working on, so it should integrate into his work quite nicely. This change has also been presented and addressed on the freebsd-hackers mailing list. Submitted by: Christian S.J. Peron PR: kern/65800 END K 10 svn:author V 2 le K 8 svn:date V 27 2004-04-26T20:16:29.000000Z K 7 svn:log V 50 MFC 1.98: Plug a mem leak in vinum_scandisk(). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2004-04-26T20:31:46.000000Z K 7 svn:log V 103 fix the change of interface in nd6_storelladdr for multicast addresses too. Reported by: Jun Kuriyama END K 10 svn:author V 2 le K 8 svn:date V 27 2004-04-26T20:32:59.000000Z K 7 svn:log V 203 Properly handle on-disk configuration formatting for subdisks that aren't attached to a plex. PR: kern/65956 Submitted by: Dmitry Morozovsky Approved by: grog (mentor) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-04-26T22:52:09.000000Z K 7 svn:log V 71 Add rue(4) USB ethernet driver, which for some reason has been missed. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-26T23:37:54.000000Z K 7 svn:log V 675 Update file flag handling. The new fflags support in archive_entry supports Linux and FreeBSD file flags and is a bit more gracious about unrecognized flag names than strtofflags(3). This involves some minor API breakage. The default tar format ("restricted pax") now enables pax extensions when archiving files that have flags. In particular, copying dir heirarchies with 'bsdtar cf - -C src . | bsdtar xpf - -C dest' now preserves file flags. (Note the "p" on extract!) While I'm here, fill in some additional explanation in the archive_entry.3 manpage, fill in some missing MLINKS, mark some overlooked internal functions 'static', and make a few minor style fixes. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-26T23:39:17.000000Z K 7 svn:log V 137 Update write.c to follow recent API changes to libarchive. Also, bump up the default copy buffer from 8k to 64k to improve performance. END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2004-04-27T00:31:36.000000Z K 7 svn:log V 212 Import the latest (4/26/04) CVS lukemftp. This adds the ability to have a prefix string on the progressbar and brings in a patch by mux@ to fix the condition when connect() returns EINTR. Requested by: mux END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2004-04-27T00:31:36.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r128671, 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-04-27T00:31:37.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'lukemftp-vendor-nbsd_20040426'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-27T09:18:49.000000Z K 7 svn:log V 12 Markup nit. END K 10 svn:author V 6 thomas K 8 svn:date V 27 2004-04-27T09:49:16.000000Z K 7 svn:log V 143 Take boot0sio from the newly-built world, both for consistency's sake and to cater for host systems where it is not present. Reviewed by: phk END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-04-27T12:54:59.000000Z K 7 svn:log V 316 Use pci_get_progif to decide if this is one of the primary/secondary channels. This also work when PCI native mode has been selected (patch for /sys/dev/pci/pci.c needed for that) since pci_get_progif uses the saved value for progif, not the one stored after we may have changed from legacy mode to native PCI mode. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-27T13:08:03.000000Z K 7 svn:log V 62 Make sure we are all set up before creating the LED instance. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-27T13:09:21.000000Z K 7 svn:log V 66 Add the ability to avoid repetition of s.... sequences with a '.' END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-27T13:11:20.000000Z K 7 svn:log V 332 Document that '.' stops repetition of 's..." sequences. This is useful in order to get visual indication that something did not succeed: # Give it 5 seconds to run echo 'sjjjjjA.' > /dev/led/error random_program echo '0' > /dev/led/error If random_program takes more than 5 seconds or if it hangs, the LED will be turned on. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-04-27T13:13:20.000000Z K 7 svn:log V 183 Remove mlockall() and munlockall() from the list of unimplemented syscalls in a comment, we have them since quite some time now. Noticed by: Stefan Farfeleder END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-04-27T13:55:26.000000Z K 7 svn:log V 131 Add support DELL BC02 Bluetooth USB Adapter(TrueMobile 300) PR: kern/65777 Submitted by: Patrick Hurrelmann END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2004-04-27T13:56:39.000000Z K 7 svn:log V 25 Sync to 1.172 of usbdevs END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2004-04-27T14:43:03.000000Z K 7 svn:log V 204 Invoke tzset(3) within the main loop to catch changes to /etc/localtime when running as a daemon in the hope that it will fix situations where the CMOS clock was apparently set using the stale TZ offset. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-27T15:00:29.000000Z K 7 svn:log V 753 - Added rad_demangle() for demangling user-passwords (needed for MS-CHAPv1 MPPE-keys). - Added rad_demangle_mppe_key() for demangling mppe-keys (needed for MPPE-keys). - Added some typecasts for avoiding compiler warnings. - Fix: better handle wrong usage of the lib (if the programmer has not called rad_create_request() but rad_put_*(), then a weird error message was returned). - Added a new function for putting the Message-Authenticator. - Verify the Message-Authenticator, if it was found inside a response packet and silently drop the packet, if the validation failed. - Implicitly put the Message-Authenticator, if the EAP-Message attribute was added. - Added some missing defines. Submitted by: Michael Bretterklieber PR: 46555 END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-27T15:42:34.000000Z K 7 svn:log V 159 When using this in non-NFSroot circumstances, `mount -t nfs` may return empty. Add a dummy element to prevent the alternate action of the shell builtin "set" END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-04-27T15:52:08.000000Z K 7 svn:log V 91 Reduce the time spent looking for devices on channels that return what looks like garbage. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-27T16:04:41.000000Z K 7 svn:log V 41 More POLA handling of CUSTOMIZE variable END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-04-27T16:38:15.000000Z K 7 svn:log V 66 Address few style issues pointed out by bde Reviewed by: bde, ru END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-04-27T17:12:04.000000Z K 7 svn:log V 108 MFC: Bring ciss up-to-date with -CURRENT and support for the MSA20 and MSA500 as well as other small fixes. END K 10 svn:author V 8 vkashyap K 8 svn:date V 27 2004-04-27T17:57:45.000000Z K 7 svn:log V 36 Added 3ware's twa. Reviewed by: ps END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-27T19:07:35.000000Z K 7 svn:log V 280 Change from '#' to "//" comment character to allow CPP preprocessing. Merge boot0.s and boot0sio.s into boot0_512.s controlled by "#ifdef SIO". Add Makefile magic to generate boot0.s and boot0sio.s from boot0_512.s. The compile boot0 and boot0sio have unchanged MD5 checksums. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2004-04-27T19:25:01.000000Z K 7 svn:log V 428 Mostly sync with -current. Merged: rarpd.c . rev 1.35 (use in_addr_t instead of u_long) . rev 1.36 (major cleanup, make everything more sane) . rev 1.38 (clarification about -a) . rev 1.39 (typo fix) . rev 1.40 (allow rarpd to listen on interfaces with more than one IP address) rarpd.8 . -a clarification Not merged: . rarpd.c 1.34 _FBSD() cosmetics PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-04-27T19:37:17.000000Z K 7 svn:log V 75 Belatedly remove a file from the earlier apic code that is no longer used. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-27T19:45:16.000000Z K 7 svn:log V 89 Removed now redundant CLEANFILES assignments. Not read enough of my patch by: obrien ;) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-04-27T20:03:26.000000Z K 7 svn:log V 241 - The i8254 uses IRQ 0, not IRQ 8. Correct i8254_intsrc to reference the correct interrupt source. - Cache a pointer to the i8254_intsrc's pending method to avoid several pointer indirections in i8254_get_timecount(). Reported by: bde END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-04-27T22:32:02.000000Z K 7 svn:log V 33 Add jerk city commentary on C++. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-04-28T01:27:33.000000Z K 7 svn:log V 157 If the buffer supplied to kenv(KENV_DUMP, ...) isn't big enough, return the number of bytes needed instead of 0. The manpage claims that we do this anyway. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-04-28T01:27:36.000000Z K 7 svn:log V 383 Various quibbles: - Print a diagnostic if kdumpenv() fails. This can occur due to MAC restrictions or lack of memory. Catch all kenv(2) failures as well. - Just of the heck of it, DTRT if the kernel environment size changes at the wrong time. The old code could fail silently or fail to null-terminate a buffer if you got exceptionally unlucky. - Sort and GC the #includes. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-04-28T02:52:13.000000Z K 7 svn:log V 121 Add LinkSys USB100M into list of supported devices and reformat list of those devices to be similar to other USB ethers. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-28T03:44:08.000000Z K 7 svn:log V 339 Add read support for four more common cpio variants: * little-endian old-style binary cpio archives * big-endian old-style binary cpio archives * SVR4 portable archives without CRC * SVR4 portable archives with CRC Note that I don't yet verify the CRC for the last one, and I'm not quite certain I'm correctly parsing device numbers. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-28T04:34:07.000000Z K 7 svn:log V 443 Add the libarchive-formats.5 manpage. This summarizes the various archive formats supported by libarchive, with some information about the relative strengths and weaknesses of each format and notes about issues with libarchive's support for those formats. This page should make it unnecessary to list all of the libarchive formats in the manpage of each program that uses libarchive. Such programs can simply refer to libarchive-formats(5). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-28T04:36:57.000000Z K 7 svn:log V 68 Correct spelling of "shell archive" to match /usr/share/misc/magic. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-28T04:41:27.000000Z K 7 svn:log V 133 Add statistics: track offset in compressed and uncompressed archive, provide an interface for the client to query this information. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-28T04:43:57.000000Z K 7 svn:log V 94 Remove information about specific formats; replace with a reference to libarchive-formats(5). END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-04-28T07:35:03.000000Z K 7 svn:log V 84 Update comments to reflect changes made by phk. Also no longer need . END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T09:09:27.000000Z K 7 svn:log V 46 Replace shell's positional parameters safely. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T09:49:22.000000Z K 7 svn:log V 150 - Use C (and CPP) style comments for assembler-with-cpp sources, for lines that start with a comment. - Preserve as(1) style comments for the rest. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T09:57:12.000000Z K 7 svn:log V 100 Use C (and CPP) style comments for assembler-with-cpp sources, for lines that start with a comment. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T10:09:21.000000Z K 7 svn:log V 100 Use C (and CPP) style comments for assembler-with-cpp sources, for lines that start with a comment. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T10:15:31.000000Z K 7 svn:log V 108 MFi386: Use C (and CPP) style comments for assembler-with-cpp sources, for lines that start with a comment. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-28T11:44:28.000000Z K 7 svn:log V 205 Sheesh... Turn your back on SNMP for a decade and they go and make upper versus lowercase initial letter part of the specification. I told them ASN.1 was a bad mistake, but would they listen ? Ohhh no! END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-04-28T13:06:46.000000Z K 7 svn:log V 511 Fix the EBus driver to work with the new PCI code. Unlike other PCI bridges, the EBus bridge has resource ranges it claims exclusively to map its children into in its BARs. Hence, we need to allocate these completely and manage them for the children, instead of just passing allocations through to the PCI layer as we did before. While being there, split ebus_probe(), which did also contain code normally belonging into the attach method, into ebus_probe() and ebus_attach(), and perform some minor cleanups. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-28T13:18:22.000000Z K 7 svn:log V 397 Initdiskless must run before ipfw, or people will not be able to use the conf/* stuff for their firewall configuration. Running ipfw before could seem to make sense in that it would allow one to setup access to the NFS server on a "default-deny" kernel, but it is pretty obvious to the casual observer that such a configuration never makes it far enough to mount the NFS-root in the first place. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-04-28T13:20:15.000000Z K 7 svn:log V 175 Protect som cross-script invocations by checks to see that the target script exists. This allows pruning of rc.d scripts without getting too many ugly boottime error message END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-04-28T13:43:11.000000Z K 7 svn:log V 65 Remove the EBus stopgap of r1.248; a proper fix is in place now. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T14:31:44.000000Z K 7 svn:log V 388 After talking to Bruce Evans and reading more standards specs, switch to using C99-style comments everywhere in preprocessed assembler. The reason is that lines starting with the regexp '^[[:space:]]#' are treated as preprocessing directives, and while it seems to work now with GCC, it's not necessarily has to work. Use C99 comments `//' for the trailing comments to save whitespace. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-04-28T14:53:49.000000Z K 7 svn:log V 83 o Add a missed description for m_free(9). Optained from: NetBSD MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T16:16:16.000000Z K 7 svn:log V 112 Temporary precaution measure until repocopy requests are processed: don't forget to clean generated .s sources. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-04-28T17:06:18.000000Z K 7 svn:log V 93 Remove code that fiddles with Giant in ndis_ticktask() that snuck in during previous commit. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-28T18:53:07.000000Z K 7 svn:log V 80 Refuse to extract entries with '..' in pathname. Pointed out by: David Schultz END K 10 svn:author V 8 deischen K 8 svn:date V 27 2004-04-28T20:36:53.000000Z K 7 svn:log V 357 Keep track of threads waiting in kse_release() to avoid a race condition where kse_wakeup() doesn't yet see them in (interruptible) sleep queues. Also add an upcall check to sleepqueue_catch_signals() suggested by jhb. This commit should fix recent mysql hangs. Reviewed by: jhb, davidxu Mysql'd by: Robin P. Blanchard END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T20:49:17.000000Z K 7 svn:log V 249 - Properly merge boot0sio.s and boot0.s into boot0.S. boot0sio.s was repo-copied to boot0.S. - Rename boot0ext.s to boot0ext.S, to stay consistent with other preprocessed asm files around here, and for better portability. Repocopied by: joe END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T20:55:01.000000Z K 7 svn:log V 68 Switch to using C99 comments in assembler preprocessed with cpp(1). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T21:14:40.000000Z K 7 svn:log V 52 Properly merge boot0sio.s and boot0.s into boot0.S. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-28T21:31:21.000000Z K 7 svn:log V 135 Thanks to David's patches, we can now simplify these makefiles further, and just use PROG directly (without FILES). Suggested by: bde END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-04-28T21:42:36.000000Z K 7 svn:log V 106 Fix up a little language. Remove reference to sysctl(9). Fix reference to watchdog(9) (was watchdogd(9)). END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-04-28T22:25:47.000000Z K 7 svn:log V 40 Spelling: s/Unlinke/Unlike/ PR: 66063 END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-04-28T23:16:06.000000Z K 7 svn:log V 57 Bump manual page date for last update. Suggested by: ru END K 10 svn:author V 3 jdp K 8 svn:date V 27 2004-04-29T01:37:11.000000Z K 7 svn:log V 130 Fix a memory leak in ng_get_string_token. A dynamically-allocated buffer wasn't freed if the function failed. MFC after: 3 days END K 10 svn:author V 5 green K 8 svn:date V 27 2004-04-29T02:51:59.000000Z K 7 svn:log V 66 Don't do malloc(M_WAITOK) for sound buffers while locks are held. END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-04-29T04:36:36.000000Z K 7 svn:log V 52 Add a new fortune from petef. Obtained from: petef END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-29T05:19:42.000000Z K 7 svn:log V 609 Implement ARCHIVE_EXTRACT_UNLINK for regular files. This supports the -U flag to bsdtar. Essentially, this option breaks existing hard links. According to SUSv2, tar is supposed to overwrite existing files on extract by default which, in particular, preserves existing hard links. Note that this is yet another bug in gtar; it appears to always break existing links. (Maybe gtar's -U is broken?) I'm unsure about how to handle this for other file types; the current code always unlinks first unless the NO_OVERWRITE flag is specified. I've commented this issue liberally and will come back to it later. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-29T05:22:13.000000Z K 7 svn:log V 127 -U is now implemented. (It's been recognized by bsdtar for a while; now libarchive actually supports the underlying request.) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-04-29T06:14:00.000000Z K 7 svn:log V 40 Fix grammar to make it correctly wrong. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-04-29T08:24:30.000000Z K 7 svn:log V 37 MFi386: revisions from 1.16 to 1.18. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-04-29T08:24:57.000000Z K 7 svn:log V 37 MFi386: revisions from 1.15 to 1.17. END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-04-29T08:27:38.000000Z K 7 svn:log V 36 Add missing .Dv markup and a comma. END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-04-29T08:33:12.000000Z K 7 svn:log V 21 Add more .Dv markup. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-04-29T08:33:26.000000Z K 7 svn:log V 36 Add the commented out rue(4) entry. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2004-04-29T15:10:42.000000Z K 7 svn:log V 327 Revert previous change to this file because it breaks some things which compare /etc/fstab entries to results from getfsstat(). The real way to fix this is to make 'ufs2' a recognized filesystem (for real, no beating around the bush). This should fix things like 'umount -a -t ufs' now. Appologies for the previous breakage. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-29T18:58:38.000000Z K 7 svn:log V 210 Convert block comments into C-style that is understood by cpp(1). Keep line comments in assembler style. A few lines that match the '^[[:space:]]+#' regexp still need to be fixed, somehow. OK'ed by: bde, jhb END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-04-30T00:20:58.000000Z K 7 svn:log V 118 Check that specified in the command line path is actually a directory, otherwise we are risking to coredump later on. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-30T01:31:20.000000Z K 7 svn:log V 67 Create missing directories when extracting hardlinks and symlinks. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-04-30T03:05:36.000000Z K 7 svn:log V 346 Merging Alan Cox's fixes to mmap(2) into the 4.10 release. RELENG_4 commit versions being merged: Revision Changes Path 1.35.2.10 +2 -2 src/sys/alpha/alpha/pmap.c 1.250.2.25 +3 -2 src/sys/i386/i386/pmap.c 1.33.2.6 +2 -2 src/sys/vm/pmap.h 1.187.2.25 +3 -2 src/sys/vm/vm_map.c Approved by: re (scottl) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-04-30T04:17:41.000000Z K 7 svn:log V 262 This allows for tweaking the name put in the label on the CD's when using the Makefile to build the ISO's. Previous 4.X releases had a non-generic name for the labels but were put together 'manually' instead of using the Makefile. This will be insta-MFC'ed... END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-04-30T04:21:00.000000Z K 7 svn:log V 109 MF-RELENG_4 of rev 1.536.2.113. Adding ability to tweak CD labels using Makefile. Approved by: re (scottl) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-04-30T05:05:39.000000Z K 7 svn:log V 182 Allow disks with a GPT to be used on big-endian machines. The GPT is little-endian by definition and needs byte-swap operations for any multi-byte field. While here fix indentation. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-04-30T09:29:17.000000Z K 7 svn:log V 154 MFC part of rev. 1.8 that fixed an mbuf memory leak (without saying so in the commit log) when only one link is connected. Glanced at by: archie, julian END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-04-30T11:52:34.000000Z K 7 svn:log V 203 New release note: jail(8) raw socket support, mmap(2) security fix, TCP connection reset handling improved, and import of lukemftp 2004/04/26 snapshot. MFC: rarpd(8) multiple IP addresses support. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-04-30T11:54:37.000000Z K 7 svn:log V 73 MFC: mmap(2) security fix, and rarpd(8) multiple IP addresses support. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2004-04-30T11:58:51.000000Z K 7 svn:log V 131 MFS: mmap(2) security fix, and random ephemeral port allocation. Update release note: KDE 3.2.2. Approved by: re (implicitly) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-04-30T12:50:48.000000Z K 7 svn:log V 109 Merge Warner's commit that added FreeBSD copyright notice. Permission from: imp Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-04-30T13:28:19.000000Z K 7 svn:log V 83 Add information about the new DISC?_NAME and DISC?_LABEL variables. Caught by: ru END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-04-30T13:32:18.000000Z K 7 svn:log V 117 Add information about new DISC?_LABEL and DISC?_NAME variables. Caught by: ru Approved by: re (scottl in principle) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-04-30T13:52:09.000000Z K 7 svn:log V 407 Sorry for doing this backwards, but as with most release related stuff we only pay attention to it during release time and at the moment it's a -stable release in progress. This is a MFS I guess, moving rev 1.536.2.113 to HEAD. I ran out of time to follow through with doing this last night. Sorry for the delay. Adding a couple of variables to make tweaking the CD-ROM label and .iso filenames easier. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-04-30T14:04:21.000000Z K 7 svn:log V 93 Update the reference to the FreeBSD sparc64 mailing list, its name has changed a while back. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-04-30T14:16:39.000000Z K 7 svn:log V 88 Enable _KPOSIX_PRIORITY_SCHEDULING by default, it works fine on sparc64. OK'ed by: tmm END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-04-30T15:00:41.000000Z K 7 svn:log V 152 Remove the separate kernel option for Sun APB PCI-PCI bridges and make support for them conditional on the pci(4) kernel option instead. OK'ed by: tmm END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-04-30T15:21:25.000000Z K 7 svn:log V 76 Remove the EBUS_DEBUG and IOMMU_DEBUG options, which are not used any more. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:08:12.000000Z K 7 svn:log V 26 Kernel bits of GEOM Gate. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:09:28.000000Z K 7 svn:log V 27 Makefile for geom_gate.ko. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:12:20.000000Z K 7 svn:log V 72 Makefile for building ggate utilities: ggatel(8), ggatec(8), ggated(8). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:13:45.000000Z K 7 svn:log V 38 Stuff shared between ggate utilities. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:15:13.000000Z K 7 svn:log V 33 GEOM Gate local control utility. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:18:01.000000Z K 7 svn:log V 46 GEOM Gate network client and control utility. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:19:50.000000Z K 7 svn:log V 26 GEOM Gate network daemon. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-04-30T16:21:34.000000Z K 7 svn:log V 25 Spring cleanup of macros END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:21:39.000000Z K 7 svn:log V 81 Add g_concat.h and g_gate.h to be installed in /usr/include/geom/(concat|gate)/. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-04-30T16:23:08.000000Z K 7 svn:log V 133 - Look into geom/gate/ and geom/concat/ for includes. - Put geom/ subdirectories into separate line, while there are more to come. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-04-30T16:32:40.000000Z K 7 svn:log V 1048 Checkpoint commit for an alternative WIP kernel module loader that isn't as dependent on binutils features/quirks as the current one. This one loads plain .o files without having to mess with shared object mode. This happens to be essential on amd64, because binutils hasn't implemented all the quirks/features that we need for producing the hack non-PIC shared objects. As it turned out, .o format isn't all that inconvenient after all. It looks like the ability to use the same .o files for linking directly into a static kernel or loading as a module might be worth it. It is still very much a work-in-progress, but it is almost usable. Other changes are still needed in order to use it though, these have not been committed yet. There is still a memory corruption/overrun bug somewhere. For example, test modules load and work, but the machine explodes a few minutes later in vm_forkproc() or the like. Notable missing things include kldxref support, and loader(8) support. I wanted to figure out a working baseline set of code first. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-04-30T17:25:47.000000Z K 7 svn:log V 201 Remove the sio EBus attachment, which never worked with an unpatched driver because sio(4) uses ISA-specific functions. uart(4) has full support for the respective hardware and should be used instead. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-04-30T18:17:51.000000Z K 7 svn:log V 480 Speed up hardlink detection by using a self-sizing hash table rather than the old linear list search. On my "hardlink detection torture test", this reduced user time from 4700 seconds down to 4.2 seconds and wallclock time from 1:24:48 down to 1:08. (Yes, that's over one THOUSAND times reduction in user time. ;-) In the worst case, the new code doubles peak memory usage, though it could actually reduce memory usage in many cases. MFC after: 1 week PR: misc/42167, bin/51151 END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-04-30T18:28:26.000000Z K 7 svn:log V 65 Remove the source file for the sio(4) EBus attachment here, too. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-04-30T18:49:03.000000Z K 7 svn:log V 36 Do at better job at unit numbering. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-04-30T19:19:55.000000Z K 7 svn:log V 32 Remove inclusion of opt_ebus.h. END K 10 svn:author V 3 tmm K 8 svn:date V 27 2004-04-30T19:50:51.000000Z K 7 svn:log V 350 Some cleanups to the nexus code: - Remove second license, the first was not that different and should be fine. - Add nexus_attach(), and do not perform its task in nexus_probe() any more. - Remove nexus_write_ivar(), since it was quite pointless. - Remove superfluous devinfo members. - Clean up some comments, minor style issues and prototypes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-04-30T20:33:08.000000Z K 7 svn:log V 378 Remove the GNU patch(1) sources. These were unused since FreeBSD moved back to the only partially GPL'ed patch(1) sources in src/gnu/usr.bin/patch six years ago. These files are removed on the vendor branch instead of just HEAD so possible future imports in src/contrib/patch won't cause any conflicts. Approved by: ache (did the above mentioned move), cvs (no objections), ru END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-04-30T20:33:08.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r128777, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-04-30T20:35:24.000000Z K 7 svn:log V 108 Remove the GNU patch(1) sources that were committed to HEAD. Approved by: ache, cvs, ru MFC after: 2 weeks END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-04-30T20:51:55.000000Z K 7 svn:log V 1435 Small timer cleanups: - Use the dh_inserted member of the dispatch header in the Windows timer structure to indicate that the timer has been "inserted into the timer queue" (i.e. armed via timeout()). Use this as the value to return to the caller in KeCancelTimer(). Previously, I was using callout_pending(), but you can't use that with timeout()/untimeout() without creating a potential race condition. - Make ntoskrnl_init_timer() just a wrapper around ntoskrnl_init_timer_ex() (reduces some code duplication). - Drop Giant when entering if_ndis.c:ndis_tick() and subr_ntorkrnl.c:ntoskrnl_timercall(). At the moment, I'm forced to use system callwheel via timeout()/untimeout() to handle timers rather than the callout API (struct callout is too big to fit inside the Windows struct KTIMER, so I'm kind of hosed). Unfortunately, all the callouts in the callwhere are not marked as MPSAFE, so when one of them fires, it implicitly acquires Giant before invoking the callback routine (and releases it when it returns). I don't need to hold Giant, but there's no way to stop the callout code from acquiring it as long as I'm using timeout()/untimeout(), so for now we cheat by just dropping Giant right away (and re-acquiring it right before the routine returns so keep the callout code happy). At some point, I will need to solve this better, but for now this should be a suitable workaround. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2004-04-30T21:16:52.000000Z K 7 svn:log V 758 Some enhancements and bug fix. - Define option FORCECONSPEED to force the serial console to be CONSPEED. I've run into a lot of boards in which the detect for prior speed doesn't work and ends up with broken console since it is at the wrong speed. - If a serial port is marked as a console, but console=vidconsole and if the serial ports doesn't exist it will be probed and attached at a 8250 chip. Then writes to that will freeze the system. - Add an option flags 0x400000 to mark this as a potential comconsole in-case the one flaged with 0x10 does not exist in the system. This makes it easier to deploy on systems with one or two serial ports. Obtained from: IronPort END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2004-04-30T22:34:12.000000Z K 7 svn:log V 355 For both ifconfig and route if we didn't get enough memory from the prior sysctl due to the structure growing between calls try again. Also try again for deleting routes if things fail. We've seen route -f fail this way which does not actually flush all routes. This fixes it. It will whine but it will do the work. PR: 56732 Obtained from: IronPort END K 10 svn:author V 2 pb K 8 svn:date V 27 2004-04-30T22:45:47.000000Z K 7 svn:log V 54 MFC rev 1.26: check source address (-s) for validity. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-01T01:25:05.000000Z K 7 svn:log V 184 Get rid of a bunch of useless macros. STATIC becomes static, INLINE becomes __inline where appropriate and gets nuked elsewhere, IN/OUT/INOUT go away. Reformat code affected by this. END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-05-01T02:15:58.000000Z K 7 svn:log V 163 A new version that does exponents and lots of other neat things. Update from the original author of math.sed. Submitted by: K S Braunsdorf END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-01T02:27:06.000000Z K 7 svn:log V 275 Many more style cleanups. Switch complex macros to being inline functions. Put @includes in a better spot. Fix many cases of 2 space indents and spaces between a function name and the parens. Use KASSERT instead of a home-rolled ASSERT. Remove some undeeded caddr casts. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-01T03:06:54.000000Z K 7 svn:log V 81 More whitespace style cleanups, also remove unneeded (void *) casts for bzero(). END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-05-01T03:27:05.000000Z K 7 svn:log V 118 m4 script to test the functionality of math operators in eval(). Submitted by: K S Braunsdorf END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-05-01T03:59:43.000000Z K 7 svn:log V 175 Fix m4 to properly handle bitwise operators &, ^, and |. Fix operator precedence. Add short-circuit evaluation. PR: bin/60914 Reviewed by: petef Discussed with: jeff, petef END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-05-01T04:08:14.000000Z K 7 svn:log V 68 Verify the MADT checksum before using the table. Submitted by: njl END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-01T05:19:39.000000Z K 7 svn:log V 112 Remove the DOMINO and MODE0 device attachments. They never did anything. Remove a bunch of obfuscating macros. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-01T05:56:57.000000Z K 7 svn:log V 216 Remove ASR_get_sc() and reference the softc in the dev_t. For some nefarious reason, the I2O protocol requires knowledge of all I2O devices in the system, so we can't get rid of the evil linked-list of softc's yet. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-01T06:12:58.000000Z K 7 svn:log V 49 Re-indent some silly sub-blocks in asr_attach(). END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-01T06:32:01.000000Z K 7 svn:log V 88 Correctly test *Reply_Ptr in ASR_resetIOP(). Thanks to dhartmei for pointing this out. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-05-01T06:46:10.000000Z K 7 svn:log V 46 Merged from sys/dev/sio/sio.c revision 1.428. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-05-01T06:53:38.000000Z K 7 svn:log V 94 - Remove obsolete examples. - Add a comment about meaning of flags. - Disable unused defines. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-01T17:10:23.000000Z K 7 svn:log V 84 Remove bits not related to isa configuration. This file was repo-copied from cy.c. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-01T17:21:07.000000Z K 7 svn:log V 191 Removed bits related to isa configuration. These have been moved to cy_isa.c via a repo-copy of this file (except for some static declarations which will become non-static in a new header). END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-01T17:44:03.000000Z K 7 svn:log V 217 New header for exporting declarations of things not closely related to hardware. A couple of the declarations were misplaced in cy_pci.c, and cy_isa.c needs a couple more. The exported interfaces should be cleaner. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-01T18:09:16.000000Z K 7 svn:log V 228 Adjust pathnames for the move from i386/isa to dev/cy. Adjust staticness and a variable name for the split of cy.c into cy.c and cy_isa.c. Use the new header required for the split to avoid repeating declarations in cy_pci.c. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-05-01T18:11:20.000000Z K 7 svn:log V 17 Add missing word END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-05-01T18:17:23.000000Z K 7 svn:log V 250 Build gpt(8) on all platforms, except sparc64. Currently gpt(8) is not endian agnostic and thus will create big-endian GPTs on sparc64. This we don't support. So, before gpt(8) can be used on a big-endian machine, it has to deal with the endianness. END K 10 svn:author V 3 jdp K 8 svn:date V 27 2004-05-01T18:41:19.000000Z K 7 svn:log V 50 MFC 1.21: Fix memory leak in ng_get_string_token. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-01T18:42:14.000000Z K 7 svn:log V 182 Reduce differences with cy_pci.c: add a description of this file, and don't use too many tabs in declarations. Attempt to complete KNFization of this file (1 more indentation fix). END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-01T18:43:00.000000Z K 7 svn:log V 86 Reduce differences with cy_isa.c: fixed an unsorted include. Remove unused includes. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-01T21:47:31.000000Z K 7 svn:log V 36 Style fixes, most suggested by bde. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-02T00:27:54.000000Z K 7 svn:log V 309 Remove the bogus printing of the asr control device major number. Also rename the control device from rasr%d to asr%d. This starts us down the path of divorcing ourselves from a very bogus design in the management apps. Since the apps are open source now, they will likely be updated and fixed before 5.3. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-02T00:38:38.000000Z K 7 svn:log V 42 Include appropriate flag header on Linux. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-05-02T00:43:02.000000Z K 7 svn:log V 317 A security issue: An archive containing a symlink to another directory, then a file with that symlink as a prefix can drop a file outside of the current directory, which can be a security hole. Plug this hole by refusing to extract files if a prefix of the pathname is a symlink. The -P option disables this check. END K 10 svn:author V 7 smkelly K 8 svn:date V 27 2004-05-02T01:55:23.000000Z K 7 svn:log V 198 Teach rpcgen to generate .h files properly when the input filename contains characters that can't be used in preprocessor macros. PR: bin/66156 Submitted by: K S Braunsdorf END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-05-02T02:54:37.000000Z K 7 svn:log V 121 Apply patch from gzip web page to correctly decompress files larger than 4GB on architectures with 64-bit long integers. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-02T03:33:18.000000Z K 7 svn:log V 354 Remove the defAlignLong and getAlignLong macros. I guess that the original intent was to make sure that message structs allocated off of the stack were 4-byte aligned. However, the macros as defined did absolutely nothing. And since I2O forces you to manually copy messages down to the hardware, there really is no point of enforced alignment anyways. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-05-02T03:51:53.000000Z K 7 svn:log V 54 Remove the static reservation of the asr major number END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-02T05:21:29.000000Z K 7 svn:log V 245 Switch to using the moved cy driver (adjust pathnames and remove "count" parameter). Keep using it only in the i386 NOTES for now. It is fairly MI, but it doesn't use bus-space and has a couple of i386 i/o instructions in pci intitialization. END K 10 svn:author V 3 bde K 8 svn:date V 27 2004-05-02T05:38:49.000000Z K 7 svn:log V 113 Remove old cy driver files. They have been repo-copied to sys/dev/cy and sys/dev/ic and adjusted to work there. END