ƒ°204219 201 414 142 95 510 337 978 208 178 409 313 159 266 245 487 487 226 126 159 123 123 134 226 160 210 140 145 128 345 276 230 200 158 420 257 220 282 331 150 204 175 124 348 181 269 177 291 579 255 147 740 185 185 344 133 113 421 181 317 311 415 318 230 235 187 237 341 341 646 646 669 264 170 214 160 900 315 624 289 632 203 151 191 188 203 492 133 143 368 300 295 624 310 137 501 292 144 188 196 177 116 283 160 212 339 127 139 362 128 124 115 129 124 122 309 211 167 130 123 216 153 129 133 260 260 185 289 170 1367 188 236 109 179 242 113 124 202 227 188 109 162 119 139 252 193 454 219 548 545 126 484 158 292 391 157 606 292 699 318 237 237 154 131 141 159 145 153 218 119 169 141 296 208 396 219 287 198 219 113 1292 155 265 124 356 305 171 171 365 394 223 162 212 174 129 194 513 450 306 230 136 121 699 K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-22T18:51:14.623500Z K 7 svn:log V 317 Add TSO on VLANs. Because re(4) has a TSO limitation for jumbo frame, make sure to update VLAN capabilities whenever jumbo frame is configured. While I'm here rearrange interface capabilities configuration. The controller requires VLAN hardware tagging to make TSO work on VLANs so explicitly check this requirement. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-02-22T19:17:17.882021Z K 7 svn:log V 50 Virtualize transport part of periph announcement. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-22T20:42:30.200483Z K 7 svn:log V 4 MFH END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-02-22T21:01:08.447932Z K 7 svn:log V 414 According to the Linux sungem driver, in case of Apple (K2) GMACs GEM_MIF_CONFIG_MDI0 cannot be trusted when the firmware has powered down the chip so the internal transceiver has to be hardcoded. This is also in line with the AppleGMACEthernet driver, which just doesn't distinguish between internal/external transceiver and MDIO/MDI1 respectively in the first place. Tested by: Andreas Tobler MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-22T21:03:15.715966Z K 7 svn:log V 240 Remove Tx mbuf parsing code for VLAN in TSO path. Controller does not support TSO over VLAN if VLAN hardware tagging is disabled so there is no need to check VLAN here. While I'm here make sure to pullup IP/TCP headers in the first buffer. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-02-22T21:45:20.977912Z K 7 svn:log V 882 - Factor out the code shared between NFS client and server into its own module so it's not present twice. - Move nfs_realign() from the NFS client to the shared NFS code and remove the NFS server version in order to reduce code duplication. The shared version now uses a second parameter how, which is passed on to m_get(9) and m_getcl(9) as the server used M_WAIT while the client requires M_DONTWAIT, and replaces the the previously unused parameter hsiz. - Change nfs_realign() to use nfsm_aligned() so as with other NFS code the alignment check isn't actually performed on platforms without strict alignment requirements for performance reasons because as the comment suggests unaligned data only occasionally occurs with TCP. - Change fha_extract_info() to use nfs_realign() with M_DONTWAIT rather than M_WAIT because it's called with the RPC sp_lock held. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-22T22:05:49.608604Z K 7 svn:log V 111 Add TSO support on VLANs. jme(4) controllers do not require VLAN hardware tagging to make TSO work over VLANs. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-22T22:27:26.674575Z K 7 svn:log V 82 MFC r203533: Remove two files that are not needed by FreeBSD. Approved by: pjd END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-22T22:32:24.201436Z K 7 svn:log V 312 POSIX patch(1) would treat -b as different meaning (the functionality is to be provided by --suffix). Looking at the usage here in diffutils, it seems that we can just get rid of the -b .orig stuff. This resolves a problem that can triggered if we move toward to a more permissively licensed patch(1) program. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-22T22:41:27.708533Z K 7 svn:log V 216 Add TSO support on VLANs. Also make sure to update TSO capability whenever jumbo frame is configured. While I'm here remove unnecessary check of VLAN hardware checksum offloading. vlan(4) already takes care of this. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-22T22:41:36.425900Z K 7 svn:log V 63 MFC r203533: Remove two files that are not needed by FreeBSD. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-22T23:35:35.734279Z K 7 svn:log V 169 Remove Tx mbuf parsing code for VLAN in TSO path. Controller does not support TSO over VLAN if VLAN hardware tagging is disabled so there is no need to check VLAN here. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-02-23T00:34:20.780526Z K 7 svn:log V 149 When we rescan, just scan from logical unit 0. In other words, don't specify a wildcard lun here. This unbreaks disk re-arrival. MFC after: 2 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-23T00:40:02.416599Z K 7 svn:log V 390 MFC r203728: - Return EAFNOSUPPORT instead of EINVAL for unsupported address family, this matches the Linux behavior. - Check if we have sufficient space allocated for socket structure, which fixes a buffer overflow when wrong length is being passed into the emulation layer. [1] PR: kern/138860 Submitted by: Mateusz Guzik Reported by: Alexander Best [1] END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-23T00:41:40.325698Z K 7 svn:log V 390 MFC r203728: - Return EAFNOSUPPORT instead of EINVAL for unsupported address family, this matches the Linux behavior. - Check if we have sufficient space allocated for socket structure, which fixes a buffer overflow when wrong length is being passed into the emulation layer. [1] PR: kern/138860 Submitted by: Mateusz Guzik Reported by: Alexander Best [1] END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-02-23T01:00:15.612619Z K 7 svn:log V 130 MFC r202812: Add H55 ID from Mike Tancsa, with minor rewording from avg@. PR: kern/143068 Submitted by: Mike Tancsa (Sentex) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-02-23T01:00:19.663397Z K 7 svn:log V 33 Fix FBIO_ADPINFO ioctl on amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-02-23T01:02:11.128083Z K 7 svn:log V 66 Re-add accidentally removed pixel format for direct memory model. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-23T01:04:29.674897Z K 7 svn:log V 27 Flattern zlib vendor tree. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-23T01:06:02.524949Z K 7 svn:log V 27 Remove left-off directory. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-23T01:08:03.528327Z K 7 svn:log V 38 Bootstrap the merge history for zlib. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-02-23T01:24:01.693718Z K 7 svn:log V 130 MFC r202812: Add H55 ID from Mike Tancsa, with minor rewording from avg@. PR: kern/143068 Submitted by: Mike Tancsa (Sentex) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-23T04:56:06.878480Z K 7 svn:log V 60 Add a manpage for smu(4) now that it does something useful. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-02-23T05:02:10.595559Z K 7 svn:log V 117 Fix compilation problems with INVARIANTS. # also limit RX decryption attempted messages to 50 Reviewed by: weongyo END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-23T06:35:04.172485Z K 7 svn:log V 46 Use a smarter way to calculate the equinoxes. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-02-23T07:07:46.535762Z K 7 svn:log V 50 MFC 203505 Add the long missing "destroy" option. END K 10 svn:author V 3 eri K 8 svn:date V 27 2010-02-23T09:58:12.375625Z K 7 svn:log V 36 Add files that I missed during MFH. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-02-23T14:35:44.846974Z K 7 svn:log V 249 xpt_rescan only honors a wildcard in the target field. Revert the previous change and have isp_make_here scan the whole bus which will then scan all luns. I think xpt_rescan needs to be fixed, but that's a separable issue. Suggested by: Alexander END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-23T14:56:49.954439Z K 7 svn:log V 175 Fix two bugs in this manpage: 'System' is not abbreviated with 'P', and a non-useful version of smu(4) was in 8.0, so modify the history to reflect that. Submitted by: gavin END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-02-23T15:12:41.497443Z K 7 svn:log V 134 Upgrade the "snake" syscons screensaver to the new, multimedia version! Now, with color! And system load averages! Amused by it: gnn END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-02-23T15:27:07.062382Z K 7 svn:log V 104 The New and Improved snake_server - Service Pack 1: now even more sensitive to load average variations! END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-02-23T16:39:53.721283Z K 7 svn:log V 66 Fix recursive lock attempt on hot-plug event in non-ATA_CAM mode. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-02-23T16:46:34.709001Z K 7 svn:log V 327 MFC r201684. Teach the (gpt)zfsboot and zfsloader raidz code to use its buffers more efficiently. Before this patch, in the worst case memory use would increase exponentially on the number of drives in the raidz vdev. Submitted by: Matt Reimer Sponsored by: VPOP Technologies, Inc. Silence from: dfr END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-02-23T18:37:21.795085Z K 7 svn:log V 161 MFC 196008 196162 197214 197372 197373 MFC 198822 200089 201325 201408 202418 MFC 203444 203463 203478 204050 Move back into RELENG_7 the current state of isp. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-02-23T18:42:07.210330Z K 7 svn:log V 127 Make xpt_rescan() more correct, as it was before r197208: do not use XPT_SCAN_LUN for wildcard LUN, fall back to XPT_SCAN_BUS. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-02-23T19:34:22.402528Z K 7 svn:log V 187 Merge r203620,203621 from head: Document support for the D-Link DFE520-TX card (supported with the vr(4) driver) PR: kern/135989 Submitted by: "Rashid N. Achilov" citycat4 ngs.ru END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-02-23T19:37:00.563831Z K 7 svn:log V 236 Merge r203393,r203395 from head: The multiplicand a = 0x5deece66d = 25214903917, not 0xfdeece66d. This bug in the man page has gone unnoticed for over 15 years! PR: docs/143461 Submitted by: Jeremy Huddleston jeremyhu apple.com END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-02-23T19:44:51.999196Z K 7 svn:log V 54 fixes a compile error; invalid type argument of '->'. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-02-23T19:55:54.833294Z K 7 svn:log V 107 o adds sysctl variables to show device statistics. o records RTS success/fail statistics. Pointed by: imp END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-02-23T20:28:15.677793Z K 7 svn:log V 81 Merge r203636 from head: Correct arguments to free_unr(), "item" was missing. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-23T21:13:48.676663Z K 7 svn:log V 30 Replace "06" with "06/*" END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-02-23T21:15:05.252384Z K 7 svn:log V 253 Merge r202115 from head: Our standard "xterm" termcap entry supports colour, so this tip is redundant. As it happens, "xterm-color" has just been an alias for "xterm" since src/share/termcap/termcap.src 1.131 in September 2002. PR: docs/132959 END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-23T21:26:05.627297Z K 7 svn:log V 87 Fix previous fix properly. 06/* -> */Jun (thanks to the cc dependancy of the calendar) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-23T21:28:25.108420Z K 7 svn:log V 174 Properly handle definitions in dayofmonth/month* format. (* means variable each year, which unless these calendar files are updated every year will be out of sync very fast) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-23T21:39:11.556805Z K 7 svn:log V 83 Give the solar calculations second precision capability Add the $FreeBSD$ keyword. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-02-23T21:41:13.635322Z K 7 svn:log V 195 Minor diff reduction with Adaptec's driver: in aac_release_command() set cm_queue to AAC_ADAP_NORM_CMD_QUEUE by default. In every place it was set, it was set to AAC_ADAP_NORM_CMD_QUEUE anyhow. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-02-23T21:51:14.125255Z K 7 svn:log V 485 Yet another attempt to make palette loading more safer: - Add a separate palette data for 8-bit DAC mode when SC_PIXEL_MODE is set and fill it up with default gray-scale palette data for text. Now we don't have to set `hint.sc.0.vesa_mode' to get the default palette data. - Add a new adapter flag, V_ADP_DAC8 to track whether the controller is using 8-bit palette format and load correct palette when switching modes. - Set 8-bit DAC mode only for non-VGA compatible graphics mode. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-02-23T22:09:42.556591Z K 7 svn:log V 160 Merge r202931 from head: Add support for four more nfsmb controllers, shipping on at least the ASUS Atom ION boards. PR: kern/142571 Submitted by: oliver END K 10 svn:author V 2 np K 8 svn:date V 27 2010-02-23T23:01:41.971358Z K 7 svn:log V 56 Allow cxgbtool to build with WARNS=6 MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-24T00:54:37.467139Z K 7 svn:log V 639 Close a race involving the OEA64 scratchpage. When the scratch page's physical address is changed, there is a brief window during which its PTE is invalid. Since moea64_set_scratchpage_pa() does not and cannot hold the page table lock, it was possible for another CPU to insert a new PTE into the scratch page's PTEG slot during this interval, corrupting both mappings. Solve this by creating a new flag, LPTE_LOCKED, such that moea64_pte_insert will avoid claiming locked PTEG slots even if they are invalid. This change also incorporates some additional paranoia added to solve things I thought might be this bug. Reported by: linimon END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-24T00:55:55.391058Z K 7 svn:log V 85 Use dcbz instead of word stores for page zeroing, providing a factor of 3-4 speedup. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-24T01:27:36.345966Z K 7 svn:log V 85 Add the ability to set SMU-based machines to restart automatically after power loss. END K 10 svn:author V 2 np K 8 svn:date V 27 2010-02-24T01:44:39.898581Z K 7 svn:log V 252 Accessing an mbuf after it has been handed off to the hardware is a bad race as it could already have been tx'd and freed by that time. Place the bpf tap just _before_ writing the gen bit. This fixes a panic when running tcpdump on a cxgb interface. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-24T03:41:46.052097Z K 7 svn:log V 33 IFC to get some recent bug fixes END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-02-24T07:53:29.591142Z K 7 svn:log V 16 Merge from HEAD END K 10 svn:author V 2 np K 8 svn:date V 27 2010-02-24T10:16:18.836072Z K 7 svn:log V 329 There is no need to test __FreeBSD_version for features that have been around for a long time now (7.1-ish or even earlier); assume they are present. These includes MSI, TSO, LRO, VLAN, INTR_FILTERS, FIRMWARE, etc. Also, eliminate some dead code and clean up in other places as part of this quick once-over. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-02-24T13:13:29.421888Z K 7 svn:log V 89 Fix spelling of EACCES. PR: docs/144112 Submitted by: Alexander Best MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-02-24T14:19:56.159726Z K 7 svn:log V 225 Fix expansion of \W in prompt strings when the working directory is "/". The prompt string was truncated after \W when the working directory was "/". PR: bin/89410 Submitted by: Dr Balwinder Singh Dheeman MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-02-24T15:27:31.799001Z K 7 svn:log V 219 MFC r202945: Fixes for ls(1) long format (-l) output: - Allow -h option to work if the listing contains at least one device file. - Align major and minor device numbers correctly to the size field. PR: bin/125678 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-02-24T15:52:18.073271Z K 7 svn:log V 319 Don't inforce an upper bound on kern.ngroups. The INT_MAX-1 limit was too high due to several overflows. The actual limit is somewhere in the neighborhood of INT_MAX/4 on 64-bit machines, but most systems could not support such a limit due to a lack of memory and the cost of duplicate credentials. Reported by: bde END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-02-24T15:54:24.905468Z K 7 svn:log V 226 Use the DB_SHOW_ALL_COMMAND() macro to register the formerly 'show ifnets' in the db_show_all_table as 'show all ifnets' and with that follow the convention for showing complete lists. Submitted by: thompsa MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-02-24T19:28:15.029977Z K 7 svn:log V 134 Update the commented out option for omitting the sysctl descriptions; it was committed as NO_SYSCTL_DESCR. Approved by: rrs (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-02-24T20:13:34.257841Z K 7 svn:log V 141 Improve VESA mode switching via loader tunable `hint.sc.0.vesa_mode'. The most notable change is history buffer is fully saved/restored now. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-02-24T20:20:02.661200Z K 7 svn:log V 95 MFC r203924: Call the proper linkup routine in PowerPC Book-E machdep. Submitted by: attilio END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-02-24T20:31:00.962671Z K 7 svn:log V 144 Do not force verbose and single mode in non-metadata boot case. We want to go multi-user by default also in case of booting without loader(8). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-02-24T21:20:25.751826Z K 7 svn:log V 248 MFC 204086: - Don't emit a warning in 'show adapter' if the IOC2 or IOC6 pages are not present. mpt(4) controllers that do not support RAID do not have an IOC6 page, for example. - Correct a check for a missing page error in a debug function. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-02-24T21:26:27.487777Z K 7 svn:log V 248 MFC 204086: - Don't emit a warning in 'show adapter' if the IOC2 or IOC6 pages are not present. mpt(4) controllers that do not support RAID do not have an IOC6 page, for example. - Correct a check for a missing page error in a debug function. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-02-24T21:29:18.414669Z K 7 svn:log V 553 MFC 204090: Fix mptutil's method for locating disk devices attached to a specific mpt(4) controller. Previously, the code assumed that multiple match patterns provided to an XPT_DEV_MATCH request were ANDed together. Instead, they are ORed. Instead, to match peripherals for a specific bus, one query needs to be performed to lookup the path ID of the bus. A second query can then be performed matching peripherals attached to that path. This approach also makes the code a bit cleaner as the returned match results do not mix buses and perphierals. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-02-24T21:29:30.572149Z K 7 svn:log V 553 MFC 204090: Fix mptutil's method for locating disk devices attached to a specific mpt(4) controller. Previously, the code assumed that multiple match patterns provided to an XPT_DEV_MATCH request were ANDed together. Instead, they are ORed. Instead, to match peripherals for a specific bus, one query needs to be performed to lookup the path ID of the bus. A second query can then be performed matching peripherals attached to that path. This approach also makes the code a bit cleaner as the returned match results do not mix buses and perphierals. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-02-24T21:29:45.845162Z K 7 svn:log V 576 MFC 204090: Fix mptutil's method for locating disk devices attached to a specific mpt(4) controller. Previously, the code assumed that multiple match patterns provided to an XPT_DEV_MATCH request were ANDed together. Instead, they are ORed. Instead, to match peripherals for a specific bus, one query needs to be performed to lookup the path ID of the bus. A second query can then be performed matching peripherals attached to that path. This approach also makes the code a bit cleaner as the returned match results do not mix buses and perphierals. Approved by: re (kib) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-02-24T21:57:51.009125Z K 7 svn:log V 168 MFC r203688: Initialize the execfile argument to NULL instead of _PATH_DEVNULL. This allows the -M option to be used without specifying -N. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-02-24T22:00:00.154794Z K 7 svn:log V 75 MFC r203681: Fix typo and remove extra spaces. Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-02-24T22:02:25.334197Z K 7 svn:log V 118 MFC r203322: Fix typo of ENOTCONN. Add missing RETURN VALUES section in sctp_opt_info(3). Approved by: rrs (mentor) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-02-24T22:04:49.887662Z K 7 svn:log V 65 MFC r203323: Remove extra semicolon. Approved by: rrs (mentor) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-02-24T22:16:16.960230Z K 7 svn:log V 804 MFC r202143,202163,202341,202342,204278 Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic kern.ngroups+1. kern.ngroups can range from NGROUPS_MAX=1023 to somewhere in the neighborhood of INT_MAX/4 one a system with sufficent RAM and memory bandwidth. Given that the Windows group limit is 1024, this range should be sufficient for most applications r202342: Only allocate the space we need before calling kern_getgroups instead of allocating what ever the user asks for up to "ngroups_max + 1". On systems with large values of kern.ngroups this will be more efficient. The now redundant check that the array is large enough in kern_getgroups() is deliberate to allow this change to be merged to stable/8 without breaking potential third party consumers of the API. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-02-24T23:00:16.634671Z K 7 svn:log V 219 Update the sendfile regression test so that it outputs results in the TAP format. Add a checksum to verify that the data hasn't been corrupted between being read from disk and being received. Approved by: rrs (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-25T00:46:51.404667Z K 7 svn:log V 527 MFC r202964: On FreeBSD, time_t is 64-bit for all platforms except i386 and powerpc, where the type is 32-bit. ZFS can handle 64-bit timestamp internally but zfs_setattr() would check if the time value can fit, we change the checking macros to match 64-bit timestamp if the platform supports it. This change has some downsides like, while you can import zfs on 32-bit platforms, the timestamp would overflow if they are out of the range. This fixes the Y2.038K issue on platforms using 64-bit timestamps. Reviewed by: pjd END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-25T03:49:17.990325Z K 7 svn:log V 188 Provide an implementation of pmap_dev_direct_mapped() on OEA64. This is required in order to be able to mmap the running kernel, which is turn required to avoid fstat returning gibberish. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-25T03:53:21.252210Z K 7 svn:log V 531 Move the OEA64 scratchpage to the end of KVA from the beginning, and set its PVO to map physical address 0 instead of kernelstart. This fixes a situation in which a user process could attempt to return this address via KVM, have it fault while being modified, and then panic the kernel because (a) it is supposed to map a valid address and (b) it lies in the no-fault region between VM_MIN_KERNEL_ADDRESS and virtual_avail. While here, move msgbuf and dpcpu make into regular KVA space for consistency with other implementations. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-25T06:31:05.749761Z K 7 svn:log V 108 Copy share/zoneinfo to contrib/zoneinfo for the proper split of contributed data and FreeBSD specific data. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-25T06:35:21.311784Z K 7 svn:log V 57 Remove Makefile, it is not part of the contributed data. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-25T06:44:16.775667Z K 7 svn:log V 97 Officially speaking, the zoneinfo data files are contributed data. Therefore treat them as such. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-25T06:50:44.078322Z K 7 svn:log V 94 Provide an anchor below which the history of tzcode/zic and tzcode/stdtime will be preserved. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-25T06:53:46.936298Z K 7 svn:log V 108 Copy usr.sbin/zic to contrib/tzcode/zic for the proper split of contributed code and FreeBSD specific code. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2010-02-25T09:51:14.668034Z K 7 svn:log V 395 Fix edge cases in several KASSERTs: use <= rather than < when testing that counters have not gone about MAXCPU or NETISR_MAXPROT. These problems caused panics on UP kernels with INVARIANTS when using sysctl -a, but would also have caused problems for 32-core boxes or if the netisr protocol vector was fully populated. Reported by: nwhitehorn, Neel Natu MFC after: 4 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-25T10:40:52.021434Z K 7 svn:log V 41 MFC r204205: Remove write-only variable. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-02-25T11:54:10.443871Z K 7 svn:log V 51 Add CPU_CNMIPS for the core that's in Octeon CPUs. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-02-25T13:28:05.446616Z K 7 svn:log V 275 MFC r204009 Assorted fixes for mge(4). - Use proper map for the busdma sync on mge descriptor. - Remove unnecesary busdma sync. - Eliminate redundant locking in mge_reinit_rx() (just assert). - Kill unused variable. Submitted by: Grzegorz Bernacki Obtained from: Semihalf END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-25T13:51:11.761766Z K 7 svn:log V 207 Make pause(3) implementation not depended on the legacy sigcompat.c interfaces. Do not block rt signals during and after pause(3) calls. Use private libc namespace to call proper methods. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-25T13:53:09.890880Z K 7 svn:log V 202 Do not restrict the allowed signals that can be specified by number to the list of signals that has symbolic name. It was impossible to send rt signals with kill(1) due to the check. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-02-25T14:13:39.637994Z K 7 svn:log V 527 Introduce the new kernel sub-tree x86 which should contain all the code shared and generalized between our current amd64, i386 and pc98. This is just an initial step that should lead to a more complete effort. For the moment, a very simple porting of cpufreq modules, BIOS calls and the whole MD specific ISA bus part is added to the sub-tree but ideally a lot of code might be added and more shared support should grow. Sponsored by: Sandvine Incorporated Reviewed by: emaste, kib, jhb, imp Discussed on: arch MFC: 3 weeks END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-02-25T14:36:50.709283Z K 7 svn:log V 218 Moved mcgrab(1) into a separate directory -- our .mk infrastructure doesn't currently have support for building multiple programs in a single makefile. While here, fixed manpages and makefiles (missing dependencies). END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-02-25T14:42:26.742126Z K 7 svn:log V 46 Fixed missing or broken library dependencies. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-02-25T14:51:06.410657Z K 7 svn:log V 400 Fix another bug involving /dev/mem and the OEA64 scratchpage. When the scratchpage is updated, the PVO's physical address is updated as well. This makes pmap_extract() begin returning non-zero values again, causing the panic partially fixed in r204297. Fix this by excluding addresses beyond virtual_end from consideration as KVA addresses, instead of allowing addresses up to VM_MAX_KERNEL_ADDRESS. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-02-25T15:00:27.060521Z K 7 svn:log V 195 Fix a mis-change about the compiling of atrtc.c. Sponsored by: Sandvine Incorporated Reported by: Giovanni Trematerra MFC: 3 weeks X-MFC: r204309 END K 10 svn:author V 5 wilko K 8 svn:date V 27 2010-02-25T15:03:57.022236Z K 7 svn:log V 50 On the (non)sense of legal disclaimers in emails. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-02-25T15:21:37.618511Z K 7 svn:log V 96 Enable U-Boot storage for PowerPC. While there fix loader(8) help file name. MFC after: 1 week END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-02-25T15:27:13.317835Z K 7 svn:log V 103 Let loader(8) for U-Boot use default storage more flexibly. Obtained from: Semihalf MFC after: 1 week END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-02-25T15:29:41.045238Z K 7 svn:log V 85 Fix handling of GPT disk partition index. Obtained from: Semihalf MFC after: 1 week END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-02-25T15:30:26.495210Z K 7 svn:log V 24 Minor style correction. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-02-25T15:44:54.640009Z K 7 svn:log V 189 MFi386: the part of r204309 to fix pc98 kernel Introduce the new kernel sub-tree x86 which should contain all the code shared and generalized between our current amd64, i386 and pc98. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-25T16:00:52.865389Z K 7 svn:log V 66 don't be picky if sysctlbyname fails on two unimportant variables END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-25T16:11:51.898171Z K 7 svn:log V 117 support for scanning an entire bucket. This is used when draining idle queues and scheduler instances from dummynet. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-25T16:14:07.641475Z K 7 svn:log V 244 support for draining idle scheduler and queues. On passing, merge in the conditional parts for building ipfw and dummynet under linux and windows. The differences are small and non intrusive, and it makes no sense to keep them out of the tree. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-25T16:39:28.152828Z K 7 svn:log V 33 add function dn_ht_scan_bucket() END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-25T16:40:08.327614Z K 7 svn:log V 45 add code to drain idle queues and schedulers END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-02-25T18:02:52.015164Z K 7 svn:log V 268 MFC: r203676 Introduce new rc.conf variable firewall_coscripts. It can be used to specify list of executables and/or rc scripts that should be executed after firewall starts/stops. Submitted by: Yuri Kurenkov Reviewed by: rhodes, rc@ END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-02-25T19:42:51.493567Z K 7 svn:log V 32 Add bwn(4) driver to the build. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-02-25T19:43:22.284390Z K 7 svn:log V 28 Connect bwn.4 to the build. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-02-25T19:47:47.963958Z K 7 svn:log V 19 Add bwn(4) driver. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-02-25T20:24:19.218110Z K 7 svn:log V 38 Fixed dependencies (make checkdpadd). END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-25T20:54:14.316625Z K 7 svn:log V 30 print number of active queues END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-25T20:54:54.015681Z K 7 svn:log V 28 implement 'ipfw sysctl ...' END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-25T21:10:27.865527Z K 7 svn:log V 214 From contrib/tzcode: The Makefiles are leftovers from the copies and should live in usr.sbin/zic/* From usr.sbin/zic: The sources are from a vendor contributed source, therefore should live in contrib/tzcode/zic. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-25T21:21:34.938677Z K 7 svn:log V 116 Copy lib/libc/stdtime to contrib/tzcode/stdtime for the proper split of contributed code and FreeBSD specific code. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-02-25T21:26:50.525353Z K 7 svn:log V 75 Remove -static; it was a failed experiment that got committed by accident. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-02-25T21:29:00.152269Z K 7 svn:log V 37 Initial gdbserver support for amd64. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-25T21:29:40.107431Z K 7 svn:log V 29 Remove non-contributed code. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-02-25T21:38:56.200485Z K 7 svn:log V 118 Work around the lib32 failure - use gcc native -B setting for libgcc so it builds just fine without a missing symbol. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-02-25T22:16:30.877175Z K 7 svn:log V 62 Removed redundant -I. from CFLAGS and "yes" from WITHOUT_MAN. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-02-25T22:18:35.271774Z K 7 svn:log V 38 Fixed dependencies (make checkdpadd). END K 10 svn:author V 3 des K 8 svn:date V 27 2010-02-25T22:44:23.983804Z K 7 svn:log V 41 Fix 'make checkdpadd' Submitted by: ru@ END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-02-26T00:11:17.581193Z K 7 svn:log V 166 MFC: r204105 Return partially filled buffer for non-blocking read(2) in non-immediate mode. PR: kern/143855 Submitted by: Guy Harris (guy at alum dot mit dot edu) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-02-26T00:12:48.300529Z K 7 svn:log V 166 MFC: r204105 Return partially filled buffer for non-blocking read(2) in non-immediate mode. PR: kern/143855 Submitted by: Guy Harris (guy at alum dot mit dot edu) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-02-26T00:37:49.265733Z K 7 svn:log V 89 Updates what firmware module should be used for LP (low power) PHY users and bumps date. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-26T00:54:47.814870Z K 7 svn:log V 192 MFC 203052: Add interface description capability as inspired by OpenBSD. Thanks for rwatson@, jhb@, brooks@ and others for feedback to the old implementation! Sponsored by: iXsystems, Inc. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2010-02-26T05:28:52.504083Z K 7 svn:log V 75 This miniproject will contain the enhanced coredump facilities from JUNOS. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2010-02-26T06:35:24.627781Z K 7 svn:log V 1270 Enhanced process coredump routines. This brings in the following features: 1) Limit number of cores per process via the %I coredump formatter. Example: if corefilename is set to %N.%I.core AND num_cores = 3, then if a process "rpd" cores, then the corefile will be named "rpd.0.core", however if it cores again, then the kernel will generate "rpd.1.core" until we hit the limit of "num_cores". this is useful to get several corefiles, but also prevent filling the machine with corefiles. 2) Encode machine hostname in core dump name via %H. 3) Compress coredumps, useful for embedded platforms with limited space. A sysctl kern.compress_user_cores is made available if turned on. To enable compressed coredumps, the following config options need to be set: options COMPRESS_USER_CORES device zlib # brings in the zlib requirements. device gzio # brings in the kernel vnode gzip output module. 4) Eventhandlers are fired to indicate coredumps in progress. 5) The imgact sv_coredump routine has grown a flag to pass in more state, currently this is used only for passing a flag down to compress the coredump or not. Note that the gzio facility can be used for generic output of gzip'd streams via vnodes. Obtained from: Juniper Networks END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-26T06:44:00.747001Z K 7 svn:log V 94 Split the contributed code from libc/stdtime from lib/libc/stdtime to contrib/tzcode/stdtime. END K 10 svn:author V 2 np K 8 svn:date V 27 2010-02-26T07:08:44.598768Z K 7 svn:log V 144 Support IFCAP_VLANHWTSO in cxgb(4). It works with or without vlanhwtag. While here, remove old DPRINTFs and tidy up the capability code a bit. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-26T07:22:01.635857Z K 7 svn:log V 15 diff reduction END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-02-26T07:22:07.625420Z K 7 svn:log V 85 Be able to handle national versions of first, second, third, fourth, fifth and last. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-02-26T09:31:50.956377Z K 7 svn:log V 149 Fix bug in headphones audio redirection using separate DAC. It was exposed by removing channel duplication during multichannel audio implementation. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-02-26T09:41:16.020829Z K 7 svn:log V 22 Fixed static linkage. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-02-26T10:33:48.100449Z K 7 svn:log V 32 Fix newlines broken at r204220. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-02-26T10:42:46.414852Z K 7 svn:log V 109 Make PUIS detection more strict. Previous implementation caused false positives on VMWare's virtual CD-ROMs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-02-26T12:12:54.010293Z K 7 svn:log V 135 (Almost) fixed static linkage. The remaining problem is with libgssapi.a and libgssapi_krb5.a libraries that define the same symbols. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-02-26T12:31:16.298719Z K 7 svn:log V 96 Store path for rescan to the right place. This should fix panic on boot, introduced by r203108. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-02-26T12:40:01.571820Z K 7 svn:log V 15 diff reduction END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-02-26T13:47:51.179819Z K 7 svn:log V 71 Use time(NULL) instead of gettimeofday(), because we only need tv_sec. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-02-26T13:48:04.807770Z K 7 svn:log V 28 Make pr build with WARNS=6. END K 10 svn:author V 5 wilko K 8 svn:date V 27 2010-02-26T16:27:11.311727Z K 7 svn:log V 45 s/all ready/already/ Submitted by: ru@, gj@ END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T17:27:16.650397Z K 7 svn:log V 155 Reuse the configured LE for VLAN if new LE was created for TSO. Only old controllers need to create new LE for TSO. This change makes TSO work over VLANs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T17:33:43.530681Z K 7 svn:log V 97 Add TSO support on VLANs. Controller requires VLAN hardware tagging to make TSO work over VLANs. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T18:18:02.281022Z K 7 svn:log V 357 Optimize inserting LE for TX checksum computation. Controller does not require checksum LE configuration if checksum start and write position is the same as before. So keep track last checksum start and write position and insert new LE whenever the position is changed. This reduces number of LEs used in TX path as well as slightly enhance TX performance. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-02-26T18:46:16.715524Z K 7 svn:log V 123 MFC r203683: Add multicast key search support. This fixes corrupted mcast packets when we have more than one hostap vap. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T19:18:29.113069Z K 7 svn:log V 451 Don't hardcod register offset to set PCIe max read request size. The register offset is not valid on 88E8072 controller. Also don't blindly increase max read request size to 4096, instead, use 2048 which seems to be more sane value and only change the value if the hardware default size(512) was used on that register. For PCIX controllers, use system defined constant rather than using magic value. While I'm here stop showing negotiated link width. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T19:37:03.286670Z K 7 svn:log V 448 Allocate single MSI message. msk(4) used to allocate 2 MSI messages for controllers like 88E8053 which reports two MSI messages. Because we don't get anything useful things with 2 MSI messages, allocating 1 MSI message would be more sane approach. While I'm here, enable MSI for dual-port controllers too. Because status block is shared for dual-port controllers, I don't think msk(4) will encounter problem for using MSI on dual-port controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T19:38:12.148369Z K 7 svn:log V 30 Remove trailing white spaces. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T20:17:17.034671Z K 7 svn:log V 387 Allow disabling VLAN hardware tag stripping with software work around. Management firmware(ASF/IPMI/UMP) requires the VLAN hardware tag stripping so don't actually disable VLAN hardware tag stripping. If VLAN hardware tag stripping was disabled, bce(4) manually reconstruct VLAN frame by appending stripped VLAN tag. Also remove unnecessary IFCAP_VLAN_MTU message. Reviewed by: davidch END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-02-26T20:25:30.837660Z K 7 svn:log V 63 MFC r203695, r203751 Fix spelling mistake and compile error. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T20:26:17.214433Z K 7 svn:log V 195 Make sure to stop controller first before changing MTU. And if interface is not running don't initialize controller. While here remove unnecessary update of error variable. Reviewed by: davidch END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T20:39:07.702997Z K 7 svn:log V 294 Make toggling TSO, VLAN hardware checksum offloading work. Also fix TX/RX checksum handler to set/clear relavant assist bits which was used to cause unexpected results. With this change, bce(4) can be bridged with other interfaces that lack TSO, VLAN checksum offloading. Reviewed by: davidch END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T20:41:28.392549Z K 7 svn:log V 61 Prefer m_collapse(9) over m_defrag(9). Reviewed by: davidch END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T21:19:46.467808Z K 7 svn:log V 509 Move TSO setup to new function bce_tso_setup(). Also remove VLAN parsing code in TSO path as the controller requires VLAN hardware tagging to make TSO work over VLANs. While parsing the mbuf in TSO patch, always perform check for writable mbuf as bce(4) have to reset IP length and IP checksum field of IP header and make sure to ensure contiguous buffer before accessing IP/TCP headers. While I'm here replace magic number 40 to more readable sizeof(struct ip) + sizeof(struct tcphdr). Reviewed by: davidch END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T21:26:07.008281Z K 7 svn:log V 195 Add TSO support on VLANs. bce(4) controllers require VLAN hardware tagging to make TSO work on VLANs so explicitly disable TSO on VLAN if VLAN hardware tagging is disabled. Reviewed by: davidch END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-02-26T21:49:11.918985Z K 7 svn:log V 601 MFC of 203763, 203764, 203768, 203769, 203770, 203782, and 203784. These fixes correct a problem in the file system that treats large inode numbers as negative rather than unsigned. For a default (16K block) file system, this bug began to show up at a file system size above about 16Tb. These fixes also update newfs to ensure that it will never create a filesystem with more than 2^32 inodes. They also update libufs, tunefs, and growfs so that they properly handle inode numbers as unsigned. Reported by: Scott Burns, John Kilburg, and Bruce Evans Followup by: Jeff Roberson PR: 133980 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T22:29:42.076821Z K 7 svn:log V 221 Disable TSO on BCM5755M controller until I understand better for the issue. I still have no idea why TSO does not work on this controller. davidch@ also confirmed there is no known TSO related issues for this controller. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T22:43:23.864495Z K 7 svn:log V 140 Add TSO support on VLANs. While I'm here remove unnecessary check of VLAN hardware checksum offloading. vlan(4) already takes care of this. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-02-26T22:46:36.349993Z K 7 svn:log V 140 Add TSO support on VLANs. While I'm here remove unnecessary check of VLAN hardware checksum offloading. vlan(4) already takes care of this. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-02-26T23:26:15.361730Z K 7 svn:log V 58 Do not remove fmt.1 when MK_MAIL=no. X-MFC-With: r203584 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T00:37:06.455776Z K 7 svn:log V 34 Branch for my Cavium Octeon work. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T01:16:34.818173Z K 7 svn:log V 44 Temporarily disable RGMII. Adjust CF root. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T01:17:24.064746Z K 7 svn:log V 62 Fix octeon_board_real() for the Portwell CAM-0100 on my desk. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-02-27T01:17:44.489938Z K 7 svn:log V 49 Add several necessary .El's. MFC after: 2 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-02-27T01:58:41.936144Z K 7 svn:log V 58 Fix misallocation error in target mode. MFC after: 1 day END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-02-27T02:20:38.363927Z K 7 svn:log V 121 don't need to check BWN_RX_PHYST0_SHORTPRMBL flag because it's already handled in later. Reported from: imp, nwhitehorn END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T03:29:28.504372Z K 7 svn:log V 22 Build n32 emulations. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T03:30:19.102266Z K 7 svn:log V 72 Actually link at KERNLOADADDR in n32 and n64 (or is tht o64?) binaries. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T03:30:48.177603Z K 7 svn:log V 44 Specify n32 emulation if TARGET_N32 is set. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T03:33:31.783805Z K 7 svn:log V 198 Check for __mips_n32, not ISA_MIPS32, on Octeon to tell whether we have longer-than-pointer bus addresses. It's the ABI that matters (or at least it's more like the ABI than the ISA that matters.) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T03:35:34.715842Z K 7 svn:log V 110 Fix casts for n32 and add a comment as to why this code can't really work as intended with a true o32 kernel. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T03:38:38.821733Z K 7 svn:log V 298 Make ddb commands take an address as an intptr_t, not a db_expr_t. It is possible to have 32-bit pointers and 64-bit registers and thus a 64-bit db_expr_t. Likewise make casts between pointers and register_t go through intptr_t to be sure to sign extend properly, since register_t may be larger. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-02-27T03:47:22.748089Z K 7 svn:log V 123 MFC r204106: Avoid corrupting the list or queue if _REMOVE is invoked with a reference to the head. PR: kern/119307 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T03:55:08.312995Z K 7 svn:log V 189 Use the elaborate address loading in n32, not o32. n32 doesn't have 64-bit pointers so we need to load a 64-bit address into a temporary register and use that in the ld or sd instruction. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T03:56:12.993651Z K 7 svn:log V 100 o) Correct the ISA and -march values for Octeon -- it's not MIPS32. o) Switch to using the n32 ABI. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-02-27T04:02:40.867315Z K 7 svn:log V 123 MFC r204106: Avoid corrupting the list or queue if _REMOVE is invoked with a reference to the head. PR: kern/119307 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T04:33:24.181287Z K 7 svn:log V 16 Add back RGMII. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-02-27T05:41:23.993255Z K 7 svn:log V 1195 Revamp the pieces of some of the stuff I forgot to do when shifting to 32 bit handles. The RIO (reduced interrupt operation) and fast posting for the parallel SCSI cards were all 16 bit handles. Furthermore, target mode parallel SCSI only can have 16 bit handles. Use part of a supplied patch to switch over to using 32 bit handles. Be a bit more conservative here and only do this for parallel SCSI for the 12160 (Ultra3) cards. There were a lot of marginal Ultra2 cards, and, frankly, few are findable now for testing. Fix the target handle routine to only do 16 bit handles for parallel SCSI cards. This is okay because the upper sixteen bits of the new 32 bit handles is a sequence number to help protect against duplicate completions. This would be very unlikely to happen with parallel SCSI target mode, and wasn't present before, so we're no worse off than we used to be. While we're at it, finally split the async mailbox completion handlers into FC and parallel SCSI functions. This makes it much cleaner and easier to figure out what is or isn't a legal async mailbox completion code for different card classes. PR: kern/144250 Submitted partially by: Charles D MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T05:45:32.216233Z K 7 svn:log V 58 Hackishly arrange to print registers at their full width. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T05:46:40.022939Z K 7 svn:log V 167 o) Make struct trapdebug use register-width members. o) Make trap, which returns the new PC, return a register_t. o) Add the two universal cache coherency attributes. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T05:55:04.043988Z K 7 svn:log V 27 Fix test for address size. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-02-27T06:28:22.752475Z K 7 svn:log V 258 o) Since typestr is always NULL don't bother printing it. o) Don't mask off the low byte of chipid -- some of the case statements are unreachable if you do that. This fixes crashes on the CAM-0100 from trying to enumerate a 4th port that isn't there. END K 10 svn:author V 6 qingli K 8 svn:date V 27 2010-02-27T07:12:25.852041Z K 7 svn:log V 209 Use reference counting instead of locking to secure an address while that address is being used to generate temporary IPv6 address. This approach is sufficient and avoids recursive locking. MFC after: 3 days END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-02-27T10:14:59.277579Z K 7 svn:log V 79 mount_hpfs(8): make WARNS=6 clean PR: bin/139995 Approved by: ed (co-mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-02-27T10:16:14.859777Z K 7 svn:log V 79 mount_ntfs(8): make WARNS=6 clean PR: bin/140000 Approved by: ed (co-mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-02-27T10:17:27.787299Z K 7 svn:log V 272 routed(8)/rtquery(8) bump/demote to WARNS=3 for all archs - The MACHINE_ARCH check is not exhaustive (missing at least powerpc), and generally not worth maintaining. - While here, fix whitespace and ordering of the Makefile PR: bin/140081 Approved by: ed (co-mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-02-27T10:18:33.655218Z K 7 svn:log V 301 route(8): make WARNS=3 clean - add static and const where appropriate - check pointers against NULL - minor styling nits - it is actually WARNS=6 clean for non-strict alignment platforms This is shamelessly stolen from DragonflyBSD and reduces our diff. PR: bin/140078 Approved by: ed (co-mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-02-27T10:19:39.651359Z K 7 svn:log V 130 rtsol(8)/rtsold(8): make WARNS=3 clean It is actually WARNS=6 clean for non-strict alignment archs. Approved by: ed (co-mentor) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-02-27T10:41:30.640910Z K 7 svn:log V 68 Fix panic on invalid 'mdconfig -at preload' usage. PR: kern/80136 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-02-27T10:55:43.719594Z K 7 svn:log V 114 MFC r197223: Fix a deadlock in the ULE scheduler. Approved by: so (cperciva) Errata: FreeBSD-EN-10:02.sched_ule END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-02-27T12:15:59.474152Z K 7 svn:log V 79 Include terminated threads in ps's process cpu time field. MFC after: 2 weeks END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-02-27T12:27:49.499710Z K 7 svn:log V 32 Clang can build msun just fine. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-27T15:26:36.415596Z K 7 svn:log V 101 Fix several style issues. Define make_dev_credv() as static to match declaration. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-27T15:32:49.144717Z K 7 svn:log V 420 For kinfo_proc in kp->ki_siglist, return the set of the signals pending in the process queue when gathering information for the process, and set of signals pending for the thread, when gathering information for the thread. Previously, the sysctl returned a union of the process and some arbitrary thread pending set for the process, and union of the process and the thread pending set for the thread. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-27T16:51:23.264836Z K 7 svn:log V 357 MFC r203827: - Add idempotency guards so the structures can be used in other utilities. - Update bpb structs with reserved fields. - In direntry struct join deName with deExtension. Although a fix was attempted in the past, these fields were being overflowed, Now this is consistent with the spec, and we can now share the WinChksum code with NetBSD. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-27T17:09:28.938156Z K 7 svn:log V 213 Update comment for vm_page_alloc(9), listing all acceptable flags [1]. Note that the function does not sleep, it can block. Submitted by: Giovanni Trematerra [1] MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-02-27T17:11:15.291388Z K 7 svn:log V 137 Update man page for vm_page_alloc(9). Based on the submission by: Giovanni Trematerra MFC after: 3 days END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-02-27T17:31:00.231295Z K 7 svn:log V 40 usr/share/examples/bc no longer exists. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2010-02-27T17:36:13.509007Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-02-27T17:55:29.191517Z K 7 svn:log V 601 MFC of 203763, 203764, 203768, 203769, 203770, 203782, and 203784. These fixes correct a problem in the file system that treats large inode numbers as negative rather than unsigned. For a default (16K block) file system, this bug began to show up at a file system size above about 16Tb. These fixes also update newfs to ensure that it will never create a filesystem with more than 2^32 inodes. They also update libufs, tunefs, and growfs so that they properly handle inode numbers as unsigned. Reported by: Scott Burns, John Kilburg, and Bruce Evans Followup by: Jeff Roberson PR: 133980 END