ı 137628 206 774 149 818 162 442 287 227 257 222 201 163 164 303 383 293 268 595 378 225 346 139 210 161 150 143 134 138 148 130 155 129 199 371 229 215 163 157 120 205 182 139 136 107 184 118 151 386 412 183 187 387 161 169 336 169 133 166 362 109 106 261 227 169 141 162 255 140 135 490 161 187 437 620 171 161 557 468 144 547 234 434 210 322 310 370 155 179 609 263 174 292 118 149 168 109 107 149 164 346 175 306 163 173 280 118 189 204 115 128 204 278 290 205 123 190 315 145 114 145 113 137 172 145 157 155 189 122 211 209 185 217 361 216 117 214 139 111 142 184 118 195 172 194 155 143 136 293 558 165 148 141 387 449 629 122 1010 204 143 168 167 124 182 148 143 164 302 295 268 406 229 532 263 133 151 163 147 511 336 432 224 428 229 265 189 208 1381 249 642 637 399 336 2991 203 689 419 175 289 163 316 323 178 129 179 255 234 351 K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-12T20:53:51.000000Z K 7 svn:log V 678 Change the way we automatically add prefix routes when adding a new address. This makes it possible to have more than one address with the same prefix. The first address added is used for the route. On deletion of an address with IFA_ROUTE set, we try to find a "fallback" address and hand over the route if possible. I plan to MFC this in 4 weeks, hence I keep the - now obsolete - argument to in_ifscrub as it must be considered KAPI as it is not static in in.c. I will clean this after the MFC. Discussed on: arch, net Tested by: many testers of the CARP patches Nits from: ru, Andrea Campi Obtained from: WIDE via OpenBSD MFC after: 1 month END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-12T21:49:05.000000Z K 7 svn:log V 54 Implement interrupt counting, so that vmstat -i work. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-12T22:17:42.000000Z K 7 svn:log V 721 Fix ng_ksocket(4) operation as a divert socket, which is pretty useful and has been broken twice: - in the beginning of div_output() replace KASSERT with assignment, as it was in rev. 1.83. [1] [to be MFCed] - refactor changes introduced in rev. 1.100: do not prepend a new tag unconditionally. Before doing this check whether we have one. [2] A small note for all hacking in this area: when divert socket is not a real userland, but ng_ksocket(4), we receive _the same_ mbufs, that we transmitted to socket. These mbufs have rcvif, the tags we've put on them. And we should treat them correctly. Discussed with: mlaier [1] Silence from: green [2] Reviewed by: maxim Approved by: julian (mentor) MFC after: 1 week END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-12T23:06:13.000000Z K 7 svn:log V 67 Minor whitespace nitpicking to reduce my diffs of Real Changes[tm] END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-12T23:21:19.000000Z K 7 svn:log V 346 o Change the strcmp() to a strncmp() to allow us to attach to 'E' models of laptops, which are essentially the same as the normal ones, as far as acpi_asus is concerned[1] o Use the above as an excuse to reshuffle the mess I made of the probe function when I originally wrote it. Reported by: Soeren Larsen END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-12T23:21:42.000000Z K 7 svn:log V 192 Refine 5.x version of WITH_LIB32 so that it doesn't explode if you have COMPAT4X or COMPAT5X etc in make.conf. I didn't hit this in -current because there are no integral compat libs there. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-12T23:59:24.000000Z K 7 svn:log V 131 Update moused(8) and mouse(4) to reflect the cuaa->cuad name change. Submitted by: Steve Kargl END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-13T00:09:19.000000Z K 7 svn:log V 161 Reflect the cuaa->cuad namechange in documentation. Might as well do them all while I'm at it :-) Submitted by: Steve Kargl END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-13T01:34:51.000000Z K 7 svn:log V 126 Change some formats and add some casts to make this WARNS=2 clean, and mark it as such. PR: 71672 (partly) Reviewed by: njl END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-13T01:49:22.000000Z K 7 svn:log V 105 Two uint32_t casts crept in where they shouldn't have. ACPI_TYPE_INTEGER can be 64 bits wide in acpi v2. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-13T01:54:22.000000Z K 7 svn:log V 68 With the addition of a proper prototype, this is now WARNS=6 clean. END K 10 svn:author V 3 jkh K 8 svn:date V 27 2004-11-13T04:07:01.000000Z K 7 svn:log V 72 UNIX conformance: If -r -f on non-existent directory, don't emit error. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-13T05:00:12.000000Z K 7 svn:log V 207 Fix the MDIOCDETACH ioctl() for md(4). Now that the md_file field in the mdio structure is an array and not a pointer, we cannot test for it to be NULL. It never is. Instead, test for md_file[0] to be '\0'. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-13T05:13:33.000000Z K 7 svn:log V 287 Add an -f option (for force) to the create command. The -f option allows the user to force the creation of a GPT even when there's a MBR on the device. The MBR is simply wiped and any partitions described by it are lost. Without the -f option one cannot create a GPT when there's a MBR. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-13T05:44:02.000000Z K 7 svn:log V 197 Add an -f option (for force) to the migrate command. Normally an MBR with unknown partitions is not migrated. By specifying the -f option migration will happen and unknown partitions will be lost. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-13T08:01:48.000000Z K 7 svn:log V 172 For create and migrate, remove the `.Op Fl f' introduced in the previous two commits and combine them with the existing flags that were already there. Pointed out by: ru@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-13T08:06:40.000000Z K 7 svn:log V 498 Correct two incorrectly merged changes introduced in sysv_sem.c:1.71: return EINVAL rather than setting error, and don't free sops unconditionally. The first change was merged accidentally as part of the larger set of changes to introduce MAC labels and access control, and potentially lead to continued processing of a request even after it was determined to be invalid. The second change was due to changes in the semaphore code since the original work was performed. Pointed out by: truckman END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T10:56:35.000000Z K 7 svn:log V 285 Fix off-by-one errors and potential buffer overruns WRT handling file and link names that reach the allowed maximum for old tar and ustar archive formats. PR: bin/40466 Submitted by: Cyrille Lefevre (portions) Reviewed by: freebsd-arch (silence) MFC after: 1 month END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T11:48:56.000000Z K 7 svn:log V 132 MFC rev. 1.24-1.26: Document the cases of the ``offset'' argument falling beyond the beginning or end of the file. Improve markup. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T11:53:02.000000Z K 7 svn:log V 253 Introduce an alias for FILEDESC_{UN}LOCK() with the suffix _FAST. Use this in all the places where sleeping with the lock held is not an issue. The distinction will become significant once we finalize the exact lock-type to use for this kind of case. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T11:55:41.000000Z K 7 svn:log V 47 MFC: Explain what ``an invalid offset'' means. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T12:04:02.000000Z K 7 svn:log V 117 MFC rev. 1.12: Fix the description of "timeout" and "attempts" resolver options to avoid user confusion from now on. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T12:28:50.000000Z K 7 svn:log V 69 MFC rev. 1.166-1.168: Assorted fixes around the call to sendfile(2). END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T12:39:30.000000Z K 7 svn:log V 58 MFC rev. 1.169, 1.174, 1.175: Fixes related to logxfer(). END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T12:44:12.000000Z K 7 svn:log V 51 MFC rev. 1.169, 1.175: Fixes related to logxfer(). END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T12:56:41.000000Z K 7 svn:log V 42 MFC rev. 1.171, 1.172: PAM-related fixes. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-11-13T13:02:19.000000Z K 7 svn:log V 45 MFC: Set bi_basemem and bi_extmem variables. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-11-13T13:02:49.000000Z K 7 svn:log V 55 MFC: Add FL_MFM flag to the fd_native_types structure. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-11-13T13:03:38.000000Z K 7 svn:log V 37 MFC: Fixed fd related tools on pc98. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T13:04:31.000000Z K 7 svn:log V 63 Be prepared to accept NULL mountargs as part of root-mounting. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-11-13T13:06:37.000000Z K 7 svn:log V 36 MFC: Fix build error with ED_DEBUG. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T13:15:47.000000Z K 7 svn:log V 106 Kill ancient casts to integral types left from the K&R era. They're unneeded and sometimes erroneous now. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-13T13:42:43.000000Z K 7 svn:log V 278 Using off_t to pass a block size is obvious overkill. The size_t type is better suited for that, particularly because the "blksize" argument is to be passed to malloc() and read(). On 64-bit archs it's more to a style issue, but the good style of coding in C is also important. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-11-13T14:26:13.000000Z K 7 svn:log V 135 Document the fact that kvm_getenvv(3) requires procfs to be mounted on /proc in order to operate correctly. Reviewed by: simon@, wes@ END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-11-13T14:30:34.000000Z K 7 svn:log V 121 Remove un-needed call to close(2). The fd that close is being called on is invalid and has no use. Reviewed by: smkelly END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-13T14:41:27.000000Z K 7 svn:log V 68 Use uma_prealloc() on the l2table_zone to prevent a LOR at startup. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-13T14:54:31.000000Z K 7 svn:log V 62 Don't forget to clear the PG_WRITEABLE flag when appropriate. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-13T15:12:26.000000Z K 7 svn:log V 25 Remove debugging printf. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-11-13T15:16:35.000000Z K 7 svn:log V 109 Somehow I missed this last night, acpi_init() doesn't return an int. Spotted by: Randy Bush END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-13T17:04:55.000000Z K 7 svn:log V 91 There's no reason for "read" and "echo" commands to not appear in the online command list. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-13T17:05:40.000000Z K 7 svn:log V 44 Merge copyright notices. Requested by: njl END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-13T17:08:52.000000Z K 7 svn:log V 45 Sync usage() with manpage SYNOPSIS and code. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-13T17:12:22.000000Z K 7 svn:log V 16 Removed bitrot. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T17:21:26.000000Z K 7 svn:log V 92 Polish two functions a bit so that it is easier to wrap them in locks if/when we need that. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-13T17:26:54.000000Z K 7 svn:log V 27 Sync usage() and SYNOPSIS. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T18:51:13.000000Z K 7 svn:log V 59 fifos doesn't need a vop_lookup, the default will do fine. END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-11-13T20:21:57.000000Z K 7 svn:log V 294 Set ramsize depending on a value from eprom instead of using hardcoded 128k for Yukon devices. 88E8001 only has 64k of on-chip RAM[1]. [1] http://www.marvell.com/products/pcconn/yukon/Yukon_88E8001_10_073103_final.pdf Tested by: amd64, current Approved by: rwatson (mentor) MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2004-11-13T20:40:32.000000Z K 7 svn:log V 320 Add 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. Lost parts rediscovered by: Danny Braniss PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T22:56:26.000000Z K 7 svn:log V 91 VOP_REVOKE() is only ever for VCHR vnodes, so unionfs does not need a vop_revoke() method. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T22:59:52.000000Z K 7 svn:log V 95 The default VOP_REVOKE() should be vop_panic() as we should never get here in the first place. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T23:21:54.000000Z K 7 svn:log V 294 Add the devfs_fp_check() function which helps us get from a struct file to a cdev and a devsw, doing all the relevant checks along the way. Add the check to see if fp->f_vnode->v_rdev differs from our cached fp->f_data copy of our cdev. If it does the device was revoked and we return ENXIO. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T23:37:29.000000Z K 7 svn:log V 69 Integrate most of vop_revoke() into devfs_revoke() where it belongs. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-13T23:38:13.000000Z K 7 svn:log V 77 Eliminate vop_revoke() function now that devfs_revoke() does the entire job. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-13T23:39:56.000000Z K 7 svn:log V 243 Kill ACPI_FUNCTION_TRACE. It is killing the tinderbox build, and it isn't worth adding to the modules lists that we have to hard code for this to work. Since we print PID right away, we have a trace point already. Minor knf while I'm here. END K 10 svn:author V 3 tjr K 8 svn:date V 27 2004-11-13T23:54:30.000000Z K 7 svn:log V 77 Remove stub libxpg4. All functionality was merged into libc a long time ago. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-14T00:22:18.000000Z K 7 svn:log V 41 Use PORTSDIR, falling back to /usr/ports END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-14T03:48:34.000000Z K 7 svn:log V 71 MFC rev 1.76: Use an alignment of 1 instead of ETHER_ALIGN for busdma. END K 10 svn:author V 3 jkh K 8 svn:date V 27 2004-11-14T05:15:25.000000Z K 7 svn:log V 269 tr(1) attempts to convert \n[n][n] sequences into octal digits, but doesn't check to see that a given digit is actually an octal digit. This leads to unusual consequences if passed in values like \9. Reported by: Joseph Davison (OpenDarwin project) MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-14T09:21:01.000000Z K 7 svn:log V 17 Move #define up. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-14T12:04:34.000000Z K 7 svn:log V 14 style polish. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-11-14T12:47:20.000000Z K 7 svn:log V 163 Avoid an (ignored) error by invoking chflags on the link target, not the symlink. PR: kern/73016 Submitted by: John E. Hein MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-14T14:34:12.000000Z K 7 svn:log V 134 Rearrange memory management for ioctl arguments to use stronger checks for illegal values and don't store them on the stack any more. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-14T15:24:38.000000Z K 7 svn:log V 77 Move the bit of the syncer which deals with vnodes into a separate function. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2004-11-14T16:11:17.000000Z K 7 svn:log V 45 Due to popular demand MFC mkuzip(8) utility. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-11-14T16:31:06.000000Z K 7 svn:log V 68 MFC revs. 1.47 - 1.49: document net.inet.tcp.sack.initburst sysctl. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-14T17:05:54.000000Z K 7 svn:log V 159 Fix a reference from pool(9) -> zone(9), but keep on talking about "memory pools" as that is what UMA provides. Submitted by: Jay END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-14T17:20:02.000000Z K 7 svn:log V 43 MFC: rev. 1.23 Avoid second person usage. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-14T17:22:20.000000Z K 7 svn:log V 38 MFC: rev. 1.4 Several language fixes END K 10 svn:author V 4 csjp K 8 svn:date V 27 2004-11-14T19:30:02.000000Z K 7 svn:log V 396 Currently if the user specifies -e and procfs is not mounted on /proc, printing of the process environment will fail silently. -define a function which will check to see if procfs is mounted on /proc -Implement this test if the user specified -e -If procfs is not mounted on /proc and -e was specified, print a warning. informing the user that procfs(5) is required. Reviewed by: wes, rwatson END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-11-14T19:42:13.000000Z K 7 svn:log V 66 Catch up with PHK's sio(4) rework [sys/dev/sio/sio.c rev. 1.456]. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-11-14T19:51:34.000000Z K 7 svn:log V 92 Unify the ci/co variables now that the the tty drivers now use the same character for both. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2004-11-14T20:17:01.000000Z K 7 svn:log V 341 Commit more debugging output. This is a little bit of using a large hammer, but sk(4) is so prevalent on AMD64 motherboards we need to reduce the number of round trips in the mailing lists trying to get sufficient information to make sure we've got a handle on all the problems and are working towards making sk(4) solid. Submitted by: bz END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-14T20:20:28.000000Z K 7 svn:log V 523 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. END K 10 svn:author V 8 truckman K 8 svn:date V 27 2004-11-14T20:37:41.000000Z K 7 svn:log V 74 s/return_VALUE/return / to fix build breakage when ACPI_DEBUG is defined. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-14T20:53:17.000000Z K 7 svn:log V 66 Make it clear that the acpi modules can only be compiled on i386. END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2004-11-14T21:14:06.000000Z K 7 svn:log V 459 Revert previous commit. As ru explains: In the old world (as the surrounding comment in makefile says), there was the /usr/libexec/ld-elf.so.1 binary which is now a symlink to /libexec/ld-elf.so.1. To symlink, we need to make sure that the _target_ (and the target is /usr/libexec/ld-elf.so.1) doesn't have "schg" flag set. A real solution is to protect the chflags call only if target exists, like we do in usr.bin/tip/tip/Makefile. Requested by: ru END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-14T21:38:22.000000Z K 7 svn:log V 372 Make sure the baudrate specified with the BR tag is somewhat sane. A baudrate we consider insane is silently replaced with 0. When the baudrate is 0, we will not try to program the hardware. Instead we leave the communication speed unaltered, maximizing the chance to have a working console. Obviously this means we allow specifying a 0 baudrate for exactly that purpose. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-14T22:18:31.000000Z K 7 svn:log V 53 So do it like we do in usr.bin/tip/tip/Makefile. ;) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-14T23:12:14.000000Z K 7 svn:log V 451 Add UART_IOCTL_BAUD to allow us to query the hardware about the current baudrate setting. Use this ioctl() when we don't know the baudrate of the sysdev (as represented by a 0 value). When the ioctl() fails, e.g. when the backend hasn't implemented it or the hardware doesn't provide the means to determine its current baudrate setting, we invalidate the baudrate setting by setting it to -1. None of the backends currently implement the new ioctl(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-14T23:31:19.000000Z K 7 svn:log V 138 Implement UART_IOCTL_BAUD. Consequently, when the baudrate was unset for the console, we emit the actual baudrate during bus enumeration. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-14T23:42:48.000000Z K 7 svn:log V 338 Remove the BR tag. When the machine doesn't have the DIG64 HCDP table with console settings, we now only need to know at which address the UART lives. Leaving the baudrate unspecified results in us using the baudrate at which the UART operates. This removes one parameter that can interfere with a successful installation out of the box. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-15T00:00:24.000000Z K 7 svn:log V 114 Be slightly more paranoid about using the divisor in a division and the calculated baudrate. Neither should be 0. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-15T01:24:39.000000Z K 7 svn:log V 224 Pax extended headers were always failing because the code was using the external API (archive_write_data) and assuming internal error-return conventions. Use the internal API for writing data. Thanks to: Joe Marcus Clarke END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2004-11-15T01:46:33.000000Z K 7 svn:log V 212 Since I'm not using the public API for writing the the pax attributes, I shouldn't try using the public API for finishing out the attribute entry, either. This also removes some old dubious state manipulations. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-15T02:47:37.000000Z K 7 svn:log V 274 Apply a bandaid to avoid hangs on Ultra 2 machines. The second Z8530 connects to the keyboard and mouse and needs some special treatment. Until this is fully understood, implemented and tested, simply avoid probing the second Z8530. This is also what the zs(4) driver does. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-15T04:49:20.000000Z K 7 svn:log V 63 Add comment about why amd64 and ia64 don't build acpi modules. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-15T05:12:17.000000Z K 7 svn:log V 87 Merge 1.3 from acpi_snc.c: don't use return_VALUE() macro Improve style(9) compliance. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-15T05:54:15.000000Z K 7 svn:log V 516 After discussions with Nate, repo copy the acpi assist drivers from i386 to dev/acpi_support. In theory, these devices could be found other than in i386 machines only as amd64 becomes more popular. These drivers don't appear to do anything i386 specific, so move them to dev/acpi_support. Move config lines to files so that those architectures that don't support kernel modules can build them into the kernel. At the same time, rename acpi_snc to acpi_sony to follow the lead of all the other specialty devices. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-15T05:59:10.000000Z K 7 svn:log V 168 Oops, all my test boxes have NO_KERBEROS set, so I didn't hit the kerberos5 build tools problem. I'd missed the kerberos5/tools stuff entirely. Add the missing bits. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-11-15T06:01:11.000000Z K 7 svn:log V 80 Insta-MFC rev 1.456: Add the build tools for kerberos5 for WITH_LIB32 on amd64. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T07:48:22.000000Z K 7 svn:log V 199 Order of arguments after "optional" is not without significance: the first field must be the name of the enabling device/option, otherwise config doesn't know there is an option/device of that name. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T08:06:05.000000Z K 7 svn:log V 26 Explicitly call pbrelvp() END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T08:07:26.000000Z K 7 svn:log V 57 expect the caller to have called pbrelvp() if necessary. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T08:12:50.000000Z K 7 svn:log V 76 Move pbgetvp() and pbrelvp() to vm_pager.c with the rest of the pbuf stuff. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T08:22:38.000000Z K 7 svn:log V 17 style polishing. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T08:33:09.000000Z K 7 svn:log V 15 More kasserts. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T08:38:50.000000Z K 7 svn:log V 57 Don't manually set b_bufobj, pbgetvp() does this for us. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T08:47:18.000000Z K 7 svn:log V 72 Add pbgetbo()/pbrelbo() lighter weight versions of pbgetvp()/pbrelvp(). END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T09:18:27.000000Z K 7 svn:log V 253 Make VOP_BMAP return a struct bufobj for the underlying storage device instead of a vnode for it. The vnode_pager does not and should not have any interest in what the filesystem uses for backend. (vfs_cluster doesn't use the backing store argument.) END K 10 svn:author V 2 le K 8 svn:date V 27 2004-11-15T12:30:59.000000Z K 7 svn:log V 84 Share gv_roughlength() between kernel and userland, as we will need it there later. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T12:41:56.000000Z K 7 svn:log V 213 RFC 959 states that the following codes should be used for status replies on file system objects: 212 Directory status. 213 File status. Reported by: Oleg Koreshkov MFC after: 1 week END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T12:47:44.000000Z K 7 svn:log V 71 Don't invent ways of capitalization orthogonal to the English grammar. END K 10 svn:author V 2 le K 8 svn:date V 27 2004-11-15T13:04:55.000000Z K 7 svn:log V 82 Move RAID5 offset calculation into a separate function to avoid code duplication. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-11-15T13:06:01.000000Z K 7 svn:log V 183 Always set current thread when activating thread debugger, the current thread may already be added by fbsd_find_new_threads, this can result that current thread is not set correctly. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2004-11-15T13:28:03.000000Z K 7 svn:log V 25 PC98 does not have ACPI. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T13:37:56.000000Z K 7 svn:log V 97 Document the S_IS*(mode) macros used to test for file types. Bump the document date accordingly. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T13:45:13.000000Z K 7 svn:log V 111 Improve mdoc(7) markup of the page: add several missing macros, use .Va instead of .Li for struct stat fields. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T13:55:33.000000Z K 7 svn:log V 23 Nitpicking on grammar. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T13:58:52.000000Z K 7 svn:log V 36 Use .Vt "struct stat" consistently. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T14:16:31.000000Z K 7 svn:log V 111 Document more fields of struct stat. Note to mdoc(7) police: The document date has already been touched today. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T14:33:17.000000Z K 7 svn:log V 185 Mention in the BUGS section that EVFILT_NETDEV events on vlan(4) will be noticed only if the parent uses miibus(4). Pointed out by: John-Mark Gurney END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T14:51:44.000000Z K 7 svn:log V 197 Add file ops to fifofs so that we can bypass vnodes (and Giant) for the heavy-duty operations (read, write, poll/select, kqueue). Disabled for now, enable with "vfs.fifofs.fops=1" in loader.conf. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T16:10:55.000000Z K 7 svn:log V 112 Make FILE_LOCK and FILEDESC_LOCK nest properly by postponing the the release of FILEDESC_LOCK a few more lines. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-15T16:33:18.000000Z K 7 svn:log V 31 Put _ray back, as appropriate. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-15T16:38:37.000000Z K 7 svn:log V 98 BUGS should stay below SEE ALSO. Pointed out by: ru (wearing the mdoc(7) police hat on his head) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-11-15T19:37:21.000000Z K 7 svn:log V 222 fix the missing lock in sk_jfree (verified w/ an assert) also fix up handling and proding of the tx, _OACTIVE is now handled better... Submitted by: Peter Edwards (sk_jfree) Obtained from: OpenBSD and/or NetBSD (tx prod) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-15T19:46:22.000000Z K 7 svn:log V 53 Add acpi_sony to the list of drivers that are built. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-15T20:08:44.000000Z K 7 svn:log V 22 Remove more debugging END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-15T20:51:32.000000Z K 7 svn:log V 53 Fix an off by one error. MAXPATHLEN already has +1. END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-15T21:03:14.000000Z K 7 svn:log V 19 MFC 1.8: Fix typo. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T21:26:13.000000Z K 7 svn:log V 45 Next FILEDESC_LOCK properly around FILE_LOCK END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T21:27:06.000000Z K 7 svn:log V 80 It is not necessary to hold vn_start_write/vn_finished_write around VOP_REVOKE. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T21:28:00.000000Z K 7 svn:log V 53 Forgot to remove now unused variable in last commit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-15T21:29:50.000000Z K 7 svn:log V 65 MFC: Remove address masking so that large kernels can be loaded. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T21:51:28.000000Z K 7 svn:log V 63 Straighten the ioctl function out to have only one exit point. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T21:56:42.000000Z K 7 svn:log V 97 Give vn_poll single exit point (to make it easier to insert "mtx_unlock(&Giant)" real soon now). END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-11-15T22:11:08.000000Z K 7 svn:log V 31 MFC: 1.79: Pacify gcc -Wundef. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-15T22:11:09.000000Z K 7 svn:log V 118 Make vnode bypass the default for devices. Can be disabled in case of problems with vfs.devfs.fops=0 in loader.conf END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-11-15T22:24:32.000000Z K 7 svn:log V 116 move the lock after the NULL check so we don't have a hard(er) to diagnose panic... Pointed out by: Bjoern A. Zeeb END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-15T23:38:48.000000Z K 7 svn:log V 91 Very late MFC of v. 1.15: Note that the D-Link 530-TXS also works with the ste(4) driver. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-15T23:59:28.000000Z K 7 svn:log V 121 MFi386: - inlina bus_dmamap_load_buffer - Directly pass the pmap to bus_dmamap_load_buffer, instead of the struct thread END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2004-11-16T00:48:27.000000Z K 7 svn:log V 264 Fix just the worst of the timeout race conditions that the previous backed out commits were trying to address: when cancelling the timeout callout, also cancel the abort_task event, since it is possible that the timeout has already fired and set up an abort_task. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-11-16T00:57:44.000000Z K 7 svn:log V 120 Simplify a bit bus_dmamap_load_buffer by removing the "first" parameter, use nseg == -1 instead. Obtained from: NetBSD END K 10 svn:author V 3 wes K 8 svn:date V 27 2004-11-16T04:14:28.000000Z K 7 svn:log V 25 Shutup debugging output. END K 10 svn:author V 3 wes K 8 svn:date V 27 2004-11-16T04:20:09.000000Z K 7 svn:log V 121 Convince mergemaster to maintain/merge ramdisk scripts too. Submitted by: Ben Kelly PR: bin/64079 END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-11-16T06:25:02.000000Z K 7 svn:log V 47 Minor style(9) before possible larger commits. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-16T06:57:52.000000Z K 7 svn:log V 19 Add missing break. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-16T08:12:32.000000Z K 7 svn:log V 46 MFC 1.54: Use cluster if data >= MINCLSIZE. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2004-11-16T08:15:07.000000Z K 7 svn:log V 88 MFC 1.217: Since sb_timeo type was increased to int, use INT_MAX instead of SHRT_MAX. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-16T08:22:06.000000Z K 7 svn:log V 26 Eliminate pointless goto. END K 10 svn:author V 3 rse K 8 svn:date V 27 2004-11-16T09:03:50.000000Z K 7 svn:log V 102 MFC: Add identifiers for the HP Laserjet 2300d USB printer and the HP ScanJet 4670v USB scanner. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-16T09:12:03.000000Z K 7 svn:log V 80 Move a FILEDESC_UNLOCK up to maintain correct nesting of FILEDESC/FILE locking. END K 10 svn:author V 3 rse K 8 svn:date V 27 2004-11-16T09:45:26.000000Z K 7 svn:log V 101 MFC 1.226-1.230: fix generated /etc/exports: escape all ' characters and fix typo (s/synatx/syntax/) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2004-11-16T10:47:15.000000Z K 7 svn:log V 58 MFC 1.26: Correct the name of the --line-buffered option. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-16T14:41:31.000000Z K 7 svn:log V 51 Move a FILEDESC_UNLOCK upwards to silence witness. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-16T14:47:04.000000Z K 7 svn:log V 44 Polish code to correctly reflect structure. END K 10 svn:author V 5 tobez K 8 svn:date V 27 2004-11-16T14:58:20.000000Z K 7 svn:log V 198 Use comma instead of a single quote as the decimal point separator for eu_ES.* locales. Discussed with: "J. Vicente Carrasco -Bixen- " , the eu_ES.* locales submitter, tjr END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T16:09:46.000000Z K 7 svn:log V 465 Adjust the interrupt storm handling code to better handle a storm. When a storm is detected, enter "storming" mode which throttles the interrupt source such that the handlers are run once every clock tick. Previously we allowed a full set of storm_threshold interations through the handler before going back to sleep. Also, this currently will intentionally exit storming mode once a second to see if the storm has passed. Tested by: marcus Discussed with: bde END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-11-16T16:59:23.000000Z K 7 svn:log V 72 Add virtual AT keyboard driver vkbd(4). Not yet connected to the build. END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-11-16T17:19:04.000000Z K 7 svn:log V 55 Add vkdb(4) man page and connect vkbd(4) to the build. END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-11-16T17:24:49.000000Z K 7 svn:log V 48 mdoc police: use .Xr read 2 instead of .Fn read END K 10 svn:author V 3 dds K 8 svn:date V 27 2004-11-16T17:41:16.000000Z K 7 svn:log V 294 Improvements and fixes in the 1.241 commit: - Have TS_ZOMBIE ttys return POLLHUP instead of POLLERR - Remove unneeded POLLWRNORM (old bug) - TS_ZOMBIE ttys will set POLLIN and POLLRDNORM - Do not call selrecord in TS_ZOMBIE ttys PR: kern/73821 Reviewed by: bde MFC after: 4 weeks END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-16T18:47:42.000000Z K 7 svn:log V 356 Enable throttling/C3 quirks for PIIX4 parts. Defer checking quirks until after boot so that PCI is initialized and we can probe for the problem chipsets. Note that while probed but unusable states are disabled, they aren't freed yet. In the future, it may make sense to detach them. Tested by: Adam K Kirchoff MFC after: 2 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T19:06:42.000000Z K 7 svn:log V 536 Various updates to the anonymous ftp support: - Allow the upload directory to be optional. If the upload directory field is cleared to the empty string then no directory will be created. - Don't create a bin/ subdirectory in ftp's home dir containing ls(1) and date(1) as ftpd(8) no longer requires it. - Create a pwd.db file in etc/ instead of a passwd file. - Ignore NIS compat entries in /etc/group and /etc/master.passwd when building the anonymous files. PR: bin/60662 Submitted by: Olafur Osvaldsson oli at isnic dot is END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-16T19:32:16.000000Z K 7 svn:log V 31 MFC: Support for the 5750/5751 END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-16T19:48:09.000000Z K 7 svn:log V 918 MFC: >alc 2004/05/21 21:53:52 PDT > > FreeBSD src repository > > Modified files: > sys/vm vm_extern.h vm_fault.c vm_map.c vm_page.c > Log: > To date, unwiring a fictitious page has produced a panic. The reason > being that PHYS_TO_VM_PAGE() returns the wrong vm_page for fictitious > pages but unwiring uses PHYS_TO_VM_PAGE(). The resulting panic > reported an unexpected wired count. Rather than attempting to fix > PHYS_TO_VM_PAGE(), this fix takes advantage of the properties of > fictitious pages. Specifically, fictitious pages will never be > completely unwired. Therefore, we can keep a fictitious page's wired > count forever set to one and thereby avoid the use of > PHYS_TO_VM_PAGE() when we know that we're working with a fictitious > page, just not which one. > > In collaboration with: green@, tegge@ > PR: kern/29915 Reviewed by: alc END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T20:42:32.000000Z K 7 svn:log V 111 Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove 80386 (I386_CPU) support from the kernel. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T20:45:51.000000Z K 7 svn:log V 51 Remove 80386 support from the ELF run time linker. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-11-16T20:51:45.000000Z K 7 svn:log V 77 Bump __FreeBSD_version for VM fix dealing with unwiring of fictitious pages. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-11-16T20:51:46.000000Z K 7 svn:log V 71 This commit was manufactured by cvs2svn to create branch 'RELENG_4_11'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T21:01:31.000000Z K 7 svn:log V 32 Remove 80386 support from libc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T21:12:47.000000Z K 7 svn:log V 90 No need to add I386_CPU to CFLAGS here for 80386 systems as they are no longer supported. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T21:18:41.000000Z K 7 svn:log V 56 Add a note about 80386 support being removed from HEAD. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T21:22:09.000000Z K 7 svn:log V 51 Remove some references to I386_CPU and 80386 CPUs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-16T21:23:11.000000Z K 7 svn:log V 72 Remove no longer needed I386_CPU option (it was commented out anyways). END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-16T21:59:00.000000Z K 7 svn:log V 207 Only write the rc.conf header when a new rc.conf is written. This was accidentally removed in v. 1.211. Submitted by: Olafur Osvaldsson PR: bin/73692 MFC after: 1 week Approved by: trhodes END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-11-16T22:13:58.000000Z K 7 svn:log V 200 MFC v. 1.224: Workaround a problem with Postfix MTA selection code when installing via FTP by hard-coding the Postfix major and minor revision (for the current stable version). Approved by: trhodes END K 10 svn:author V 7 yongari K 8 svn:date V 27 2004-11-17T04:25:10.000000Z K 7 svn:log V 171 Make interrupt coalescing work on big endian systems. Also change struct ucode.length to be in number of elements (u_int32_t) to help endian handling. MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-11-17T04:27:17.000000Z K 7 svn:log V 310 MFC create.c:1.9, migrate.c:1.12: Fix a braino: the partition size in the PMBR is in sectors, not bytes and 'mediasz' is in bytes. As it so happens, we define 'last' as the sector number of the last sector on the medium which also is the size of the PMBR partition. Therefore, use 'last' instead of 'mediasz'. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-11-17T04:36:50.000000Z K 7 svn:log V 131 MFC: v1.55 and v1.56 - add newsyslog(8) to SEE ALSO and bump document date. Consulted with: ru for wisdom on what to set date to. END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-17T04:49:27.000000Z K 7 svn:log V 439 MFC revision 1.293 Correct two errors in PG_BUSY management by vm_page_cowfault(). Both errors are in rarely executed paths. 1. Each time the retry_alloc path is taken, the PG_BUSY must be set again. Otherwise vm_page_remove() panics. 2. There is no need to set PG_BUSY on the newly allocated page before freeing it. The page already has PG_BUSY set by vm_page_alloc(). Setting it again could cause an assertion failure. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-11-17T05:17:08.000000Z K 7 svn:log V 165 MFC v1.115: Flush the register windows before we start changing the context. Submitted by: Andrew Belashov (slightly modified) Reviewed by: jake END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-17T07:18:49.000000Z K 7 svn:log V 41 Make vnode bypass for devices mandatory. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-17T07:30:02.000000Z K 7 svn:log V 59 Make vnode bypass for fifos (read, write, poll) mandatory. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-17T07:30:34.000000Z K 7 svn:log V 71 MFC rev 1.51 (jhb): Print message for missing _PRT only when verbose. END K 10 svn:author V 3 njl K 8 svn:date V 27 2004-11-17T07:31:40.000000Z K 7 svn:log V 55 MFC rev 1.9: Misc cleanups, enable brightness notify. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-17T07:39:58.000000Z K 7 svn:log V 418 Split the FILEDESC_LOCK in two variants. FILEDESC_LOCK_FAST will just grab the interlocking mutex and hold it. This should be used for simple modifications of a field. FILEDESC_LOCK holds a (homegrown) sleepable lock which should be used where sleeping is required. The homegrown lock will probably be replaced with a generic type of lock once we have found out how that should look. Help and reviews by: rwatson END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-17T08:01:10.000000Z K 7 svn:log V 243 Push Giant down through select and poll. Don't grab Giant in the upper syscall/wrapper code NET_LOCK_GIANT in the socket code (sockets/fifos). mtx_lock(&Giant) in the vnode code. Devfs grabs Giant if the driver is marked as needing Giant. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-11-17T09:09:55.000000Z K 7 svn:log V 339 Push Giant down through ioctl. Don't grab Giant in the upper syscall/wrapper code NET_LOCK_GIANT in the socket code (sockets/fifos). mtx_lock(&Giant) in the vnode code. mtx_lock(&Giant) in the opencrypto code. (This may actually not be needed, but better safe than sorry). Devfs grabs Giant if the driver is marked as needing Giant. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-11-17T09:52:10.000000Z K 7 svn:log V 127 The code path in main() dealing with lflag assumes that p was initialized with NULL, while it is not. So let's initialize it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2004-11-17T10:01:48.000000Z K 7 svn:log V 331 Initialize lcap and pwd to NULL. This allows a WARNS=6 clean build, hence bump it to 6. Note that the last commit message was not quite accurate. While the assumption exists in the code, it's not possible to have an uninitialized p there because if lflag is set when username is NULL then execution would be terminated earlier. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2004-11-17T11:27:30.000000Z K 7 svn:log V 133 Don't set the BUS_DMA_ALLOCNOW flag for the parent tag or the tags that are used for static memory allocations. Discussed with: sos END K 10 svn:author V 5 harti K 8 svn:date V 27 2004-11-17T11:32:46.000000Z K 7 svn:log V 170 Eliminate the define for POSIX and build with Posix behaviour. Our make has been build with POSIX enabled from the first day and the ifdef'ed out code served no purpose. END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-17T11:52:41.000000Z K 7 svn:log V 97 Kill more unneeded casts found. Noticed by: Nick Leuta (some of them) END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-17T12:07:14.000000Z K 7 svn:log V 112 Catch up with version 600000 of config(8), quotes around device names containing digits are no longer required. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-17T12:54:12.000000Z K 7 svn:log V 1284 o Sync with the NetBSD mk48txx driver (the result simplyfies some changes I have in mind for the genclock interface): - Recognize the MK48T18 as well (differs from the MK48T08 only in packaging options and voltages). - Allow MD code to provide functions for reading/writing NVRAM/RTC locations. If passed NULL, the old behaviour using bus_space_{read,write}_1() is used. Otherwise, all access to the chip goes via the MD functions. This is necessary for mvmeppc boards where the mk48txx NVRAM/RTC is not directly addressable. - Cleanup MI mk48txx(4) todclock driver: - Prepare mk48txxvar.h and leave only register definitions in mk48txxreg.h. - Define struct mk48txx_softc as usual devices and allocate necessary members in it. - Change mk48txx_attach() to only take a device_t. o While converting the sparc64 eeprom driver to the above changes: - Remove some dead code and stale comments. - Use the NVRAM size provided by the mk48txx driver instead of hardcoding it as suggested by a comment. - Add a comment about why it doesn't make much sense to read the hostid directly from the NVRAM except for displaying it when attaching. - Don't print the hostid if it reads all zero because it's stored elsewhere. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-17T12:57:24.000000Z K 7 svn:log V 153 Shorten the description of the mk48txx driver to just say that it supports MK48Txx clocks, there are now to many models supported to list them all here. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-17T13:10:16.000000Z K 7 svn:log V 545 Define new MAC framework and policy entry points for System V IPC objects and operations: - System V IPC message, message queue, semaphore, and shared memory segment init, destroy, cleanup, create operations. - System V IPC message, message queue, seamphore, and shared memory segment access control entry points, including rights to attach, destroy, and manipulate these IPC objects. Submitted by: Dandekar Hrishikesh Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-17T13:12:06.000000Z K 7 svn:log V 540 In the kernel-only portionss of System V IPC objects (messages, message queues, shared memory segments, and semaphores), add a struct label pointer, which will hold the MAC labels for the objects. As a result of recent work to separate kernel and user space ABIs, this should not break the ABI for applications using System V IPC, but will require a rebuild of the ipcs monitoring tool. Submitted by: Dandekar Hrishikesh Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-17T13:14:24.000000Z K 7 svn:log V 302 Implement MAC entry points relating to System V IPC, calling into the MAC policies to perform object life cycle operations and access control checks. Submitted by: Dandekar Hrishikesh Obtained from: TrustedBSD Project Sponsored by: DARPA, SPAWAR, McAfee Research END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-17T14:39:41.000000Z K 7 svn:log V 243 Don't bother exiting storming mode once a second to see if it has gone away, instead only exit storming mode when an interrupt stops firing long enough for the ithread to exit the loop and go back to sleep. Tested by: macrus (cruder version) END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-17T14:44:10.000000Z K 7 svn:log V 2894 o sparc64/isa/isa.c: - The claim in the commit log of rev. 1.11 of dev/uart/uart_cpu_sparc64.c etc. that UARTs are the only relevant ISA devices on sparc64 turned out to be false. While there are sparc64 models where UARTs are the only devices on the ISA bus there are in fact also low-cost models where all devices traditionally found on the EBus are hooked up to the ISA bus. There are also models that use a mix between EBus and ISA devices with things like an AT keyboard controller and other rather interesting devices that we might want to support in the futute hook up to the ISA bus. In order to not need to add sparc64 specific device_identify methods to all of the respective ISA drivers and also not add OFW specific code to the common ISA code make the sparc64 ISA bus code fake up PnP devices so most ISA drivers probe their devices without further changes. Unfortunately Sun doesn't adhere to the ISA bindings defined in IEEE 1275-1994 for the properties of most of the ISA devices which would allow to obtain the vendor and logical IDs from their properties. So we we just use a simple table which maps the name properties to PnP IDs. This could be done in a more sophisticated way but I courrently don't see the need for this. [1] - Add the children with fully mapped and specified resources (in the OFW sense) similar to what is done in the EBus code for the IRQ resources of the children as adjusting the resources and the resource list entries respectively in isa_alloc_resource() as done perviously causes trouble with drivers which use rman_get_start(), pass-through or allocate and release resources multiple times, etc. Adjusting the resources might be better off in a bus_activate_resource method but the common ISA code currently doesn't allow for an isa_activate_resource(). [2] With this change: - ppbus(4) and lpt(4) attach and work (modulo ECP mode, which requires real ISADMA code but it currently only consists of stubs on sparc64). - atkbdc(4) and atkbdc(4) attach, no further testing done. - fdc(4) itself attaches but causes a hang while attaching fd0 also when is DMA disabled, further work in fdc(4) is required here as e.g. fd0 uses the address of fd1 on sparc64 (not sure if sparc64 supports more than one floppy drive at all). All of these drivers previously caused panics in the sparc64 ISA code. - Minor changes, e.g. use __FBSDID, remove a dupe word in a comment and declare one global variable which isn't used outside of isa.c static. o dev/uart/uart_cpu_sparc64.c and modules/uart/Makefile: - Remove the code for registering the UARTs on the ISA bus from the sparc64 uart_cpu_identify() again and rely on probing them via PnP. Original idea by: tmm [1] No objections by: tmm [1], [2] END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-17T14:46:13.000000Z K 7 svn:log V 107 Force commit to denote that this file was repo-copied from dev/dec/mc146818reg.h Repo-copy done by: peter END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-17T16:37:25.000000Z K 7 svn:log V 593 Add a driver back end for MC146818 and compatible clocks based on the respective NetBSD driver for use with the genclock interface. It's first use will be on sparc64 but it was also tested on alpha with a preliminary patch to switch alpha to use the genclock code together with this driver instead of the respective code in alpha/alpha/clock.c and the rather MD mcclock(4). Using it on i386 and amd64 won't be that hard but some changes/extensions to improve the genclock code in general should be done first, e.g. add locking and make it easier to access the NVRAM usually coupled with RTCs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-17T16:41:42.000000Z K 7 svn:log V 323 Add a front-end for the `rtc' device which is a MC146818 compatible clock found on the ISA bus (some USIIe, USIIi and USIIIi models) and EBus (USIII models) instead of a MK48Txx clock. Testet by: Matthew T. Lager" on Sun Fire V100, Xavier Beaudouin on Netra X1 (initial version) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-17T17:33:59.000000Z K 7 svn:log V 79 Hook up mac_sysv_{msg,sem,shm}.c to the build when compiling with MAC support. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-11-17T18:32:44.000000Z K 7 svn:log V 196 sync comment on IFF_OACTIVE with reality.. IFF_OACTIVE is set when the hardware cannot take anymore packets, and so will supress the calling of the device's if_start method... Submitted by: bde END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-11-17T19:04:11.000000Z K 7 svn:log V 71 MFC revision 1.77 Enable debug.mpsafevm by default on amd64 and i386. END K 10 svn:author V 6 marius K 8 svn:date V 27 2004-11-17T20:01:43.000000Z K 7 svn:log V 220 Remove the whole uart_cpu_identify() stuff again. Now that it's no longer used on sparc64 they are only stubs on all architectures and it doesn't look like if we would need it in the near future again. Ok'ed by: marcel END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-11-17T21:35:22.000000Z K 7 svn:log V 230 only clear the IFF_OACTIVE flag when we have a chance of being able to queue a packet to the hardware... instead of when the hardware queue is empty.. don't initalize cur_tx now that it doesn't need to be... Pointed out by: bde END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-17T21:39:06.000000Z K 7 svn:log V 81 List the LevelOne GNC-0105T (8169S) as supported and bump .Dd MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-17T21:39:40.000000Z K 7 svn:log V 32 s/3COM/3Com/ MFC after: 3 days END K 10 svn:author V 3 yar K 8 svn:date V 27 2004-11-17T22:43:46.000000Z K 7 svn:log V 87 Use POSIX functions instead of legacy ones: getwd() -> getcwd() wait3() -> waitpid() END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2004-11-17T22:51:46.000000Z K 7 svn:log V 157 - list D-Link DFE-528TX as supported - correct whitespace in a few entries - remove some doubt from the D-Link DFE-538TX entry - bump .Dd MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-11-17T23:03:17.000000Z K 7 svn:log V 141 Update release notes to note that FreeBSD/i386 requires at least an 80486 and also requires a floating point unit. Reviewed by: hrs, scottl END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-11-17T23:14:03.000000Z K 7 svn:log V 255 Fix host route addition for more than one address to a loopback interface after allowing more than one address with the same prefix. Reported by: Vladimir Grebenschikov Submitted by: ru (also NetBSD rev. 1.83) Pointyhat to: mlaier END