Го160186 217 504 948 127 282 239 262 560 98 272 377 333 123 185 225 202 291 134 380 269 120 121 135 181 121 169 192 1379 118 142 117 308 268 121 130 169 139 326 304 134 137 108 226 152 238 139 159 279 233 158 253 230 156 98 319 114 258 282 599 228 298 188 228 155 1147 177 170 179 300 215 348 128 364 124 134 383 180 106 127 158 121 125 122 127 612 109 130 116 128 161 142 472 98 509 105 373 322 334 584 217 386 169 151 135 152 685 230 318 222 200 167 178 127 231 187 140 232 133 723 179 169 304 537 115 260 235 185 914 298 543 310 180 150 147 457 108 189 325 161 165 239 137 363 323 158 165 254 124 114 125 124 226 308 147 143 121 495 433 178 255 269 191 98 206 184 98 183 98 137 194 565 120 254 210 230 282 229 124 659 164 111 137 137 105 136 232 110 548 188 165 189 159 170 314 262 440 256 588 613 257 230 264 258 245 178 132 501 218 173 307 229 509 167 136 179 287 188 336 K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-08T17:06:15.000000Z K 7 svn:log V 411 Create bus_enumerate_hinted_children. This routine will allow drivers to use the hinted child system. Bus drivers that use this need to implmenet the bus_hinted_child method, where they actually add the child to their bus, as they see fit. The bus is repsonsible for getting the attribtues for the child, adding it in the right order, etc. ISA hinting will be updated to use this method. MFC After: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-08T19:51:38.000000Z K 7 svn:log V 855 Rework kern_semctl a bit to always assume the UIO_SYSSPACE case. This mostly consists of pushing a few copyin's and copyout's up into __semctl() as all the other callers were already doing the UIO_SYSSPACE case. This also changes kern_semctl() to set the return value in a passed in pointer to a register_t rather than td->td_retval[0] directly so that callers can only set td->td_retval[0] if all the various copyout's succeed. As a result of these changes, kern_semctl() no longer does copyin/copyout (except for GETALL/SETALL) so simplify the locking to acquire the semakptr mutex before the MAC check and hold it all the way until the end of the big switch statement. The GETALL/SETALL cases have to temporarily drop it while they do copyin/malloc and copyout. Also, simplify the SETALL case to remove handling for a non-existent race condition. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-08T19:52:49.000000Z K 7 svn:log V 35 Use ibsc2_key_t rather than key_t. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-08T19:54:12.000000Z K 7 svn:log V 189 - Split the IBCS2 ipc foosys() system calls up into subfunctions matching the organization in svr4_ipc.c. - Use kern_msgctl(), kern_semctl(), and kern_shmctl() instead of the stackgap. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-08T20:03:39.000000Z K 7 svn:log V 146 Add a kern_close() so that the ABIs can close a file descriptor w/o having to populate a close_args struct and change some of the places that do. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-08T20:05:04.000000Z K 7 svn:log V 169 Use kern_connect() in spx_open() to avoid the need for the stackgap. I also used kern_close() for simplicity though close(2) wasn't requiring the use of the stackgap. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-08T20:12:14.000000Z K 7 svn:log V 467 - Split ioctl() up into ioctl() and kern_ioctl(). The kern_ioctl() assumes that the 'data' pointer is already setup to point to a valid KVM buffer or contains the copied-in data from userland as appropriate (ioctl(2) still does this). kern_ioctl() takes care of looking up a file pointer, implementing FIONCLEX and FIOCLEX, and calling fi_ioctl(). - Use kern_ioctl() to implement xenix_rdchk() instead of using the stackgap and mark xenix_rdchk() MPSAFE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-08T20:14:34.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-07-09T05:53:24.000000Z K 7 svn:log V 174 Remove build timestamps. There's no need to know exactly when these programs were built, and this removal makes these binaries build the same every time. MFC after: 1 week END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-09T06:04:01.000000Z K 7 svn:log V 284 Revise network interface cloning to take an optional opaque parameter that can specify configuration parameters: o rev cloner api's to add optional parameter block o add SIOCCREATE2 that accepts parameter data o rev vlan support to use new api (maintain old code) Reviewed by: arch@ END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-09T06:10:23.000000Z K 7 svn:log V 240 o replace special handling of clone operations by a clone callback mechanism o change vlan cloning to use callback and pass all vlan parameters on create using the new SIOCREATE2 ioctl o update vlan set logic to match existing practice END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2006-07-09T06:54:24.000000Z K 7 svn:log V 27 Fix spelling in a comment. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-09T09:46:43.000000Z K 7 svn:log V 91 o Fix MTX_SYSINIT prototype. PR: kern/99956 Submitted by: Arne Woerner MFC after: 1 week END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-09T10:19:07.000000Z K 7 svn:log V 128 Add very basic ftruncate() regression test, with a comment rather more thorough than the tests regarding what should be tested. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-09T10:43:31.000000Z K 7 svn:log V 105 Add regression tests to make sure that attempting to call ftruncate() on various non-file objects fails. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-09T10:56:36.000000Z K 7 svn:log V 194 When extending a file with truncate, check that newly added bytes have a value of 0 in the extended region. Make sure that we get EINVAL back if we try to truncate a read-only file descriptor. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-09T11:51:14.000000Z K 7 svn:log V 40 o style.Makefile(5): WARNS= -> WARNS?=. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-09T12:25:56.000000Z K 7 svn:log V 287 When kern.geom.raid3.use_malloc tunnable is set to 1, malloc(9) instead of uma(9) will be used for memory allocation. In case of problems or tracking bugs, there are more useful tools for malloc(9) debugging than for uma(9) debugging, like memguard(9) and redzone(9). MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-09T14:10:35.000000Z K 7 svn:log V 176 Change fs->fs_fsmnt to mp->mnt_stat.f_mntonname in warnings about missing MAC and ACLs support in the kernel. If it is a first mount, fs->fs_fsmnt is empty. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-09T14:11:09.000000Z K 7 svn:log V 28 Declare UFS module version. END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T15:38:31.000000Z K 7 svn:log V 27 MFC: MAINTAINER status quo END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T16:31:53.000000Z K 7 svn:log V 41 Remove stale MAINTAINER OK'd by: scottl END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-09T16:38:58.000000Z K 7 svn:log V 86 If PAE is built w/o modules, make sure that isp(4) has its firmware resident as well. END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T16:39:53.000000Z K 7 svn:log V 27 MFC: updating maintainers. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-09T16:40:31.000000Z K 7 svn:log V 74 Make the firmware assist driver resident in preparation for isp using it. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-09T16:41:22.000000Z K 7 svn:log V 97 Make the firmware assist driver resident in preparation for isp using it. Reviewed by: sam, max END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-09T17:50:20.000000Z K 7 svn:log V 1282 Convert isp(4) and ispfw(4) to use firmware(9) to manage firmware loading for the QLogic cards. Because isp(4) exists before the root is mounted, it's not really possible for us to use the kernel's linker to load modules directly from disk- that's really too bad. However, the this is still a net win in in that the firmware has been split up on a per chip (and in some cases, functionality) basis, so the amount of stuff loaded *can* be substantially less than the 1.5MB of firmware images that ispfw now manages. That is, each specific f/w set is now also built as a module. For example, QLogic 2322 f/w is built as isp_2322.ko and Initiator/Target 1080 firmware is built as isp_1080_it.ko. For compatibility purposes (i.e., to perturb folks the least), we also still build all of the firmware as one ispfw.ko module. This allows us to let 'ispfw_LOAD' keep on working in existing loader.conf files. If you now want to strip this down to just the firmware for your h/w, you can then change loader.conf to load the f/w you specifically want. We also still allow for ispfw to be statically built (e.g., for PAE and sparc64). Future changes will look at f/w unloading and also role switching that then uses the kernel linker to load different ips f/w sets. MFC after: 2 months END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T19:44:53.000000Z K 7 svn:log V 24 MFC: update maintainers END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T19:49:29.000000Z K 7 svn:log V 48 MFC: keep the maintainers consistent with HEAD. END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T20:26:36.000000Z K 7 svn:log V 23 More stale maintainer. END K 10 svn:author V 8 twinterg K 8 svn:date V 27 2006-07-09T21:16:06.000000Z K 7 svn:log V 210 Extend i4b to support CAPI manager based ISDN controllers (CAPI manager is part of c4b, CAPI for BSD). This is a preparation to add CAPI for BSD to the source tree. Approved by: hm (mentor) MFC after: 2 weeks END K 10 svn:author V 6 scottl K 8 svn:date V 27 2006-07-09T21:42:58.000000Z K 7 svn:log V 172 Use a sleep mutex instead of an sx lock for the kernel environment. This allows greater flexibility for drivers that want to query the environment. Reviewed by: jhb, mux END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T21:47:37.000000Z K 7 svn:log V 27 More inactive maintainers. END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T22:06:28.000000Z K 7 svn:log V 36 MFC: pick up maintainer stragglers. END K 10 svn:author V 5 markm K 8 svn:date V 27 2006-07-09T22:17:02.000000Z K 7 svn:log V 75 MFC: maintainer straggers, and bring on down the LOCKS file for reference. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T00:41:00.000000Z K 7 svn:log V 47 MFC 1.12: remove duplicate ifname in debug msg END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T00:44:47.000000Z K 7 svn:log V 233 MFC 1.74: Ensure outbound data packets in hostap mode are delivered only to stations that are associated by making ieee80211_find_txnode return NULL when a unicast frame is to be delivered to an unassociated station. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T00:46:27.000000Z K 7 svn:log V 211 MFC 1.75: Move conditional preprocessing out from the IEEE80211_DPRINTF macro invocation. Per C99 6.10.3 paragraph 11 preprocessing directives appearing as macro arguments yield undefined behavior. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T00:47:49.000000Z K 7 svn:log V 42 sync w/ HEAD: add some useful definitions END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T00:55:19.000000Z K 7 svn:log V 45 MFC: Close race in handling mcast traffic... END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T00:56:10.000000Z K 7 svn:log V 16 MFC: cabq stats END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T00:58:56.000000Z K 7 svn:log V 133 MFC 1.140: Improve ath_draintxq debug info: dump the packet as well as the descriptor and handle the beacon q like other q's END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T01:00:00.000000Z K 7 svn:log V 60 MFC 1.149: enable rx of control frames when in monitor mode END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-10T01:03:23.000000Z K 7 svn:log V 141 MFC r1.152 Enable proxy ARP answers on any of the bridged interfaces if proxy record belongs to another interface within the bridge group. END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T01:03:48.000000Z K 7 svn:log V 47 MFC 1.11: remove some unnecessary perror calls END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T01:09:14.000000Z K 7 svn:log V 67 sync w/ HEAD: use taskqueue_start_threads and run thread at PI_NET END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-10T01:15:24.000000Z K 7 svn:log V 186 MFC 1.131: o handle fatal errors directly instead of via the task queue o temporarily dump some h/w state for diagnosis; this will be removed once some issues are resolved END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-10T05:24:06.000000Z K 7 svn:log V 136 Catch up with the revised network interface cloning which takes an optional opaque parameter that can specify configuration parameters. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2006-07-10T05:25:18.000000Z K 7 svn:log V 62 Add enc(4), it can still build with FAST_IPSEC commented out. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-10T07:03:37.000000Z K 7 svn:log V 160 Add synchronization to moea_zero_page() and moea_zero_page_area(). Remove the acquisition and release of Giant from moea_zero_page_idle(). Tested by: grehan@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-10T07:08:05.000000Z K 7 svn:log V 137 Set debug.mpsafevm to true on PowerPC. (Now, by default, all architectures in CVS have debug.mpsafevm set to true.) Tested by: grehan@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-10T15:55:17.000000Z K 7 svn:log V 64 Mark ibcs2_msgsys(), ibcs2_semsys(), and ibcs2_shmsys() MPSAFE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-10T15:55:38.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-07-10T16:30:46.000000Z K 7 svn:log V 226 Add a good quote that gets used a lot in the debate about global warming right now: It is difficult to get a man to understand something when his salary depends upon his not understanding it. -- Upton Sinclir END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-07-10T16:53:32.000000Z K 7 svn:log V 22 And now without typo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-10T17:59:26.000000Z K 7 svn:log V 165 Retire the stackgap macros from ibcs2 as they are no longer used. Push the includes of and down into the only files that now need them. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-10T19:06:01.000000Z K 7 svn:log V 189 Don't try to reuse the linker_file structure after we've freed it when throwing out the kld's loaded by the loader that didn't successfully link. Found by: Coverity Prevent(tm) CID: 1435 END K 10 svn:author V 4 csjp K 8 svn:date V 27 2006-07-10T19:13:32.000000Z K 7 svn:log V 505 Implement mpo_associate_nfsd_label entry point for the BIBA security policy, we will initialize the label to biba/low for files that have been created through an NFS RPC. This is a safe default given the default nature of our NFS implementation, there is not a whole lot of data integrity there by default. This also fixes kernel panics associated with file creation over NFS while creating files on filesystems which have multilabel enabled with BIBA enabled. MFC after: 2 weeks Discussed with: rwatson END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-10T19:13:45.000000Z K 7 svn:log V 135 Fix two more instances of using a linker_file_t object in TAILQ() macros after free'ing it. Found by: Coverity Prevent(tm) CID: 1435 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-10T19:28:57.000000Z K 7 svn:log V 205 Explicitly use STAILQ_REMOVE_HEAD() when we know we are removing the head element to avoid confusing Coverity. It's now also easier for humans to parse as well. Found by: Coverity Prevent(tm) CID: 1201 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-10T19:37:43.000000Z K 7 svn:log V 96 Unexpand PTRIN() in several places and fix one instance where 0 was being used instead of NULL. END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-07-10T20:51:30.000000Z K 7 svn:log V 134 The TrustedBSD MAC Framework is documented in the Architecture handbook, not in the Developers handbook. Submitted by: Samy Al Bahra END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-10T21:18:00.000000Z K 7 svn:log V 63 Use proper defines instead of magic values. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-10T21:38:17.000000Z K 7 svn:log V 1053 - Split out kern_accept(), kern_getpeername(), and kern_getsockname() for use by ABI emulators. - Alter the interface of kern_recvit() somewhat. Specifically, go ahead and hard code UIO_USERSPACE in the uio as that's what all the callers specify. In place, add a new uioseg to indicate what type of pointer is in mp->msg_name. Previously it was always a userland address, but ABI emulators may pass in kernel-side sockaddrs. Also, remove the namelenp field and instead require the two places that used it to explicitly copy mp->msg_namelen out to userland. - Use the patched kern_recvit() to replace svr4_recvit() and the stock kern_sendit() to replace svr4_sendit(). - Use kern_bind() instead of stackgap use in ti_bind(). - Use kern_getpeername() and kern_getsockname() instead of stackgap in svr4_stream_ti_ioctl(). - Use kern_connect() instead of stackgap in svr4_do_putmsg(). - Use kern_getpeername() and kern_accept() instead of stackgap in svr4_do_getmsg(). - Retire the stackgap from SVR4 compat as it is no longer used. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-10T22:39:32.000000Z K 7 svn:log V 82 Clean up the ioctl to not process nonsense on SCSI isp cards. MFC after: 1 month END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-10T22:40:21.000000Z K 7 svn:log V 75 Put in some missing target mode for 2KLOGIN f/w spots. MFC after: 1 month END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-10T23:14:07.000000Z K 7 svn:log V 83 Create thread in separated ksegrp, so they always get correct user level priority. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2006-07-11T00:00:29.000000Z K 7 svn:log V 204 MFC iwi update: Sync with if_iwi.c 1.35, if_iwireg.h 1.12, if_iwivar.h 1.11 Lots of changes. This version now requires net/iwi-firmware-kmod so we also bump __FreeBSD_version to use in the port. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-11T05:34:35.000000Z K 7 svn:log V 118 Add POSIX scheduler parameters support to thr_new syscall, this permits privileged process to create realtime thread. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-11T06:01:14.000000Z K 7 svn:log V 251 For SCHED_OTHER, we always inherit current thread's interactive priority unless current thread is realtime thread, in such case, we set a new zero priority for it, notice we don't have per-thread nice, the priority passed by userland is ignored here. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-11T06:09:54.000000Z K 7 svn:log V 33 Remove pre-commit review on mpt. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-11T06:11:34.000000Z K 7 svn:log V 267 Extended the POSIX scheduler APIs to accept lwpid as well, we've already done this in ptrace syscall, when a pid is large than PID_MAX, the syscall will search a thread in current process. It permits 1:1 thread library to get and set a thread's scheduler attributes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-11T06:15:46.000000Z K 7 svn:log V 28 Oops, remove debugger line. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-11T08:19:57.000000Z K 7 svn:log V 38 Don't forget to check invalid policy! END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-11T11:22:06.000000Z K 7 svn:log V 287 Add a new flag to pmap_enter_locked() to say if it's OK to wait. If it is, and we're unable to allocate the memory for a PTE, we'll wait until we can. If not, we'll just return. Use M_NOWAIT|M_USE_RESERVE to allocate PTEs, it is less aggressive than M_NOWAIT alone. Suggested by: alc END K 10 svn:author V 4 joel K 8 svn:date V 27 2006-07-11T16:26:40.000000Z K 7 svn:log V 87 Gah. Replace another instance of "Developer's Handbook" with "Architecture Handbook". END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T16:32:19.000000Z K 7 svn:log V 14 MFC v0.9.17.2 END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T16:33:12.000000Z K 7 svn:log V 35 sync w/ HEAD and for v0.9.17.2 hal END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T16:34:13.000000Z K 7 svn:log V 66 MFC: delete ath hal options so we don't clobber released opt_ah.h END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T16:34:38.000000Z K 7 svn:log V 29 MFC: add ath hal build rules END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T16:35:52.000000Z K 7 svn:log V 33 MFC: add ath and related modules END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T16:36:28.000000Z K 7 svn:log V 30 MFC: add ath and related code END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T16:37:22.000000Z K 7 svn:log V 35 enable ath for sparc64 and powerpc END K 10 svn:author V 6 daichi K 8 svn:date V 27 2006-07-11T17:27:04.000000Z K 7 svn:log V 516 The ufs_lookup.c has a critical bug around the whiteout process. UFS must check a whiteout name when it uses the whiteout, but the current implementation does not check the whileout name, so sometimes UFS writes over a wrong whtieout. UFS *MUST* check the whiteout name to use a corrent whiteout. This bug leads unionfs. panic. This commit fixes this trouble. Submitted by: Masanori Ozawa (unionfs developer) Reviewed by: tegge & rodrigc (mentor) Approved by: rodrigc (mentor) MFC after: 2 weeks END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T17:32:18.000000Z K 7 svn:log V 17 add ath hal glue END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T17:32:55.000000Z K 7 svn:log V 38 must cast through uintptr_t for alpha END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T17:33:35.000000Z K 7 svn:log V 24 enable ath hal on alpha END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T17:34:13.000000Z K 7 svn:log V 36 add ath & co. (compile tested only) END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-07-11T19:13:04.000000Z K 7 svn:log V 66 MFC: revs. 1.19-1.21: support targeting FreeBSD 7 (and cleanups). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2006-07-11T20:02:39.000000Z K 7 svn:log V 47 MFC: define FBSD_CC_VER simular to FBSD_MAJOR. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-11T20:52:08.000000Z K 7 svn:log V 379 - Add conditional VFS Giant locking to getdents_common() (linux ABIs), ibcs2_getdents(), ibcs2_read(), ogetdirentries(), svr4_sys_getdents(), and svr4_sys_getdents64() similar to that in getdirentries(). - Mark ibcs2_getdents(), ibcs2_read(), linux_getdents(), linux_getdents64(), linux_readdir(), ogetdirentries(), svr4_sys_getdents(), and svr4_sys_getdents64() MPSAFE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-11T20:55:23.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-11T21:49:54.000000Z K 7 svn:log V 412 Reduce periods of simultaneous acquisition of various socket buffer locks and the unplock during uipc_rcvd() and uipc_send() by caching certain values from one structure while its locks are held, and applying them to a second structure while its locks are held. If done carefully, this should be correct, and will reduce the amount of work done with the global unp lock held. Tested by: kris (earlier version) END K 10 svn:author V 3 sam K 8 svn:date V 27 2006-07-11T21:52:09.000000Z K 7 svn:log V 13 sync w/ HEAD END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-11T21:56:58.000000Z K 7 svn:log V 276 When pru_attach() fails, call sodealloc() on the socket rather than using sorele() and the full tear-down path. Since protocol state allocation failed, this is not required (and is arguably undesirable). This matches the behavior of sonewconn() under the same circumstances. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-11T23:18:28.000000Z K 7 svn:log V 225 Several protocol switch functions (pru_abort, pru_detach, pru_sosetlabel) return void, so don't implement no-op versions of these functions. Instead, consistently check if those switch pointers are NULL before invoking them. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-12T00:48:50.000000Z K 7 svn:log V 238 Comment out the mapping of the OHCI controller registers va == pa. This address is in the userland address space. The proper thing is either to choose a virtual address in the kernel address space beyond the KVA, or to use pmap_mapdev(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-12T00:49:46.000000Z K 7 svn:log V 490 Assume floppy disk is not inserted when we have exhausted retries. This significantly reduces booting time when there is broken floppy disk drive, controller, cable, BIOS, etc. When the floppy controller interface is correctly implemented, disk change signal (DSKCHG) is reflected in the Digital Input Register (DIR) at 0x3f7. However, there are many cases that the signal is unusable. Moreover, some BIOS does not reserve the port at all. In those cases, the register may not function. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-12T03:44:05.000000Z K 7 svn:log V 120 __error could be called too early before libthr is initialized, test this case and return global varible errno instead. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-12T05:54:17.000000Z K 7 svn:log V 289 Return priority range 0..PRI_MAX_TIMESHARE-PRI_MIN_TIMESHARE for SCHED_OTHER, the same range as rtprio() is using. In old code, it returns nice range -20 .. 20, nice should be treated as process weight, it is really managed by getpriority() and setpriority() syscalls, they are different. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-12T06:04:12.000000Z K 7 svn:log V 76 Add two new CPUID bits for AMD CPUs, i. e., SVM and extended APIC register. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-12T06:13:18.000000Z K 7 svn:log V 55 Use kernel facilities to support real-time scheduling. END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-07-12T06:29:59.000000Z K 7 svn:log V 43 Move debug printfs under the proper macro. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-12T07:02:28.000000Z K 7 svn:log V 56 Use newkg to check if SCHED_OTHER is already inherited. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-12T07:48:50.000000Z K 7 svn:log V 589 Fix config page writes to not strip out the attributes when you actually go write the config page. This fixes the long standing problem about updating NVRAM on Fibre Channel cards and seems so far to not break SPI config page writes. Put back role setting into mpt. That is, you can set a desired role for mpt as a hint. On the next reboot, it'll pick that up and redo the NVRAM settings appropriately and warn you that this won't take effect until the next reboot. This saves people the step of having to find a BIOS utilities disk to set target and/or initiator role for the MPT cards. END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-12T09:13:33.000000Z K 7 svn:log V 137 Check that the signal number is in range. Submitted by: Michiel Boland MFC after: 1 week Approved by: pjd (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-12T09:16:35.000000Z K 7 svn:log V 225 Always supply curthread as argument to nfs_asyncio and nfs_doio in nfs_strategy. Otherwise, for some buffers, signals would be ignored at the intr mounts. Reviewed by: mohan, cel MFC after: 1 month Approved by: pjd (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-12T11:41:53.000000Z K 7 svn:log V 129 Use proper format specifier for pointers in debug printfs (turned off by default). Approved by: pjd (mentor) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-12T12:41:56.000000Z K 7 svn:log V 107 Check that the signal number is in range. Submitted by: maxim MFC after: 1 week Approved by: pjd (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2006-07-12T12:42:47.000000Z K 7 svn:log V 75 Remove slipped in spaces. Pointed out by: maxim Approved by: pjd (mentor) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-12T13:36:08.000000Z K 7 svn:log V 84 o Fix some printf(3) format nits in my patch I submitted to kib@. Submitted by: ru END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-12T14:33:52.000000Z K 7 svn:log V 33 o Add missed comma, xref kld(4). END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-07-12T14:52:32.000000Z K 7 svn:log V 139 First step to identify and initialize the newer VIA C7 CPU as found in a VIA EPIA EN-15000 board. Obtained from: large parts from OpenBSD END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-07-12T14:59:07.000000Z K 7 svn:log V 96 forgot to add MFC, since its used on -stable and compile-tested on -current. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-12T15:40:35.000000Z K 7 svn:log V 48 Document sx_xlocked(9). Submitted by: ssouhlal END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-12T15:44:00.000000Z K 7 svn:log V 139 Only check if we're freeing a valid object if we hold the topology lock. This prevents panic under heavy load with DIAGNOSTIC compiled in. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-12T15:55:48.000000Z K 7 svn:log V 36 Correct path to the firmware ports. END K 10 svn:author V 3 des K 8 svn:date V 27 2006-07-12T16:05:51.000000Z K 7 svn:log V 630 Teach mount(8) about a 'late' keyword, which means the file system should not be mounted unless the -l flag was specified. Add an rc script, mountlate, which basically runs 'mount -a -l'. It runs after DAEMON but before LOGIN. This is useful for things like loopback mounts, because mountcritremote runs before mountd / nfsd (since /usr might be a remote file system), so an attempt to mount a loopback network file system in mountcritremote will fail. Also add a progress message to mountcritlocal, for the sake of symmetry with similar messages in mountcritremote and mountlate. Reviewed by: freebsd-rc MFC after: 3 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2006-07-12T16:08:49.000000Z K 7 svn:log V 82 MFC: Sync with HEAD (rev. 1.14), including information about the firmware ports. END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-07-12T16:52:56.000000Z K 7 svn:log V 78 fix typo in identcpu.c and add one define to specialreg.h. MFC after: 1 week END K 10 svn:author V 8 keramida K 8 svn:date V 27 2006-07-12T18:12:11.000000Z K 7 svn:log V 206 When securelevel is >= 1, /dev/io may not be opened at all (not just for write). Update the securelevel description to match this. Reported by: Alexandros Kosiaris MFC after: 3 days END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-12T18:51:51.000000Z K 7 svn:log V 442 MFC rev 1.90: In g_dev_strategy(), when failing an IO request with EINVAL due to offset or request size which is not a multiple of the sector size, make sure that the bio is set to indicate that no data has actually been transferred. The result of this is that the file offset is no longer incremented for these requests. The fact that the file offset was incremented broke fdisk(8)'s probing of sector size for non-512 byte sector sizes. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-12T19:12:16.000000Z K 7 svn:log V 21 o Sort sx(9) MLINKS. END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-07-12T19:46:08.000000Z K 7 svn:log V 168 Initialise (if necessary) the VIA C3/C7 features. Store the capabilities for further use by random(4), padlock(4), ... Obtained from: mostly OpenBSD MFC after: 1 week END K 10 svn:author V 3 ups K 8 svn:date V 27 2006-07-12T20:25:35.000000Z K 7 svn:log V 142 Add vnode interlocking to devfs. This prevents race conditions that can cause pagefaults or devfs to use arbitrary vnodes. MFC after: 1 week END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-07-12T20:29:11.000000Z K 7 svn:log V 94 Use the already stored VIA RNG probe information instead of probing again. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-12T21:22:44.000000Z K 7 svn:log V 821 Simplify the pager support in DDB. Allowing different db commands to install custom pager functions didn't actually happen in practice (they all just used the simple pager and passed in a local quit pointer). So, just hardcode the simple pager as the only pager and make it set a global db_pager_quit flag that db commands can check when the user hits 'q' (or a suitable variant) at the pager prompt. Also, now that it's easy to do so, enable paging by default for all ddb commands. Any command that wishes to honor the quit flag can do so by checking db_pager_quit. Note that the pager can also be effectively disabled by setting $lines to 0. Other fixes: - 'show idt' on i386 and pc98 now actually checks the quit flag and terminates early. - 'show intr' now actually checks the quit flag and terminates early. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-12T21:25:24.000000Z K 7 svn:log V 205 Honor db_pager_quit in 'show threadchain', 'show allchains', and 'show lockchain'. This is especially helpful for the first 2 as a threadchain could get stuck in an infinite loop during a mutex deadlock. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-12T22:57:57.000000Z K 7 svn:log V 450 MFC: subr_bus.c 1.194, bus_if.m 1.30, bus.h 1.75: Create bus_enumerate_hinted_children. This routine will allow drivers to use the hinted child system. Bus drivers that use this need to implmenet the bus_hinted_child method, where they actually add the child to their bus, as they see fit. The bus is repsonsible for getting the attribtues for the child, adding it in the right order, etc. ISA hinting will be updated to use this method. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-07-12T23:13:09.000000Z K 7 svn:log V 212 Fix ifconfig up when the HW was down. If the driver isn't running then we need to call init otherwise just start the rx. Interestingly dhclient seemed to work but ifconfig didn't for me. Reviewed by: jhb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-13T01:53:54.000000Z K 7 svn:log V 84 MFC solo.c, 1.39 to RELENG_6: Fix a missing unlock operation in interrupt handler. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2006-07-13T01:57:52.000000Z K 7 svn:log V 54 MFC if_sk.c, 1.126 to RELENG_6: Fix typo in comment. END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2006-07-13T03:37:06.000000Z K 7 svn:log V 50 Link in mount_linsysfs. Prompted by: Rocco Rutte END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-13T06:26:43.000000Z K 7 svn:log V 360 Add syscalls thr_setscheduler, thr_getscheduler, and thr_setschedparam, these syscalls are designed to set thread's scheduling parameters and policy, because each syscall contains a size parameter, it is possible to support future scheduling option, e.g SCHED_SPORADIC, this option needs other fields in structure sched_param, current they are not avaiblable. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-13T06:32:55.000000Z K 7 svn:log V 12 regenerate. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-13T06:35:43.000000Z K 7 svn:log V 93 Use thr_setscheduler, thr_getscheduler and thr_setschedparam to implement pthread functions. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-13T06:41:26.000000Z K 7 svn:log V 228 Backout the feature which can change thread's scheduling option, I really don't want to mix process and thread scheduling options together in these functions, now the thread scheduling option is implemented in new thr syscalls. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-07-13T08:11:46.000000Z K 7 svn:log V 65 MFC: Move AH[CD]_REG_PRETTY_PRINT options to where they belongs. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-13T08:30:40.000000Z K 7 svn:log V 69 MFC manual for sigwaitinfo and sigtimedwait syscalls. PR: doc/90711 END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-07-13T09:15:14.000000Z K 7 svn:log V 147 Use the already stored VIA RNG probe information instead of probing again. Adjust style(9) somewhat in probe.c Reviewed by: pjd MFC after: 1 week END K 10 svn:author V 2 mr K 8 svn:date V 27 2006-07-13T11:47:36.000000Z K 7 svn:log V 46 Now even more style(9)ish. Submitted by: pjd END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-13T13:42:37.000000Z K 7 svn:log V 268 MFC rev. 1.168: for sockets with LOCAL_CREDS option remove all previous linked SCM_CREDS control messages and then add a control message with struct sockcred so the process specifically asked for the peer credentials by LOCAL_CREDS option always gets struct sockcred. END K 10 svn:author V 3 phk K 8 svn:date V 27 2006-07-13T14:06:09.000000Z K 7 svn:log V 230 Create the diskless magic files in /etc during the install_etc() step instead of setup_nanobsd(), because this gives customize tasks a chance to fiddle the details. Inspired & tested by: Jordan Coleman END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-13T16:09:40.000000Z K 7 svn:log V 65 Sync specialreg.h changes between amd64 and i386 with few fixes. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-13T20:37:59.000000Z K 7 svn:log V 73 Always allow to specify components with /dev/ prefix. MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-13T22:45:19.000000Z K 7 svn:log V 157 Caching scheduling policy and priority in userland, a critical but baddly written application is frequently changing thread priority for SCHED_OTHER policy. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-14T00:50:51.000000Z K 7 svn:log V 29 Add remote GDB bits for arm. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2006-07-14T01:57:09.000000Z K 7 svn:log V 18 sync with master. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T04:35:59.000000Z K 7 svn:log V 33 no need to print unload anymore. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T04:36:57.000000Z K 7 svn:log V 32 no need to print unload anymore END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T04:39:29.000000Z K 7 svn:log V 133 Fix a few cis entries that were separated with spaces, not with commas. This caused drivers for the cards they matched to not probe. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-14T05:14:48.000000Z K 7 svn:log V 212 Add some missing braces. Add MEMORY_BARRIER for the few scratch dma ops that were missing them plus add a couple of hi 32 bit dma ops (we could probably allow 64 bit scratch and request/response queue dma now). END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-14T05:16:00.000000Z K 7 svn:log V 52 Don't attach 2422's yet. It just confuses everyone. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-14T05:19:17.000000Z K 7 svn:log V 48 MFC 1.117: don't claim to support the 2422 yet. END K 10 svn:author V 3 des K 8 svn:date V 27 2006-07-14T06:36:13.000000Z K 7 svn:log V 29 MFC: include ssh_namespace.h END K 10 svn:author V 5 harti K 8 svn:date V 27 2006-07-14T09:07:56.000000Z K 7 svn:log V 400 Reduce the memory requirements for the tables by (1) using malloced strings instead of maximum sized arrays embedded in the table structures and (2) using pointers to constant oids instead of copying the oid into each table structure. This also fixes indexing in the case when a string used for indexing is longer than the maximum size allowed in the MIB. Submitted by: Victor Cruceru END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2006-07-14T09:44:28.000000Z K 7 svn:log V 336 Define prototype for pru_close, which in the future will notify the protocol of a socket close event distinct from a detach event, which will (in a future commit) become aligned with pru_abort, which will also be a notification of close prior to detach. Add prurequests event for close, as well as patch up some existing missing ones. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-14T13:37:47.000000Z K 7 svn:log V 83 Remove prototype for the undefined function counterhandler(). Submitted by: kevlo END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-07-14T13:55:56.000000Z K 7 svn:log V 158 Unlock aac_io_lock before returning, thus eliminates a mutex leak. Submitted by: Beyond Luo PR: kern/100046 Reviewed by: scottl END K 10 svn:author V 7 delphij K 8 svn:date V 27 2006-07-14T13:58:32.000000Z K 7 svn:log V 172 Drop Giant before returning in error path, thus eliminates two mutex leaks. Submitted by: Beyond Luo PR: kern/100046 Reviewed by: ken, scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-14T15:11:20.000000Z K 7 svn:log V 99 ibcs2_sigprocmask() is already marked MPSAFE in syscalls.xenix, so mark it MPSAFE in syscalls.isc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-14T15:11:46.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T15:20:31.000000Z K 7 svn:log V 113 Move some of the common parameters into the std. files for this platform. Also migrate from MD disk to NFS boot. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-14T15:30:50.000000Z K 7 svn:log V 92 Mark ibcs2_mount() (just returns EINVAL) and ibcs2_umount() (just calls unmount(2)) MPSAFE. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-14T15:31:01.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-14T15:42:21.000000Z K 7 svn:log V 91 Somewhat surprisingly, ibcs2_ioctl() is MPSAFE as it is without needing any further fixes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2006-07-14T15:42:47.000000Z K 7 svn:log V 7 Regen. END K 10 svn:author V 2 ru K 8 svn:date V 27 2006-07-14T16:48:52.000000Z K 7 svn:log V 46 Fix build by making this look like rev. 1.25. END K 10 svn:author V 4 emax K 8 svn:date V 27 2006-07-14T17:11:59.000000Z K 7 svn:log V 100 MFC: Replace inb() and outb() with bus_space_read_1() and bus_space_write_1() Submitted by: marius END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-14T17:45:33.000000Z K 7 svn:log V 470 o compat_group() and files_group() are more complicated than I thought in rev. 1.34. Mainly I missed the fact that the buffer is used for two purposes: 1) storing a group line from the group file; 2) __gr_parse_entry() parses the buffer and tries to put the group members to the remaining part of the buffer and can fail if there is no enough room for them. Re-arrange the buffer size checks to account the latter case. Submitted by: Kirk R Webb MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-14T17:55:36.000000Z K 7 svn:log V 28 Remove duplicated #include. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T21:33:04.000000Z K 7 svn:log V 161 Be sure to flush the cache after a partial read on timeout. Expand comments about timeouts. Fix a style nit. Sometimes small messages were getting corrupted. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T21:35:59.000000Z K 7 svn:log V 117 MF p4: Adapt to forthcoming spi framework. The ioctls for SPI commands and such belong in the higher level driver. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T21:37:19.000000Z K 7 svn:log V 137 Implement the set_time function. Rather pointless with this RTC, as it resets when the core resets, but there may be some use for it... END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T21:59:54.000000Z K 7 svn:log V 189 For the moment, make board configuration a compile time option. This saves space in the final kernel, but at the expense of flexibility to boot the same kernel accross a family of boards. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:01:51.000000Z K 7 svn:log V 136 The TSC board uses a 16MHz base clock for the AT91RM9200, while the Kwikbyte board uses a 10MHz base clock. Cope with this difference. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:06:01.000000Z K 7 svn:log V 32 MFp4: Fix typo in RTC_CALR_MK. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:22:57.000000Z K 7 svn:log V 566 MFp4: Introduce framework to configure the multiplexed pins on boot. Since the USART supprots RS-485 multidrop mode, it allows the TX pins to float. However, for RS-232 operations, we don't want these pins to float. Instead, they should be pulled up to avoid mismatches. Linux does something similar when it configures the TX lines. This implies that we also allow the RX lines to float rather than be in the state they are left in by the boot loader. Since they are input pins, I think that this is the right thing to do. Plus minor for our board. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2006-07-14T22:22:58.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:30:44.000000Z K 7 svn:log V 19 MFp4: paren police END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:31:12.000000Z K 7 svn:log V 45 MFp4: elevate quality of slow clock a little END K 10 svn:author V 4 jkim K 8 svn:date V 27 2006-07-14T22:39:18.000000Z K 7 svn:log V 44 Let native elf class be registered earlier. END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:40:24.000000Z K 7 svn:log V 13 MFp4: tweaks END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:41:54.000000Z K 7 svn:log V 44 MFp4: this now depends on new spi bus stuff END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:47:07.000000Z K 7 svn:log V 139 MFp4: Initial spibus support. Seems to be OK, but needs some polish. # someone should write a bit-bang spi parallel port interface :-) END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T22:50:46.000000Z K 7 svn:log V 18 MFp4: spibus glue END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-14T23:15:06.000000Z K 7 svn:log V 455 Allow iic bridges to support a generalized transfer, rather than forcing all transfers to do the start read/write stop by hand. Some smart bridges prefer this sort of operation, and this allows us to support their features more easily. When bridges don't support it, we fall back to using the old-style opertaions. Expand the ioctl interface to expose this function. Unlike the old-style interface, this interface is thread safe, even on old bridges. END K 10 svn:author V 6 julian K 8 svn:date V 27 2006-07-14T23:32:43.000000Z K 7 svn:log V 93 Not having ipv6 in your kernel is not an error and should not be reported. MFC after: 1 week END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-15T00:09:53.000000Z K 7 svn:log V 70 Add a comment explaining why the OHCI mapping has been commented out. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-07-15T02:07:38.000000Z K 7 svn:log V 94 Cleanup: Use if_initname to set if_dname, if_dunit, and if_xname instead of doing it by hand. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-07-15T02:13:05.000000Z K 7 svn:log V 64 Drop a pointless cast of ifp->if_softc to (struct tap_softc *). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2006-07-15T02:49:35.000000Z K 7 svn:log V 75 Use TAILQ_FOREACH instead of poking around in the guts of the list macros. END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-15T06:44:27.000000Z K 7 svn:log V 221 Enable debug.mpsafevfs by default on arm. Since every architecture except powerpc has debug.mpsafevfs enabled by default, it is shorter to enumerate the architectures on which debug.mpsafevfs is off. Tested by: cognet@ END K 10 svn:author V 3 alc K 8 svn:date V 27 2006-07-15T07:24:30.000000Z K 7 svn:log V 169 Make pc_freemask an array of uint32_t, rather than uint64_t. (I believe that the use of the latter is simply an oversight in porting the new pv entry code from amd64.) END K 10 svn:author V 5 simon K 8 svn:date V 27 2006-07-15T12:23:56.000000Z K 7 svn:log V 345 Add FreeBSD version information to the menu title so it's possible to see which release you are installing (really which FreeBSD version the installer is running, but that shouldn't matter in all normal cases). PR: bin/100309 Submitted by: Joao Barros (original version) Idea from: FreeBSD ideas page MFC after: 1 week END K 10 svn:author V 5 bruno K 8 svn:date V 27 2006-07-15T17:34:03.000000Z K 7 svn:log V 161 Eliminate duplicate p-states entries Reported and tested by: ales dot rom at kabelnet dot net Reviewed by: njl Approved by: njl, imp (mentor) MFC after: 3 days END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-15T19:19:54.000000Z K 7 svn:log V 490 - Update ALSA emu10k1.h (it was imported as emu10k1-alsa.h) header file to latest version from Mercurial repository. It brings definition of some additional Audigy 2 / Audigy 2 Value registers. - Use new #defines from ALSA emu10k1.h - Remove unused include files: + emu10k1-ac97.h was imported from ALSA and never used, + emu10k1.h was imported from Creative Linux emu10k1 driver, but only AUDIGY_CODEBASE was used from it. Submitted by: Yuriy Tsibizov END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-15T19:36:28.000000Z K 7 svn:log V 515 Add snd_emu10kx driver for Creative SoundBlaster Live! and Audigy series sound cards with optional pseudo-multichannel playback. It's based on snd_emu10k1 sound driver. Single channel version is available from audio/emu10kx port since some time. The two new ALSA header files (GPLed), which contain Audigy 2 ("p16v") and Audigy 2 Value ("p17v") specific interfaces, are latest versions from ALSA Mercurial repository. This is not connected to the build yet. Submitted by: Yuriy Tsibizov END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-15T20:08:32.000000Z K 7 svn:log V 159 Make the MIDI kobj class static. This brings it inline with the channel or ac97 classes. This allows to link emu10k1 and emu10kx into the same kernel (LINT). END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-15T20:11:16.000000Z K 7 svn:log V 132 Make the mixer kobj class static. This brings it inline with the channel or ac97 classes. Tested with: es137x based sound hardware END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-15T20:22:40.000000Z K 7 svn:log V 166 - Connect the snd_emu10kx driver to the build. [1] - Bump __FreeBSD_version, no need to build the port now. Submitted by: Yuriy Tsibizov [1] END K 10 svn:author V 8 netchild K 8 svn:date V 27 2006-07-15T20:31:26.000000Z K 7 svn:log V 160 Add a man-page for snd_emu10kx. Someone with man-fu should have a look and improve it. Submitted by: Yuriy Tsibizov (minor mods by me) END K 10 svn:author V 6 thomas K 8 svn:date V 27 2006-07-15T20:41:38.000000Z K 7 svn:log V 149 When creating the NanoBSD disk image, install boot blocks from the newly-built world, in preference to those from the host system. Reviewed by: phk END K 10 svn:author V 3 imp K 8 svn:date V 27 2006-07-15T20:53:36.000000Z K 7 svn:log V 86 Note the convention that humanize_number follows. Add 'engineering' numbers to table. END K 10 svn:author V 3 njl K 8 svn:date V 27 2006-07-15T22:53:53.000000Z K 7 svn:log V 40 MFC 1.190: notify devd of resume events END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-15T22:58:09.000000Z K 7 svn:log V 405 If the card has target mode enabled, and we hang out ELS buffers but *don't* hang out commands, we hang folks on the SAN because the LSI-Logic f/w apparently sends back BUSY or QFULL or some darn thing. If we add command buffers, we have to respond to them sensibly even if we don't have any upstream listeners (scsi_targ or scsi_targ_bh), so put in some local command reponse stuff. MFC after: 2 weeks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-15T23:01:54.000000Z K 7 svn:log V 122 Make sure that if uma_small_alloc() gets called recursively, we just give up and call kmem_malloc(), to avoid a deadlock. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2006-07-15T23:15:31.000000Z K 7 svn:log V 78 Oops bring back code that shouldn't have been removed by the previous commit. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2006-07-16T00:39:58.000000Z K 7 svn:log V 209 MFC various revisions of usr.sbin/i4b/*/main.c: Remove build timestamps. There's no need to know exactly when these programs were built, and this removal makes these binaries build the same every time. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-16T03:31:01.000000Z K 7 svn:log V 133 Define out unused and incomplete raid quiesce functions. The code never could be called, so we might as well not compile it for now. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-16T03:34:55.000000Z K 7 svn:log V 413 If we're in mpt_wait_req and the command times out, mark it as timed out. Don't try and free the config request for read_cfg_header that times out because it's still active. Put in code for the config reply handler that will then free up timed out requests. Fix the FC_PRIMITIVE_SEND completion to not try and free a command twice. Dunno how this possibly could have been working for awhile. MFC after: 2 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2006-07-16T06:05:44.000000Z K 7 svn:log V 72 Add sysctl information about things like WWNN/WWPN. MFC after: 2 weeks END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-16T06:49:06.000000Z K 7 svn:log V 42 MFC rev. 1.50: fix MTX_SYSINIT prototype. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2006-07-16T06:53:26.000000Z K 7 svn:log V 85 MFC revs. 1.14 cfparse.y and 1.16 config.c: SIOCGIFCONF -> getifaddrs(3) conversion. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-16T15:36:58.000000Z K 7 svn:log V 194 MFC: sys/ufs/ffs/ffs_vfsops.c 1.317 Change fs->fs_fsmnt to mp->mnt_stat.f_mntonname in warnings about missing MAC and ACLs support in the kernel. If it is a first mount, fs->fs_fsmnt is empty. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-16T15:43:52.000000Z K 7 svn:log V 96 MFC: sys/geom/mirror/g_mirror_ctl.c 1.17 Always allow to specify components with /dev/ prefix. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2006-07-16T15:47:46.000000Z K 7 svn:log V 243 MFC: sys/geom/mirror/g_mirror.c 1.84,1.85 - Use proper G_MIRROR_DESTROY_* defines instead of magic values. - Allow to close access even if device is already destroyed. Reported by: Ulrich Spoerlein PR: kern/98093 END