ƒ¯@111000 211 125 123 123 205 119 122 122 122 241 160 319 313 144 239 374 110 199 185 272 252 169 122 164 144 285 345 792 252 279 161 243 163 311 363 330 157 127 452 230 152 384 207 122 152 410 198 202 368 138 117 218 196 516 462 381 153 340 112 230 166 403 455 181 191 381 162 156 170 767 121 224 176 708 114 303 152 118 154 133 1187 167 134 122 562 265 168 121 159 186 179 224 379 233 136 181 264 411 124 689 139 142 122 145 188 192 155 138 143 126 115 127 1006 720 132 306 147 113 250 285 157 182 172 126 353 266 136 271 364 137 122 365 197 152 172 107 120 442 165 139 355 113 1734 238 445 370 362 105 128 240 182 145 148 392 171 207 126 164 386 325 135 174 170 172 378 868 177 223 215 120 136 137 139 184 105 158 125 106 141 118 338 163 121 173 189 181 117 182 602 602 196 116 218 144 204 354 143 192 159 117 512 161 117 139 135 154 1105 2608 156 122 119 237 K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T14:08:52.000000Z K 7 svn:log V 33 Remove include of END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T14:09:16.000000Z K 7 svn:log V 31 Remove #include END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T14:13:23.000000Z K 7 svn:log V 31 Remove #include END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T14:15:03.000000Z K 7 svn:log V 112 This file is now empty and should no longer be used anywhere. Put a #warning here to alert people to the fact. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2003-02-16T14:26:23.000000Z K 7 svn:log V 24 Pointy hat- bad commit. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T15:21:26.000000Z K 7 svn:log V 30 Add #include END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T15:31:26.000000Z K 7 svn:log V 30 Add #include END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T15:46:25.000000Z K 7 svn:log V 30 Add #include END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T16:01:52.000000Z K 7 svn:log V 148 Add #include My apologies for missing these #includes, I must have confused the dependencies with a wrong timestamp or something. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2003-02-16T16:12:10.000000Z K 7 svn:log V 65 Fix logic in loop so it actually executes. Pointed out by: fjoe END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-16T17:29:11.000000Z K 7 svn:log V 223 Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). Only warnings that could be fixed without changing the generated object code and without restructuring the source code have been handled. Reviewed by: /sbin/md5 END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2003-02-16T17:30:49.000000Z K 7 svn:log V 215 When trimming memory to fit Maxmem, and we discard an entire cluster, make certain to subtract its pages from physmem. Otherwise we end up running phys_avail_cnt negative, and bad stuff happens. MFC After: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-16T18:03:15.000000Z K 7 svn:log V 52 No need to wrap siodetach() with sio_pccard_detach. END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-02-16T18:04:06.000000Z K 7 svn:log V 146 Condense the output to one line per removed user. For user's who want the more verbose version, there's a -v option. Approved by: markm (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-16T18:05:54.000000Z K 7 svn:log V 281 Whatever dumbass wrote sio_pci.c didn't include a detach method. Wearing said pointy hat, correct the oversight and hope nobody notices. # this should make xircom modems happier to detach once other bugs with # the cardbus layer are fixed. Noticed by: scottl Conical Hat to: imp END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-02-16T18:06:04.000000Z K 7 svn:log V 18 Update copyright. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2003-02-16T18:38:12.000000Z K 7 svn:log V 101 Correct typos. Submitted by: Seth Hieronymus X-MFC after: 4.8 is out the door END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-16T19:22:21.000000Z K 7 svn:log V 93 Change "dev_t gdbdev" to "void *gdb_arg", some possible paths for GDB will not have a dev_t. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2003-02-16T19:25:04.000000Z K 7 svn:log V 174 zero the end of the memory cluster we're disposing of. Otherwise teh vm page startup code finds a 20GB cluster on this wacky alphaserver I'm working on.. MFC After: 7 days END K 10 svn:author V 3 mtm K 8 svn:date V 27 2003-02-16T20:46:08.000000Z K 7 svn:log V 159 We stopped reloading rc.conf for each script a long time ago. Things shouldn't depend on that any more. PR: conf/48332 Approved by: markm (mentor)(implicit) END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-02-16T21:30:30.000000Z K 7 svn:log V 76 New release notes: FILE 3.40, IPFilter 3.4.31. MFC noted: OpenSSL 0.9.7. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-02-16T22:30:00.000000Z K 7 svn:log V 26 Correct the BSD/OS macro. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2003-02-16T22:30:01.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-02-17T00:22:34.000000Z K 7 svn:log V 51 MFC: OpenSSL 0.9.7. Approved by: re (implicitly) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-02-17T02:19:58.000000Z K 7 svn:log V 191 - Move ke_sticks, ke_iticks, ke_uticks, ke_uu, ke_su, and ke_iu back into the proc. These counters are only examined through calcru. Submitted by: davidxu Tested on: x86, alpha, UP/SMP END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-17T03:51:44.000000Z K 7 svn:log V 252 Second attempt at removing machdep.h and using ALIGN from . The problem with the previous attempt, as noticed by Marcel, was that stacknxt was being aligned to a pointer boundary instead of an ALIGNBYTES + 1 boundary, which broke sparc64. END K 10 svn:author V 4 ache K 8 svn:date V 27 2003-02-17T03:52:35.000000Z K 7 svn:log V 698 Back out "drop first N values" method of removing monotonically increased seed->first value correlation. It breaks rand_r()... Other possible methods like shuffling inside aray will breaks rand_r() too, because it assumes only one word state, i.e. nothing extra can be added after seed assignment in srand(). BTW, for old formulae seed->first value correlation is not so monotonically increased as with other Linear Congruential Generators of this type only becase arithmetic overflow happens. But overflow affects distribution and lower bits very badly, as many articles says, such type of overflow not improves PRNG. So, monotonically increased seed->first value correlation problem remains... END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T04:13:44.000000Z K 7 svn:log V 159 Move call to pci_print_verbose until after all the variables that it depends on. Pointy hat to: imp (anybody know if these things are accepted at Eco-Cycle?) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-02-17T05:14:26.000000Z K 7 svn:log V 185 - Split the struct kse into struct upcall and struct kse. struct kse will soon be visible only to schedulers. This greatly simplifies much the KSE code. Submitted by: davidxu END K 10 svn:author V 4 mini K 8 svn:date V 27 2003-02-17T07:47:13.000000Z K 7 svn:log V 68 Call the weak symbol for sigprocmask, so that it can be overridden. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-02-17T08:17:26.000000Z K 7 svn:log V 147 Print two new processor features: o Spontaneous deferral (A feature required by dutch railways :-) o 16-byte atomic operations (ld, st, cmpxchg) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-02-17T09:53:29.000000Z K 7 svn:log V 68 Define _ALIGNBYTES to be 15. This should have been done right away. END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-02-17T09:55:10.000000Z K 7 svn:log V 215 Move a bunch of flags from the KSE to the thread. I was in two minds as to where to put them in the first case.. I should have listenned to the other mind. Submitted by: parts by davidxu@ Reviewed by: jeff@ mini@ END K 10 svn:author V 4 jeff K 8 svn:date V 27 2003-02-17T09:58:11.000000Z K 7 svn:log V 269 - Add a new function, thread_signal_add(), that is called from postsig to add a signal to a mailbox's pending set. - Add a new function, thread_signal_upcall(), this causes the current thread to upcall so that we can deliver pending signals. Reviewed by: mini END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-17T10:03:02.000000Z K 7 svn:log V 237 Use the proc lock to protect p_realtimer instead of Giant, and obtain sched_lock around accesses to p_stats->p_timer[] to avoid a potential race with hardclock. getitimer(), setitimer() and the realitexpire() callout are now Giant-free. END K 10 svn:author V 4 mini K 8 svn:date V 27 2003-02-17T10:05:18.000000Z K 7 svn:log V 64 Deliver signals posted via an upcall to the appropriate thread. END K 10 svn:author V 6 julian K 8 svn:date V 27 2003-02-17T10:21:32.000000Z K 7 svn:log V 32 Fix missed patch in last commit END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-02-17T13:39:57.000000Z K 7 svn:log V 357 o Fix ipfw uid rules: socheckuid() returns 0 when uid matches a socket cr_uid. Note: we do not have socheckuid() in RELENG_4, ip_fw2.c uses its own macro for a similar purpose that is why ipfw2 in RELENG_4 processes uid rules correctly. I will MFC the diff for code consistency. Reported by: Oleg Baranov Reviewed by: luigi MFC after: 1 month END K 10 svn:author V 5 maxim K 8 svn:date V 27 2003-02-17T13:41:55.000000Z K 7 svn:log V 135 o Restore an interrupt priority level before return. Submitted by: Roman Kurakin Reviewed by: joerg MFC after: 5 days END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-17T13:45:13.000000Z K 7 svn:log V 57 Add libgmp.so.3 from 4.7-RELEASE CDs. Requested by: des END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-17T14:24:06.000000Z K 7 svn:log V 286 * firewire.c - Don't initiate bus reset even if probe failed for some nodes to prevent infinite bus reset loop. Problem Reported by: Pierre Beyssac - Protect timeout routine with splfw() for 4-stable. * sbp.c - Make sure to release devq when start request. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-17T14:41:22.000000Z K 7 svn:log V 110 Move code for detecting PS_NEEDSIGCHK into thread_schedule_upcall, I think it is a better place to handle it. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-17T14:54:57.000000Z K 7 svn:log V 26 Further fix PS_NEEDSIGCHK END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-02-17T17:26:03.000000Z K 7 svn:log V 57 Add libgmp.so.3 from 4.7-RELEASE CDs. Requested by: des END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T18:21:51.000000Z K 7 svn:log V 317 Add a bunch of cards that we've added IDs for in the past few months: +Allied Telesis WR211PCM Prism? PCMCIA +ArTem OnAir Prism? PCMCIA +Bay eMobility 11B Prism-2.5? PCMCIA +Blue Concentric Circle WL-379F Prism-II CF +Linksys WCF11 Prism-3 PCMCIA +YIS TWL-11B Prism-II PCMCIA END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T18:56:00.000000Z K 7 svn:log V 105 Expand length of pnpinfo and length fields since pccard pnpinfo can easily be longer than 64 characters. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T18:56:54.000000Z K 7 svn:log V 109 -v now also prints the pnpinfo and location information for the devices whose bus' provide this information. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T19:01:33.000000Z K 7 svn:log V 275 Bump pnpinfo and location size to 128 bytes. Since these are computed on the fly and read into userland one at a time, this costs very little total memory. The pnpinfo sizes of pccard is more than 64 bytes due to the length of the strings that man cards have in their CIS. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T19:47:02.000000Z K 7 svn:log V 46 These don't need to be semi-public after all. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T19:48:39.000000Z K 7 svn:log V 25 Kill a now-bogus comment END K 10 svn:author V 3 des K 8 svn:date V 27 2003-02-17T19:50:58.000000Z K 7 svn:log V 125 - build powerpc world on 9ball - log directly into two files: a full log and a summary - set timezone to GMT before starting END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T19:57:32.000000Z K 7 svn:log V 103 an driver now needs wlan, so put the required explicit depends into the source. Reviewed by: ambrisko END K 10 svn:author V 5 chris K 8 svn:date V 27 2003-02-17T20:04:06.000000Z K 7 svn:log V 421 - Document some of the sysctl parameters. The read-only ones will go into another subsection, but I'm not quite sure where yet. Right now it's just the configurable bits. - Move the label format off into another subsection to match other labeling policy man pages. - Make the sample range label look like the form specified. Sponsored by: DARPA, Network Associates Laboratories Obtained from: TrustedBSD Project END K 10 svn:author V 5 chris K 8 svn:date V 27 2003-02-17T20:11:09.000000Z K 7 svn:log V 367 o Add a note explaining the meaning of mls/equal beyond "equal to all labels" o Remove the ++ compartment range notation example as this has not yet been merged into CVS. o Include a "Runtime Configuration" section listing all of the relevant sysctl knobs for this policy. Sponsored by: DARPA, Network Associates Laboratories Obtained from: TrustedBSD Project END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-02-17T20:58:27.000000Z K 7 svn:log V 288 Do not remove object from the lists at the unref_dag() stage. Introduce a new unlink_object() function and call it in unload_object() instead. Removing the object in unref_dag() is too early, rtld calls _fini() function after that and shared objects might fail resolve their own symbols. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-02-17T21:08:41.000000Z K 7 svn:log V 57 MFC the miibus(4) manual page. Approved by: re (scottl) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-17T21:20:35.000000Z K 7 svn:log V 247 Move the pnp and location info into the common pci bus. Make all known pci busses implement this. Also minor comment smithing in cardbus. Fix copyright to this year with my name on it since I've been doing a lot to this file. Reviewed by: jhb END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-02-17T21:22:56.000000Z K 7 svn:log V 16 Xref miibus(4). END K 10 svn:author V 5 chris K 8 svn:date V 27 2003-02-17T22:21:41.000000Z K 7 svn:log V 135 Add a section on Giant lock manipulation macros. Submitted by: Hiten M. Pandya Reviewed by: bmilekic END K 10 svn:author V 5 chris K 8 svn:date V 27 2003-02-17T22:31:27.000000Z K 7 svn:log V 72 Back out revision 1.34 until we can come up with a more accurate patch. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-02-17T23:47:31.000000Z K 7 svn:log V 307 Sanity check the BAR length reported by the CIS with the BAR length that is encoded in the PCI BAR. The latter is more reliable. This allows the sio/modem function of the Xircom RealPort ethernet+modem card to work. Note that there still seem to be issues with sio_pci not releasing resources on detach. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2003-02-18T00:07:06.000000Z K 7 svn:log V 357 Nuke xargs, I haven't had to help anyone with it, so I assume it stands on its own just fine. Nuke request for heads-up on libufs, most of my work on it these days is gradual, and mention that I'm willing to help with work in it, so that others can feel free to make it suck less, and get feedback from me in a purely "I understand this crud" sort of way. END K 10 svn:author V 4 kris K 8 svn:date V 27 2003-02-18T01:35:58.000000Z K 7 svn:log V 88 Use arc4random() instead of random() when generating the master key. MFC after: 1 week END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-18T02:08:20.000000Z K 7 svn:log V 99 Revert ALIGN change for the second and last time. I can't figure out why this is breaking sparc64. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-02-18T02:51:53.000000Z K 7 svn:log V 287 New release notes: Linux IPv6 support, cm support for IPX (+MFC), FAST_IPSEC and INET6 can coexist (sort of), wfd/wst removal, compat4x adds libcrypto/libgmp/libssl libraries, config(8) nodevice, mount_nfs(8) -c (+MFC), ping(8) -M. Modified release notes: Explicitly name wlan module. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-02-18T02:53:06.000000Z K 7 svn:log V 69 MFC: cm IPX support, mount_nfs(8) -c. Approved by: re (implicitly) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-18T03:25:57.000000Z K 7 svn:log V 64 Include class designation in pnpinfo for generic driver loading END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-02-18T03:34:32.000000Z K 7 svn:log V 74 Remove contractions. Use `Force' in place of `Cause' which sounds better. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-02-18T03:36:49.000000Z K 7 svn:log V 672 Initiate de-orbit burn for USE_PCI_BIOS_FOR_READ_WRITE. This has been #if'ed out for a while. Complete the deed and tidy up some other bits. We need to be able to call this stuff from outer edges of interrupt handlers for devices that have the ISR bits in pci config space. Making the bios code mpsafe was just too hairy. We had also stubbed it out some time ago due to there simply being too much brokenness in too many systems. This adds a leaf lock so that it is safe to use pci_read_config() and pci_write_config() from interrupt handlers. We still will use pcibios to do interrupt routing if there is no acpi.. [yes, I tested this] Briefly glanced at by: imp END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-02-18T05:16:54.000000Z K 7 svn:log V 28 Fix stupid whitespace typo. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-02-18T06:20:16.000000Z K 7 svn:log V 131 M_MOVE_PKTHDR must happen before any cluster is attached Submitted by: Harti Brandt MFC after: 1 day END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-02-18T06:25:46.000000Z K 7 svn:log V 84 remove stray debugging printf Noted by: Kasper Steensgaard END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-02-18T09:01:01.000000Z K 7 svn:log V 614 Add drivers for the central and fhc busses found in enterprise class UltraSPARCs, and an eeprom attachment for fhc, which allows the date to be set properly on these machines. Central is a wierd bus which seems to only ever have 1 fhc attached to it. FHC (FireHose Controller) is another wierd bus with various things on it depending where its attached. The fhc attached to central has eeprom and zs, and the fhcs which attach directly to nexus have simm-status, environment and other nodes, none of which I'll probably ever have documentation for. Thanks to Ade Lovett for providing access to an 8 cpu e4500. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-02-18T09:38:51.000000Z K 7 svn:log V 21 Add central and fhc. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-18T09:39:48.000000Z K 7 svn:log V 205 * firewire.c - Fix memory leak in detaching. - Initialize fc->status to other than FWBUSREST. * fwohci.c - Ignore BUS reset events while BUS reset phase. We can't clear that flag during bus reset phase. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-18T09:46:52.000000Z K 7 svn:log V 55 Add 'uPD72871/2 IEEE1394 1-Chip OHCI Host Controller'. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-18T10:01:44.000000Z K 7 svn:log V 21 Use pci_get_devid(). END K 10 svn:author V 3 des K 8 svn:date V 27 2003-02-18T10:14:13.000000Z K 7 svn:log V 62 Explicitly set TZ to GMT (including in the build environment) END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-18T10:56:00.000000Z K 7 svn:log V 36 Fix fwdev memory leak on detaching. END K 10 svn:author V 8 matusita K 8 svn:date V 27 2003-02-18T12:09:20.000000Z K 7 svn:log V 1088 Yet another kernel diet: remove aacp and _KPOSIX_PRIORITY_SCHEDULING. aacp is a passthrough driver for aac, but it seems that aac kernel module has a feature provided by aacp; so it can be removed safely. _KPOSIX_PRIORITY_SCHEDULING provides P1003.1B realtime extension. However, in an installation phase, it seems that it helps a little for us, so we can remove this option from a kernel for floppy installation. I know _KPOSIX_PRIORITY_SCHEDULING option is defined in other architecture. However, I don't touch them at this time; I can't test it. Anyway here's result. Before diet: -rwxr-xr-x 1 matusita matusita 4849883 Feb 18 11:22 kernel -rwxr-xr-x 1 matusita matusita 1727143 Feb 18 11:47 kernel.kgz After diet: -rwxr-xr-x 1 matusita matusita 4840949 Feb 18 09:48 kernel -rwxr-xr-x 1 matusita matusita 1723911 Feb 18 11:47 kernel.kgz We've got extra 3232 bytes (using 5-current as of Feb/18/2003). In cooperation with: jwd (test ISO installation image) Boot tested on: several PCs around myself Installation tested on: VMware Workstation e.x.p build-4099 END K 10 svn:author V 8 deischen K 8 svn:date V 27 2003-02-18T12:31:57.000000Z K 7 svn:log V 70 Remove these from libc; they are now system calls. Prompted by: mini END K 10 svn:author V 3 des K 8 svn:date V 27 2003-02-18T12:50:37.000000Z K 7 svn:log V 42 Properly terminate some warning messages. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-18T13:39:52.000000Z K 7 svn:log V 27 Whack 28 unused variables. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-18T14:23:11.000000Z K 7 svn:log V 466 Previously, libcrypto contained symbols that were identical to EAY libdes, and functionally close enough so that we created symlinks (libdes -> libcrypto) to help older applications. With the import of OpenSSL 0.9.7, this is no longer true and we no longer install these symlinks. However, systems that are upgraded may have these symlinks, which could cause non-obvious breakage at build-time. Therefore, blow any old symlinks away in the `afterinstall' target. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-02-18T14:30:43.000000Z K 7 svn:log V 172 Correctly alphabetize options[] so we don't stop at -nouser when searching for -not. PR: bin/48423 Submitted by: Matsumura Naoki MFC after: 3 days END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-18T16:07:33.000000Z K 7 svn:log V 73 Follow-up to previous commit: we had a des.h symlink, too. Remove that. END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-02-18T17:13:27.000000Z K 7 svn:log V 29 MFC: 5823 pci id recognition END K 10 svn:author V 3 sam K 8 svn:date V 27 2003-02-18T17:24:20.000000Z K 7 svn:log V 67 MFC 1.28: M_MOVE_PKTHDR must happen before any cluster is attached END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-18T17:29:04.000000Z K 7 svn:log V 91 LIBDIR/INCLUDEDIR do not include DESTDIR. Reported by: Andrzej Tobola END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-18T17:35:20.000000Z K 7 svn:log V 87 Fix make universe's kernel builds on pc98: We need to pass both ARCH and TARGET_ARCH. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-02-18T18:02:32.000000Z K 7 svn:log V 130 The nfs_privport variable doesn't exist - mention nfs_reserved_port_only instead. Approved by: murray (mentor) MFC After: 2 days END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-02-18T18:50:54.000000Z K 7 svn:log V 286 - Fix mbuf leak when we successfully allocate a new mbuf but fail to bus_dmamap_load() it. - Make it so reusing mbufs when we can't allocate (or map) new ones actually works. We were previously trying to reuse a mbuf which was already bus_dmamap_unload()'ed. Reviewed by: silby END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-02-18T19:51:59.000000Z K 7 svn:log V 137 chflags(1) repo copied, usr.bin->bin. We've been installing chflags(1) into /bin since 2000-11-10, so this shouldn't cause any problems. END K 10 svn:author V 4 fanf K 8 svn:date V 27 2003-02-18T20:34:13.000000Z K 7 svn:log V 43 Add Greenspun's Tenth Rule of Programming. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-02-18T20:49:12.000000Z K 7 svn:log V 88 "Happiness" is a noun. PR: misc/47345 Submitted by: Ben Rosengart END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-02-18T21:04:55.000000Z K 7 svn:log V 170 Bring the suggested command for extracting a configuration file from the kernel into line with that suggested in LINT. PR: bin/48157 Submitted by: naddy MFC After: 4.8 END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-18T21:24:00.000000Z K 7 svn:log V 318 Move the resource handling down into the pci bus as well. Minor CIS resource allocation code cleanup Remove some fairly useless debug writes. This finishes the work to move as much cardbus code as possible into pci. We wind up removing 800-odd lines from cardbus.c: we go from 1285 to 400 lines. Reviewed by: mdodd END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-02-18T21:53:44.000000Z K 7 svn:log V 33 Add some PCI device ID's from HP END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-02-18T22:07:11.000000Z K 7 svn:log V 596 MFC: New SCSI target emulator code This code allows a user program to enable target mode on a SIM and then emulate any number of devices (disks, tape drives, etc.) All decisions about device behavior (UA, CA, inquiry response) are left to the usermode program and the kernel driver is merely a conduit for CCBs. This enables multiple concurrent target emulators, each using its own backing store and IO model. Also included is a user program that emulates a disk (RBC) using a file as a backing store. This provides functionality similar to md(4) at the CAM layer. Approved by: re (scottl) END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-02-18T22:16:20.000000Z K 7 svn:log V 44 Welcome to 4.8-PRERELEASE. Approved by: re END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-18T22:16:59.000000Z K 7 svn:log V 47 MFC: Add libcrypto.so.2/libssl.so.2 libraries. END K 10 svn:author V 6 murray K 8 svn:date V 27 2003-02-18T22:18:13.000000Z K 7 svn:log V 27 Update for 4.8-PRERELEASE. END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-02-18T22:27:41.000000Z K 7 svn:log V 54 MFC: rev 1.14 .. new PCI device id's Approved by: re END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2003-02-18T22:54:42.000000Z K 7 svn:log V 92 Update errors. PR: 48125 Submitted by: Per Hedeland (original version) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-02-18T23:12:55.000000Z K 7 svn:log V 97 Add an example to help one manually set the date on one machine taking the out put from another. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-02-18T23:45:01.000000Z K 7 svn:log V 61 Get rid of a silly message I added back in Sept 2001 (1.68). END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-02-18T23:59:49.000000Z K 7 svn:log V 44 Forced commit to double check script config END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-02-19T00:10:28.000000Z K 7 svn:log V 49 Harmless forced commit to re-test commit scripts END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-02-19T00:16:19.000000Z K 7 svn:log V 32 Re-test commit scripts. Again. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-02-19T00:18:13.000000Z K 7 svn:log V 21 Yet another re-test. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-02-19T00:32:01.000000Z K 7 svn:log V 33 Remove unused variable and code. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2003-02-19T00:32:48.000000Z K 7 svn:log V 908 Clean up error reporting in block.c, so that it gives honest error strings for the sorts of errors we run into[1]. This also gives us room to put in a vaguely appropriate casts to silence warnings since our compiler doesn't like when we compare ssize_t to size_t[2]. Add a cast in sblock.c[3] to silence a warning because of signed vs. size_t hell (again). Clean up nearby excessive parenthemutilation[4]. Reviewed by: bde [2] [3] Suggested by: bde, many [1] Submitted by: bde [4] An aside about [4], bde notes that we do not check for a negative value for the fs bsize. I'm nto going to do that in every situation we use it, one must expect a reasonable program to pass down reasonable values. Some foot shooting protection I will tolerate, some I will not. Also he suggests some possible conditional improvements there, which I may take to heart. PS: For me at least, this is now WARNS=5 clean... END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-19T01:14:52.000000Z K 7 svn:log V 622 - Detect PAL by CIP header rather than the DSF bit in the DV header. Some DVcam(ex. Panasonic NV-DS1 DV camcorder) doesn't seems to set this bit even if it's for PAL. Fix the DSF bit for such cases so that we can send back the stream to the DVcam without problem. Problem Reported by: Richard Tobin - Make the number of bulkxfer packets(NPACKET_T) and the number of packets write at once(TNBUF) to be different values. I observe some block noise for large TNBUF. - Show the detection of NTSC or PAL. - Pad with 0xff rather than 0x00 for broken frames. - Bzero hdr[0]. - Remove unused code. END K 10 svn:author V 3 jwd K 8 svn:date V 27 2003-02-19T02:41:29.000000Z K 7 svn:log V 40 Our first keyword hit for apropos ufs2. END K 10 svn:author V 8 matusita K 8 svn:date V 27 2003-02-19T03:49:17.000000Z K 7 svn:log V 208 Pushing back aacp driver to kern.flp kernel. It can be removed iff aac is not compiled into a kernel. After this change, kgziped kernel got about 320 bytes; it still fits a floppy. Pointy hat to: matusita END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-19T04:01:55.000000Z K 7 svn:log V 51 Optimize the case when max threads number was hit. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-02-19T04:28:12.000000Z K 7 svn:log V 21 Update for GCC 3.2.2 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-02-19T04:40:30.000000Z K 7 svn:log V 152 Fix the description for mkdtemp(), which creates directories, not files. Submitted by: Murray S. Kucherawy X-MFC after: re approval END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2003-02-19T05:12:44.000000Z K 7 svn:log V 187 MFC: Fix the description for mkdtemp(), which creates directories, not files. Revision Changes Path 1.23 +1 -1 src/lib/libc/stdio/stdio.3 Approved by: re (bmah) END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-02-19T05:47:46.000000Z K 7 svn:log V 65 Back out M_* changes, per decision of the TRB. Approved by: trb END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-19T06:32:52.000000Z K 7 svn:log V 90 Bump __FreeBSD_version to mark the fact that should no longer be included. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-19T06:33:37.000000Z K 7 svn:log V 80 Don't tell people to include any more. Pointed out by: kuriyama END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-19T06:59:00.000000Z K 7 svn:log V 30 Eliminate unused KSE symbols. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-02-19T08:23:38.000000Z K 7 svn:log V 259 Implement interrupt resource allocation and setup. Set the interrupt group number properly based on the board id. Perform dummy reads of registers after writing to flush the hardware write buffers. This gets the soon to be committed zs attachment working. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-02-19T08:29:17.000000Z K 7 svn:log V 172 Munge the zs sbus attachment to work with fhc. This is a bit of a hack, but they would otherwise be almost identical so there's not much point in splitting it up further. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-19T09:59:12.000000Z K 7 svn:log V 40 M_WAITOK and remove an useless comment. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-19T10:12:42.000000Z K 7 svn:log V 178 The "m = m->m_next" that was removed in the revision 1.12 was necessary for the m->m_next != NULL case to avoid looping infinitely when the first mbuf in the chain becomes full. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-19T11:54:35.000000Z K 7 svn:log V 271 Do not call smbfs_attr_cacheremove() in the EXDEV case in smbfs_rename(). One of the vnodes is on different mount and is possibly on a different kind of filesystem; treating it as an smbfs vnode then writing to it will probably corrupt it. PR: 48381 MFC after: 1 month END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-19T13:36:51.000000Z K 7 svn:log V 41 Update comments to reflect new KSE code. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-19T13:40:24.000000Z K 7 svn:log V 26 Count non-threaded group. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-02-19T15:25:07.000000Z K 7 svn:log V 273 Back out the removal (here too) of the "custom" version of . It is needed to cross-build sparc64 on RELENG_4 and to build sparc64 on say 5.0-DP1 (on systems without ). This will be revisited when we create RELENG_5. Spotted by: make universe END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-02-19T15:40:19.000000Z K 7 svn:log V 105 Fixed universe. Folded pc98 into the common case. Retired ${JFLAG} (``make -jX universe'' should work). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-02-19T16:56:30.000000Z K 7 svn:log V 57 We can simplify this Makefile down to a single line now. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-02-19T16:57:12.000000Z K 7 svn:log V 81 Don't spam sys/${MACHINE}/conf/ with _.${MACHINE}.makeLINT. Submitted by: johan END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-02-19T17:25:58.000000Z K 7 svn:log V 14 Use M_WAITOK. END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-02-19T17:29:07.000000Z K 7 svn:log V 27 Missed a missing M_WAITOK. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-02-19T18:33:29.000000Z K 7 svn:log V 349 Fix panic on sparc64 introduced in my last commit. I really wish the busdma APIs were more consistent accross architectures. We should probably move all the other DMA map creations in xl_attach() where we can really handle them failing, since xl_init() is void and shouldn't fail. Pointy hat to: mux Tested by: Anders Andersson END K 10 svn:author V 4 jake K 8 svn:date V 27 2003-02-19T19:40:40.000000Z K 7 svn:log V 72 Fix definite panic when releasing interrupt resources. Spotted by: tmm END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-19T20:50:02.000000Z K 7 svn:log V 47 #include "opt_cpu.h" so we notice our options. END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-02-19T21:18:23.000000Z K 7 svn:log V 259 Clean up delayed acks and T/TCP interactions: - delay acks for T/TCP regardless of delack setting - fix bug where a single pass through tcp_input might not delay acks - use callout_active() instead of callout_pending() Sponsored by: DARPA, NAI Labs END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-02-19T21:33:46.000000Z K 7 svn:log V 18 Correct comments. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-02-19T21:38:29.000000Z K 7 svn:log V 1637 o Move the cleanup of the fib maps into aac_free_commands() so as to retain symetry with aac_alloc_commans(). Since aac_alloc_commands() allocates fib maps and places them onto the fib lists, aac_free_commands() should reverse those operations. o Combine two ifs with the same body with an ||. o Switch from uintptr_t to uint32_t for fib map load operations. The target is a uint32_t so using this type for the map load call avoids an extra cast. uintptr_t should only be used when you need an "int sized the same as the machine's poitner size" which is not the case here. o Removed the commented out M_WAITOK flag in the allocation in aac_alloc_commands(). The kernel will only block in the allocator if it can grow the size of the kernel. This usually results in a page-out which could involve this aac device. Thus, sleeping here could deadlock the machine. Assuming this operation is occurring outside of attach time, we have enough fibs to operate anyway, so waiting for fibs to free up is okay if not optimal. o In aac_alloc_commands(), if we cannot dmamem_alloc additional fib space, free the fib map. o In aac_alloc_commands(), if we cannot create per-command dmamaps, don't lose track of the fib map that is mapping all of the commands that we have already released into the free pool. Instead, just cut out of the loop and modify aac_free_commands to not attempt to free maps that have not been allocated. o Don't use a magic number when pre-allocating fibs. o Use PAGE_SIZE to allocate in page sized chunks instead of an architecture specific constant. Submitted by: gibbs END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-02-19T21:48:28.000000Z K 7 svn:log V 144 s/to try and retry/to retry/ PR: misc/48226 Submitted by: Gary W. Swearingen MFC After: 2 days Approved by: murray (mentor) END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-02-19T21:58:34.000000Z K 7 svn:log V 349 Make the aac driver be INTR_MPSAFE. Once the interrupt handler determines that a command completion happened, all further processing is deferred to a taskqueue. The taskqueue itself runs implicetely under Giant, but we already used a taskqueue for the biodone() processing, so this at least saves the contesting of Giant in the interrupt handler. END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-02-19T22:18:06.000000Z K 7 svn:log V 274 Convert tcp_fillheaders(tp, ...) -> tcpip_fillheaders(inp, ...) so the routine does not require a tcpcb to operate. Since we no longer keep template mbufs around, move pseudo checksum out of this routine, and merge it with the length update. Sponsored by: DARPA, NAI Labs END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-02-19T22:32:43.000000Z K 7 svn:log V 266 Add a TCP TIMEWAIT state which uses less space than a fullblown TCP control block. Allow the socket and tcpcb structures to be freed earlier than inpcb. Update code to understand an inp w/o a socket. Reviewed by: hsu, silby, jayanth Sponsored by: DARPA, NAI Labs END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-19T22:51:33.000000Z K 7 svn:log V 13 Add M_WAITOK END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-19T23:17:42.000000Z K 7 svn:log V 33 Vendor import of OpenSSL 0.9.7a. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-19T23:17:42.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r111147, 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 2003-02-19T23:17:43.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-v0_9_7a'. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-19T23:24:16.000000Z K 7 svn:log V 50 Resolve conflicts after import of OpenSSL 0.9.7a. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-19T23:30:52.000000Z K 7 svn:log V 53 Regenerate man pages after import of OpenSSL 0.9.7a. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-02-19T23:33:56.000000Z K 7 svn:log V 296 Fix a 64-bit bogon. The hardware command structure only has one 32 bit field for holding driver-dependant data. Instead of putting the pointer to the driver command struct in there, take advantage of these structs being a (virtually) contiguous array and just put the array index in the field. END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-02-19T23:43:04.000000Z K 7 svn:log V 76 Unbreak non-IPV6 compilation. Caught by: phk Sponsored by: DARPA, NAI Labs END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-20T01:11:17.000000Z K 7 svn:log V 110 Move thread limits testing code up a bit. This let UPCALLING thread takes possible accumulated contexts away. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-02-20T01:57:49.000000Z K 7 svn:log V 31 Catch up to latest KSE changes END K 10 svn:author V 6 grehan K 8 svn:date V 27 2003-02-20T01:59:42.000000Z K 7 svn:log V 69 Adjust IRQ count for psim's OpenPIC model - it seems to be off by 1. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-02-20T03:01:04.000000Z K 7 svn:log V 288 Fix a serious bug when computing the index for the reference counter array for mbuf clusters. I don't know how this got past early testing nor how it survived so long without getting caught. If anyone was seeing really really bizarre memory corruption in a few mbufs this would be why. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-02-20T03:21:34.000000Z K 7 svn:log V 229 Merge diff between rev 1.08 and rev 1.11 of Tekram driver, this notably add support for Tekram DC395U2W cards. Add a fix submitted by joerg@ to correctly report some errors to CAM. Use bus_dma instead of the remaining vtophys(). END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-02-20T03:22:15.000000Z K 7 svn:log V 40 Note we now support the DC395U2W cards. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-02-20T03:22:53.000000Z K 7 svn:log V 79 Move trm(4) to the drivers floppy. This should have been done a long time ago. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-02-20T03:26:11.000000Z K 7 svn:log V 75 Remove duplicate includes. Submitted by: Cyril Nguyen-Huu END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-02-20T03:27:09.000000Z K 7 svn:log V 77 Add a "hw.syscons.bell" sysctl, which can disable the bell at syscons level. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-20T04:18:42.000000Z K 7 svn:log V 285 Remove the PL_SHAREMOD flag from struct plimit, which could have been used to share resource limits between rfork threads, but never was. Removing it makes resource limit locking much simpler -- only the current process can change the contents of the structure that p_limit points to. END K 10 svn:author V 8 bmilekic K 8 svn:date V 27 2003-02-20T04:26:58.000000Z K 7 svn:log V 770 o Allow "buckets" in mb_alloc to be differently sized (according to compile-time constants). That is, a "bucket" now is not necessarily a page-worth of mbufs or clusters, but it is MBUF_BUCK_SZ, CLUS_BUCK_SZ worth of mbufs, clusters. o Rename {mbuf,clust}_limit to {mbuf,clust}_hiwm and introduce {mbuf,clust}_lowm, which currently has no effect but will be used to set the low watermarks. o Fix netstat so that it can deal with the differently-sized buckets and teach it about the low watermarks too. o Make sure the per-cpu stats for an absent CPU has mb_active set to 0, explicitly. o Get rid of the allocate refcounts from mbuf map mess. Instead, just malloc() the refcounts in one shot from mbuf_init() o Clean up / update comments in subr_mbuf.c END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-02-20T04:32:44.000000Z K 7 svn:log V 84 Fix pathnames: BIN should be BASE for FreeBSD 5.0 and later. Submitted by: obraun END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-02-20T05:20:05.000000Z K 7 svn:log V 127 Update teh aac(4) manpage to note new controllers, the scsi passthru interface, changes to linux compatibilty, and fewer bugs. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-02-20T05:35:52.000000Z K 7 svn:log V 120 Fix fumble in rev 1.525. pmap_kenter()'s second argument is a physical address, not a page index. Laughed at by: jake END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-02-20T06:47:54.000000Z K 7 svn:log V 25 Simplify page alignment. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-20T08:18:15.000000Z K 7 svn:log V 40 Add a timeout parameter to kse_release. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-20T08:22:04.000000Z K 7 svn:log V 41 Forgot to set KU_DOUPCALL in kse_wakeup. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-20T08:24:22.000000Z K 7 svn:log V 43 Adjust code for new kse_release interface. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-02-20T08:51:16.000000Z K 7 svn:log V 89 The completion queue is no longer used, so nuke its associated code and data structures. END K 10 svn:author V 3 ume K 8 svn:date V 27 2003-02-20T11:24:55.000000Z K 7 svn:log V 13 Add M_WAITOK END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-20T13:32:48.000000Z K 7 svn:log V 66 Mark linux_getpid(), linux_getuid() and linux_getgid() as MPSAFE. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-20T13:34:15.000000Z K 7 svn:log V 33 Regen from syscalls.master 1.50. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-02-20T15:05:39.000000Z K 7 svn:log V 15 Fixed comment. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-20T15:07:39.000000Z K 7 svn:log V 46 MFC OpenSSL 0.9.7a. Approved by: re (murray) END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-02-20T15:09:52.000000Z K 7 svn:log V 27 Removed extra parentheses. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-20T15:35:54.000000Z K 7 svn:log V 245 Add a dead_cdevsw which does its best to return ENXIO if at all possible. In devsw() return dead_cdevsw instead of NULL in case the dev_t does not have a si_devsw. This may improve our survival chances with devices which go away unexpectedly. END K 10 svn:author V 3 mux K 8 svn:date V 27 2003-02-20T17:08:42.000000Z K 7 svn:log V 71 Uncomment the xl(4) driver since it's now working properly on sparc64. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-20T17:14:24.000000Z K 7 svn:log V 26 Update to OpenSSL 0.9.6i. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-02-20T17:26:11.000000Z K 7 svn:log V 80 Modified release notes: OpenSSL-0.9.7a. While here, fix a minor markup bogon. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2003-02-20T17:31:12.000000Z K 7 svn:log V 94 Implement a "sndbuf_getbufaddr" function and use it instead of vtophys(). Reviewed by: orion END K 10 svn:author V 4 bmah K 8 svn:date V 27 2003-02-20T17:31:22.000000Z K 7 svn:log V 88 MFC: targ(4) update, compat4x additions, OpenSSL-0.9.7a. Approved by: re (implicitly) END K 10 svn:author V 4 ceri K 8 svn:date V 27 2003-02-20T17:32:26.000000Z K 7 svn:log V 24 Remove extraneous word. END K 10 svn:author V 6 jlemon K 8 svn:date V 27 2003-02-20T18:22:21.000000Z K 7 svn:log V 87 Remove unused variables in the IPSEC case. Submitted by: Lars Eggert END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-02-20T19:55:45.000000Z K 7 svn:log V 509 First round off updates/fixes to the ATA driver. This moves all chipset specific code to a new file 'ata-chipset.c'. Extensive use of tables and pointers to avoid having the same switch on chipset type in several places, and to allow substituting various functions for different HW arch needs. Added PIO mode setup and all DMA modes. Support for all known SiS chipsets. Thanks to Christoph Kukulies for sponsoring a nice ASUS P4S8X SiS648 based board for this work! Tested on: i386, PC98, alpha and sparc64 END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-02-20T20:02:32.000000Z K 7 svn:log V 509 First round off updates/fixes to the ATA driver. This moves all chipset specific code to a new file 'ata-chipset.c'. Extensive use of tables and pointers to avoid having the same switch on chipset type in several places, and to allow substituting various functions for different HW arch needs. Added PIO mode setup and all DMA modes. Support for all known SiS chipsets. Thanks to Christoph Kukulies for sponsoring a nice ASUS P4S8X SiS648 based board for this work! Tested on: i386, PC98, alpha and sparc64 END K 10 svn:author V 5 mikeh K 8 svn:date V 27 2003-02-20T20:13:07.000000Z K 7 svn:log V 101 Initialize sign to NULL so that we don't attempt to free() it in case of failure. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-02-20T20:22:20.000000Z K 7 svn:log V 25 mdoc(7) police: tidy up. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-20T20:39:31.000000Z K 7 svn:log V 122 Add touch to bootstap-tools. It appears to be necessary in order to make release RELENG_4_7 on later 4.x or 5.x systems. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2003-02-20T20:42:20.000000Z K 7 svn:log V 49 Merge from RELENG_5_0: Update to OpenSSL 0.9.6i. END K 10 svn:author V 3 kan K 8 svn:date V 27 2003-02-20T20:42:46.000000Z K 7 svn:log V 111 MFC: Properly remove unloaded objects from all lists. Implement dlinfo function. Aproved by: re (murray) END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-02-20T20:54:45.000000Z K 7 svn:log V 261 Change the console interface to pass a "struct consdev *" instead of a dev_t to the method functions. The dev_t can still be found at struct consdev *->cn_dev. Add a void *cn_arg element to struct consdev which the drivers can use for retrieving their softc. END K 10 svn:author V 5 johan K 8 svn:date V 27 2003-02-20T21:07:59.000000Z K 7 svn:log V 49 Make camcontrol WARNS=2 clean. Approved by: ken END K 10 svn:author V 6 scottl K 8 svn:date V 27 2003-02-20T23:13:48.000000Z K 7 svn:log V 97 On detach, don't remove the child from our list of children unless it has successfully detached. END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-02-21T01:47:17.000000Z K 7 svn:log V 65 Fix assignment of record sgd_addr and clean up via8233chan_init. END K 10 svn:author V 5 orion K 8 svn:date V 27 2003-02-21T01:47:59.000000Z K 7 svn:log V 23 Clean up viachan_init. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-21T02:09:04.000000Z K 7 svn:log V 414 Don't scan lun by myself while boot process leave it CAM to scan the bus. Some drives seem to be confused by simultaneous probes. Tested by: marcel As a side effect, logical units whose lun is greater than 0 might not be probed correctly if the lun of 0 doesn't exist in the target because CAM doesn't scan such luns. I have a SCSI-FireWire bridge which maps SCSI-ID to LUN and it is an example of such targets. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-21T02:09:39.000000Z K 7 svn:log V 64 Fix typo Submitted by: Masahiro Ito END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-21T02:14:00.000000Z K 7 svn:log V 20 remove unused code. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-02-21T02:16:35.000000Z K 7 svn:log V 44 Don't try to build devd when NO_CXX is set. END K 10 svn:author V 8 simokawa K 8 svn:date V 27 2003-02-21T02:27:13.000000Z K 7 svn:log V 38 Oops, forgot to put back debug level. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-02-21T02:30:51.000000Z K 7 svn:log V 59 Some things don't build for PowerPC yet. List from: benno END K 10 svn:author V 3 cjc K 8 svn:date V 27 2003-02-21T05:28:27.000000Z K 7 svn:log V 1011 The ancient and outdated concept of "privileged ports" in UNIX-type OSes has probably caused more problems than it ever solved. Allow the user to retire the old behavior by specifying their own privileged range with, net.inet.ip.portrange.reservedhigh default = IPPORT_RESERVED - 1 net.inet.ip.portrange.reservedlo default = 0 Now you can run that webserver without ever needing root at all. Or just imagine, an ftpd that can really drop privileges, rather than just set the euid, and still do PORT data transfers from 20/tcp. Two edge cases to note, # sysctl net.inet.ip.portrange.reservedhigh=0 Opens all ports to everyone, and, # sysctl net.inet.ip.portrange.reservedhigh=65535 Locks all network activity to root only (which could actually have been achieved before with ipfw(8), but is somewhat more complicated). For those who stick to the old religion that 0-1023 belong to root and root alone, don't touch the knobs (or even lock them by raising securelevel(8)), and nothing changes. END K 10 svn:author V 3 ken K 8 svn:date V 27 2003-02-21T06:19:38.000000Z K 7 svn:log V 2514 Fix ATAPI/USB/Firewire CDROM drive handling in cd(4) and hopefully fix a number of related problems along the way. - Automatically detect CDROM drives that can't handle 6 byte mode sense and mode select, and adjust our command size accordingly. We have to handle this in the cd(4) driver (where the buffers are allocated), since the parameter list length is different for the 6 and 10 byte mode sense commands. - Remove MODE_SENSE and MODE_SELECT translation removed in ATAPICAM and in the umass(4) driver, since there's no way for that to work properly. - Add a quirk entry for CDROM drives that just hang when they get a 6 byte mode sense or mode select. The reason for the quirk must be documented in a PR, and all quirks must be approved by ken@FreeBSD.org. This is to make sure that we fully understand why each quirk is needed. Once the CAM_NEW_TRAN_CODE is finished, we should be able to remove any such quirks, since we'll know what protocol the drive speaks (SCSI, ATAPI, etc.) and therefore whether we should use 6 or 10 byte mode sense/select commands. - Change the way the da(4) handles the no_6_byte sysctl. There is now a per-drive sysctl to set the minimum command size for that particular disk. (Since you could have multiple disks with multiple requirements in one system.) - Loader tunable support for all the sysctls in the da(4) and cd(4) drivers. - Add a CDIOCCLOSE ioctl for cd(4) (bde pointed this out a long time ago). - Add a media validation routine (cdcheckmedia()) to the cd(4) driver, to fix some problems bde pointed out a long time ago. We now allow open() to succeed no matter what, but if we don't detect valid media, the user can only issue CDIOCCLOSE or CDIOCEJECT ioctls. - The media validation routine also reads the table of contents off the drive. We use the table of contents to implement the CDIOCPLAYTRACKS ioctl using the PLAY AUDIO MSF command. The PLAY AUDIO TRACK INDEX command that we previously used was deprecated after SCSI-2. It works in every SCSI CDROM I've tried, but doesn't seem to work on ATAPI CDROM drives. We still use the play audio track index command if we don't have a valid TOC, but I suppose it'll fail anyway in that case. - Add _len() versions of scsi_mode_sense() and scsi_mode_select() so that we can specify the minimum command length. - Fix a couple of formatting problems in the sense printing code. MFC after: 4 weeks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-02-21T07:11:38.000000Z K 7 svn:log V 60 If UTS kernel is calling kse_wakeup for itself, do nothing. END K 10 svn:author V 3 des K 8 svn:date V 27 2003-02-21T07:33:41.000000Z K 7 svn:log V 30 Don't omit --update on 9ball. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-02-21T08:46:44.000000Z K 7 svn:log V 27 Remove "sleeper" nonsense. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2003-02-21T09:37:20.000000Z K 7 svn:log V 142 Don't try to deal with vi.recover if the directory doesn't exist PR: conf/24515 Submitted by: Jeroen C. van Gelderen END