ƒ«194570 193 511 215 445 1083 668 322 322 322 322 512 919 274 470 331 132 282 738 277 437 210 124 143 156 175 175 137 206 187 204 1182 129 416 555 150 182 255 268 388 405 243 651 251 122 123 111 112 297 151 193 553 279 180 530 232 261 143 214 392 477 424 202 332 198 115 168 122 166 148 392 199 427 272 277 269 291 117 279 98 117 127 140 114 171 147 199 167 250 141 127 177 477 196 1073 197 223 135 209 451 194 100 502 124 1235 113 675 305 706 272 201 296 180 154 189 160 202 163 166 222 299 144 171 142 208 610 237 625 195 156 137 308 160 317 205 165 294 176 291 159 198 136 111 112 108 109 167 153 142 177 305 416 315 199 241 248 189 239 119 241 817 267 193 232 158 168 157 180 275 389 156 285 258 180 136 185 258 250 212 559 307 174 201 286 113 701 215 112 108 109 189 186 1255 201 255 K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-21T06:18:19.670249Z K 7 svn:log V 414 Due to possible PCI bus lock-up issues fxp(4) didn't perform full hardware reset in attach phase. Selective reset does not clear configured parameters so I think full hardware reset is required. To prevent PCI bus lock-up, do selective reset first which will get off the controller from PCI bus and request software reset after selective reset. Software reset will unmask interrupts so disable it after the reset. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-21T06:27:35.130757Z K 7 svn:log V 118 Don't blindly enable Rx lock-up workaround. Newer chips do not need the Rx lock-up workaround. Obtained from: NetBSD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-21T06:46:32.944269Z K 7 svn:log V 348 Always check fxp(4) is running, see if it can accept frames from upper stack in fxp_start_body(). fxp(4) drops driver lock in Rx path so check the fxp(4) is still running after reacquiring driver lock in Rx path. Also don't invoke fxp_intr_body if fxp(4) is not running. With this change there is no need to set suspend bit in device attach phase. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-21T07:17:49.958473Z K 7 svn:log V 986 Overhaul fxp(4) multicast filter programming. fxp(4) hardwares do not allow multicast filter programming when controller is busy to send/receive frames. So it used to mark need_mcsetup bit and defer multicast filter programming until controller becomes idle state. To detect when the controller is idle fxp(4) relied on Tx completion interrupt with NOP command and fxp_start_body and fxp_intr_body had to see whether pending multicast filter programming was requested. This resulted in very complex logic and sometimes it did not work as expected. Since the controller should be in idle state before any multicast filter modifications I changed it to reinitialize the controller whenever multicast filter programming is required. This is the same way what OpenBSD and NetBSD does. Also I added IFF_DRV_RUNNING check in ioctl handler so controller would be reinitialized only if it is absolutely needed. With this change I guess we can remove fxp(4) DELAY hack in ifioctl for IPv6 case. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-06-21T07:34:12.560557Z K 7 svn:log V 571 For ICH based fxp(4) controllers treat them as 82559 compatibles. To detect which controller is ICH based one, add a new member variable ich to struct fxp_ident and move the struct to if_fxpvar.h. Since I've faked controller revision, don't allow microcode loading for ICH based controllers. With this change all ICH based controllers will have WOL and Rx checksum offload capability. PR: kern/135451 Tested by: Alexey Shuvaev ( shuvaev <> physik dot uni-wuerzburg dot de ), pluknet ( pluknet <> gmail dot com ), Gary Jennejohn ( gary.jennejohn <> freenet dot de ) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-21T07:54:47.944397Z K 7 svn:log V 224 In non-debugging mode make this define (void)0 instead of nothing. This helps to catch bugs like the below with clang. if (cond); <--- note the trailing ; something(); Approved by: ed (mentor) Discussed on: current@ END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-21T08:36:30.940974Z K 7 svn:log V 224 In non-debugging mode make this define (void)0 instead of nothing. This helps to catch bugs like the below with clang. if (cond); <--- note the trailing ; something(); Approved by: ed (mentor) Discussed on: current@ END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-21T08:49:06.543560Z K 7 svn:log V 224 In non-debugging mode make this define (void)0 instead of nothing. This helps to catch bugs like the below with clang. if (cond); <--- note the trailing ; something(); Approved by: ed (mentor) Discussed on: current@ END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-21T09:01:12.115769Z K 7 svn:log V 224 In non-debugging mode make this define (void)0 instead of nothing. This helps to catch bugs like the below with clang. if (cond); <--- note the trailing ; something(); Approved by: ed (mentor) Discussed on: current@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-21T09:39:43.745261Z K 7 svn:log V 415 Add support for uncompressing pack(1)'ed files. Pack(1) is a program found in some commercial Unix systems, which utilizes Huffman minimum redundancy code tree to compress files. This implementation supports the "new" pack format only, just like GNU gzip did. Thanks for oliver@'s archive set which I can test against, and Mingyan Guo for providing helpful review of my code. PR: bin/109567 MFC after: 1 month END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-21T10:10:44.008273Z K 7 svn:log V 822 Remove historical support for capturing IPX packets in the output path using raw IPX sockets. While functional, this support is disabled using a flag that can't be changed from userspace, and google reveals no documentation or use of that flag anywhere. This eliminates a potential lock order reversal and code reentrance issue in which the output path reentered the input path in IPX. An alternative to removal would be to use the netisr, as a comment I added in 2005 suggests. While this change is fairly straight-forward, the lack of any consumers or the easy possibility of consumers (kernel modification and recompile required) suggests that this is simply an unused feature. Update README to remove this TODO, and a TODO regarding IPX/IP encapsulation which was also removed a few years ago. MFC after: 1 week END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-21T10:29:31.419246Z K 7 svn:log V 176 Switch cmd argument to u_long. This matches what if_ethersubr.c does and allows the code to compile cleanly on amd64 with clang. Reviewed by: rwatson Approved by: ed (mentor) END K 10 svn:author V 5 remko K 8 svn:date V 27 2009-06-21T11:21:16.581641Z K 7 svn:log V 375 Add support for the Myson Heden 8813. Note that I also added the usbdev to the list, because the 8813 version is not yet known there. I might have twisted the sorting there but because 8813 comes before 8818, I added it before that (with _8813 to differentiate) the item. PR: 135628 Submitted by: Yoshikazu GOTO Approved by: imp (mentor, implicit) END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-21T12:58:56.938743Z K 7 svn:log V 237 - Fix strncmp on arm. Return 0 as result without performing the main cycle only if the len passed is equal to 0. If end address overflows use last possible address as the end address. Based on: discussion on arm@ MFC after: 1 month END K 10 svn:author V 5 remko K 8 svn:date V 27 2009-06-21T13:13:13.920746Z K 7 svn:log V 38 use PROTO_DEFAULT. Requested by: hps END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-06-21T13:15:56.472173Z K 7 svn:log V 188 - Eliminate extra subcs instruction. I have not noticed before that we always perform substraction now, so no instruction could be rordered to eliminate the conditional substraction. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-21T13:41:32.282613Z K 7 svn:log V 645 Add another flags argument to vn_open_cred. Use it to specify that some vn_open_cred invocations shall not audit namei path. In particular, specify VN_OPEN_NOAUDIT for dotdot lookup performed by default implementation of vop_vptocnp, and for the open done for core file. vn_fullpath is called from the audit code, and vn_open there need to disable audit to avoid infinite recursion. Core file is created on return to user mode, that, in particular, happens during syscall return. The creation of the core file is audited by direct calls, and we do not want to overwrite audit information for syscall. Reported, reviewed and tested by: rwatson END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-21T15:36:10.987853Z K 7 svn:log V 181 MFC r193086: Preserve file flags on symlinks in cp -Rp. This reported ENOSYS before. PR: bin/111226 (part of) Submitted by: Martin Kammerhofer Approved by: ed (mentor) (implicit) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-06-21T15:40:39.285005Z K 7 svn:log V 341 MFC r193087: rm, find -delete: fix removing symlinks with uchg/uappnd set Formerly, this tried to clear the flags on the symlink's target instead of the symlink itself. As before, this only happens for root or for the unlink(1) variant of rm. PR: bin/111226 (part of) Submitted by: Martin Kammerhofer Approved by: ed (mentor) (implicit) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-21T16:10:40.999752Z K 7 svn:log V 114 Fix a bug in an edge case of peer link establishment and add some KASSERTS. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-21T16:11:26.282746Z K 7 svn:log V 28 Update copyright on netipx. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-21T16:11:40.108147Z K 7 svn:log V 47 Remove unuxed ipx_zerohost. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-21T16:23:43.669048Z K 7 svn:log V 61 Fix another edge case. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-21T16:26:22.245172Z K 7 svn:log V 80 * Enable HWMP on output. * Add assertions Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-21T16:42:52.399526Z K 7 svn:log V 80 Add HWMP_LOCK/UNLOCK macros and use them. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-21T16:56:49.806689Z K 7 svn:log V 41 Minor style cleanups. MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-21T17:06:05.627012Z K 7 svn:log V 110 Add ioctl commands to manipulae the HWMP table (like MAC ACL commands). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-21T17:17:46.372115Z K 7 svn:log V 92 Implement hwmp:add, hwmp:del and hwmp:flush commands. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-21T17:35:04.680746Z K 7 svn:log V 108 Return ENOSYS instead of EINVAL, otherwise we break ioctl processing. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2009-06-21T19:02:32.200393Z K 7 svn:log V 1084 MFC r164890 (by jkim): Fixes for 'blocking in fifoor state' problem of LTP tests. linux_*stat*() functions were opening files with O_RDONLY to get major/minor pair for char/block special files. Unfortunately, when these functions are used against fifo, it is blocked forever because there is no writer. Instead, we only open char/block special files for major/minor conversion. We have to get rid of kern_open() entirely from translate_path_major_minor() but today is not the day. While I am here, add checks for errors before calling translate_path_major_minor(). MFC r179651: d_ino member of linux_dirent structure should be unsigned long. MFC r182892: Getdents requires padding with 2 bytes instead of 1 byte as with getdents64. The last byte is used for storing the d_type, add this to plain getdents case where it was missing before. Also change the code to use strlcpy instead of plain strcpy. MFC r188572: Fix an edge-case of the linux readdir: We need the size of a linux dirent structure, not the size of a pointer to it. PR: kern/113939 Approved by: kib (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-21T19:17:22.826339Z K 7 svn:log V 37 add %b formats for various registers END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-21T19:21:01.004442Z K 7 svn:log V 323 Add explicit struct ucred * argument for VOP_VPTOCNP, to be used by vn_open_cred in default implementation. Valid struct ucred is needed for audit and MAC, and curthread credentials may be wrong. This further requires modifying the interface of vn_fullpath(9), but it is out of scope of this change. Reviewed by: rwatson END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-21T19:30:33.182633Z K 7 svn:log V 458 Clean up common ifaddr management: - Unify reference count and lock initialization in a single function, ifa_init(). - Move tear-down from a macro (IFAFREE) to a function ifa_free(). - Move reference count bump from a macro (IFAREF) to a function ifa_ref(). - Instead of using a u_int protected by a mutex to refcount(9) for reference count management. The ifa_mtx is now used for exactly one ioctl, and possibly should be removed. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-21T19:31:41.987909Z K 7 svn:log V 58 Record r192973 as merged so it won't show up as eligible. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-21T19:39:34.037636Z K 7 svn:log V 90 merge r193027, r193557, r192900, r193028: fix trailing-slash symlink bug PR: kern/21768 END K 10 svn:author V 3 des K 8 svn:date V 27 2009-06-21T19:50:06.630736Z K 7 svn:log V 162 merge r194086, r194087, r194089, r194091, r194093, r194094, r194095, r194096, r194097, r194098: fix aliasing and other bugs revealed by WARNS, major code cleanup END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-21T20:08:07.857215Z K 7 svn:log V 171 In ipx_control(), lock if_addr_mtx when adding/removing addresses from interface address lists, and don't add an address until it's fully initialized. MFC after: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-21T20:29:14.127658Z K 7 svn:log V 295 Implement a mechanism within vm_phys_alloc_contig() to defer all necessary calls to vdrop() until after the free page queues lock is released. This eliminates repeatedly releasing and reacquiring the free page queues lock each time the last cached page is reclaimed from a vnode-backed object. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-21T21:04:12.578888Z K 7 svn:log V 308 Introduce basic locking of global IPX address list 'ipx_ifaddr' using a new rwlock, ipx_ifaddr_rw, wrapped with macros. This locking is necessary but not sufficient, in isolation, to satisfy the stability requirements of a fully parallel IPX input path during interface reconfiguration. MFC after: 3 weeks END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-06-21T21:38:12.974411Z K 7 svn:log V 147 Disable write-back until I figure out what's wrong with it on the i81342. There's no need to disable the MMU once we're done inflating the kernel. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-21T21:42:29.186051Z K 7 svn:log V 554 Add ipx_ifaddr locking to ipx_control(), which should close most remaining potential races in ifconfig's management of IPX addresses. This is largely accomplished by dropping a global write lock for the IPX address list over the body of in_control(), although there are some places we bump the refcount on an ifaddr of interest while calling out to the routing code or link layer code, which might require revisiting. Annotate one as a potential race if two simultaneous delete ioctls are issued for the same IPX addresses at once. MFC after: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-22T04:21:02.521085Z K 7 svn:log V 158 Eliminate dead code. These definitions should have been deleted with the introduction of i686_mem.c in r45405. Merge adjacent #ifdef _KERNEL/#endif blocks. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-22T08:08:12.444424Z K 7 svn:log V 31 Update LLVM sources to r73879. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-22T08:08:35.849936Z K 7 svn:log V 32 Update Clang sources to r73879. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-22T08:09:13.358184Z K 7 svn:log V 20 Tag LLVM at r73879. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-22T08:09:35.290426Z K 7 svn:log V 21 Tag Clang at r73879. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-22T09:24:46.323703Z K 7 svn:log V 205 Remove a hack from r186086 so that IPsec via loopback routes continued working. It was targeted for stable/7 compatibility and actually never did anything in HEAD. Reminded by: rwatson X-MFC after: never END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-22T10:08:48.261866Z K 7 svn:log V 59 O_NOFOLLOW shall be in flags, not in cmode. Noted by: bde END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-22T10:11:35.648255Z K 7 svn:log V 100 Move definitions of AT_* constants from the middle of the open(2) flags enumeration. Noted by: bde END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-22T10:23:54.794298Z K 7 svn:log V 456 Add a global rwlock, at_ifaddr_rw, to protect the global netatalk address lists, at_ifaddr_list. Acquire the lock, and use ifaddr refcounts where necessary, to close most known address-related races in netatalk. Annotate one potential race in at_control() where we acquire an ifaddr reference, drop the global lock, and scrub the address from the ifnet before re-acquiring the global lock, which could allow for a writer-writer race. MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-22T10:27:20.030094Z K 7 svn:log V 187 After the update to fxp(4) in r194573 we should no longer need this DELAY(100) hack introduced in r56938. Thanks to: yongari MFC after: 6 weeks X-MFC note: not before the fxp(4) changes END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-22T10:56:08.954434Z K 7 svn:log V 89 Remove unneeded stores back into the function arguments. Submitted by: Christoph Mallon END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-22T10:59:34.298194Z K 7 svn:log V 433 Add a new function, ifa_ifwithaddr_check(), which rather than returning a pointer to an ifaddr matching the passed socket address, returns a boolean indicating whether one was present. In the (near) future, ifa_ifwithaddr() will return a referenced ifaddr rather than a raw ifaddr pointer, and the new wrapper will allow callers that care only about the boolean condition to avoid having to free that reference. MFC after: 3 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-22T13:46:00.070157Z K 7 svn:log V 139 MFC: Update the KVM backend for malloc stats to catch up to the internal structure BI change from the addition of DTrace malloc(9) probes. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-06-22T14:21:14.720290Z K 7 svn:log V 166 MFC: various minor fixes including - use a format string in a printf() - move a variable declaration at the beginning of a block - const-ify strings - fix prototypes END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-06-22T14:32:47.567608Z K 7 svn:log V 49 MFC: another prototype missed in previous commit END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-22T14:42:14.462967Z K 7 svn:log V 118 Checkpoint HWMP work. We can now establish paths with mesh nodes in the middle. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 scottl K 8 svn:date V 27 2009-06-22T14:43:48.141896Z K 7 svn:log V 296 Change cam_periph_ioctl() to take 'cmd' and a u_long instead of an int. All of its callers pass in cmd as a u_long, so this has always been a dangerous type demotion. It was spooted by clang/llvm trying to do a type promotion and sign extension within cam_periph_ioctl. Submitted by: rdivacky END K 10 svn:author V 5 rafan K 8 svn:date V 27 2009-06-22T15:00:15.450154Z K 7 svn:log V 382 - Fall-back to /etc/termcap.small if there is no /usr/share/misc/termcap (i.e. /etc/termcap). This can be useful when using /rescue/vi while /usr is not (or unable to be) mounted. The termcap.small can be found in src/etc/termcap.small. PR: bin/80256 (audit-trail) Submitted by: Brian Candler , Alex Kozlov MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-22T15:07:12.051442Z K 7 svn:log V 332 Collect all VIMAGE_GLOBALS variables in one place. No longer export rt_tables as all lookups go through rt_tables_get_rnh(). We cannot make rt_tables (and rtstat, rttrash[1]) static as netstat -r (-rs[1]) would stop working on a stripped VIMAGE_GLOBALS kernel. Reviewed by: zec Presumably broken by: phk 13.5y ago in r12820 [1] END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-22T15:34:32.953227Z K 7 svn:log V 109 Integrated I2C controller driver (found in MPC85xx and other SOC parts). Obtained from: Freescale, Semihalf END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-06-22T15:45:26.487941Z K 7 svn:log V 237 Add code to generate a bootable ISO image, so we are finally free from the 2.88MB that we had using El Torito emulation. The --iso option was already there, just didn't do anything before. Submitted by: Marta Carbone MFC after: 3 days END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-22T15:48:47.570429Z K 7 svn:log V 105 DS1553 RTC module driver. On the MPC8555CDS system it hangs off of the LBC bus. Obtained from: Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-22T15:53:41.765719Z K 7 svn:log V 23 Keep file list sorted. END K 10 svn:author V 3 raj K 8 svn:date V 27 2009-06-22T15:57:12.328391Z K 7 svn:log V 76 Bump PowerPC loader(8) version to reflect extensions it has recently grown. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2009-06-22T16:06:38.882194Z K 7 svn:log V 28 fix wrong name for the iso! END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-06-22T16:11:34.422339Z K 7 svn:log V 74 MFC 181922: %b and %p may contain multibyte characters. Noticed by: nyan END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-22T17:00:20.742951Z K 7 svn:log V 52 Add prototypes when the library is compiled static. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-22T17:09:46.155696Z K 7 svn:log V 295 Split tolower/toupper code from usual xlat16 kiconv table, and make it possible to do tolower/toupper independently without code conversion. Submitted by: imura (but bugs are mine) Obtained from: http://people.freebsd.org/~imura/kiconv/ (1_kiconv_wctype_kern.diff, 1_kiconv_wctype_user.diff) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-06-22T17:46:55.502960Z K 7 svn:log V 105 Add a missing return in NULL mutex case. Submitted by: Pawel Worach (pawel dot worach at gmail dot com) END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-22T17:48:16.139307Z K 7 svn:log V 335 Move virtualization of routing related variables into their own Vimage module, which had been there already but now is stateful. All variables are now file local; so this further limits the global spreading of routing related things throughout the kernel. Add a missing function local variable in case of MPATHing. Reviewed by: zec END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-22T17:56:07.267051Z K 7 svn:log V 180 Updates after r194640: - shrink size guards for vnet_net. vnet_rtable does not need size guards as it is self-contained. - remove a bunch of defines from vnet.h no longer valid. END K 10 svn:author V 3 alc K 8 svn:date V 27 2009-06-22T19:09:48.592143Z K 7 svn:log V 184 Validate the page in one place, dev_pager_getpages(), rather than doing it in two places, dev_pager_getfake() and dev_pager_updatefake(). Compare a pointer to "NULL" rather than "0". END K 10 svn:author V 5 andre K 8 svn:date V 27 2009-06-22T19:35:39.044096Z K 7 svn:log V 174 Update m_demote: - remove HT_HEADER test (MT_HEADER == MT_DATA for some time now) - be more pedantic about m_nextpkt in other than first mbuf - update m_flags to be retained END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-22T20:08:06.881286Z K 7 svn:log V 198 Enable MSI in the MSI capability registers any time that the first message in an MSI group is enabled, not just if the address/data pair are not initialized. Reported by: rnoland MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-22T20:12:40.182126Z K 7 svn:log V 25 Fix a typo in a comment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-22T20:14:10.019960Z K 7 svn:log V 186 Include definitions for the audit identifiers for compat system calls in sysproto.h. This makes it possible to use SYSCALL_MODULE() for compat system calls that live in kernel modules. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-22T20:24:03.402408Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:30:02.621931Z K 7 svn:log V 25 make type use consistent END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:31:06.908071Z K 7 svn:log V 35 swap order in ddb show gpio printf END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:33:59.921694Z K 7 svn:log V 48 move logic to ACK a GPIO to a separate function END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:34:50.012604Z K 7 svn:log V 22 kill stray whitespace END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:36:22.741671Z K 7 svn:log V 79 rewrite arm_get_next_irq to always make forward progress (should be optimized) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:38:55.737143Z K 7 svn:log V 55 add ixp425_set_gpio to program the gpio interrupt type END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:41:02.265650Z K 7 svn:log V 106 map the optional GPS and RS485 uart's on the Gateworks Cambria board (may want to make these conditional) END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:42:28.326918Z K 7 svn:log V 75 always define Cambria GPS+RS485 mappings as they are no longer conditional END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T20:57:51.310082Z K 7 svn:log V 157 hook arm_post_filter to ACK GPIO interrupts; this fixes the interrupt storm observed on the GPS+RS485 uarts on Gateworks Cambria boards Reviewed by: cognet END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-22T20:58:31.814208Z K 7 svn:log V 47 increase default kmem_size to reasonable level END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-22T20:58:56.222690Z K 7 svn:log V 33 reduce gratuitous diff with HEAD END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-22T21:09:52.659467Z K 7 svn:log V 81 Fix length check for ugen control transfer. Submitted by: Sylvestre Gallon, HPS END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-06-22T21:19:24.923750Z K 7 svn:log V 384 V_irtualize flowtable state. This change should make options VIMAGE kernel builds usable again, to some extent at least. Note that the size of struct vnet_inet has changed, though in accordance with one-bump-per-day policy we didn't update the __FreeBSD_version number, given that it has already been touched by r194640 a few hours ago. Reviewed by: bz Approved by: julian (mentor) END K 10 svn:author V 2 np K 8 svn:date V 27 2009-06-22T21:42:57.531068Z K 7 svn:log V 104 Fix cxgb's ifmedia ioctl handling. Also fixed a comment. Reviewed by: kmacy Approved by: gnn (mentor) END K 10 svn:author V 5 andre K 8 svn:date V 27 2009-06-22T21:46:40.712069Z K 7 svn:log V 978 In sbappendstream_locked() demote all incoming packet mbufs (and chains) to pure data mbufs using m_demote(). This removes the packet header and all m_tag information as they are not meaningful anymore on a stream socket where mbufs are linked through m->m_next. Strictly speaking a packet header can be only ever valid on the first mbuf in an m_next chain. sbcompress() was doing this already when the mbuf chain layout lent itself to it (e.g. header splitting or merge-append), just not consistently. This frees resources at socket buffer append time instead of at sbdrop_internal() time after data has been read from the socket. For MAC the per packet information has done its duty and during socket buffer appending the policy of the socket itself takes over. With the append the packet boundaries disappear naturally and with it any context that was based on it. None of the residual information from mbuf headers in the socket buffer on stream sockets was looked at. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-22T21:49:55.887485Z K 7 svn:log V 100 free(3) won't mess with errno so return it as-is. Submitted by: Jaakko Heinonen END K 10 svn:author V 4 joel K 8 svn:date V 27 2009-06-22T21:51:29.724787Z K 7 svn:log V 129 Start documenting some of the new sound stuff. More is on the way. Probably also needs some more mdoc love. Reviewed by: ariff END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-06-22T22:09:18.646394Z K 7 svn:log V 39 done method is supposed to return int. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-22T22:09:19.057131Z K 7 svn:log V 113 Checkpoint forwarding code. We can now forward packets between mesh nodes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2009-06-22T22:20:38.336864Z K 7 svn:log V 356 Add m_mbuftouio() helper function to copy(out) an arbitrary long mbuf chain into an arbitrary large uio in a single step. It is a functional mirror image of m_uiotombuf(). This function is supposed to be used instead of hand rolled code with the same purpose and to concentrate it into one place for potential further optimization or hardware assistance. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T22:46:37.059373Z K 7 svn:log V 101 o remove hack to write UUE+RTOIE in the uart's IER; force them with hints o honor hints for the rclk END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T22:47:06.347258Z K 7 svn:log V 9 fix typo END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T22:54:13.136426Z K 7 svn:log V 409 o add a bus space tag that forces a 2usec delay between r/w ops; this is used for the optional GPS+RS485 uarts on the Gateworks Cambria boards which otherwise are unreliable o setup the hack bus space tag for the GPS+RS485 uarts o program the gpio interrupts for the uarts to be edge-rising o force timing on the expansion bus for the uarts to be "slow" Thanks to Chris Lang of Gateworks for these tips. END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T22:54:44.271183Z K 7 svn:log V 32 enable optional GPS+RS485 uarts END K 10 svn:author V 5 andre K 8 svn:date V 27 2009-06-22T23:08:05.776185Z K 7 svn:log V 1139 Add soreceive_stream(), an optimized version of soreceive() for stream (TCP) sockets. It is functionally identical to generic soreceive() but has a number stream specific optimizations: o does only one sockbuf unlock/lock per receive independent of the length of data to be moved into the uio compared to soreceive() which unlocks/locks per *mbuf*. o uses m_mbuftouio() instead of its own copy(out) variant. o much more compact code flow as a large number of special cases is removed. o much improved reability. It offers significantly reduced CPU usage and lock contention when receiving fast TCP streams. Additional gains are obtained when the receiving application is using SO_RCVLOWAT to batch up some data before a read (and wakeup) is done. This function was written by "reverse engineering" and is not just a stripped down variant of soreceive(). It is not yet enabled by default on TCP sockets. Instead it is commented out in the protocol initialization in tcp_usrreq.c until more widespread testing has been done. Testers, especially with 10GigE gear, are welcome. MFP4: r164817 //depot/user/andre/soreceive_stream/ END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-22T23:22:38.580518Z K 7 svn:log V 21 kill left over cruft END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-23T01:00:26.260229Z K 7 svn:log V 578 Add libusb 1.0 support which is compatible with the latest revision on Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and supersedes the original libusb released 10 years ago, it supports isochronous endpoints and asynchronous I/O. Many applications have already started using the interfaces. This has been developed as part of Google Summer of Code this year by Sylvestre Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0 Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Reviewed by: Hans Petter Selasky END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-06-23T01:03:09.152822Z K 7 svn:log V 207 Describe the new algorithm for handling __FreeBSD_version, specifically the 'R' value now being allowed to take on more values than 0 or 1 and permitting more than 100 version bumps in pre-release branches. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-23T01:04:58.368118Z K 7 svn:log V 609 Add files missed in r194674. Add libusb 1.0 support which is compatible with the latest revision on Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and supersedes the original libusb released 10 years ago, it supports isochronous endpoints and asynchronous I/O. Many applications have already started using the interfaces. This has been developed as part of Google Summer of Code this year by Sylvestre Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0 Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Reviewed by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-23T02:19:59.808408Z K 7 svn:log V 175 - Make struct usb_xfer opaque so that drivers can not access the internals - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-06-23T04:02:36.878001Z K 7 svn:log V 100 Fix copy/paste typo in last revision. PMC0 control should be shifted 8 bits, not 6, on the PPC 970. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-06-23T04:28:32.307555Z K 7 svn:log V 195 Add cpufreq support on the PowerPC G5, along with a skeleton SMU driver in order to slew CPU voltage during frequency changes. The OpenBSD SMU driver was an extremely helpful reference for this. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-06-23T05:51:48.248567Z K 7 svn:log V 86 o Remove unneeded argument in fprintf(3) call in usage(). Submitted by: Pawel Worach END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-06-23T05:55:56.239117Z K 7 svn:log V 60 o style(9) usage() definition: it doesn't need an argument. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-06-23T06:00:31.553518Z K 7 svn:log V 93 Fix a typeo in the frame len function to unbreak the build, make it shorter while I am here. END K 10 svn:author V 3 zec K 8 svn:date V 27 2009-06-23T06:11:04.515399Z K 7 svn:log V 68 Connect ng_pipe to the default build. Approved by: julian (mentor) END K 10 svn:author V 4 jhay K 8 svn:date V 27 2009-06-23T06:46:14.348190Z K 7 svn:log V 108 time_t does not always fit into long, for instance on arm. So rather cast it intmax_t and use %j in printf. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2009-06-23T06:57:46.942373Z K 7 svn:log V 70 - Add a new cpuset macro, CPU_FILL(), for setting the set to all 1s. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2009-06-23T08:51:11.507787Z K 7 svn:log V 72 o Fix usage() prototype [1] and correct its call. Submitted by: ed [1] END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-06-23T09:02:24.448342Z K 7 svn:log V 124 Fix what seems to be an obvious typo preventing the body of the if statement to ever be executed. Approved by: ed (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T09:04:59.620155Z K 7 svn:log V 207 Remove hand-written labs/abs implementations. GCC is smart enough. It turns out GCC generates code that's a couple of bytes big bigger, but performs no branching whatsoever. Submitted by: Christoph Mallon END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T09:50:50.619653Z K 7 svn:log V 53 Fix typo in comment. Submitted by: Christoph Mallon END K 10 svn:author V 5 brian K 8 svn:date V 27 2009-06-23T09:51:38.950208Z K 7 svn:log V 77 MFC: r193302: Avoid using find -delete in favour of find -prune PR: 122811 END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-23T10:37:28.447392Z K 7 svn:log V 50 MFC r185358 (by ganbold): Remove unused variable. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-23T10:41:38.102329Z K 7 svn:log V 115 MFC r192681: Replace the while statement with the if for clarity. The loop body cannot be executed more then once. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-23T10:47:42.304684Z K 7 svn:log V 517 MFC r192683: In lf_advlockasync(), recheck for doomed vnode after the state->ls_lock is acquired. In the lf_purgelocks(), assert that vnode is doomed and set *statep to NULL before clearing ls_pending list. Otherwise, we allow for the thread executing lf_advlockasync() to put new pending entry after state->ls_lock is dropped in lf_purgelocks(). MFC r193931: Do not leak the state->ls_lock after VI_DOOMED check introduced in the r192683. MFC r194356: Decrement state->ls_threads when vnode appeared to be doomed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-23T10:49:55.857600Z K 7 svn:log V 144 MFC r192684: In lf_purgelocks(), assert that state->ls_pending is empty after we weeded out threads, and clean ls_active instead of ls_pending. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-23T10:55:21.607355Z K 7 svn:log V 532 MFC r192685: The advisory lock may be activated or activated and removed during the sleep waiting for conditions when the lock may be granted. To prevent lf_setlock() from accessing possibly freed memory, add reference counting to the struct lockf_entry. Bump refcount around the sleep. Make lf_free_lock() return non-zero when structure was freed, and use this after the sleep to return EINTR to the caller. The error code might need a clarification, but we cannot return success to usermode, since the lock is not owned anymore. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-06-23T10:59:59.444300Z K 7 svn:log V 102 MFC r194296: Do not use casts (int *)0 and (struct thread *)0 for the arguments of vn_rdwr, use NULL. END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-06-23T11:29:54.747884Z K 7 svn:log V 64 vn_open_cred() needs a non NULL ucred pointer Reviewed by: kib END K 10 svn:author V 3 pho K 8 svn:date V 27 2009-06-23T11:41:58.414917Z K 7 svn:log V 45 Added test with the nolockd NFS mount option END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-23T12:30:21.193109Z K 7 svn:log V 215 Mark ng_ether node hooks as HI_STACK. It is usually the last point when netgraph may unroll the call stack, and I have found that in some cases 2K guarantied there for i386 may be not enough for NIC driver and BPF. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-23T13:16:16.169771Z K 7 svn:log V 69 Remove duplicate #include from the middle of the file. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-23T13:17:25.343296Z K 7 svn:log V 221 * Driver for ACPI WMI (Windows Management Instrumentation) * Driver for ACPI HP extra functionations, which required ACPI WMI driver. Submitted by: Michael Approved by: re MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-23T13:22:19.960144Z K 7 svn:log V 113 in6_rtqdrain() has been unused. Cleanup. As this was the only consumer of net/route.h left remove that as well. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T14:10:46.601128Z K 7 svn:log V 74 Simplify. We can just use .sinclude here. Submitted by: Christoph Mallon END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T14:11:41.127126Z K 7 svn:log V 202 Remove unneeded stdlib directories. It's not necessary to add stdlib directories for each architecture, even if the architecture doesn't implement any files of its own. Submitted by: Christoph Mallon END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T14:12:49.385806Z K 7 svn:log V 85 Fix a typo in the same comment, one line below. Submitted by: bf1783 googlemail com END K 10 svn:author V 6 cokane K 8 svn:date V 27 2009-06-23T14:37:07.593325Z K 7 svn:log V 195 Code cleanup by moving some repetitive code into an ndis_get_bssid_list helper function. Also, add ieee80211_announce() call for bootverbose case. Submitted by: Paul B. Mahol END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-23T14:39:21.941878Z K 7 svn:log V 65 Remove unnecessary/redundant includes. Approved by: bz (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-23T14:39:51.435579Z K 7 svn:log V 103 Remove obsolete comment describing how the command line is no longer parsed. Approved by: bz (mentor) END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-23T14:40:08.264226Z K 7 svn:log V 42 Whitespace fix. Approved by: bz (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T14:50:01.220040Z K 7 svn:log V 20 Import LLVM r73954. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T14:50:21.055726Z K 7 svn:log V 21 Import Clang r73954. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T14:51:21.892215Z K 7 svn:log V 17 Tag LLVM r73954. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T14:51:45.201052Z K 7 svn:log V 18 Tag Clang r73954. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-23T14:54:42.041981Z K 7 svn:log V 76 In r194702 I meant to remove vnet.h which is no longer needed, not route.h. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-23T14:57:06.408379Z K 7 svn:log V 58 Fix double path issue and other nits. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-23T15:08:03.795613Z K 7 svn:log V 47 Fix build with ACPI_DEBUG. MFC after: 2 weeks END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:10:49.412730Z K 7 svn:log V 81 Merge r190020 from HEAD Pull in some suspend / resume changes from Intel's code END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:22:38.591377Z K 7 svn:log V 208 Merge 190021 from HEAD Sync up the rest of the code that we use with what Intel is shipping -Some irq/vblank related changes that hopefully will help. -A little more cleanup while I'm here. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:44:23.520097Z K 7 svn:log V 319 Merge 190022 from HEAD Rework vblank handling to try to resolve some reports of "slow" windows after vt switch or suspend. I can't really test this on Intel right now but I think I've heard reports of it on radeon as well. I can't break it on the radeon here. (This doesn't actually fix the "slow" window problem.) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:46:22.257970Z K 7 svn:log V 218 Merge 190023 from HEAD Add some debugging so I can see when syscalls are being restarted consistantly. After a lengthy irc discussion it seems like we shouldn't need to worry about them, but it's nice to know about. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:49:02.589111Z K 7 svn:log V 102 Merge 190125 from HEAD Only issue the wakeup and store the counter if vblank is enabled on the pipe. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:50:48.349930Z K 7 svn:log V 144 Merge 190163 from HEAD Don't deref dev->dev_private before checking that it exists. Found with: Coverity Prevent(tm) CID: 2940 END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:52:08.985020Z K 7 svn:log V 151 Merge 190164 from HEAD Fix what appears to be a typo, and restore the registers correctly. Found with: Coverity Prevent(tm) CID: 2454 END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:53:17.010767Z K 7 svn:log V 93 Merge 190166 from HEAD Remove the DRM_ERROR to fix build. It didn't make any sense anyway. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:54:34.211513Z K 7 svn:log V 142 Merge 190170 from HEAD vm_offset_t is unsigned, so compare of >= 0 is not needed. Found with: Coverity Prevent(tm) CID: 2259 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-23T15:55:58.594587Z K 7 svn:log V 27 Move mergeinfo up to libc. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:56:10.649334Z K 7 svn:log V 144 Merge 190400 from HEAD Intel handled the management of the breadcrumb counter inconsistently. Make sure that we always handle it the same way. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T15:59:10.436476Z K 7 svn:log V 720 Merge 190401 from HEAD Rework the management of vblank interrupts a bit. When a vt switch occurs the irq handler is uninstalled. Interrupts and the state tracking of what was enabled/disabled wasn't working properly. This should resolve the reports of "slow windows" after a vt switch, among other things. The radeon 2d driver seems to work a bit more correctly than the Intel driver. With the Intel driver, vblank interrupts will be enabled at system startup and will only be disabled after an additional modeset (vt switch, dpms, randr event). With this patch, I am able to run glxgears synced to vblank and vt switch while it is running without ill effects. (Still didn't fix the slow window issues on Intel) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:00:14.196183Z K 7 svn:log V 170 Merge 190433 from HEAD Fix up waiting on vblank again... This reverts a last minute change that I made on the last patch, it seems to upset suspend/resume and shutdown. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:02:04.320202Z K 7 svn:log V 97 Merge 190595 from HEAD Simplify the radeon microcode loading. Submitted by: Christoph Mallon END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:04:54.074532Z K 7 svn:log V 135 Merge 190674 from HEAD A little more cleanup from AMD, if we don't have the right microcode there is no reason to mess with the chip. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:06:13.231750Z K 7 svn:log V 62 Merge 190675 from HEAD Add support for RV790 (HD 4890) asics END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:07:56.073951Z K 7 svn:log V 72 Merge 190831 from HEAD Add regs required for occlusion queries support END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:09:05.059567Z K 7 svn:log V 61 Merge 190833 from HEAD check offsets for R300_ZB_ZPASS_ADDR END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:11:44.496394Z K 7 svn:log V 84 Merge 194537 from HEAD Don't panic if drm_rmmap is called with a NULL map pointer. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:12:40.186312Z K 7 svn:log V 178 Merge 194539 from HEAD realloc() behaves identically to malloc when passed a NULL object pointer If an error does occur we would have left max_context with an incorrect value. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T16:14:08.679270Z K 7 svn:log V 292 Merge 194540 from HEAD The G45 docs indicate that all G4X chips use the new framecount register. Intel agrees with my reading of the docs, make it so for all G4X chips. The new register also has a 32 bit width as opposed to 24 bits. Fix things up so that the counters roll over properly. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-06-23T16:50:23.959036Z K 7 svn:log V 64 Delete my user branch. Everything interesting now hapens in P4. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-06-23T17:03:45.214345Z K 7 svn:log V 193 After cleaning up rt_tables from vnet.h and cleaning up opt_route.h a lot of files no longer need route.h either. Garbage collect them. While here remove now unneeded vnet.h #includes as well. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-23T17:19:50.529811Z K 7 svn:log V 165 MF7: If the running kernel has support for shm_open() and shm_unlink() as system calls (i.e. 8.0+), then invoke the system calls instead of using open/fcntl/unlink. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T17:38:28.648299Z K 7 svn:log V 84 Hold the lock while we save/restore register for suspend/resume. MFC after: 3 days END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-06-23T17:41:51.359493Z K 7 svn:log V 42 branch for merging zfs changes in to HEAD END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-06-23T17:42:06.837739Z K 7 svn:log V 88 Implement minimal set of changes suggested by bz to make mxge no longer depend on INET. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-06-23T17:44:55.110943Z K 7 svn:log V 165 MF7: If the running kernel has support for shm_open() and shm_unlink() as system calls (i.e. 8.0+), then invoke the system calls instead of using open/fcntl/unlink. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T17:50:35.757678Z K 7 svn:log V 153 vblank[crtc].last represents the hardware counter while request.sequence represents the software counter. Don't currupt things here. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T17:52:41.006530Z K 7 svn:log V 115 Given that vblanks generally occur 60 times a second, waiting 3 seconds seems rather excessive. MFC after: 3 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-06-23T18:00:43.170233Z K 7 svn:log V 461 Update mxge firmware from 1.4.39 to 1.4.43. Changes include: - Support for 10G-PCIE*-8B*-C (dual-port CX4) NICs - For dual-port NICs, f/w failover is now a few microsecs instead of a few millisecs. - On failover, f/w sends RARP broadcast to make the change immediately known to the network - Fixed a bug observed on IBM X3 architecture where some spurious ecrc errors would be reported when OS enabled ecrc support. Sponsored by: Myricom Inc. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T18:09:35.798540Z K 7 svn:log V 210 Using signals for vblank events is prone to issues. There have never been any consumers and likely will never be. Furthermore, we have never enabled the code for it, so just get rid of it. MFC after: 3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T18:24:09.498178Z K 7 svn:log V 78 Only release irq resources if we were actually using them. MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2009-06-23T18:36:42.618186Z K 7 svn:log V 105 Include sys/lock.h before sys/rwlock.h. If anything used to bring it for us before, it does not anymore. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-06-23T19:04:25.600732Z K 7 svn:log V 188 Revert most of 193311 so as to track mxge transmit stats on a per-ring basis and avoid racy (and costly) updates to the ifp stats via drbr by defining NO_SLOW_STATS Discussed with: kmacy END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-23T19:05:02.290297Z K 7 svn:log V 21 use consistent style END K 10 svn:author V 3 sam K 8 svn:date V 27 2009-06-23T19:29:23.332723Z K 7 svn:log V 608 Now that we have UARTs running with fast interrupt handlers the ata driver's i/o ops must be locked to avoid chaos. Extend the cambria bus tag to support ata and add a spin lock. The ata driver is hacked to use that instead of it's builtin hack for ixp425. Once the ata driver is fixed to not be confused about byte order we can generalize the cambria bus tag code and make it generally useful. While here take advantage of our being ixp435-specific to remove delays when switching between byte+word accesses and to eliminate the 2us delay for the uarts (the spin lock overhead looks to do this for us). END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T19:31:59.354517Z K 7 svn:log V 123 Import LLVM r73984. It seems I keep importing sources at very unlucky moments. Let's see what this revision of LLVM does. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T19:32:16.675091Z K 7 svn:log V 21 Import Clang r73984. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T19:32:50.103001Z K 7 svn:log V 17 Tag LLVM r73984. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-06-23T19:33:13.552839Z K 7 svn:log V 18 Tag Clang r73984. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-06-23T20:17:24.049952Z K 7 svn:log V 94 Introduce a new bit to to filter bssid. Needed by MBSS. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-06-23T20:19:02.402717Z K 7 svn:log V 90 Add some sysctl info so that we can see what is going on with vblanks. MFC after: 3 days END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-06-23T20:19:09.670532Z K 7 svn:log V 1157 Modify most routines returning 'struct ifaddr *' to return references rather than pointers, requiring callers to properly dispose of those references. The following routines now return references: ifaddr_byindex ifa_ifwithaddr ifa_ifwithbroadaddr ifa_ifwithdstaddr ifa_ifwithnet ifaof_ifpforaddr ifa_ifwithroute ifa_ifwithroute_fib rt_getifa rt_getifa_fib IFP_TO_IA ip_rtaddr in6_ifawithifp in6ifa_ifpforlinklocal in6ifa_ifpwithaddr in6_ifadd carp_iamatch6 ip6_getdstifaddr Remove unused macro which didn't have required referencing: IFP_TO_IA6 This closes many small races in which changes to interface or address lists while an ifaddr was in use could lead to use of freed memory (etc). In a few cases, add missing if_addr_list locking required to safely acquire references. Because of a lack of deep copying support, we accept a race in which an in6_ifaddr pointed to by mbuf tags and extracted with ip6_getdstifaddr() doesn't hold a reference while in transmit. Once we have mbuf tag deep copy support, this can be fixed. Reviewed by: bz Obtained from: Apple, Inc. (portions) MFC after: 6 weeks (portions) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2009-06-23T20:22:34.376770Z K 7 svn:log V 103 - Fix bug where device would loose promisc setting when reset. - Allow all rss hash modes to be chosen END K 10 svn:author V 5 jamie K 8 svn:date V 27 2009-06-23T20:35:51.109670Z K 7 svn:log V 160 Add a limit for child jails via the "children.cur" and "children.max" parameters. This replaces the simple "allow.jails" permission. Approved by: bz (mentor) END