ĴS138000 182 153 252 186 124 179 262 694 436 206 411 475 256 219 179 208 237 132 563 400 253 831 107 165 204 546 1175 146 459 457 226 170 336 431 2250 2331 160 459 306 370 422 515 347 142 166 237 148 350 332 495 431 171 132 395 123 232 161 159 224 193 233 261 650 193 147 140 210 1138 199 144 248 140 319 161 256 416 134 301 162 146 601 312 130 133 136 224 233 239 193 130 98 225 212 151 210 133 151 138 194 439 218 134 189 166 446 131 388 161 157 246 224 128 154 201 152 117 114 211 230 915 230 129 250 125 213 748 188 160 128 205 184 319 137 239 170 266 126 185 178 325 497 322 290 625 174 216 299 235 337 222 145 130 111 129 165 258 265 832 1133 150 123 225 118 232 236 206 359 244 255 228 218 191 612 152 201 208 314 170 132 131 138 152 451 K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-23T05:38:30.000000Z K 7 svn:log V 58 This file was repocopied from src/sys/boot/efi/arch/ia64. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-23T05:52:00.000000Z K 7 svn:log V 156 Visit the efi subdirectory before we visit the machine-specific subdirectory so that the library built there can be used by the machine specific boot code. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-23T06:02:03.000000Z K 7 svn:log V 91 This file was repocopied from src/sys/boot/efi/loader. Updated for the new build location. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-23T06:03:03.000000Z K 7 svn:log V 29 Hookup the efi subdirectory. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-23T06:04:51.000000Z K 7 svn:log V 84 Unhook the loader subdirectory. The ia64 EFI loader is now build under ../ia64/efi. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-11-23T07:13:33.000000Z K 7 svn:log V 165 MFC buffer.c, 1.24 to RELENG_5: Plug possible memory leak in sound DMA buffer handling. It also changes return code to ENOMEM in case of allocation failure. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-11-23T08:37:49.000000Z K 7 svn:log V 597 MFC to RELENG_5: ess.c, 1.33 mss.c, 1.92 sb16.c, 1.89 sb8.c, 1.78 au88x0.c, 1.9 aureal.c, 1.30 csapcm.c, 1.32 ds1.c, 1.41 emu10k1.c, 1.53 es137x.c, 1.52 fm801.c, 1.25 ich.c, 1.47 maestro3.c, 1.26 solo.c, 1.33 t4dwave.c, 1.45 via8233.c, 1.18 via82c686.c, 1.32 Audio drivers failed to detect failure condition and attempted to assign DMA address to the wrong address. It can cause system lockup or other mysterious errors. Since most sound cards requires low DMA address(BUS_SPACE_MAXADDR_24BIT) sndbuf_alloc() would fail when the audio driver is loaded after long running of operations. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-11-23T08:43:09.000000Z K 7 svn:log V 339 MFC t4dwave.c, 1.46 to RELENG_5: Limit DMA address space to 1GB since the trident audio cards can't handle DMA addresses located above 1GB. The LBA(loop begin address) register which holds DMA base address is 32bits register. But the MSB 2bits are used for other purposes. This effectivly limits the DMA address space up to 1GB. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-23T09:09:47.000000Z K 7 svn:log V 114 Hopefully fix the "aicasm" build-tool issue when using ${KERNSRCDIR} different from ${.CURDIR}. Reported by: jhb END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-23T09:30:27.000000Z K 7 svn:log V 314 o Use ng_timeout() instead of timeout(9). o Implement some netgraph flow control: - Whenever status of HDLC heartbeat from pear is timed out, send NGM_LINK_IS_DOWN message. - If HDLC link changes status from down to up, send NGM_LINK_IS_UP message. Approved by: julian (mentor), implicitly MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-23T09:45:47.000000Z K 7 svn:log V 378 Introduce new failure detection algorithm, called NG_ONE2MANY_FAIL_NOTIFY. It means, that node listens to flow control messages from downstreams and removes link from list of active links whenever a LINK_IS_DOWN message is received. If LINK_IS_UP message is received, then links is put back into list of active links. Approved by: julian (mentor), implicitly MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-23T09:48:13.000000Z K 7 svn:log V 159 Netgraph flow control: change interface status when node receive LINK_IS_UP/LINK_IS_DOWN messages. Approved by: julian (mentor), implicitly MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-23T10:47:08.000000Z K 7 svn:log V 124 Add Dell PERC 4e/Di and Dell PERC 4e/Si to the list of supported devices. Submitted by: Muthu_T@Dell.com MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-23T10:56:45.000000Z K 7 svn:log V 85 Bump documentation date for last commit, before I get poked by ru for forgetting it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-23T11:18:26.000000Z K 7 svn:log V 115 - Add missing Giant drop before acquiring the topology lock. - Move DROP_GIANT()/PICKUP_GIANT() to g_gate_ioctl(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-23T12:27:09.000000Z K 7 svn:log V 140 Document new changes: - how node listens to flow control messages - how node sends flow control messages Reviewed by: ru MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-23T12:54:44.000000Z K 7 svn:log V 36 Add missed 'the'. Submitted by: ru END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-23T15:30:02.000000Z K 7 svn:log V 466 MFC 1.110: - Since divert protocol is not connection oriented, remove SS_ISCONNECTED flag from divert sockets. - Remove div_disconnect() method, since it shouldn't be called now. - Remove div_abort() method. It was never called directly, since protocol doesn't have listen queue. It was called only from div_disconnect(), which is removed now. MFC part of 1.109: - in the beginning of div_output() replace KASSERT with assignment, as it was in rev. 1.83. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T15:59:43.000000Z K 7 svn:log V 303 Assert the tcbinfo write lock in tcp_new_isn(), as the tcbinfo lock protects access to the ISN state variables. Acquire the tcbinfo write lock in tcp_isn_tick() to synchronize timer-driven isn bumping. Staticize internal ISN variables since they're not used outside of tcp_subr.c. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T16:06:15.000000Z K 7 svn:log V 156 Assert inpcb lock in tcp_quench(), tcp_drop_syn_sent(), tcp_mtudisc(), and tcp_drop(), due to read-modify-write of TCP state variables. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T16:23:13.000000Z K 7 svn:log V 734 Assert the inpcb lock in tcp_twstart(), which does both read-modify-write on the tcpcb, but also calls into tcp_close() and tcp_twrespond(). Annotate that tcp_twrecycleable() requires the inpcb lock because it does a series of non-atomic reads of the tcpcb, but is currently called without the inpcb lock by the caller. This is a bug. Assert the inpcb lock in tcp_twclose() as it performs a read-modify-write of the timewait structure/inpcb, and calls in_pcbdetach() which requires the lock. Assert the inpcb lock in tcp_twrespond(), as it performs multiple non-atomic reads of the tcptw and inpcb structures, as well as calling mac_create_mbuf_from_inpcb(), tcpip_fillheaders(), which require the inpcb lock. MFC after: 2 weeks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-23T16:30:50.000000Z K 7 svn:log V 12 Use ns8250. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-23T16:31:16.000000Z K 7 svn:log V 70 Enable interrupts as soon as the pending interrupts have been masked. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-23T16:32:34.000000Z K 7 svn:log V 108 Implement a dummy atomic_cmpset_32(). It should be safe to use it in rtld as the signals are masked anyway. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T16:45:07.000000Z K 7 svn:log V 449 De-spl tcp_slowtimo; tcp_maxidle assignment is subject to possible but unlikely races that could be corrected by having tcp_keepcnt and tcp_keepintvl modifications go through handler functions via sysctl, but probably is not worth doing. Updates to multiple sysctls within evaluation of a single addition are unlikely. Annotate that tcp_canceltimers() is currently unused. De-spl tcp_timer_delack(). De-spl tcp_timer_2msl(). MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T17:21:30.000000Z K 7 svn:log V 1077 tcp_timewait() performs multiple non-atomic reads on the tcptw structure, so assert the inpcb lock associated with the tcptw. Also assert the tcbinfo lock, as tcp_timewait() may call tcp_twclose() or tcp_2msl_rest(), which require it. Since tcp_timewait() is already called with that lock from tcp_input(), this doesn't change current locking, merely documents reasons for it. In tcp_twstart(), assert the tcbinfo lock, as tcp_timer_2msl_rest() is called, which requires that lock. In tcp_twclose(), assert the tcbinfo lock, as tcp_timer_2msl_stop() is called, which requires that lock. Document the locking strategy for the time wait queues in tcp_timer.c, which consists of protecting the time wait queues in the same manner as the tcbinfo structure (using the tcbinfo lock). In tcp_timer_2msl_reset(), assert the tcbinfo lock, as the time wait queues are modified. In tcp_timer_2msl_stop(), assert the tcbinfo lock, as the time wait queues may be modified. In tcp_timer_2msl_tw(), assert the tcbinfo lock, as the time wait queues may be modified. MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-23T18:55:24.000000Z K 7 svn:log V 51 This file was repocopied to src/sys/boot/ia64/efi. END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-11-23T20:09:58.000000Z K 7 svn:log V 366 Implement per-jail fstab(5) files. Here's a rc.conf sample using this feature for a jail named foo : jail_foo_mount_enable="YES" jail_foo_fstab="/etc/fstab.foo" The second line is actually useless, since the code defaults to using "/etc/fstab.$jailname" as the fstab file if none is specified. MFC after: 3 days Submitted by: Jeremie Le Hen END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-23T21:08:15.000000Z K 7 svn:log V 364 MFC: Enhancements to the ddb "experience": - Add paging support to the various MD stack trace handlers. - Allow the number of lines per page to be adjusted via the $lines variable in ddb. Setting this variable to 0 effectively disables paging. - Fix the sparc64 userland stack trace to honor the total count argument so it won't loop forever in some cases. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-23T21:41:19.000000Z K 7 svn:log V 133 MFC: Store threads on sleep queues in FIFO order rather than priority order so that changing thread priorities are properly handled. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-23T21:46:14.000000Z K 7 svn:log V 78 MFC: Fix setting of ithread name and simplify setting of the IT_ENTROPY flag. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-23T22:11:53.000000Z K 7 svn:log V 243 Fix a cpuid mismatch from the recent cpuid rototill in Alpha: boot_cpu_id is a PAL ID, while PCPU_GET(cpuid) is a FreeBSD CPU ID. The FreeBSD CPU ID of the BSP is always zero, so use that to see which CPU should run the full clock functions. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T22:15:08.000000Z K 7 svn:log V 334 Correct a bug introduced in sys_pipe.c:1.179: in pipe_ioctl(), release the pipe mutex before calling fsetown(), as fsetown() may block. The sigio code protects the pipe sigio data using its own mutex, and the pipe reference count held by the caller will prevent the pipe from being prematurely garbage-collected. Discovered by: imp END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-23T22:26:44.000000Z K 7 svn:log V 2156 Rework the ACPI PCI link code. - Use a new-bus device driver for the ACPI PCI link devices. The devices are called pci_linkX. The driver includes suspend/resume support so that the ACPI bridge drivers no longer have to poke the links to get them to handle suspend/resume. Also, the code to handle which IRQs a link is routed to and choosing an IRQ when a link is not already routed is all contained in the link driver. The PCI bridge drivers now ask the link driver which IRQ to use once they determine that a _PRT entry does not use a hardwired interrupt number. - The new link driver includes support for multiple IRQ resources per link device as well as preserving any non-IRQ resources when adjusting the IRQ that a link is routed to. - The entire approach to routing when using a link device is now link-centric rather than pci bus/device/pin specific. Thus, when using a tunable to override the default IRQ settings, one now uses a single tunable to route an entire link rather than routing a single device that uses the link (which has great foot-shooting potential if the user tries to route the same link to two different IRQs using two different pci bus/device/pin hints). For example, to adjust the IRQ that \_SB_.LNKA uses, one would set 'hw.pci.link.LNKA.irq=10' from the loader. - As a side effect of having the link driver, unused link devices will now be disabled when they are probed. - The algorithm for choosing an IRQ for a link that doesn't already have an IRQ assigned is now much closer to the one used in $PIR routing. When a link is routed via an ISA IRQ, only known-good IRQs that the BIOS has already used are used for routing instead of using probabilities to guess at which IRQs are probably not used by an ISA device. One change from $PIR is that the SCI is always considered a viable ISA IRQ, so that if the BIOS does not setup any IRQs the kernel will degenerate to routing all interrupts over the SCI. For non ISA IRQs, interrupts are picked from the possible pool using a simplistic weighting algorithm. Tested by: ru, scottl, others on acpi@ Reviewed by: njl END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T22:28:40.000000Z K 7 svn:log V 2233 Merge if_em.c:1.53, if_em.c:1.54, if_em.h:1.29 from HEAD to RELENG_5: date: 2004/11/14 20:20:28; author: rwatson; state: Exp; lines: +19 -4 Further refine the if_em vlan fix in if_em.c:1.53: - Because em_encap() can now fail in a way that leaves us without an mbuf chain, potentially set *m_headp to NULL if that happens, so that the caller can do the right thing. This case can occur when we try to prepend the vlan header mbuf but can't allocate additional memory. - Modify the caller of em_encap() to detect a NULL m_head and not try to queue the mbuf if that happens. - When em_encap() fails, make sure to call bus_dmamap_destroy() to clean up. date: 2004/11/12 11:03:07; author: rwatson; state: Exp; lines: +1 -0 date: 2004/11/12 11:03:07; author: rwatson; state: Exp; lines: +43 -6 Correct a bug in the if_em driver relating to the use of vlans with promiscuous mode introduced in 1.45, which programs the em card not to strip or prepend tags when in promiscuous mode without also modifying behavior to manually prepend a vlan header in the event that the card isn't doing it on transmit. Due to a feature of card operation, if the global VLAN prepend/strip register isn't set, setting the VLAN tag flag on individual packet descriptors will cause the packet to be transmitted using ISL encapsulation rather than 802.1Q VLAN encapsulation. This fix causes em_encap() to prepend the header by tracking whether the card is configured to temporarily disable prepending/stripping due to promiscuous mode. As a result, entering promiscuous mode on the parent em interface no longer causes vlans to appear to "wedge" or transmit ISL-encapsulated frames, which typically will not be configured/spoken by the other endpoints on the VLAN trunk. This bug may also exist in other drivers, and the additional vlan encapsulation logic should be abstracted and centralized in if_vlan.c if so. RELENG_5_3 candidate. MFC after: 1 week Tested by: pjd, rwatson Reported by: astesin at ukrtelecom dot net Reported by: Mike Tancsa Reported by: Iasen Kostov MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-23T22:30:03.000000Z K 7 svn:log V 68 - Remove some no longer used constants. - Sort function prototypes. END K 10 svn:author V 7 wollman K 8 svn:date V 27 2004-11-23T22:57:17.000000Z K 7 svn:log V 362 Add a `-m month' flag to provide a more convenient interface for displaying a calendar for a specific month of the current year than `cal $(date +"%Y") month'. A few minor code cleanups. Set WARNS=1. (This code is WARNS=5 clean except for "`O' modifier used with `%B' strftime format", which is legal in FreeBSD but GCC doesn't know about.) MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T23:07:12.000000Z K 7 svn:log V 209 When printing information on the current thread, such as when entering DDB, also print the pid of the process if present. Since much debugging still centers around processes, having the pid is quite helpful. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T23:11:47.000000Z K 7 svn:log V 273 When printing a stack trace for a thread, also print the pid and tid. When a series of traces is included in a bug report, this will make it easier to tie the trace information back to ps or threads output, each of which will show the pid or the tid, but usually not both. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T23:31:33.000000Z K 7 svn:log V 325 Assign if_broadcastaddr to NULL not 0 in if_attach(). Printf() a warning if if_attachdomain() is called more than once on an interface to generate some noise on mailing lists when this occurs. Fix up style in if_start(), where spaces crept in instead of tabs at some point. MFC after: 1 week MFC note: Not the printf(). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-23T23:41:20.000000Z K 7 svn:log V 418 In tcp_reass(), assert the inpcb lock on the passed tcpcb, since the contents of the tcpcb are read and modified in volume. In tcp_input(), replace th comparison with 0 with a comparison with NULL. At the 'findpcb', 'dropafterack', and 'dropwithreset' labels in tcp_input(), assert 'headlocked'. Try to improve consistency between various assertions regarding headlocked to be more informative. MFC after: 2 weeks END K 10 svn:author V 8 dhartmei K 8 svn:date V 27 2004-11-24T00:43:34.000000Z K 7 svn:log V 249 fix a bug that leads to a crash when binat rules of the form 'binat from ... to ... -> (if)' are used, where the interface is dynamic. Discovered by: kos(at)bastard(dot)net Analyzed by: Pyun YongHyeon Approved by: mlaier (mentor) MFC after: 1 week END K 10 svn:author V 3 mux K 8 svn:date V 27 2004-11-24T10:44:39.000000Z K 7 svn:log V 50 Fix a typo in an error message. Spotted by: ceri END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-11-24T10:47:26.000000Z K 7 svn:log V 74 Return ATA register values in the request struct when ATAREQUEST returns. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-24T12:49:39.000000Z K 7 svn:log V 144 Dump current status of battery as well. The -i code doesn't really belong here in the first place I would think, but keep it together for now. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-11-24T14:47:06.000000Z K 7 svn:log V 56 Correct mutexes names in comment. Reviewed by: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-24T14:54:33.000000Z K 7 svn:log V 257 Fix comments for serial I/O function prototypes that were broken in the assembler to cpp(1) comment conversions. This allows btx to compile again when BTX_SERIAL is defined. Reported by: Danny Braniss danny at cs dot huji dot ac dot il MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-24T15:32:07.000000Z K 7 svn:log V 239 phk jumped the gun and posted what looks like a preliminary version of my patches for this information. Commit my more complete version. This version isn't complete yet, since some details aren't handled right just yet. Poaching by: phk END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-24T15:39:04.000000Z K 7 svn:log V 402 - If the COMSPEED is set to 0, then don't try to initialize the serial port and assume that the BIOS has set it up for us. This allows folks with a serial-aware BIOS to set the BIOS to speeds above 9600 and allow boot0 to just use the existing settings. - Purge some gratuitous cpp comments as per style(9). Submitted by: Danny Braniss danny at cs dot huji dot ac dot il (1) MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-24T16:02:20.000000Z K 7 svn:log V 338 o Report charge/discharge rate and remaining capacity in the proper units (as specified in _BIF). (noted by Bruno Ducrot) o In looking in the standard, if the cap numbers are 0xffffffff, then acpi is reporting unknown for that field. Report unknown numbers properly. o Update the state to reflect charging, discharging and critical. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-24T16:06:02.000000Z K 7 svn:log V 79 MFC: Don't adjust the random device kthread's priority to PUSER when sleeping. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-24T16:56:32.000000Z K 7 svn:log V 40 MFC: Add a witness_warn() to uiomove(). END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-24T16:57:32.000000Z K 7 svn:log V 299 MFC, pf_if.c rev. 1.7: Improved interface handling. This fixes the use of renamed interfaces (ifconfig xl0 name foo) as well as some special interfaces such as the 6to4 tunnel. Reported by: Ed Schouten Tested by: freebsd-pf PR: kern/72444 END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-24T17:43:48.000000Z K 7 svn:log V 28 MFC: add an extra device ID END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-24T17:57:05.000000Z K 7 svn:log V 136 MFC: Some changes from NetBSD via -current Version 1.7 fixes a few toggle problems and cleans up some code and commenrts. More to come. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-24T18:02:22.000000Z K 7 svn:log V 66 MFC cleanups and such up to version 1.11 From NetBSD via -current END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-24T18:03:52.000000Z K 7 svn:log V 63 Link critical_enter.9 to critical.9 to make it easier to find. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-24T18:10:02.000000Z K 7 svn:log V 131 MFC: Optimize atomic_store_rel() and atomic_load_acq() on UP kernels to use simple load and store operations without any barriers. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-24T18:10:44.000000Z K 7 svn:log V 98 MFC support for interrupt pipes and better BIOS handover. MFC: ehci.c rev 1.13 amd ehcivar.h 1.5 END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-24T18:26:53.000000Z K 7 svn:log V 137 MFC 1.14 Diff reduction to -current. MFC the detach code but do not turn it on as I cannot test it properly. From iedowse and NetBSD END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-24T18:32:34.000000Z K 7 svn:log V 165 MFC 1.15 State saving under suspension conditions. Dissabled under ifdefs as I can not test it fully, but diff reduction to allow further MFCs to be done easier. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-24T18:41:53.000000Z K 7 svn:log V 554 Teach periodic(8) security output to display information about blocked packet counts by pf(4). This adds a ``daily_status_security_pfdenied_enable'' variable to periodic.conf, which defaults to ``YES'' as the matching IPF(W) versions. The output will look like this (line wrapped): pf denied packets: > block drop log on rl0 proto tcp all [ Evaluations: 504986 Packets: 0 Bytes: 0 States: 0 ] > block drop log on rl0 all [ Evaluations: 18559 Packets: 427 Bytes: 140578 States: 0 ] Submitted by: clive (thanks a lot!) MFC after: 2 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-24T18:45:46.000000Z K 7 svn:log V 96 Note that 4.11 will be the first 4.x based release to include this driver. Discussed with: ru END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-24T18:48:38.000000Z K 7 svn:log V 50 MFC: Add device polling support Approved by: ru END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-24T18:52:18.000000Z K 7 svn:log V 43 MFC: rev. 1.15 sf(4) supports polling now END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-24T18:55:46.000000Z K 7 svn:log V 114 MFC: recent USB2/EHCI related changes from NetBSD ehci.c 1.16 uhub.c 1.64 usb_subr.c 1.73 usbdivar.h 1.42 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-11-24T18:56:13.000000Z K 7 svn:log V 1040 Try to close a potential, but serious race in our VM subsystem. Historically, our contigmalloc1() and contigmalloc2() assumes that a page in PQ_CACHE can be unconditionally reused by busying and freeing it. Unfortunatelly, when object happens to be not NULL, the code will set m->object to NULL and disregard the fact that the page is actually in the VM page bucket, resulting in page bucket hash table corruption and finally, a filesystem corruption, or a 'page not in hash' panic. This commit has borrowed the idea taken from DragonFlyBSD's fix to the VM fix by Matthew Dillon[1]. This version of patch will do the following checks: - When scanning pages in PQ_CACHE, check hold_count and skip over pages that are held temporarily. - For pages in PQ_CACHE and selected as candidate of being freed, check if it is busy at that time. Note: It seems that this is might be unrelated to kern/72539. Obtained from: DragonFlyBSD, sys/vm/vm_contig.c,v 1.11 and 1.12 [1] Reminded by: Matt Dillon Reworked by: alc MFC After: 1 week END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-24T19:04:30.000000Z K 7 svn:log V 103 MFC: Fix just the worst of the known timeout race conditions. ehci.c 1.20 uhci.c 1.159 ohci.c 1.147 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-24T19:06:43.000000Z K 7 svn:log V 47 Xref polling.4 and bump .Dd MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-24T19:48:07.000000Z K 7 svn:log V 155 MFC revision 1.197 Acquire and release Giant around a call to VOP_BMAP(). This is a prerequisite to any further reduction in Giant's use by vm_fault(). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-24T20:31:30.000000Z K 7 svn:log V 43 MLINK vge.4 to if_vge.4 MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2004-11-24T22:03:45.000000Z K 7 svn:log V 221 Gentle code cleanup for the maximum make(1) level foo. This moves it to a function, and moves the related defines out of the middle of code body. Submitted by: Max Okumoto less-than okumoto at ucsd dot edu greater-than END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-11-25T01:09:41.000000Z K 7 svn:log V 66 Remove a duplicate line from an apparent merge error in rev 1.63. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-25T04:25:21.000000Z K 7 svn:log V 161 Remove the build32.sh hack, it is now slightly broken (missing some compile args) and would be harmful to use. Leave the README pointing to WITH_LIB32 for now. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-11-25T07:25:58.000000Z K 7 svn:log V 319 MFC auxio(4) to RELENG_5: Port NetBSD auxio driver. The driver was modified to use led(4) and can be used to announce various system activity. The auxio device provides auxiliary I/O functions and is found on various SBus/EBus UltraSPARC models. At present, only front panel LED is controlled by this driver. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T09:11:27.000000Z K 7 svn:log V 42 Use system wide no-op vfs_start function. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-11-25T09:27:56.000000Z K 7 svn:log V 206 Increase a socket receive buffer size. This helps 'ngctl list' to deal with a big number of nodes. Submitted by: archie Approved by: archie Reported and tested: Konstantin Timashkov MFC after: 1 month END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T09:47:51.000000Z K 7 svn:log V 70 Integrate the relevant bits of vfs_rootmountalloc() where it matters. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-25T09:53:14.000000Z K 7 svn:log V 54 MFC 1.178: Follow RFC 959 regarding 21x status codes. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-25T10:01:26.000000Z K 7 svn:log V 506 Fix a very long-standing error in handling .SHELL targets: this target uses the brk_string function to parse the line. That function uses static storage for both the expanded string and the returned argv[] vector. The JobParseShell function simply stored away pointers into this static storage. On the next use of something like ${FOO:O} this storage would get overwritten with fatal results. This also allows us to make the shells[] array const bringing us one step further in making make WARNS=4 ready. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-25T10:03:29.000000Z K 7 svn:log V 217 Add some regression tests for the .SHELL target. I'm not sure that the output of shell_2j is actually correct - it just tests what make currently does. Make should switch on echoing for the second line, shouldn't it? END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-25T10:06:01.000000Z K 7 svn:log V 38 MFC: markup (to reduce diff to HEAD.) END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-25T10:09:01.000000Z K 7 svn:log V 41 MFC 1.37: Document S_* macros. Bump .Dd. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-25T10:11:23.000000Z K 7 svn:log V 44 MFC 1.40: Document more struct stat fields. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-25T10:17:12.000000Z K 7 svn:log V 131 MFC 1.18-1.19: Mention in the BUGS section that EVFILT_NETDEV events on vlan(4) will be noticed only if the parent uses miibus(4). END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-25T10:25:30.000000Z K 7 svn:log V 140 MFC: ftpd.c 1.185 '\n' needs not to appear in reply() strings. ftpd.c 1.186 Fix perror_reply() vs. reply() usage. ftpcmd.y 1.62 ---"--- END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-25T10:38:07.000000Z K 7 svn:log V 146 MFC: ftpd.c 1.185 '\n' needs not to appear in reply() strings. ftpd.c 1.186 Fix perror_reply() vs. reply() usage. ftpcmd.y 1.62 ---"--- END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T12:06:43.000000Z K 7 svn:log V 100 Assert Giant held in vfs_domount() and vfs_dounmount() Explicitly grab Giant before calling these. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T12:07:28.000000Z K 7 svn:log V 38 Mark mount, unmount and nmount MPSAFE END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T12:08:16.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-25T12:15:49.000000Z K 7 svn:log V 129 Don't use PAGE_SIZE to calculate controller-specific attributes. PR: kern/21220 Submitted by: Dennis Lindroos MFC After: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T12:19:24.000000Z K 7 svn:log V 119 Allow a filesystem to have both old and new mount methods at the same time. This will be necessary for transitioning. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-25T12:50:16.000000Z K 7 svn:log V 57 Include sys/sysctl.h on all architectures not only i386. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-25T12:51:51.000000Z K 7 svn:log V 115 Forced commit to note that the previous raised WARNS to 3. This has been tested on i386, alpha, sparc64 and amd64. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T13:24:46.000000Z K 7 svn:log V 41 Fix bug: don't let "synco" match "sync" END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T13:31:46.000000Z K 7 svn:log V 59 Add a convenience function for building nmount iov arrays. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-25T13:37:19.000000Z K 7 svn:log V 46 Add first cut at dethaumagizing UFS mounting. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-11-25T16:14:27.000000Z K 7 svn:log V 98 Avoid comparing pointer against a numerical value by adding a * in front of it. Reviewed by: phk END K 10 svn:author V 5 silby K 8 svn:date V 27 2004-11-25T19:04:20.000000Z K 7 svn:log V 344 Fix a problem where our TCP stack would ignore RST packets if the receive window was 0 bytes in size. This may have been the cause of unsolved "connection not closing" reports over the years. Thanks to Michiel Boland for providing the fix and providing a concise test program for the problem. Submitted by: Michiel Boland MFC after: 2 weeks END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-25T22:42:28.000000Z K 7 svn:log V 123 Remove duplicate paragraph accidentally introduced in 1.29.2.1. PR: docs/74390 Submitted by: Ulrich Spoerlein END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-25T22:50:44.000000Z K 7 svn:log V 37 Correct mismerged .Dd from rev. 1.30 END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-25T22:54:04.000000Z K 7 svn:log V 95 MFC 1.231: Only write the rc.conf header when a new rc.conf is written. Approved by: trhodes END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-11-25T22:54:05.000000Z K 7 svn:log V 70 This commit was manufactured by cvs2svn to create branch 'RELENG_5_4'. END K 10 svn:author V 6 julian K 8 svn:date V 27 2004-11-26T00:34:20.000000Z K 7 svn:log V 350 Apply a patch from Scott Mitchel to allow these devices to work properly again. This is not a perfect fix but since this is only for 4.x the 'not-goodness' of the patch will remain within this branch and should never propogate.. "good enough for government work" as we say in Australia. PR: 69319 Submitted by: scott+freebsd at fishballoon dot org END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-26T06:14:04.000000Z K 7 svn:log V 39 Fix LOR. Solution pointed out by: jhb END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-26T07:18:28.000000Z K 7 svn:log V 295 Eliminate null_open() and use instead null_bypass(). Null_open() was only here to handle MNT_NODEV, but since that does not affect any filesystems anymore, it could only have any effect if you nullfs mounted a devfs but didn't want devices to show up. If you need that, there are easier ways. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-26T07:37:42.000000Z K 7 svn:log V 69 Ignore MNT_NODEV, it is implicit in choice of filesystem these days. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-26T07:39:20.000000Z K 7 svn:log V 65 Ignore MNT_NODEV option, it is implicit in choice of filesystem. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-26T10:29:18.000000Z K 7 svn:log V 149 MFC new ng_{un,}timeout(), which uses callout() interface instead of timeout(). Update all nodes using this interface. Approved by: julian (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-26T11:19:12.000000Z K 7 svn:log V 127 Note that several netgraph modules need to be rebuilt. There were no such entry in HEAD, that's my fault. Wording by: rwatson END K 10 svn:author V 2 le K 8 svn:date V 27 2004-11-26T12:01:00.000000Z K 7 svn:log V 37 Implement checkparity/rebuildparity. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-26T12:17:23.000000Z K 7 svn:log V 60 Style: prototypes, un-register and remove some empty lines. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-11-26T12:31:36.000000Z K 7 svn:log V 109 Implement 'setstate' to allow setting the state of drives and subdisks for debugging and emergency purposes. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-26T13:54:56.000000Z K 7 svn:log V 58 WITNESS_DDB is now called WITNESS_KDB. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-26T15:04:26.000000Z K 7 svn:log V 22 Remove useless casts. END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-26T15:42:08.000000Z K 7 svn:log V 20 Remove unused file. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-26T18:31:57.000000Z K 7 svn:log V 116 MFC 1.22+1.23: - Add Dell PERC 4e/Di and Dell PERC 4e/Si to the list of supported devices. - Bump document date. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-26T18:45:58.000000Z K 7 svn:log V 135 Add Intel RAID Controller SRCS16 and SRCU42X to the list of supported devices. Submitted by: Samuel Clements END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-26T18:58:46.000000Z K 7 svn:log V 818 Implement parts of the TCP_INFO socket option as found in Linux 2.6. This socket option allows processes query a TCP socket for some low level transmission details, such as the current send, bandwidth, and congestion windows. Linux provides a 'struct tcpinfo' structure containing various variables, rather than separate socket options; this makes the API somewhat fragile as it makes it dificult to add new entries of interest as requirements and implementation evolve. As such, I've included a large pad at the end of the structure. Right now, relatively few of the Linux API fields are filled in, and some contain no logical equivilent on FreeBSD. I've include __'d entries in the structure to make it easier to figure ou what is and isn't omitted. This API/ABI should be considered unstable for the time being. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-11-26T19:01:57.000000Z K 7 svn:log V 134 Allow the gif module to be built without IPv6 support when NOINET6 is defined. Submitted by: mitrohin a.s. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-26T19:28:10.000000Z K 7 svn:log V 35 MFC: i386-on-amd64 TLS compat glue END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-26T19:28:39.000000Z K 7 svn:log V 157 Eliminate MNT_NODEV usage, it doesn't have any meaning any more. Keep a #define MNT_NODEV 0 around to avoid dealing with contrib userland like mount_smbfs. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-26T19:30:06.000000Z K 7 svn:log V 31 MFC: i386-on-amd64 compat glue END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-26T19:33:01.000000Z K 7 svn:log V 118 MFC: put build32.sh to death. Leave a pointer in the README file for a while that directs people to the world hooks. END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-11-26T19:42:40.000000Z K 7 svn:log V 656 With mii.h rev 1.4 changes to BMSR_MEDIAMASK merged in from NetBSD got activated. NetBSD has an additional change in their mii.c rev 1.26 which got missed with that merger: : When probing for a PHY, look at the EXTSTAT bit in the BMSR, as well, : not just the media mask. This prevents PHYs/TBIs that only support : Gigabit media from slipping through the cracks. With this GE only ones like from the SK-9844 are detected again. PR: i386/63313, i386/71733, kern/73725 Tested by: matt baker , Jin Guojun Approved by: rwatson (mentor) Obtained from: NetBSD mii.c rev 1.26 MFC after: 1 week END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-26T23:31:59.000000Z K 7 svn:log V 96 Temporarily disable programming IRQ links on resume. The new code hangs several of my systems. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-11-27T06:46:45.000000Z K 7 svn:log V 68 Axe the semblance of support for PECOFF and Linux a.out core dumps. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-11-27T06:46:48.000000Z K 7 svn:log V 36 Remove a.out support from gcore(1). END K 10 svn:author V 3 das K 8 svn:date V 27 2004-11-27T06:46:59.000000Z K 7 svn:log V 112 Axe a.out core dump support. Neither older gdb binaries nor current bfd sources understand the present format. END K 10 svn:author V 3 das K 8 svn:date V 27 2004-11-27T06:51:39.000000Z K 7 svn:log V 92 Don't include sys/user.h merely for its side-effect of recursively including other headers. END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-11-27T08:28:58.000000Z K 7 svn:log V 226 The Ken Thompson school of thought on expert systems: there's table lookup, fraud, and grand fraud. -- Andrew Hume USENIX'04 Technical Conference, reported by Adam S. Moskowitz ;Login: 29(5):49, October 2004. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-11-27T11:43:31.000000Z K 7 svn:log V 41 Unlock mutex if PDROP was set by caller. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-27T13:49:27.000000Z K 7 svn:log V 144 Add manual page for snd_ich(4). Submitted by: Jorge Mario G. Mazo (original version) PR: docs/73789 MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-27T13:57:22.000000Z K 7 svn:log V 76 Auto generate device listings for the snd_ich(4) driver. MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-27T15:05:27.000000Z K 7 svn:log V 171 MFC 1.46+1.47: - Document the DISABLE_VULNERABILITIES knob. - Don't say this manual page is too long, it's not that long. - s/man page/manual page/g - Bump document date. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-27T20:19:57.000000Z K 7 svn:log V 32 MFC: i386-on-amd64 binary glue. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-27T20:20:11.000000Z K 7 svn:log V 89 Do export the advertised receive window via the tcpi_rcv_space field of struct tcp_info. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-27T20:24:31.000000Z K 7 svn:log V 84 MFC: i386-on-amd64 binary support for TLS. Oops, I thought I'd already added this. END K 10 svn:author V 6 archie K 8 svn:date V 27 2004-11-27T20:29:00.000000Z K 7 svn:log V 229 Disable protocol field compression on the inner PPP frame when also doing normal PPP compression, as a workaround for certain (arguably) broken Linux PPP implementations that can't handle this particular case. MFC after: 1 week END K 10 svn:author V 6 peadar K 8 svn:date V 27 2004-11-27T20:59:49.000000Z K 7 svn:log V 401 When required to negate the absoulte result of a division/remainder operation (by subtracting the absolute result from 0), don't test for overflow. This avoids an arithmetic exception when dividing LONG_MIN by 1: This is the only case that causes overflow, and the resulting value is correct under 2's compliment arithmetic. PR: 72024 Approved by: dwmalone@ Obtained from: NetBSD MFC after: 4 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-28T00:26:11.000000Z K 7 svn:log V 226 Add efimd.c. This file contains MD code used by the EFI library. While changing the Makefile, fail the creation of loader.efi when there are unresolved symbols in loader.sym. This avoids silently creating a faulty EFI binary. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-28T00:30:22.000000Z K 7 svn:log V 194 o Introduce efimd_va2pa() to translate addresses in efi_copy{in|out}() and efi_readin(). This removes MD code from copy.c. o Don't unconditionally add pal.S to SRCS. It's specific to ia64. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-28T00:36:57.000000Z K 7 svn:log V 532 MFC revision 1.198 Remove unnecessary check for curthread == NULL. MFC revision 1.197 System maps are prohibited from mapping vnode-backed objects. Take advantage of this restriction to avoid acquiring and releasing Giant when wiring pages within a system map. MFC revisions 1.193 and 1.194 Further reduce the use of Giant by vm_fault(): Giant is held only when manipulating a vnode, e.g., calling vput(). This reduces contention for Giant during many copy-on-write faults, resulting in some additional speedup on SMPs. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-28T00:39:32.000000Z K 7 svn:log V 79 MFC, if_ed.c rev 1.236 ALTQ-patch for ed(4). Requested and tested by: pav END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-11-28T02:25:20.000000Z K 7 svn:log V 118 Remove single-quotes from around version number, it breaks scripts that parse the version number. Approved by: peter END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-28T04:34:17.000000Z K 7 svn:log V 203 Whitespace fixes: o Remove a bogus comment that relates to alpha. o s/u_int64_t/uint64_t/g o Add bi_spare2 to make the internal padding explicit. o Move BOOTINFO_MAGIC after the field it applies to. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-28T05:08:02.000000Z K 7 svn:log V 142 MFC Push Giant deep into vm_forkproc(), acquiring it only if the process has mapped System V shared memory segments (see shmfork_myhook()). END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-28T11:01:31.000000Z K 7 svn:log V 240 Expand coverage of the receive socket buffer lock when handling urgent pointer updates: test available space while holding the socket buffer mutex, and continue to hold until until the pointer update has been performed. MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-28T11:06:22.000000Z K 7 svn:log V 125 Assert the inpcb lock in tcp_xmit_timer() as it performs read-modify- write of various time/rtt-related fields in the tcpcb. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T11:08:23.000000Z K 7 svn:log V 53 #define the ioctls that take no arguments correctly. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T11:26:43.000000Z K 7 svn:log V 38 Use FILEDESC_LOCK_FAST in checkdirs() END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T13:28:04.000000Z K 7 svn:log V 19 Reduce -j12 to -j3 END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T13:45:31.000000Z K 7 svn:log V 37 don't mv(1) nonexistent directories. END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-11-28T13:47:12.000000Z K 7 svn:log V 74 MFC rev. 1.101 Document NO_NIS variable. Approved by: rwatson (mentor) END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-11-28T14:10:20.000000Z K 7 svn:log V 166 MFC knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. If turned on no NIS support and related programs will be built. Approved by: rwatson (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-11-28T14:19:20.000000Z K 7 svn:log V 168 MFC rm.1,v 1.32-1.33; rm.c 1.51: -I option which asks for confirmation once if recursively removing directories or if more than 3 files are listed in the command line. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-28T14:37:17.000000Z K 7 svn:log V 735 Don't acquire Giant before calling closef() in close() (and elsewhere); instead acquire it conditionally in closef() if it is required for advisory locking. This removes Giant from the close() path of sockets and pipes (and any other objects that don't acquire Giant in their fo_close path, such as kqueues). Giant will still be acquired twice for vnodes -- once for advisory lock teardown, and a second time in the fo_close method. Both Poul-Henning and I believe that the advisory lock teardown code can be moved into the vn_closefile path shortly. This trims a percent or two off the cost of most non-vnode close operations on SMP, but has a fairly minimal impact on UP where the cost of a single mutex operation is pretty low. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-28T16:00:36.000000Z K 7 svn:log V 1036 - Don't blindly use the return value of uart_cpu_channel() to calculate the address of a channel on a SCC, it returns 0 on failure. [1] - Hardcode channel 1 for the keyboard on Z8530, the information present in the Open Firmware device tree doesn't allow to determine this via uart_cpu_channel(). This makes the keyboard (if one backs out rev. 1.5 of sys/dev/puc/puc_sbus.c and has both keyboard and mouse plugged in to avoid the hang that revision works around) and consequently syscons(4) on Ultra 2 work. There's a problem with the keyboard LEDs similar to the one on Ultra 60 (LEDs don't get lit under X) though, instead of lighting just a specific single one all get lit and can't be turned off again. [1] - Add comments about what uart_cpu_channel() and uart_cpu_getdev_keyboard() do and their constraints. - Improve the comments about what uart_cpu_getdev_[console,dbgport]() do, they don't return an address (as in bus) but an Open Firmware package handle. Reviewed by: marcel (modulo the comments) [1] END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T16:15:43.000000Z K 7 svn:log V 58 Hardlink the generated /etc/fstab to /conf/base/etc/fstab END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T17:10:44.000000Z K 7 svn:log V 31 Add various customize scripts. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T17:12:15.000000Z K 7 svn:log V 132 Make it possible to specify a list of customize scripts. Look for them in ./Customize first, then relative to . and then absolute. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T17:14:03.000000Z K 7 svn:log V 26 Change CUSTOMIZE example. END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-11-28T17:44:22.000000Z K 7 svn:log V 138 Clarify that devd will only parse files whose names end in .conf. Prompted by PR: docs/73668 Submitted by: Dan Pelleg MFC After: 3 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-28T17:49:39.000000Z K 7 svn:log V 138 Correct the spelling of "archive_write_pax_header" in an error message. Thanks to: Michal Listos Inspired by, but doesn't fix: bin/74385 END K 10 svn:author V 4 ceri K 8 svn:date V 27 2004-11-28T17:51:05.000000Z K 7 svn:log V 112 MFC r1.25: Allow the -f argument to work. PR: bin/73229 Submitted by: Irina Liakh END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-28T17:57:11.000000Z K 7 svn:log V 261 When determining whether filename is too long for a regular 'ustar' entry, use narrow-character version, not wide-character version, as the ustar entry always uses the narrow-character filename. Thanks to: Michal Listos Inspired by, but doesn't fix: bin/74385 END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-11-28T19:14:36.000000Z K 7 svn:log V 146 Partial MFC of v1.60 I think. Switch it so 5-stable package fetches look in packages-5-stable instead of packages-5-current. Requested by: kris END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-11-28T19:16:00.000000Z K 7 svn:log V 157 Check that saddr->sa_family is a sensible value before using it. Reported by: Bryan Fulton and Ted Unangst, Coverity, Inc. Found by: The SWAT analysis tool END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-11-28T20:36:19.000000Z K 7 svn:log V 131 Fix a few coding errors that caused compiler warnings. PR: bin/71615 Submitted by: Craig Rodrigues (original patch by Dan Lukes) END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-11-28T20:44:28.000000Z K 7 svn:log V 121 Add axe(4) devices to the USB ethernet regular expression. MFC after: 1 week PR: conf/73239 Submitted by: Daan Vreeken END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-28T20:52:16.000000Z K 7 svn:log V 99 MFC revisions 1.193 and 1.195 Remove dead code. Don't clear flags we just checked were not set. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-28T20:57:25.000000Z K 7 svn:log V 519 Fix a long standing bug in geom_mbr which is only now exposed by the correct open/close behaviour of filesystems: When an ioctl to modify the MBR arrives, we cannot take for granted that we have the consumer open. The symptom is that one cannot run 'boot0cfg -s2 /dev/ad0' in single-user mode because / is the only open partition in only open r1w0e1. If it is not, we attempt to increase the write count by one and decrease it again afterwards. Presumably most if not all other slices suffer from the same problem. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-11-28T21:36:39.000000Z K 7 svn:log V 56 Add support for the Trumpion/Comotron C3310 MP3 player. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-11-28T21:40:36.000000Z K 7 svn:log V 104 Add the device ID for the 3Com 3CRSHEW696 wireless adapter. PR: kern/73286 Submitted by: Daan Vreeken END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-11-28T21:49:30.000000Z K 7 svn:log V 111 Add support for the TwinMOS Memory Disk IV. PR: kern/73766 Submitted by: Valentin Nechayev MFC after: 1 week END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-11-28T23:16:00.000000Z K 7 svn:log V 217 Move the purely device-name based entries for mice and ethernet adapters from usbd.conf to devd.conf. USB ethernet devices were already handled in devd.conf so this just removes their usbd.conf entry. PR: conf/73799 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-28T23:20:31.000000Z K 7 svn:log V 73 MFC: rev. 1.75 Add altq support. Patch by mlaier. Approved by: mlaier END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-28T23:23:00.000000Z K 7 svn:log V 35 MFC: rev. 1.5 sf(4) supports altq END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-28T23:29:46.000000Z K 7 svn:log V 34 MFC: Xref polling.4 and bump .Dd END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-28T23:31:54.000000Z K 7 svn:log V 41 MFC: rev. 1.294 MLINK vge.4 to if_vge.4 END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-28T23:35:08.000000Z K 7 svn:log V 55 MFC: rev. 1.76 Correct URL of the programming manual. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-29T00:29:40.000000Z K 7 svn:log V 354 Merge tcp_input.c:1.256 from HEAD to RELENG_5: date: 2004/11/22 13:16:27; author: rwatson; state: Exp; lines: +0 -3 Remove "Unlocked read" annotations associated with previously unlocked use of socket buffer fields in the TCP input code. These references are now protected by use of the receive socket buffer lock. MFC after: 1 week END