ıg184208 189 661 269 184 375 300 339 274 108 430 259 436 251 118 190 176 127 130 181 343 215 126 128 352 136 664 178 247 128 116 696 723 197 2507 287 205 183 290 393 110 147 175 192 177 450 121 219 117 140 168 415 241 377 287 290 290 725 681 639 150 188 115 208 270 144 107 339 249 185 269 134 165 186 613 165 516 309 209 137 164 122 314 197 523 317 319 166 314 348 231 243 251 397 799 799 661 175 368 135 135 440 249 205 204 172 172 172 527 1106 177 181 153 208 174 199 799 818 154 276 171 666 161 325 237 340 149 133 201 340 798 203 216 218 517 204 241 371 200 408 226 161 197 165 193 221 144 155 176 117 560 160 290 174 104 126 164 198 269 204 125 213 629 114 111 146 234 257 225 297 471 199 234 593 420 397 222 416 215 380 134 165 111 571 123 122 122 122 127 127 127 K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-23T19:11:44.260911Z K 7 svn:log V 569 Fix detaching of uart(4) devices. With our new TTY layer we use a two step device destruction procedure. The TTY first gets abandoned by the device driver. When the TTY layer notices all threads have left the TTY layer, it deallocates the TTY. This means that the device unit number should not be reused before a callback from the TTY layer to the device driver has been made. newbus doesn't seem to support this concept (yet), so right now just add a destructor with a big comment in it. It's not ideal, but at least it's better than panicing. Reported by: rnoland END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-23T19:16:57.561958Z K 7 svn:log V 177 Don't include inside ucom(4) and ufoma(4). After being ported to the MPSAFE TTY layer, these drivers do not use clists anymore. Don't include their header files. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-23T19:57:13.346523Z K 7 svn:log V 92 Revert the removal of the MALLOC and FREE macros from the net80211 code. Requested by: sam END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-10-23T20:07:08.161160Z K 7 svn:log V 277 Update to Myri10GE Firmware 1.4.36. This update fixes a transmit bug in the multi-queue (MSI-X) firmware which happens when RDMAs complete out of order, and provides improved support for the new Myri10GE NIC models (10G-PCIE-8Bx) Sponsored by: Myricom Inc. MFC after:3 days END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-23T20:19:56.627966Z K 7 svn:log V 203 This check is invalid and I disabled it once already. I accidentally reintroduced it with the sync to git master. Commit the fix in both places this time. Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-23T20:23:03.394024Z K 7 svn:log V 242 Replace calls to minor() with dev2unit(). Ed already fixed this once, but I inadvertently overwrote the change when I synced to git. Commit the fix in both places, so this doesn't happen again. Approved by: jhb (mentor) MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-23T20:26:15.218391Z K 7 svn:log V 181 Fix a number of style issues in the MALLOC / FREE commit. I've tried to be careful not to fix anything that was already broken; the NFSv4 code is particularly bad in this respect. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-23T21:50:16.191049Z K 7 svn:log V 16 Whitespace fix. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-10-24T01:03:31.653092Z K 7 svn:log V 333 partly revert revision 184199, because TDF_NEEDSIGCHK is persitent when thread is in kernel mode, it can cause dead loop, now unlock process lock after acquired sleep queue lock and thread lock to avoid the problem. This means TDF_NEEDSIGCHK and TDF_NEEDSUSPCHK must be set with process lock and thread lock being hold at same time. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-10-24T01:09:24.988881Z K 7 svn:log V 162 Don't rearm callout if the process is exiting, it may leak a callout because callout_drain() only waits for running callout, but not disable it if it is rearmed. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-24T07:08:42.217627Z K 7 svn:log V 339 - Bugfix: Only claim interface after having checked all endpoints. This might make Qualcomm and Option cards (which have all endpoints in 1 interface) work. - Change the USB buffer sizes to depend on the transfer speed. With UMTS we use a buffer 384k / 1000 frames/sec * 50msecs =~ 15kB for example. - Add a MODULE_VERSION statement END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-24T07:12:05.698769Z K 7 svn:log V 154 Remove the entry from the i386 specific NOTES as it is in the generic NOTES file as well. This avoids one of the warnings from make LINT && config LINT END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-24T07:16:13.279185Z K 7 svn:log V 22 Add U3G_DEBUG to LINT END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-24T07:19:09.134319Z K 7 svn:log V 94 After adding U3G_DEBUG to LINT we need to create the opt_u3g.h file when building the module. END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-10-24T07:56:01.144916Z K 7 svn:log V 85 Don't fail mistakenly with -r when we already have the whole file. Reviewed by: des END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-24T07:57:48.616009Z K 7 svn:log V 33 Fix evtchn initialization on SMP END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-24T07:58:38.434387Z K 7 svn:log V 36 Fix general issues with IPI support END K 10 svn:author V 2 ru K 8 svn:date V 27 2008-10-24T13:23:54.469301Z K 7 svn:log V 90 Don't fail mistakenly with -r when we already have the whole file. Approved by: re (kib) END K 10 svn:author V 3 alc K 8 svn:date V 27 2008-10-24T14:40:13.032282Z K 7 svn:log V 250 Finish what revision 1.40 started. Revision 1.40 removed a false statement from the description but not the errors section. This revision removes it from the errors statement. Add a statement about the non-portability of non-page-aligned offsets. END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-10-24T16:04:10.569089Z K 7 svn:log V 122 Don't rely on the value of *statep without first taking the vnode interlock. Reviewed by: Mike Tancsa MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-24T18:28:52.989493Z K 7 svn:log V 34 Add hint.hdac.%d.msi description. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-24T18:57:11.252808Z K 7 svn:log V 36 Fix month mistake. Again. Sorry. :) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-24T19:29:07.815368Z K 7 svn:log V 259 Add some special handeling for AD1981HD codec. It has very unusual design with several points unappropriate for the present parser. This patch disables input-to-output analog monitoring but instead fixes recording. Tested by Tobias Grosser on ThinkPad T61p. END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-24T19:36:28.961385Z K 7 svn:log V 44 Bump the revision after the latest commits. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-24T20:10:22.661646Z K 7 svn:log V 566 MFC r183921 and r184180 When we notice the INDEX had volume numbers (so the media the packages are coming from has multiple volumes) walk through the dependency tree for the packages selected by the user once for each volume, only installing packages on the current volume. If we can't install the package because its on a higher volume just note that we have looked at it during the pass for this volume to cut down on time spent checking dependencies. This stops the excessive disc swapping that users have complained (a lot...) about. Approved by: re (kib) END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-24T21:21:43.786648Z K 7 svn:log V 86 Add MSI support. Tested on: Acer TravelMate 6292 with 0x4229 chip. Reviewed by: sam@ END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-24T21:52:50.584320Z K 7 svn:log V 150 Make the driver compile on FBSD6 as well. Up the speed on the E220 ID as it is a part which is used in other devices that are capable of HSPA speeds. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-25T00:25:25.886457Z K 7 svn:log V 34 Merge basic SMP support from HEAD END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-25T00:28:24.816319Z K 7 svn:log V 22 hook xen into mptable END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-25T01:21:28.280017Z K 7 svn:log V 598 MFS r184232: > MFC r183921 and r184180 > When we notice the INDEX had volume numbers (so the media the packages > are coming from has multiple volumes) walk through the dependency tree > for the packages selected by the user once for each volume, only > installing packages on the current volume. If we can't install the > package because its on a higher volume just note that we have looked > at it during the pass for this volume to cut down on time spent checking > dependencies. This stops the excessive disc swapping that users have > complained (a lot...) about. Approved by: re (kib) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-25T01:25:29.771473Z K 7 svn:log V 625 MFS r184237 (which was MFS of r184232): > MFC r183921 and r184180 > When we notice the INDEX had volume numbers (so the media the packages > are coming from has multiple volumes) walk through the dependency tree > for the packages selected by the user once for each volume, only > installing packages on the current volume. If we can't install the > package because its on a higher volume just note that we have looked > at it during the pass for this volume to cut down on time spent checking > dependencies. This stops the excessive disc swapping that users have > complained (a lot...) about. Approved by: re (kib) END K 10 svn:author V 6 alfred K 8 svn:date V 27 2008-10-25T01:46:29.765442Z K 7 svn:log V 101 Merge r184172 (pthread condvar race fix) into 6.4-release. Reviewed by: re, davidxu Approved by: re END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-25T02:36:08.794010Z K 7 svn:log V 2409 Various bus_dma(9) fixes. - The hardware does not support DAC so limit DMA address space to 4GB. - Removed BUS_DMA_ALLOC_NOW flag. - Created separated Tx buffer and Rx buffer DMA tags. Previously it used to single DMA tag and it was not possible to specify different DMA restrictions. - Apply 4 bytes alignment limitation of Tx buffer. - Apply 8 bytes alignment limitation of Rx buffer. - Tx side bus_dmamap_load_mbuf_sg(9) support. - Preallocate Tx DMA maps as creating DMA maps take very long time on architectures that require real DMA maps. - Adjust guard buffer size to 1522 + 8 as it should include VLAN and additional reserved bytes in Rx buffer. - Plug memory leak in device detach. Previously wrong buffer address was used to free allocated memory. - Added rl_list_rx_init() to clear Rx buffer and cleared the buffer. - Don't destroy DMA maps in rl_txeof() as the DMA map should be reused. There is no reason to destroy/recreate the DMA maps in this driver. - Removed rl_dma_map_rxbuf()/rl_dma_map_txbuf() callbacks. - The hardware does not support descriptor based DMA on Tx side and the Tx buffer address should be aligned on 4 bytes boundary as well as manual padding for short frames. Because of this hardware limitation rl(4) always used to invoke m_defrag(9) to get a 4 bytes aligned single buffer. However m_defrag(9) takes a lot of CPU cycles on slow machines and not all packets need the help of m_defrag(9). Armed with the information, don't invoke m_defrag(9) if the following conditions are true. 1. Buffer is not fragmented. 2. Buffer is aligned on 4 bytes boundary. 3. Manual padding is not necessary. 4. Or padding is necessary but upper stack passed a writable buffer and the space needed for padding is satisfied. This change combined with preallocated DMA maps greatly increased Tx performance of driver on sparc64. - Moved bus_dmamap_sync(9) in rl_start_locked() to rl_encap() and corrected memory synchronization operation specifier of bus_dmamap_sync(9). - Removed bus_dmamap_unload(9) in rl_stop(). There is no need to reload/unload Rx buffer as rl(4) always have to copy from the buffer. It just needs proper bus_dmamap_sync(9) calls before copying the received frame. With this change rl(4) should work on systems with more than 4GB memory. PR: kern/128143 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-25T02:41:11.056609Z K 7 svn:log V 190 Don't rearm watchdog timer in rl_txeof(). The watchdog timer was already set in rl_start_locked(). Touching the watchdog timer in other places will hide the root cause of watchdog timeouts. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-25T02:52:06.767577Z K 7 svn:log V 108 Make rl_init_locked() call rl_reset. This will put hardware into sane state after resume/watchdog timeouts. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-25T03:06:47.674090Z K 7 svn:log V 87 After sending stop command to MAC, give hardware chance to drain active DMA operation. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-25T03:36:21.837777Z K 7 svn:log V 194 In mmu_booke_mapdev(), handle mappings that cannot be represented by a single TLB entry. The boot ROM on the MPC85555CDS is 8MB, for example, and in order to map that we need 2 4MB TLB entries. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-25T03:41:36.575289Z K 7 svn:log V 296 Implement miibus_statchg handler. It detects whether rl(4) established a valid link or not. In rl_start_locked, don't try to send packets unless we have valid link. While I'm here add a check that verifies whether driver can accept Tx requests by inspecting IFF_DRV_OACTIVE/IFF_DRV_RUNNING flag. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-25T04:40:22.981615Z K 7 svn:log V 16 MFC SMP support END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-25T04:44:22.157168Z K 7 svn:log V 53 handle case where actual eflags is passed to restore END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-25T04:46:02.366102Z K 7 svn:log V 81 handle case where eflags represents actual flags value when restoring interrupts END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-25T05:57:36.803870Z K 7 svn:log V 97 Assign 0xff800000-0xffffffff to the LBC controller. That's where the NOR flash lives by default. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-25T06:03:40.911898Z K 7 svn:log V 82 Add a driver for the Local Bus Controller. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-25T06:18:12.303817Z K 7 svn:log V 354 Add a driver for flash memory that implements to the Common Flash Memory Interface (CFI). The flash memory can be read and written to through /dev/cfi# and an ioctl() exists so processes can read the query information. The driver supports the AMD and Intel command set, though only the AMD command has been tested. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-25T06:25:15.631763Z K 7 svn:log V 26 Enable the cfi(4) driver. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-25T06:39:17.209161Z K 7 svn:log V 122 Use auto-negotiation for manual media type selection. This fixes establishment of 10/100Mbps link on Atheros AR8121(L1E). END K 10 svn:author V 3 mav K 8 svn:date V 27 2008-10-25T08:31:20.885247Z K 7 svn:log V 25 Fix spelling in comment. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-10-25T10:23:24.421488Z K 7 svn:log V 47 - Add size_t format specifier to proto_printf. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-10-25T10:52:22.738929Z K 7 svn:log V 75 - Implement support for retrieving a size_t type from the protocol stream. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-10-25T10:54:28.230982Z K 7 svn:log V 321 - Implement rsync support in csup, which is chosen as a protocol for regular files if the client supports it. The support is implemented with an API to operate on files, calculating the rolling checksum and md5 checksum for the blocks etc. - Remove unneeded stream_filter_stop and stream_flush before stream_close. END K 10 svn:author V 3 des K 8 svn:date V 27 2008-10-25T10:55:49.745448Z K 7 svn:log V 148 Add an entry for the "SIIG Cyber 4 PCI 16550", which is a four-port card based on the OX16PCI954 chip with a non-standard clock. MFC after: 3 days END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-10-25T11:37:42.932909Z K 7 svn:log V 280 Merge revision 184067 from head to stable/7: In realtimer_delete(), clear timer's value and interval to tell realtimer_expire() to not rearm the timer, otherwise there is a chance that a callout will be left there and be tiggered in future unexpectly. Approved by: re (kib) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-10-25T14:00:37.849686Z K 7 svn:log V 194 MFC: r184227 - don't use *statep without holding the vnode interlock This change is being merged earlier than originally planned at the request of the release engineers. Approved by: re (kib) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-10-25T14:01:08.402945Z K 7 svn:log V 197 MFC: r184227 - don't use *statep without holding the vnode interlock This change is being merged earlier than originally planned at the request of the release engineers. Approved by: re (kib) END K 10 svn:author V 3 dfr K 8 svn:date V 27 2008-10-25T14:01:29.024872Z K 7 svn:log V 197 MFC: r184227 - don't use *statep without holding the vnode interlock This change is being merged earlier than originally planned at the request of the release engineers. Approved by: re (kib) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-25T16:29:28.416194Z K 7 svn:log V 628 drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831) Olaf Kirch noticed that the i915_set_status_page() function of the i915 kernel driver calls ioremap with an address offset that is supplied by userspace via ioctl. The function zeroes the mapped memory via memset and tells the hardware about the address. Turns out that access to that ioctl is not restricted to root so users could probably exploit that to do nasty things. We haven't tried to write actual exploit code though. It only affects the Intel G33 series and newer. Approved by: bz (secteam) Obtained from: Intel drm repo Security: CVE-2008-3831 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-25T17:21:46.501053Z K 7 svn:log V 585 Invalid BSD disklabels have been created by sysinstall and are possibly still being created. The d_secperunit field contains the number of sectors of the disk and not of the slice/partition to which the disklabel applies. Rather than reject the disklabel, we now silently adjust the field. Existing code, like bslabel(8), does not seem to check the label that extensively and seems to adjust fields as a side-effect as well. In other words, it's not that important apparently, so gpart should not be too strict about it. Reported by: nyan@ Reported by: Andriy Gapon END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-25T18:45:40.222252Z K 7 svn:log V 547 Sort `mount -p' output by name before checking for any differences. I noticed on a system at home that restarting named(8) causes the /var/named/dev mount to be moved to the bottom of the mount list, because it gets remounted. When I received the daily security email this morning, I was quite amazed to see that the security report listed the differences, while it was nothing out of the ordinary. If we just throw the `mount -p' output through sort(1), we'll only receive notifications about changes to mounts if something has really changed. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-25T20:42:10.476520Z K 7 svn:log V 56 only call hardclock on cpu0 pointed out by: Scott Long END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-10-25T21:42:43.000993Z K 7 svn:log V 95 - MFC ae(4) Attansic FastEthernet controller driver. Approved by: re (kensmith), kib (mentor) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:23:41.127727Z K 7 svn:log V 23 add/improve debug msgs END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:24:49.083412Z K 7 svn:log V 115 add 1/2 and 1/4 channel flags to IEEE80211_CHAN_ALL so that operations like ieee80211_find_channel are more useful END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:26:57.654873Z K 7 svn:log V 177 ignore IEEE80211_ELEMID_PWRCNSTR when parsing beacon/probe response frames to avoid counting it as an unknown elemid (we often beacon this so it shows up as a "false positive") END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:28:04.338827Z K 7 svn:log V 52 fix associd check for adhoc mode Reviewed by: jhay END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:28:24.666412Z K 7 svn:log V 15 add debug msgs END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:31:20.366834Z K 7 svn:log V 246 o add support for ifconfig wlanX mode foo o yank useless code for setting fixed rate through media opts: this mechanism didn't scale to HT rates and couldn't handle multiple bands; fixed tx rates are set with the IEEE80211_IOC_TXPARAMS ioctl END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:32:24.302224Z K 7 svn:log V 156 change ieee80211_sta_join to take an explicit channel instead of using the value in the scan parameters; this will be used to fix issues with 11b operation END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:39:18.733595Z K 7 svn:log V 93 expand captured ie's before calling match_bss so they can potentially be used in the process END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:40:29.068143Z K 7 svn:log V 176 use a private mgt frame recv handler for ahdemo mode instead of an inline test in the adhoc mode rx path so classes derived from ahdemo mode can override the default behaviour END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:40:48.285906Z K 7 svn:log V 42 improve inactivity handling debug support END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:43:08.395581Z K 7 svn:log V 73 honor IEEE80211_CLONE_NOBEACONS for type of vap, not just a sta mode vap END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:44:25.098636Z K 7 svn:log V 94 set erp flag and tx parameter state when joining a bss; this allows drivers to use ni_txparms END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-25T23:58:59.989668Z K 7 svn:log V 520 Sync BAR frame handling with out of tree work: o correct BAR frame construction for AMPDU o retransmit BAR frames until ACK'd or timeout (use tunables to control behaviour, default is very aggressive) o defer seq# update until BAR frame is ACK'd o add BAR response handling callback for driver to interpose and push new state to device or push pending aggregates While here also: o add backpointer to node in the per-tid tx aggregation data structure o move ampdu tx state setup/teardown work to separate functions END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T00:32:02.946275Z K 7 svn:log V 73 fix old merge botch that causes gaps in the tx seq# space for QoS frames END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T00:43:11.326297Z K 7 svn:log V 423 o change ieee80211_mgmt_output to take a raw xmit parameters block so the net80211 layer has complete control over the handling of mgt frames (in particular, the ac, tx rate, and retry count); this also allows us to purge the M_LINK0 flag that was attached to mbufs to mark them as needing encryption for shared key auth o change ieee80211_send_setup to take a tid parameter so it can be used to setup QoS frames END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T00:46:17.311457Z K 7 svn:log V 216 change ieee80211_send_nulldata to send a QoS Null Data frame to a QoS-enabled station; this makes inactivity handling follow the spec as previously it would probe inactive stations w/ a Null Data (no QoS) data frame END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T00:48:20.356287Z K 7 svn:log V 116 change ieee80211_send_probereq to supply raw xmit parameters so it can control how frames are handled by the driver END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T00:52:26.646200Z K 7 svn:log V 45 fix comment that belonged w/ previous commit END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T00:55:38.437998Z K 7 svn:log V 72 introduce M_ENCAP flag to mark packets encapsulated w/ an 802.11 header END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T01:01:01.064737Z K 7 svn:log V 30 move decl up before first use END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T01:04:46.040761Z K 7 svn:log V 221 New ap-side power save implementation; the main change is to allow drivers to queue frames previously encapsulated on a separate high priority list that is dispatched before the unencapsulated frames (to preserve order). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2008-10-26T09:35:08.798384Z K 7 svn:log V 100 MFC: Sync code with -CURRENT state. Merged r183755,183770,184186-184189 Approved by: re (kib) END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-10-26T15:41:23.211622Z K 7 svn:log V 430 MFC r184060: Ktr(9) stores format string and arguments in the event circular buffer, not the string formatted at the time of CTRX() call. Stack_ktr(9) uses an on-stack buffer for the symbol name, that is supplied as an argument to ktr. As result, stack_ktr() traces show garbage or cause page faults. Fix stack_ktr() by using pointer to module symbol table that is supposed to have a longer lifetime. Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2008-10-26T17:03:51.288713Z K 7 svn:log V 219 MFS r183978: Go ahead with adding device ID for Nikon D300 camera so it gets into 6.4-REL. PR: usb/118741 Submitted by: Yuri Approved by: re (rwatson for stable/6, kib for me doing releng/6.4) END K 10 svn:author V 4 lulf K 8 svn:date V 27 2008-10-26T17:20:37.069212Z K 7 svn:log V 225 - Import macros used in gmirror for printing gvinum debug messages and making the output more standardized. - Add a sysctl to set the verbosity of the debug messages. - While there, fixup typos and wording in the messages. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-10-26T18:58:04.332822Z K 7 svn:log V 70 Fix division by zero panic if kern.hz less than 32. MFC after: 1 day END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-10-26T19:14:50.794698Z K 7 svn:log V 218 MFC r183976: Wireless Mouse device of Sony VGP-WRC1 mouse/keyboard receiver has the same program interface as Microsoft Wireless Notebook Optical Mouse and needs a quirk. PR: usb/122712 Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-26T19:17:25.232137Z K 7 svn:log V 256 Style changes only: - Consistently add parentheses to return statements. - Use NULL instead of 0 when comparing pointers, also avoiding unnecessary casts. - Do not use pointers as booleans. Reviewed by: rwatson (earlier version) MFC after: 2 months END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-10-26T19:22:10.053979Z K 7 svn:log V 135 MFC r183979: Display usage when pkg_add is called with no arguments. PR: bin/121093 Submitted by: volker Approved by: re (kensmith) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2008-10-26T19:28:04.831280Z K 7 svn:log V 147 MFC r183974: Support the remaining options listed in dhcp-options(5) and RFC 2132. PR: bin/127076 Submitted by: jkim Approved by: re (kensmith) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-26T19:33:22.476847Z K 7 svn:log V 154 Remove endearing but syntactically unnecessary "return;" statements directly before the final closeing brackets of some TCP functions. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-10-26T19:37:38.638068Z K 7 svn:log V 296 Add ADB support. This provides support for the external ADB bus on the PowerMac G3 as well as the internal ADB keyboard and mice in PowerBooks and iBooks. This also brings in Mac GPIO support, for which we should eventually have a better interface. Obtained from: NetBSD (CUDA and PMU drivers) END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-26T21:55:19.218669Z K 7 svn:log V 707 MFC r183565: Small cleanups to openpty(). - Pass O_NOCTTY to posix_openpt(2). This makes the implementation work consistently on implementations that make the PTY the controlling TTY by default. - Call unlockpt() before opening the slave device. POSIX mentions that de slave device should only be opened after grantpt() and unlockpt() have been called. - Replace some redundant code by a label. As a safety net, add a call to revoke() to unlockpt(). All applications out there use openpty(), explicitly call revoke() or implement their own PTY allocation routines. Adding the call to unlockpt() won't hurt, but will prevent foot-shooting. Reviewed by: jhb, kib Approved by: re END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-26T21:56:06.197280Z K 7 svn:log V 707 MFC r183565: Small cleanups to openpty(). - Pass O_NOCTTY to posix_openpt(2). This makes the implementation work consistently on implementations that make the PTY the controlling TTY by default. - Call unlockpt() before opening the slave device. POSIX mentions that de slave device should only be opened after grantpt() and unlockpt() have been called. - Replace some redundant code by a label. As a safety net, add a call to revoke() to unlockpt(). All applications out there use openpty(), explicitly call revoke() or implement their own PTY allocation routines. Adding the call to unlockpt() won't hurt, but will prevent foot-shooting. Reviewed by: jhb, kib Approved by: re END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T21:56:27.060660Z K 7 svn:log V 568 Fix joining an 11b BSS: scanning is normally done using 11g channels (unless explicitly locked to mode 11b) so when we join the bss the channel attached to the scan cache entry may need to be demoted. o demote to 11b if the ap is advertising 11b rates o skip the ap if it's 11b but we're locked to 11g (could consider this advisory but for now treat it as mandatory) o handle an odd edge case, if there is a fixed transmit rate for 11g then the rate check against the 11b ap will fail, try to demote to 11b and retry the rate check Reviewed by: sephe, thompsa END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-26T21:59:07.214279Z K 7 svn:log V 83 o re-enable a lock assert o while here reformat a comment to sync w/ other repot's END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-26T22:03:52.597022Z K 7 svn:log V 271 In both dropwithreset paths in tcp_input.c, drop the tcbinfo lock sooner to decomplicate locking and eliminate the need for a rather chatty comment about why we have to handle the global lock in a special way for the benefit of ipfw and pf cred rules. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-26T22:11:01.494615Z K 7 svn:log V 44 Add mergeinfo for r184300. Approved by: re END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-26T22:11:31.055779Z K 7 svn:log V 44 Add mergeinfo for r184301. Approved by: re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-26T22:45:18.094784Z K 7 svn:log V 343 Add a MAC label, MAC Framework, and MAC policy entry points for IPv6 fragment reassembly queues. This allows policies to label reassembly queues, perform access control checks when matching fragments to a queue, update a queue label when fragments are matched, and label the resulting reassembled datagram. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-26T22:46:37.670398Z K 7 svn:log V 152 Implement MAC policy support for IPv6 fragment reassembly queues, modeled on IPv4 fragment reassembly queue support. Obtained from: TrustedBSD Project END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-10-26T22:52:57.054405Z K 7 svn:log V 111 - Add a missing NULL-pointer check. Reviewed by: cognet Approved by: kib (mentor, implicit) MFC after: 3 days END K 10 svn:author V 4 stas K 8 svn:date V 27 2008-10-26T22:53:59.910031Z K 7 svn:log V 110 - Add stream bus_space operations. Reviewed by: cognet Approved by: kib (mentor, implicit) MFC after: 1 week END K 10 svn:author V 5 marck K 8 svn:date V 27 2008-10-26T22:56:17.576298Z K 7 svn:log V 78 MFH: r184200 Correct a typo in Nocona core name Approved by: re (hrs, kib) END K 10 svn:author V 5 marck K 8 svn:date V 27 2008-10-26T23:05:54.680957Z K 7 svn:log V 78 MFH: r184200 Correct a typo in Nocona core name Approved by: re (hrs, kib) END K 10 svn:author V 5 marck K 8 svn:date V 27 2008-10-26T23:11:25.031005Z K 7 svn:log V 78 MFH: r184200 Correct a typo in Nocona core name Approved by: re (hrs, kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-10-27T00:09:14.366663Z K 7 svn:log V 426 Bring Kauai ATA driver in line with Macio ATA by reading the PIO config reg to set the initial PIO mode instead of assuming PIO4. There are still a few nagging issues: - There are some problems with 64 K DMA transfers waiting on lower level changes. - ATAPI DMA is broken on Marcel's Mac Mini because we need an ATA SELECT hook propagated up to individual drivers for hardware without timing registers for each ATA channel. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2008-10-27T00:23:09.368586Z K 7 svn:log V 1008 MFC r183966: Some 88E1149 PHY's page select is initialized to point to other bank instead of copper/fiber bank which in turn resulted in wrong registers were accessed during PHY operation. It is believed that page 0 should be used for copper PHY so reinitialize E1000_EADR to select default copper PHY. This fixes link establishment issue of nfe(4) on Sun Fire X4140. OpenBSD also has similimar patch but they just reset the E1000_EADR register to page 0. However some Marvell PHYs((88E3082, 88E1000) don't have the extended address register and the meaning of the register is quite different for each PHY model. So selecting copper PHY is limited to 88E1149 PHY which seems to be the only one that exhibits link establishment problem. If parent device know the type of PHY(either copper or fiber) that information should be notified to PHY driver but there is no good way to pass this information yet. Reported by: thompsa Reviewed by: thompsa Approved by: re (kensmith) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-27T00:26:07.037537Z K 7 svn:log V 82 Declare btext and etext. Needed by sys/kern/subr_prof.c for for kernel profiling. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-10-27T01:05:09.919661Z K 7 svn:log V 85 Show which rc script is running since the default ^T just shows 'sh' as the process. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-27T01:51:30.039851Z K 7 svn:log V 58 Remove unused declarations (interrupt_vector_{base|top}). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2008-10-27T02:36:03.630389Z K 7 svn:log V 112 Add support for kernel profiling for both AIM and BookE. Obtained from: Juniper Networks, Inc (BookE support). END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-27T05:19:26.116408Z K 7 svn:log V 80 Generalize the flowtable code support ipv6, host route caching, and pcpu tables END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-27T05:23:40.172826Z K 7 svn:log V 104 Hook rtentry_info use in to ip_output and ether_output in a non-disruptive albeit extremely hackish way END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-27T05:28:08.176083Z K 7 svn:log V 707 MFC r183565: Small cleanups to openpty(). - Pass O_NOCTTY to posix_openpt(2). This makes the implementation work consistently on implementations that make the PTY the controlling TTY by default. - Call unlockpt() before opening the slave device. POSIX mentions that de slave device should only be opened after grantpt() and unlockpt() have been called. - Replace some redundant code by a label. As a safety net, add a call to revoke() to unlockpt(). All applications out there use openpty(), explicitly call revoke() or implement their own PTY allocation routines. Adding the call to unlockpt() won't hurt, but will prevent foot-shooting. Reviewed by: jhb, kib Approved by: re END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-10-27T06:25:02.384563Z K 7 svn:log V 721 Default HZ value (1,000) on i386/amd64 is not very virtual machine friendly. Due to the nature of the beast it causes lot of unproductive overhead. This is especially bad when running SMP kernel on VMWare with several virtual processors - idle FreeBSD guest with SMP kernel takes 150% host CPU time on my dual-core MacBook Pro when I am enabling two virtual CPUs, making even host not very usable. Detect when we are running in the sandbox and reduce HZ to 10 (can be adjusted via VM_HZ in the kernel config) in such cases. This brings host CPU usage of idle FreeBSD/SMP on two virtual processors down to 10%. Detect most popular VM platforms out there - VMWare, Parallels, VirtualBox and VirtualPC. MFC after: 2 weeks END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-10-27T06:34:41.201320Z K 7 svn:log V 58 vm_pnames has no reason to be global. MFC after: 2 weeks END K 10 svn:author V 3 dds K 8 svn:date V 27 2008-10-27T07:01:14.833500Z K 7 svn:log V 183 Add Konrad Jankowski (versus@) as a new src committer. Konrad will start his work with the i18n improvements he performed during GSoC 2008. I will be his mentor. Approved by: core END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-10-27T08:09:05.169315Z K 7 svn:log V 75 vm_pnames should be "const char *const[]". Submitted by: Christoph Mallon END K 10 svn:author V 4 kato K 8 svn:date V 27 2008-10-27T08:40:13.731231Z K 7 svn:log V 572 Improved IDE HDD geometry adjustment. Previous code didn't work with certain ATA-6 drives including CF cards. The IDE geometry of the PC98 is calculated from the drive capacity. In addition to the algorithm in NEC BIOS, a variety of algorithms are provided by 3'rd party boards and BIOS hacks. This change has implemented the three algorithms: IDE BIOS compatible mode, SCSI BIOS compatible mode and same way as the previous version. The tunable machdep.ad_geom_method selects the algorithm. I have been using this change for a year with CF cards. Reminded by: nyan END K 10 svn:author V 3 sos K 8 svn:date V 27 2008-10-27T09:26:24.271236Z K 7 svn:log V 69 Only call dma.unload() if initialized. Reported by: Stanislav Sedov END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-27T11:45:31.536604Z K 7 svn:log V 233 Remove unused consdev structure fields. The cn_unit and cn_tp fields don't seem to be used anywhere. Some drivers set them, while others don't. Just remove them, in an attempt to make our consdev code a little easier to understand. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-27T11:46:19.914009Z K 7 svn:log V 140 Copy mac_bsdextended.c to two object-specific files as a prototype for how modularize MAC policy layout. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-27T12:09:15.941744Z K 7 svn:log V 243 Break mac_bsdextended.c out into multiple .c files, with the base access control logic and policy registration remaining in that file, and access control checks broken out into other files by class of check. Obtained from: TrustedBSD Project END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-27T12:12:23.785020Z K 7 svn:log V 53 Add TrustedBSD credit to new ugidfw_internal.h file. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-10-27T13:53:31.493179Z K 7 svn:log V 41 Invariants changes that make more sense. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-10-27T13:54:54.183566Z K 7 svn:log V 108 Get rid of ifdef for vimage on version 8 comparison. Now the scrubbing program properly takes care of this. END K 10 svn:author V 3 kib K 8 svn:date V 27 2008-10-27T13:56:27.771408Z K 7 svn:log V 247 MFC r175105 (by peter): Fall back to the binary-specified interpreter (ld-elf.so.1) if the ABI override binary isn't found. MFC r183694: If the ABI-overriden interpreter was not loaded, do not set have_interp to TRUE. Approved by: re (kensmith) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-10-27T14:01:23.221863Z K 7 svn:log V 705 Two inter-related bugs. - If we send EXACTLY the size left in the send buffer and then send again, we end up with exactly 0 bytes and don't hit the pre-block code to wait for more space. - If we fall into the loop with our max_len == 0 (the bug above) we then call in to copy out the data, setup the length of the waiting to transmit data to 0 and call the mbuf copy routine which 0 indicates copy all the data to the mbuf chain.. which it does. This then leaves a "stuck" message on the stream queue with its size exactly 0 bytes but all the data there and thus nothing left in the uio structure. We then reach a stuck forever state never being able to send data. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-10-27T14:22:34.599364Z K 7 svn:log V 105 Merge r184211 (mxge firmware update) into stable/7 Approved by: re (kensmith) Sponsored by: Myricom Inc END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-10-27T14:27:43.786912Z K 7 svn:log V 118 Merge r183515 and r184211 (mxge firmware updates) into stable/6 Approved by: re (kensmith) Sponsored by: Myricom Inc END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2008-10-27T14:29:49.645363Z K 7 svn:log V 120 Merge r183515 and r184211 (mxge firmware updates) into releng/6.4 Approved by: re (kensmith) Sponsored by: Myricom Inc END K 10 svn:author V 3 rrs K 8 svn:date V 27 2008-10-27T14:49:12.797100Z K 7 svn:log V 424 More issues with pre-blocking: a) Need for EEOR mode to take the min of the socket buffer size and the add more threshold, otherwise if you are so silly as to set a send buf size less than the add-more you could block forever in eeor mode. b) We were incorrectly using the sysctl vs the calculated value. This causes us to block forever if the addmore theshold is larger than then the socket buffer size. END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-27T15:15:08.717220Z K 7 svn:log V 112 We do not have a libkse anymore and Mk/bsd.* does not know about LIBKSE anymore, so s,MK_LIBKSE,MK_LIBPTHREAD,. END K 10 svn:author V 3 dds K 8 svn:date V 27 2008-10-27T15:21:15.523650Z K 7 svn:log V 148 Add fallback when mmap fails on regular files. Some filesystems, like smbnetfs, do not support mmap. Reported by: Harti Brandt MFC after: 1 month END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T16:13:28.207674Z K 7 svn:log V 278 o fix MK_TCSH == no: the default master.passwd sets up root to use /bin/csh but there won't be one so root won't be able to login; edit the installed file to use /bin/sh in this case. o while here split csh-related files apart from sh and only install them when requested END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-10-27T16:20:40.517248Z K 7 svn:log V 103 Make a note about the notify codes for the four special function keys above the keyboard on the EeePC. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T16:46:50.341905Z K 7 svn:log V 315 o use the new association callback to notify the driver when joining a bss in sta and adhoc modes; this should've been done forever ago as most all drivers use this hook to set per-station transmit parameters such as for tx rate control o adjust drivers to remove explicit calls to the driver newassoc method END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T16:58:06.461155Z K 7 svn:log V 133 now that the new association callback is used when joining a bss we can eliminate the ath_rate_newassoc callback and associated code END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:03:24.530593Z K 7 svn:log V 69 remove driver-private equivalent of ni_txparms; it's now superfluous END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:10:21.910442Z K 7 svn:log V 104 move complaints about bad rate codes up a level so we can print the h/w rate code and other useful info END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:12:41.218473Z K 7 svn:log V 73 intercept IEEE80211_IOC_TXPOWER and service tx power changes immediately END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:14:39.207738Z K 7 svn:log V 100 use the ic's opmode instead of our hal equivalent to check for adhoc mode; they are always the same END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:16:46.080134Z K 7 svn:log V 128 rename bf_flags to bf_txflags in preparation for the addition of flags separate from the tx descriptor flags currently recorded END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2008-10-27T17:19:14.633697Z K 7 svn:log V 48 Add ucomX shortcuts just like its uart sibling. END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:19:39.385803Z K 7 svn:log V 63 shuffle debug setup to simplify debugging events during attach END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:22:46.388934Z K 7 svn:log V 84 add sys.dev.ath.X.intmit knob to enable/disable ANI (the intmit name is historical) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:35:09.772579Z K 7 svn:log V 25 add regdomain debug msgs END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:41:32.145756Z K 7 svn:log V 467 Regdomain fixups: o pass country code, outdoor indication, and ecm mode into the hal when requesting a channel list o add a console msg when regulatory setup fails o add placeholder code to map between Atheros sku's and 802.11 sku's that handles only the debug country code used to unlock the full channel list (to be used only for debugging) o fix multiple instances of mismapping the 802.11 location to the outdoor indication (anywhere may be outdoor also) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:43:23.576138Z K 7 svn:log V 68 update the sta inactivity timer only if we actually received an ACK END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:51:24.581208Z K 7 svn:log V 197 Fixup statistics: o update tx rssi data only when an ACK was received o return tx rssi from sampled data instead of the last frame o track noise floor o return rx rssi and noise floor (was broken) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:52:41.519219Z K 7 svn:log V 82 correct callback status parameter; only indicate success when an ACK was received END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:53:34.222509Z K 7 svn:log V 12 fix comment END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T17:54:17.174534Z K 7 svn:log V 34 install bssid for ahdemo mode too END K 10 svn:author V 2 bz K 8 svn:date V 27 2008-10-27T17:57:03.786943Z K 7 svn:log V 73 Add the files missed with r184331 to make mac_bsdextended compile again. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-27T18:00:39.190608Z K 7 svn:log V 105 MFC: Several top '-P' fixes originally from ru@. This fixes top -P on i386. Approved by: re (kensmith) END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T18:00:43.631166Z K 7 svn:log V 176 add hack to deal with Ubiquiti XR9 cards, they have a different mapping between 900MHz and 2.4GHz frequencies than SR9 cards; they are distinguished by different country codes END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T18:02:47.335457Z K 7 svn:log V 111 fix handling of HT rates; these overlap legacy rates and need to be marked as MCS in the inverse mapping table END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T18:05:26.308957Z K 7 svn:log V 33 prefer #define to naked constant END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2008-10-27T18:08:12.989601Z K 7 svn:log V 116 When the mac_bsdextended policy is unloaded, free rule memory. Obtained from: TrustedBSD Project MFC after: 3 days END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T18:22:44.462580Z K 7 svn:log V 536 o With the addition of HT rates the set of h/w codes has a much wider range making the use of sc_hwmap to do direct mapping impractical. Switch to indexing by the rate index instead of the rate code and adjust associated state and logic appropriately. This has several benefits including simplification of the led code. o fix radiotap capture of HT rates o fix conditional compilation of HT radiotap support to be based on the hal having 5416 support; not the ABI version as hal builds may or may not include 5416 support END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T18:30:33.068851Z K 7 svn:log V 22 prepare for a new hal END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T18:47:48.130475Z K 7 svn:log V 19 add regdomain knob END K 10 svn:author V 3 sam K 8 svn:date V 27 2008-10-27T18:50:46.049234Z K 7 svn:log V 54 sync w/ driver updates; this also brings in ani stats END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-10-27T21:06:16.623415Z K 7 svn:log V 137 Fix r184323 - set stathz to be the same as lapic_timer_hz when lapic_timer_hz is less than 128. Remove extra {} to match existing style. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-27T21:16:07.241357Z K 7 svn:log V 160 Don't report GEM capability until we actually have GEM support. This was causing the newer Intel video drivers to fail and abort X. Approved by: jhb (mentor) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-27T21:21:36.293002Z K 7 svn:log V 128 Fix some fallout from the busmaster disable cleanup rs400 is just like rs480 Approved by: jhb (mentor) Obtained from: drm git END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2008-10-27T21:24:34.448208Z K 7 svn:log V 200 Fix error in busmaster enable logic rs400/rs480 should clear the RADEON_BUS_MASTER_DIS bit. This should get the rs485 IGP chips going again. Approved by: jhb (mentor) Obtained from: drm git master END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-27T21:31:14.093236Z K 7 svn:log V 375 - In GCC 4.2 __builtin_frame_address() was fixed to include the V9 stack bias so we no longer need to add it in db_backtrace() and stack_capture() respectively. This also reverts r182018, which kludged around the resulting unaligned access. - Sync the sun4v versions of db_trace.c and stack_machdep.c with the sparc64 ones and fix some style bugs. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2008-10-27T21:41:55.476839Z K 7 svn:log V 106 - Whitespace fix for vop_poll. - Use the right label for vop_vptofh lock assertions so they are enforced. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2008-10-27T21:45:18.484461Z K 7 svn:log V 137 Fix r184323 - set stathz to be the same as lapic_timer_hz when lapic_timer_hz is less than 128. Remove extra {} to match existing style. END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-27T21:46:58.015273Z K 7 svn:log V 497 Supply a valid Connect ID when issuing XPT_DEV_MATCH, which according to my reading of the CAM draft is mandatory for all CCB function calls and enforced by xptioctl() since at least r168752. Previously we happened to use 0 as the Path ID, causing the XPT_DEV_MATCH call to fail if there's no SCSI bus 0. Basically the same bug was also fixed the same way for camcontrol(8) as part of r126514. PR: 127605 Submitted by: Eygene Ryabinkin Approved by: silence from ken and scottl MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2008-10-27T22:10:01.559800Z K 7 svn:log V 324 Do as the Linux tg3 driver does and enable MSI support also for the BCM5714 revision A0 when in a multi-port configuration and unconditionally for the remainder of the class of BCM575X and beyond chips. This was prodded by mav and is based on a suggestion and a patch submitted by jhb. Reviewed by: jhb MFC after: 2 months END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2008-10-27T22:44:22.437574Z K 7 svn:log V 300 Grab Sierra and Novatel init functions from NetBSD version of the u3g driver (rev 1.3), by Joerg Sonnenberger. Note: This change is untested as I do not own the hardware. Let me know if things work or do not work for you by sending me the output dmesg (and usbctl -f /dev/usbX if possible). Thanks. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2008-10-27T23:11:14.694286Z K 7 svn:log V 121 Clean up some magic numbers in the DBDMA code by replacing them with appropriately defined constants. Suggested by: gnn END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T01:21:19.200229Z K 7 svn:log V 321 - simplify validation in flow_lookup - rename and invert sense of FL_LOCAL_XMIT to FL_HASH_PORTS for clarity - add route validation to flow_stale - add flag to disable flowtable usage - add explanation of hideousness of route + arp lookup locking - make hashjitter a static so as not to rely on RADIX_MPATH being enabled END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T02:15:17.245048Z K 7 svn:log V 120 Initialize ro.ro_rt to avoid confusing rtalloc don't call RT_UNLOCK(ro.ro_rt) - the rtalloc routine returns it unlocked END K 10 svn:author V 5 peter K 8 svn:date V 27 2008-10-28T03:26:25.606541Z K 7 svn:log V 285 After a machine has been up for a bit more than 20 days with HZ=1000, "ticks" goes negative. This breaks the signed comparison in softclock. This causes sleep() to never wake up, tcp to stop, etc etc. This is bad(TM). Use the SEQ_LT() method from tcp's sequence number comparisons. END K 10 svn:author V 3 imp K 8 svn:date V 27 2008-10-28T04:32:41.037866Z K 7 svn:log V 42 style(9) nit: remove unnecessary {} pair. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T05:41:44.384572Z K 7 svn:log V 71 log errors and make sure flow gets re-looked up if dst address changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T05:50:28.371177Z K 7 svn:log V 17 add more logging END K 10 svn:author V 2 ed K 8 svn:date V 27 2008-10-28T06:00:13.472006Z K 7 svn:log V 479 Remove unneeded call to revoke() inside openpty(). As discussed on the commits list, there is no need to call revoke() inside openpty(). On RELENG_6 and RELENG_7 unlockpt() will call revoke(). On HEAD we create pseudo-terminals on demand, so there is no need to revoke the slave device node. This change should never be MFC'd, because the implementation we have in RELENG_6 and RELENG_7 should work flawlessly with older versions of libc. Discussed with: jhb MFC after: never END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T06:11:31.834195Z K 7 svn:log V 29 IF_HEAD part1 184043:184389 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T06:15:18.169382Z K 7 svn:log V 28 IF_HEAD part2 184043:184389 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T06:15:43.322419Z K 7 svn:log V 28 IF_HEAD part3 184043:184389 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T06:16:47.095856Z K 7 svn:log V 28 IF_HEAD part4 184043:184389 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T06:25:00.154222Z K 7 svn:log V 33 IF_HEAD_ECMP part1 184390:184393 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T06:26:08.088702Z K 7 svn:log V 33 IF_HEAD_ECMP part2 184390:184393 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2008-10-28T06:27:16.194673Z K 7 svn:log V 33 IF_HEAD_ECMP part3 184390:184393 END