ƒ´9119814 177 1496 3146 675 203 214 144 288 140 319 102 301 142 318 129 268 333 177 193 609 307 306 198 205 161 227 734 185 185 183 138 374 174 466 1369 217 217 156 191 168 116 322 168 108 232 126 163 281 152 113 111 174 238 763 700 3891 414 214 173 247 293 293 205 372 146 167 241 143 156 152 281 213 604 293 123 130 163 225 151 126 138 163 270 153 228 150 247 173 177 266 253 373 177 518 179 137 158 143 226 299 153 206 229 211 737 164 204 148 155 391 118 947 197 254 287 819 216 135 135 170 183 2360 169 147 177 104 188 230 176 219 459 257 576 242 245 104 507 229 164 150 159 129 242 225 173 96 153 117 129 125 269 125 151 550 418 361 413 445 155 184 186 277 182 798 192 137 171 182 1044 448 114 166 118 127 117 127 199 205 K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-06T21:48:50.000000Z K 7 svn:log V 1399 Enhance puc(4) to support uart(4). This includes: o Introduce PUC_PORT_TYPE_UART so that we can attach to uart(4), o Introduce port sub-types (eg PUC_PORT_UART_NS8250, PUC_PORT_UART_Z8530) to handle different hardware and determine resource sizes. o Introduce two new IVARs: PUC_IVAR_SUBTYPE and PUC_IVAR_REGSHFT. Both are used by uart(4) to get sufficient information to talk to the HW. o Introduce PUC_FLAGS_ALTRES to tell puc(4) to try memory mapped I/O if I/O port space cannot be allocated, or vice versa. o Have ports of type PUC_PORT_TYPE_COM attach to uart(1) if attaching to sio(4) fails (due to not having the sio driver). o Put struct puc_device_description in struct puc_softc instead of having a pointer to a device description in the softc. This allows us to create device descriptions on the fly without having to use malloc() or otherwise have them staticly defined. o Move puc_find_description() from puc.c to puc_pci.c as it's specific to PCI. o Add EBUS and SBUS frontends for use on sparc64. Note that the P in puc stands for PCI, so we kinda mess things up here. It's too soon to worry about it though. We'll know what to do about it in time. NOTE: This commit changes the behaviour of puc(4) to not quieten the device probe and attach for child devices. The uart(4) driver provides additional device description that is valuable to have. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-06T23:13:47.000000Z K 7 svn:log V 3049 The uart(4) driver is an universal driver for various UART hardware. It improves on sio(4) in the following areas: o Fully newbusified to allow for memory mapped I/O. This is a must for ia64 and sparc64, o Machine dependent code to take full advantage of machine and firm- ware specific ways to define serial consoles and/or debug ports. o Hardware abstraction layer to allow the driver to be used with various UARTs, such as the well-known ns8250 family of UARTs, the Siemens sab82532 or the Zilog Z8530. This is especially important for pc98 and sparc64 where it's common to have different UARTs, o The notion of system devices to unkludge low-level consoles and remote gdb ports and provides the mechanics necessary to support the keyboard on sparc64 (which is UART based). o The notion of a kernel interface so that a UART can be tied to something other than the well-known TTY interface. This is needed on sparc64 to present the user with a device and ioctl handling suitable for a keyboard, but also allows us to cleanly hide an UART when used as a debug port. Following is a list of features and bugs/flaws specific to the ns8250 family of UARTs as compared to their support in sio(4): o The uart(4) driver determines the FIFO size and automaticly takes advantages of larger FIFOs and/or additional features. Note that since I don't have sufficient access to 16[679]5x UARTs, hardware flow control has not been enabled. This is almost trivial to do, provided one can test. The downside of this is that broken UARTs are more likely to not work correctly with uart(4). The need for tunables or knobs may be large enough to warrant their creation. o The uart(4) driver does not share the same bumpy history as sio(4) and will therefore not provide the necessary hooks, tweaks, quirks or work-arounds to deal with once common hardware. To that extend, uart(4) supports a subset of the UARTs that sio(4) supports. The question before us is whether the subset is sufficient for current hardware. o There is no support for multiport UARTs in uart(4). The decision behind this is that uart(4) deals with one EIA RS232-C interface. Packaging of multiple interfaces in a single chip or on a single expansion board is beyond the scope of uart(4) and is now mostly left for puc(4) to deal with. Lack of hardware made it impossible to actually implement such a dependency other than is present for the dual channel SAB82532 and Z8350 SCCs. The current list of missing features is: o No configuration capabilities. A set of tunables and sysctls is being worked out. There are likely not going to be any or much compile-time knobs. Such configuration does not fit well with current hardware. o No support for the PPS API. This is partly dependent on the ability to configure uart(4) and partly dependent on having sufficient information to implement it properly. As usual, the manpage is present but lacks the attention the software has gotten. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-06T23:23:26.000000Z K 7 svn:log V 579 Hook-up the uart(4) driver to the build. For a detailed description of what uart(4) is and/or is not see the initial commit log of one of the files in sys/dev/uart (or see share/man/man4/uart.4). Note that currently pc98 shares the MD file with i386. This needs to change when pc98 support is fleshed-out to properly support the various UARTs. A good example is sparc64 in this respect. We build uart(4) as a module on all platforms. This may break the ppc port. That depends on whether they do actually build modules. To use uart(4) on alpha, one must use the NO_SIO option. END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-09-06T23:46:29.000000Z K 7 svn:log V 110 Mdoc Review: * Remove extraneous .Pp in SYNOPSIS * Remove hard sentence break * Add the AUTHORS section END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-09-07T02:16:10.000000Z K 7 svn:log V 121 Keep up with minor changes to NetBSD. Consider a variable empty when not define. Obtained From: NetBSD (rev 1.18; sjg) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T02:52:25.000000Z K 7 svn:log V 49 Hook-up the uart(4) manpage. Reminded by: bmah@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T03:45:48.000000Z K 7 svn:log V 192 Add uart(4). Shuffle the information about sio(4) flags and options so that it's clear whicfh flags/options are used by both sio(4) and uart(4) and which flags/options are specific to sio(4). END K 10 svn:author V 2 jb K 8 svn:date V 27 2003-09-07T04:18:17.000000Z K 7 svn:log V 49 Document msize which is often needed with maddr. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-09-07T04:59:15.000000Z K 7 svn:log V 226 Better stab at MD code for pc98. The 8251 stuff is a total lie (ns8250 copied and s/ns8250/i8251/g), but there for linkage purposes. Real code to follow, once I get past some boot issues on my pc98 boxes with recent current. END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-09-07T05:00:32.000000Z K 7 svn:log V 10 add i8251 END K 10 svn:author V 3 imp K 8 svn:date V 27 2003-09-07T05:05:40.000000Z K 7 svn:log V 208 Add proper pc98 MD files. Add a commented out cbus attachment for uart because that depends on the cbus implementation that nyan-san and I came up with after the CBUG meeting and not yet ready for the tree. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-09-07T05:23:28.000000Z K 7 svn:log V 46 Turning on warning for static LDT allocation. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T05:33:46.000000Z K 7 svn:log V 222 Fix build breakage caused by the inclusion of while building a module. Inclusion of option files (opt_ddb.h in this case) is not possible for modules. The inclusion of opt_ddb.h in this header is questionable. END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-07T05:42:07.000000Z K 7 svn:log V 37 msync(2) should be declared MP-safe. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T05:47:10.000000Z K 7 svn:log V 172 Replace sio(4) with uart(4). Remove the sio(4) hints and only add those hints used by uart(4) for the determination of the serial console in the absence of the HCDP table. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T06:02:36.000000Z K 7 svn:log V 237 Replace the ttyd[0-3] entries with ttyu[0-3]. The former are the device special files created by sio(4). The latter are the device special files created by uart(4). As of this moment sio(4) is not supported on ia64... by me, that is :-) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T06:39:51.000000Z K 7 svn:log V 82 MFp4: Revamped GENERIC (and hints). This is some much more pleasant to look at... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T06:50:08.000000Z K 7 svn:log V 98 Now that PC98 has it's own MD file, use uart_cpu_${MACHINE}.c and not uart_cpu_${MACHINE_ARCH}.c. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-07T07:43:10.000000Z K 7 svn:log V 516 Add support for the Coda 6.x venus<->kernel interface. This extends FIDs to be 128-bits wide and adds support for realms. Add a new CODA_COMPAT_5 option, which requests support for the old Coda 5.x interface instead of the new one. Create a new coda5.ko module that supports the 5.x interface, and make the existing coda.ko module use the new 6.x interface. These modules cannot both be loaded at the same time. Obtained from: Jan Harkes & the coda-6.0.2 distribution, NetBSD (drochner) (CODA_COMPAT_5 option). END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-09-07T07:52:56.000000Z K 7 svn:log V 214 make sure we really don't have a tty when installing rules. This prevents a flush command from asking a question (you can't see): If there is no tty associated with the process, this is implied. MFC after: 1 day END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-07T09:13:44.000000Z K 7 svn:log V 213 Use KERN_PROC_PROC instead of KERN_PROC_ALL when enumerating processes so that we kill each process once, not once for every thread it owns. This avoids "No such process" warnings when killing threaded processes. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2003-09-07T10:14:56.000000Z K 7 svn:log V 100 Fix testing of arith_assign() value for $((a=15)). Submitted by: Enache Adrian END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-07T11:14:52.000000Z K 7 svn:log V 112 Return EINVAL if the contested bit is not set on the umtx passed to _umtx_unlock() instead of firing a KASSERT. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-07T12:52:17.000000Z K 7 svn:log V 70 Don't escape names in MLINKS: this won't work with bsd.man.mk,v 1.53. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-07T12:59:22.000000Z K 7 svn:log V 135 Implement sed(1) commands using the make(1)'s RE variable modifier. (This almost eliminates the need of a sed(1) during installworld.) END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-07T13:03:13.000000Z K 7 svn:log V 641 Restored a non-egregious cast so that this file compiles on i386's with 64-bit longs again. This was fixed in rev.1.42 but the fix rotted non-fatally in rev.1.105 and fatally in rev.1.137. Many more non-egregrious casts are strictly required for conversions from semi-opaque types to pointers, but we avoid most of them by using types that are almost certain to be compatible with uintptr_t for representing pointers (e.g., vm_offset_t). Here we don't really want the u_longs, but we have them because a.out.h and its support code doesn't use typedefs (it uses unsigned in V7 and unsigned long in FreeBSD) and is too obsolete to fix now. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-07T13:09:47.000000Z K 7 svn:log V 94 Only evaluate CVS version once, when necessary. Eliminates the need in sed(1) during install. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-07T13:17:31.000000Z K 7 svn:log V 94 Only evaluate CVS version once, when necessary. Eliminates the need in sed(1) during install. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-07T13:23:45.000000Z K 7 svn:log V 91 Restored non-egregious casts so that this file compiles on i386's with 64-bit longs again. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-07T13:38:07.000000Z K 7 svn:log V 47 Eliminate the need in uname(1) during install. END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-07T13:43:01.000000Z K 7 svn:log V 281 Moved stop/start code for other CPUs to near the beginning/end of kdb_trap(). Stopping the other CPUs acts like locking them out, but it wasn't done early enough or held long enough to prevent concurrent accesses to shared data. In particular, the saved regs could be clobbered. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-09-07T14:11:02.000000Z K 7 svn:log V 77 Replace a reference to non existant mount_ffs(8) by a reference to mount(8). END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-07T14:15:40.000000Z K 7 svn:log V 374 - No need to create libfoo.so -> libfoo.so.X symlinks in /lib, as it was decided that our toolchain will revert to looking for libraries in /usr/lib only. - Make /usr/lib/libfoo.so -> /lib/libfoo.so.X symlinks absolute so that they still work if /usr is symlinked. - Remove stale /usr/lib/libfoo.so.X libraries during install. Discussed with: gordon, obrien, peter END K 10 svn:author V 3 bde K 8 svn:date V 27 2003-09-07T14:23:08.000000Z K 7 svn:log V 1275 clock.c: Quick fix for calling DELAY() for ddb input in some (atkbd-based) console drivers. ddb must not use any normal locks, but DELAY() normally calls getit() which needs clock_lock. One problem with using normal locks in ddb is that deadlock is possible, but deadlock on clock_lock is unlikely becaluse clock_lock is bogusly recursive, apparently just to hide the problem of ddb using it. The i8254 clock hardware has mostly write-only registers so it is important for it to use a lock that gives exclusive access. (atkbd hardware is also unfriendly to reentrant software but that problem is more local and already solved.) I mostly saw the symptoms of the bug caused by unlocking in getit() running cpu_unpend(). cpu_unpend() should not be called while in ddb and Debugger() calls for failing assertions about this caused a breakpoint within ddb. ddb must also not call getit() because ddb may be being used to step through clock initialization code that has stopped or otherwise mangled the clock. If the clock is stopped, then getit() always returns the same value and DELAY() takes forever if it trusts getit(). The quick fix is implement DELAY(n) as (n * timer_freq / 1000000) inb(0x84)'s if ddb is active. machdep.c: Don't permit recursion on clock_lock. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-09-07T14:33:07.000000Z K 7 svn:log V 119 The .Fn function. Dot terminate sentences. Use .Bd/.Ed instead of .Ar to emphasize examples of source definition file. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-09-07T15:26:44.000000Z K 7 svn:log V 119 Add FBSDID. Use errx() instead of fprintf()/exit(). Call exit() at the end of usage() and make the code aware of that. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-09-07T15:30:42.000000Z K 7 svn:log V 59 Remove duplicate #include. Do not \n terminate errx() arg. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-09-07T15:43:50.000000Z K 7 svn:log V 94 Introduce arguments the standard way. In .Ar command ..., ... is not an argument, command is. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-09-07T15:50:43.000000Z K 7 svn:log V 71 Add FBSDID. Do not \n terminate warnx() argument. fprint() -> warnx(). END K 10 svn:author V 2 cg K 8 svn:date V 27 2003-09-07T16:28:03.000000Z K 7 svn:log V 25 update my email address. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-09-07T16:31:32.000000Z K 7 svn:log V 224 Do not print the result of strftime() in case of failure, the content is indeterminate in such a case. The correct value for 2nd argument is sizeof(buf). Do not NUL-terminate the result string, strftime() will do it for us. END K 10 svn:author V 3 hmp K 8 svn:date V 27 2003-09-07T16:34:03.000000Z K 7 svn:log V 76 Change an `is' to a `was' in the AUTHORS section. Recommended by: jmallett END K 10 svn:author V 8 charnier K 8 svn:date V 27 2003-09-07T16:43:53.000000Z K 7 svn:log V 11 Use uid_t. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2003-09-07T18:47:14.000000Z K 7 svn:log V 137 Inform users how to deal with sendmail.cf problems caused by the mergemaster/sendmail chicken and egg problem. Approved by: re (murray) END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-07T18:47:54.000000Z K 7 svn:log V 34 Revise the locking in mincore(2). END K 10 svn:author V 3 jmg K 8 svn:date V 27 2003-09-07T18:55:43.000000Z K 7 svn:log V 71 MFC: rev1.6 This makes sure no tty is given to ipfw Approved by: re@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T19:19:49.000000Z K 7 svn:log V 185 Improved English, proper spacing and capitalization for the serial drivers. The shared 0x10 flag has been reworded to be more precise and complete. Submitted by: bde Edited by: marcel END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-07T20:02:38.000000Z K 7 svn:log V 60 MFamd64/i386 Add necessary page locking to pmap_mincore(). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-09-07T20:19:32.000000Z K 7 svn:log V 18 style.Makefile(5) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-09-07T20:21:14.000000Z K 7 svn:log V 16 s/x86-64/amd64/ END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-09-07T20:38:23.000000Z K 7 svn:log V 79 Enable '--interpreter=mi' support. Submitted by: Rui Lopes END K 10 svn:author V 2 pb K 8 svn:date V 27 2003-09-07T21:39:22.000000Z K 7 svn:log V 146 Fix incorrect structure initialization introduced in 1.2.2.14. PR: kern/56467 Submitted by: nabe@nabechan.org Approved by: re Pointy-hat-to: pb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T21:51:03.000000Z K 7 svn:log V 667 Remove the assumption that a bus_space_handle_t is an I/O address from the SAB82532 and the Z8530 hardware drivers by introducing uart_cpu_busaddr(). The assumption is not true on pc98 where bus_space_handle_t is a pointer to a structure. The uart_cpu_busaddr() function will return the bus address corresponding the tag and handle given to it by the BAS. WARNING: the intend of the function is STRICTLY to allow hardware drivers to determine which logical channel they control and is NOT to be used for actual I/O. It is therefore EXPLICITLY allowed that uart_cpu_busaddr() returns only the lower 8 bits of the address and garbage in all other bits. No mistakes... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2003-09-07T23:09:08.000000Z K 7 svn:log V 604 Untangle the code in this file to improve understandability. Both ia64_count_cpus() and ia64_probe_sapics() called a single function to do the the actual work. The difference in behaviour was handled in that function and was further complicated by adding bootverbose related code. As such, even the simplest of changes was hard to comprehend. Untangling has been done by increasing code duplication and using a more naive style of coding. FWIW, the object file is slightly smaller than before, so things aren't as bad as it may seem. Triggered by: a simple fix on the P4 branch that never got merged. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-09-08T02:11:25.000000Z K 7 svn:log V 3795 Take the support for the 8139C+/8169/8169S/8110S chips out of the rl(4) driver and put it in a new re(4) driver. The re(4) driver shares the if_rlreg.h file with rl(4) but is a separate module. (Ultimately I may change this. For now, it's convenient.) rl(4) has been modified so that it will never attach to an 8139C+ chip, leaving it to re(4) instead. Only re(4) has the PCI IDs to match the 8169/8169S/8110S gigE chips. if_re.c contains the same basic code that was originally bolted onto if_rl.c, with the following updates: - Added support for jumbo frames. Currently, there seems to be a limit of approximately 6200 bytes for jumbo frames on transmit. (This was determined via experimentation.) The 8169S/8110S chips apparently are limited to 7.5K frames on transmit. This may require some more work, though the framework to handle jumbo frames on RX is in place: the re_rxeof() routine will gather up frames than span multiple 2K clusters into a single mbuf list. - Fixed bug in re_txeof(): if we reap some of the TX buffers, but there are still some pending, re-arm the timer before exiting re_txeof() so that another timeout interrupt will be generated, just in case re_start() doesn't do it for us. - Handle the 'link state changed' interrupt - Fix a detach bug. If re(4) is loaded as a module, and you do tcpdump -i re0, then you do 'kldunload if_re,' the system will panic after a few seconds. This happens because ether_ifdetach() ends up calling the BPF detach code, which notices the interface is in promiscuous mode and tries to switch promisc mode off while detaching the BPF listner. This ultimately results in a call to re_ioctl() (due to SIOCSIFFLAGS), which in turn calls re_init() to handle the IFF_PROMISC flag change. Unfortunately, calling re_init() here turns the chip back on and restarts the 1-second timeout loop that drives re_tick(). By the time the timeout fires, if_re.ko has been unloaded, which results in a call to invalid code and blows up the system. To fix this, I cleared the IFF_UP flag before calling ether_ifdetach(), which stops the ioctl routine from trying to reset the chip. - Modified comments in re_rxeof() relating to the difference in RX descriptor status bit layout between the 8139C+ and the gigE chips. The layout is different because the frame length field was expanded from 12 bits to 13, and they got rid of one of the status bits to make room. - Add diagnostic code (re_diag()) to test for the case where a user has installed a broken 32-bit 8169 PCI NIC in a 64-bit slot. Some NICs have the REQ64# and ACK64# lines connected even though the board is 32-bit only (in this case, they should be pulled high). This fools the chip into doing 64-bit DMA transfers even though there is no 64-bit data path. To detect this, re_diag() puts the chip into digital loopback mode and sets the receiver to promiscuous mode, then initiates a single 64-byte packet transmission. The frame is echoed back to the host, and if the frame contents are intact, we know DMA is working correctly, otherwise we complain loudly on the console and abort the device attach. (At the moment, I don't know of any way to work around the problem other than physically modifying the board, so until/unless I can think of a software workaround, this will have do to.) - Created re(4) man page - Modified rlphy.c to allow re(4) to attach as well as rl(4). Note that this code works for the sample 8169/Marvell 88E1000 NIC that I have, but probably won't work for the 8169S/8110S chips. RealTek has sent me some sample NICs, but they haven't arrived yet. I will probably need to add an rlgphy driver to handle the on-board PHY in the 8169S/8110S (it needs special DSP initialization). END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-08T02:45:03.000000Z K 7 svn:log V 321 Introduce a new pmap function, pmap_extract_and_hold(). This function atomically extracts and holds the physical page that is associated with the given pmap and virtual address. Such a function is needed to make the memory mapping optimizations used by, for example, pipes and raw disk I/O MP-safe. Reviewed by: tegge END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-09-08T03:24:29.000000Z K 7 svn:log V 119 Fix PATH: directive in sys/modules/re/Makefile, and add the re(4) driver to devd.conf. Pointed out by: Larry Rosenman END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-09-08T04:28:20.000000Z K 7 svn:log V 79 Fix path of pci #includes that I botched. Also pointed out by: Larry Rosenman END K 10 svn:author V 3 alc K 8 svn:date V 27 2003-09-08T04:58:32.000000Z K 7 svn:log V 154 Use pmap_extract_and_hold() in pipe_build_write_buffer(). Consequently, pipe_build_write_buffer() no longer requires Giant on entry. Reviewed by: tegge END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-09-08T06:22:54.000000Z K 7 svn:log V 200 Don't disable interrupts a second time. Remove an extraneous interrupt enable (that happens elsewhere). Clarify the interrupt disabling point by using ACPI_DISABLE_IRQS(). Tested by: Kevin Oberman END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-09-08T06:28:50.000000Z K 7 svn:log V 200 Dont re-arm the timeout twice on a timeout error. The problem with the first timeout still exsists though, but not it doesn't enter a groundbound spin loop :) Found by: Aaron Smith END K 10 svn:author V 5 dougb K 8 svn:date V 27 2003-09-08T07:46:41.000000Z K 7 svn:log V 110 Looks like the re.4 man page didn't make it in the last commit, so unhook it to get the build back in action. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-08T08:23:29.000000Z K 7 svn:log V 280 Command line variables take precedence over global variables. Make this true in the .for loops too. The following fragment, FOO= foo bar all: .for f in ${FOO} @echo ${f} .endfor when run as "make FOO=xxx" should print "xxx". (OpenBSD had this bug fixed for some time.) END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-09-08T08:30:43.000000Z K 7 svn:log V 54 Update the PIO mode gathering code. Reported by: bde END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-09-08T08:32:25.000000Z K 7 svn:log V 75 Handle shared channels better. Try to avoid the spurios interrupts better. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-09-08T08:36:46.000000Z K 7 svn:log V 148 #ifdef out the vague ATA disk detection code causing fake ATA disks to be found on some systems. Hopefully this doesn't loose any real ATA disks... END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-09-08T09:11:32.000000Z K 7 svn:log V 48 Use __FBSDID(). Also some minor style cleanups. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2003-09-08T11:54:59.000000Z K 7 svn:log V 64 Bump __FreeBSD_version for Coda 6.x venus<->kernel API support. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-09-08T13:36:26.000000Z K 7 svn:log V 60 Limit the size of the rebuild requests to be within safety. END K 10 svn:author V 3 sos K 8 svn:date V 27 2003-09-08T13:55:05.000000Z K 7 svn:log V 188 Add another ID for the SiI3112a SATA chip as used on the Adaptec 1210SA. RAID support is still in the works, so for now just normal ATA ops. Sponsored by: Matt Douhan(www.fruitsalad.org) END K 10 svn:author V 5 simon K 8 svn:date V 27 2003-09-08T14:53:02.000000Z K 7 svn:log V 118 - Use trademark entities. - Add trademark attributions. - Don't join trademarks with other words, e.g. using hyphens. END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2003-09-08T16:23:21.000000Z K 7 svn:log V 507 In the !MNT_BYFSID case, return EINVAL from unmount(2) when the specified directory is not found in the mount list. Before the MNT_BYFSID changes, unmount(2) used to return ENOENT for a nonexistent path and EINVAL for a non-mountpoint, but we can no longer distinguish between these cases. Of the two error codes, EINVAL was more likely to occur in practice, and it was the only one of the two that was documented. Update the manual page to match the current behaviour. Suggested by: tjr Reviewed by: tjr END K 10 svn:author V 2 ps K 8 svn:date V 27 2003-09-08T16:45:33.000000Z K 7 svn:log V 201 Quiet down boot verbose and allow commands to be submitted to a target which does not have a volume attached. This will stop cam from retrying a bunch of time at boot for devices which do not exsist. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-08T17:46:33.000000Z K 7 svn:log V 32 Unbreak Russian KOI8-R support. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-08T18:28:41.000000Z K 7 svn:log V 36 Hmm. Two copies of the mcontext... END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-08T18:31:48.000000Z K 7 svn:log V 69 Argh. This file was completely out of sync with mcontext/trapframe. END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-08T18:32:33.000000Z K 7 svn:log V 132 Correctly bzero the entire context, not just the first sizeof(void *) bytes. Found by: Juergen Buchmueller END K 10 svn:author V 3 phk K 8 svn:date V 27 2003-09-08T18:35:26.000000Z K 7 svn:log V 59 Correct bzero length so we clear the entire key structure. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-08T18:58:47.000000Z K 7 svn:log V 35 Finish the reversion of rev. 1.52. END K 10 svn:author V 2 ru K 8 svn:date V 27 2003-09-08T19:57:22.000000Z K 7 svn:log V 47 mdoc(7): Use the new feature of the .In macro. END K 10 svn:author V 5 peter K 8 svn:date V 27 2003-09-08T20:00:55.000000Z K 7 svn:log V 69 Turn aac back on now that its been cleaned up for 64 bit compilation END K 10 svn:author V 6 anholt K 8 svn:date V 27 2003-09-09T00:24:31.000000Z K 7 svn:log V 174 Merge from DRI CVS. Includes newly ported SiS 300/305/540/630/730 driver and updates to allow system memory to be used for textures on PCI Radeons. Sponsored by: LinuxFund END K 10 svn:author V 6 anholt K 8 svn:date V 27 2003-09-09T00:29:02.000000Z K 7 svn:log V 58 Hook the SiS DRM up to the build Sponsored by: LinuxFund END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-09-09T02:21:53.000000Z K 7 svn:log V 135 Cosmetic change to move parse8601 right next to parseDWM. No code is changed. (that will come in later updates). MFC after: 23 days END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2003-09-09T02:45:53.000000Z K 7 svn:log V 56 Add the re.4 man page, which I forgot to do last night. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-09-09T02:50:25.000000Z K 7 svn:log V 154 Change parse8601 and parseDWM so they return an alternate error value for invalid times, and have the caller print the error message. MFC after: 23 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2003-09-09T02:55:32.000000Z K 7 svn:log V 78 MFC: rev 1.15: add the POSIX sanctioned "LOGIN_NAME_MAX" Approved by: murray END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-09-09T02:58:23.000000Z K 7 svn:log V 85 Fix typo in the previous commit. Was checking wrong variable... MFC after: 23 days END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-09-09T03:04:50.000000Z K 7 svn:log V 173 Use strtol() instead of strtoul() in parse8601, so we can detect negative values. Mainly done to sync this routine with OpenBSD. Obtained from: OpenBSD MFC after: 23 days END K 10 svn:author V 3 njl K 8 svn:date V 27 2003-09-09T04:09:25.000000Z K 7 svn:log V 160 Disallow attempts to suspend to S0. It was only enabled for testing. Print a more informative message if a sleep state is not supported by BIOS. Add comments. END K 10 svn:author V 3 gad K 8 svn:date V 27 2003-09-09T05:23:06.000000Z K 7 svn:log V 280 Add a '-D ' command line arg, which can be used to set debugging options. Initial option is '-D TN=