‚²i205885 115 177 224 165 165 165 257 257 258 179 179 179 281 281 281 300 415 586 586 586 510 253 262 262 126 254 254 267 267 377 377 187 162 129 129 132 1691 1691 704 704 672 672 1881 1881 121 121 144 144 180 529 529 138 138 293 279 907 117 530 204 243 189 137 183 159 134 169 576 174 174 258 608 180 1000 221 285 293 413 180 127 108 178 220 220 232 214 214 232 130 152 176 136 161 126 105 266 200 462 560 375 873 135 330 176 122 229 239 131 114 196 341 415 831 217 140 283 115 K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-03-30T18:29:19.962724Z K 7 svn:log V 85 Various and sundry style, whitespace, and comment fixes. Submitted by: bde (mostly) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-03-30T18:31:55.476925Z K 7 svn:log V 131 Defer freeing a kevent list until after dropping kqueue locks. LOR: 185 Submitted by: Matthew Fleming @ Isilon MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T18:58:07.002763Z K 7 svn:log V 70 MFC: r205393 - Remove a bogus forward declaration. - Fix whitespace. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T18:58:08.191043Z K 7 svn:log V 70 MFC: r205393 - Remove a bogus forward declaration. - Fix whitespace. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T18:58:10.341433Z K 7 svn:log V 70 MFC: r205393 - Remove a bogus forward declaration. - Fix whitespace. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:03:26.329001Z K 7 svn:log V 161 MFC: r205394 Ensure that __fpu_ftox() both returns the high bits and res[1] contains the low bits also in the default case. PR: 144900 Obtained from: OpenBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:03:27.609883Z K 7 svn:log V 161 MFC: r205394 Ensure that __fpu_ftox() both returns the high bits and res[1] contains the low bits also in the default case. PR: 144900 Obtained from: OpenBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:03:29.376138Z K 7 svn:log V 162 MFC: r205394 Ensure that __fpu_ftox() both returns the high bits and res[1] contains the low bits also in the default case. PR:i 144900 Obtained from: OpenBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:05:08.638878Z K 7 svn:log V 84 MFC: r205395 FPU_DEBUG requires . PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:05:11.716516Z K 7 svn:log V 84 MFC: r205395 FPU_DEBUG requires . PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:05:20.784942Z K 7 svn:log V 84 MFC: r205395 FPU_DEBUG requires . PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:06:31.234085Z K 7 svn:log V 185 MFC: r205396 Division should take both arguments' signs into account when the the dividend is infinity or zero and the divisor is not the same. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:06:33.875074Z K 7 svn:log V 185 MFC: r205396 Division should take both arguments' signs into account when the the dividend is infinity or zero and the divisor is not the same. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:06:37.137393Z K 7 svn:log V 185 MFC: r205396 Division should take both arguments' signs into account when the the dividend is infinity or zero and the divisor is not the same. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-30T19:06:54.299988Z K 7 svn:log V 199 Bring up the MMU and set up the framebuffer. Now I can make a chunk of my screen red, and printf() is soon to follow. Much easier than debugging by rebooting, which it turns out isn't even reliable! END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-03-30T19:07:41.948973Z K 7 svn:log V 322 Use panic() (which the environment is required to provide to libstand) to implement assert() instead of relying on a non-required exit(). The exit() invocation also did not match the semantics of the exit() routine that current boot environments happen to require. PR: kern/144749 Discussed with: bde MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:08:01.469134Z K 7 svn:log V 490 MFC: r205397 - While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and UltraSPARC processors defines that in all cases tinyness is detected before rounding, therefore rounding up to the smallest normalised number should set the underflow flag. - If an infinite result is rounded down, the result should have an exponent 1 less than the value for infinity. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:08:02.851611Z K 7 svn:log V 490 MFC: r205397 - While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and UltraSPARC processors defines that in all cases tinyness is detected before rounding, therefore rounding up to the smallest normalised number should set the underflow flag. - If an infinite result is rounded down, the result should have an exponent 1 less than the value for infinity. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:08:05.124161Z K 7 svn:log V 490 MFC: r205397 - While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and UltraSPARC processors defines that in all cases tinyness is detected before rounding, therefore rounding up to the smallest normalised number should set the underflow flag. - If an infinite result is rounded down, the result should have an exponent 1 less than the value for infinity. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-03-30T19:09:18.741345Z K 7 svn:log V 417 Thanks to Michael Tuexen for adding SCTP support for 82599, also for finding a one character bug that kept TSO from working. Sometimes with direct attach cables a failure can occur in init, the old method of calling detach was broken, there is no way to return an error to the system from init, so I have changed it to return failure thru the ioctl. And, have fixed the ALTQ code changes of Max Laier, sorry Max :) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:13:37.595567Z K 7 svn:log V 157 MFC: r205410 Avoid aliasing which leads to incorrect results when compiling with the default strict aliasing rules. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:15:57.752715Z K 7 svn:log V 166 MFC: r173859, r205410 Avoid aliasing which leads to incorrect results when compiling with the default strict aliasing rules. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:16:00.783691Z K 7 svn:log V 166 MFC: r173859, r205410 Avoid aliasing which leads to incorrect results when compiling with the default strict aliasing rules. PR: 144900 Submitted by: Peter Jeremy END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-30T19:31:58.751433Z K 7 svn:log V 34 Document zfsloader issue on 7.3R. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:33:09.676674Z K 7 svn:log V 158 MFC: r203334 Sync with the other archs and declare the memory location referenced by the address argument of the bus_space_write_multi_*() familiy as const. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:33:09.804541Z K 7 svn:log V 158 MFC: r203334 Sync with the other archs and declare the memory location referenced by the address argument of the bus_space_write_multi_*() familiy as const. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:36:00.960130Z K 7 svn:log V 171 MFC: r203335 - Const'ify the bus_stream_asi and bus_type_asi arrays. - Replace hard-coded functions names missed in bus_machdep.c with __func__. - Break some long lines. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:36:03.320205Z K 7 svn:log V 171 MFC: r203335 - Const'ify the bus_stream_asi and bus_type_asi arrays. - Replace hard-coded functions names missed in bus_machdep.c with __func__. - Break some long lines. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:37:47.245176Z K 7 svn:log V 281 MFC: r203341 - Remove the BUS_HANDLE_MIN checking in the __BUS_DEBUG_ACCESS macro; for UPA it should have fulfilled its purpose by now and Fireplane- and JBus-based machines are way to messy in organization to implement something equivalent. - Fix a bunch of style(9) bugs. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:37:55.663684Z K 7 svn:log V 281 MFC: r203341 - Remove the BUS_HANDLE_MIN checking in the __BUS_DEBUG_ACCESS macro; for UPA it should have fulfilled its purpose by now and Fireplane- and JBus-based machines are way to messy in organization to implement something equivalent. - Fix a bunch of style(9) bugs. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-03-30T19:41:38.898918Z K 7 svn:log V 95 Use CACHE_LINE_SIZE alignment for 'struct pcpu' rather than hardcoding 128. Reviewed by: jeff END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-30T19:41:43.004114Z K 7 svn:log V 70 Document fdopendir(3) missing prototype issue. Submitted by: delphij END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:52:45.323161Z K 7 svn:log V 34 MFC: r203731 Some style(9) fixes END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T19:52:45.997226Z K 7 svn:log V 34 MFC: r203731 Some style(9) fixes END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-03-30T19:54:29.288054Z K 7 svn:log V 40 fix my clobber of the copyright date :) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:02:26.996975Z K 7 svn:log V 1594 MFC: r203829 - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware of Sun Fire V1280 doesn't round up the size itself but instead lets claiming of non page-sized amounts of memory fail. - Change parameters and variables related to the TLB slots to unsigned which is more appropriate. - Search the whole OFW device tree instead of only the children of the root nexus device for the BSP as starting with UltraSPARC IV the 'cpu' nodes hang off of from 'cmp' (chip multi-threading processor) or 'core' or combinations thereof. Also in large UltraSPARC III based machines the 'cpu' nodes hang off of 'ssm' (scalable shared memory) nodes which group snooping-coherency domains together instead of directly from the nexus. - Add support for UltraSPARC IV and IV+ BSPs. Due to the fact that these are multi-core each CPU has two Fireplane config registers and thus the module/target ID has to be determined differently so the one specific to a certain core is used. Similarly, starting with UltraSPARC IV the individual cores use a different property in the OFW device tree to indicate the CPU/core ID as it no longer is in coincidence with the shared slot/socket ID. While at it additionally distinguish between CPUs with Fireplane and JBus interconnects as these also use slightly different sizes for the JBus/agent/module/target IDs. - Check the return value of init_heap(). This requires moving it after cons_probe() so we can panic when appropriate. This should be fine as the PowerPC OFW loader uses that order for quite some time now. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:02:28.578237Z K 7 svn:log V 1594 MFC: r203829 - Assert that HEAPSZ is a multiple of PAGE_SIZE as at least the firmware of Sun Fire V1280 doesn't round up the size itself but instead lets claiming of non page-sized amounts of memory fail. - Change parameters and variables related to the TLB slots to unsigned which is more appropriate. - Search the whole OFW device tree instead of only the children of the root nexus device for the BSP as starting with UltraSPARC IV the 'cpu' nodes hang off of from 'cmp' (chip multi-threading processor) or 'core' or combinations thereof. Also in large UltraSPARC III based machines the 'cpu' nodes hang off of 'ssm' (scalable shared memory) nodes which group snooping-coherency domains together instead of directly from the nexus. - Add support for UltraSPARC IV and IV+ BSPs. Due to the fact that these are multi-core each CPU has two Fireplane config registers and thus the module/target ID has to be determined differently so the one specific to a certain core is used. Similarly, starting with UltraSPARC IV the individual cores use a different property in the OFW device tree to indicate the CPU/core ID as it no longer is in coincidence with the shared slot/socket ID. While at it additionally distinguish between CPUs with Fireplane and JBus interconnects as these also use slightly different sizes for the JBus/agent/module/target IDs. - Check the return value of init_heap(). This requires moving it after cons_probe() so we can panic when appropriate. This should be fine as the PowerPC OFW loader uses that order for quite some time now. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:05:20.459370Z K 7 svn:log V 608 MFC: r203830, r203831 Use the SUNW,{d,i}tlb-load methods for entering locked TLB entries like OpenBSD and OpenSolaris do instead of fiddling with the MMUs ourselves. Unlike direct access the firmware methods don't automatically use the next free (?) TLB slot, instead the slot to be used has to be specified. We allocate the TLB slots for the kernel top-down as OpenSolaris suggests that the firmware will always allocate the ones for its own use bottom-up. Besides being simpler, according to OpenBSD using the firmware methods is required to allow booting on Sun Fire E10K with multi-systemboard domains. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:05:22.753027Z K 7 svn:log V 608 MFC: r203830, r203831 Use the SUNW,{d,i}tlb-load methods for entering locked TLB entries like OpenBSD and OpenSolaris do instead of fiddling with the MMUs ourselves. Unlike direct access the firmware methods don't automatically use the next free (?) TLB slot, instead the slot to be used has to be specified. We allocate the TLB slots for the kernel top-down as OpenSolaris suggests that the firmware will always allocate the ones for its own use bottom-up. Besides being simpler, according to OpenBSD using the firmware methods is required to allow booting on Sun Fire E10K with multi-systemboard domains. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:12:42.910041Z K 7 svn:log V 576 MFC: r203833 - At least the trap table of the Sun Fire V1280 firmware apparently has no cleanwindows handler so just remove trying to trigger it from _start and the AP trampoline code as that leads to a crash there. This should be okay as leaking data from the OFW via the CPU registers on start of the kernel should be no real concern. - Make the comments of _start and the AP trampoline code regarding the initializations they perform match each other and reality. - Make the comments of the AP trampoline code regarding iTLB accesses refer to the right macro. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:12:46.325344Z K 7 svn:log V 576 MFC: r203833 - At least the trap table of the Sun Fire V1280 firmware apparently has no cleanwindows handler so just remove trying to trigger it from _start and the AP trampoline code as that leads to a crash there. This should be okay as leaking data from the OFW via the CPU registers on start of the kernel should be no real concern. - Make the comments of _start and the AP trampoline code regarding the initializations they perform match each other and reality. - Make the comments of the AP trampoline code regarding iTLB accesses refer to the right macro. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:29:45.326640Z K 7 svn:log V 1784 MFC: r203838 - Search the whole OFW device tree instead of only the children of the root nexus device for the CPUs as starting with UltraSPARC IV the 'cpu' nodes hang off of from 'cmp' (chip multi-threading processor) or 'core' or combinations thereof. Also in large UltraSPARC III based machines the 'cpu' nodes hang off of 'ssm' (scalable shared memory) nodes which group snooping-coherency domains together instead of directly from the nexus. It would be great if we could use newbus to deal with the different ways the 'cpu' devices can hang off of pseudo ones but unfortunately both cpu_mp_setmaxid() and sparc64_init() have to work prior to regular device probing. - Add support for UltraSPARC IV and IV+ CPUs. Due to the fact that these are multi-core each CPU has two Fireplane config registers and thus the module/target ID has to be determined differently so the one specific to a certain core is used. Similarly, starting with UltraSPARC IV the individual cores use a different property in the OFW device tree to indicate the CPU/core ID as it no longer is in coincidence with the shared slot/socket ID. This involves changing the MD KTR code to not directly read the UPA module ID either. We use the MID stored in the per-CPU data instead of calling cpu_get_mid() as a replacement in order prevent clobbering any registers as side-effect in the assembler version. This requires CATR() invocations from mp_startup() prior to mapping the per-CPU pages to be removed though. While at it additionally distinguish between CPUs with Fireplane and JBus interconnects as these also use slightly different sizes for the JBus/agent/module/target IDs. - Make sparc64_shutdown_final() static as it's not used outside of machdep.c. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:29:45.982205Z K 7 svn:log V 1784 MFC: r203838 - Search the whole OFW device tree instead of only the children of the root nexus device for the CPUs as starting with UltraSPARC IV the 'cpu' nodes hang off of from 'cmp' (chip multi-threading processor) or 'core' or combinations thereof. Also in large UltraSPARC III based machines the 'cpu' nodes hang off of 'ssm' (scalable shared memory) nodes which group snooping-coherency domains together instead of directly from the nexus. It would be great if we could use newbus to deal with the different ways the 'cpu' devices can hang off of pseudo ones but unfortunately both cpu_mp_setmaxid() and sparc64_init() have to work prior to regular device probing. - Add support for UltraSPARC IV and IV+ CPUs. Due to the fact that these are multi-core each CPU has two Fireplane config registers and thus the module/target ID has to be determined differently so the one specific to a certain core is used. Similarly, starting with UltraSPARC IV the individual cores use a different property in the OFW device tree to indicate the CPU/core ID as it no longer is in coincidence with the shared slot/socket ID. This involves changing the MD KTR code to not directly read the UPA module ID either. We use the MID stored in the per-CPU data instead of calling cpu_get_mid() as a replacement in order prevent clobbering any registers as side-effect in the assembler version. This requires CATR() invocations from mp_startup() prior to mapping the per-CPU pages to be removed though. While at it additionally distinguish between CPUs with Fireplane and JBus interconnects as these also use slightly different sizes for the JBus/agent/module/target IDs. - Make sparc64_shutdown_final() static as it's not used outside of machdep.c. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:38:18.411291Z K 7 svn:log V 26 MFC: r203839 Style fixes END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:38:20.113760Z K 7 svn:log V 26 MFC: r203839 Style fixes END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:39:47.589768Z K 7 svn:log V 49 MFC: r203843 Resurrect nexusvar.h from r167307. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:39:48.598164Z K 7 svn:log V 49 MFC: r203843 Resurrect nexusvar.h from r167307. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-03-30T20:39:57.571874Z K 7 svn:log V 85 nit: xpt_bus_deregister has to be called with the sim lock held. MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:44:04.136345Z K 7 svn:log V 433 MFC: r203845 - Add the 'cmp' and 'core' pseudo-busses which are used to group CPU cores to the exclusion lists as the CPU nodes aren't handled as regular devices either. Also add the pseudo-devices found in Sun Fire V1280. - Allow nexus_attach() and nexus_alloc_resource() to be used by drivers derived from nexus(4) for subordinate busses. - Don't add the zero-sized memory resources of glue devices to the resource lists. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:44:05.451138Z K 7 svn:log V 433 MFC: r203845 - Add the 'cmp' and 'core' pseudo-busses which are used to group CPU cores to the exclusion lists as the CPU nodes aren't handled as regular devices either. Also add the pseudo-devices found in Sun Fire V1280. - Allow nexus_attach() and nexus_alloc_resource() to be used by drivers derived from nexus(4) for subordinate busses. - Don't add the zero-sized memory resources of glue devices to the resource lists. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:46:09.985810Z K 7 svn:log V 43 MFC: r203846 Predict KASSERTs to be true. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-30T20:46:10.222906Z K 7 svn:log V 43 MFC: r203846 Predict KASSERTs to be true. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-30T21:11:16.655497Z K 7 svn:log V 198 For where possible, make the dates of the Tasmanian holidays properly variable. The leftover ones are the Thursday before the Fourth Saturday of October (Oct/SatFourth-2) which is not possible yet. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-30T21:54:25.407088Z K 7 svn:log V 182 Sync with OpenBSD: - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc. Obtained from: OpenBSD MFC after: 1 month END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-03-30T22:31:30.662817Z K 7 svn:log V 812 Call init_packages() in pm_pkg_create() so that if a parallel portmaster cleaned up empty package directories we can still create packages. Also, call init_packages() unconditionally in -s mode. The function has been optimized sufficiently so that concerns about doing duplicate work are no longer valid, and it's safer at this point to just do it. Add a pm_sv() for printing verbose messages when using sudo, and convert existing messages to use it. This cleans up the code quite a bit, and will also help in debugging efforts. Use pm_make_s (sudo version) for the 'clean' target. In the normal case this is not necessary since the port is built as the unprivileged user, however some ports (e.g., thunderbird-3) do 'stuff' in the 'install' target (which is priviliged) that the unprivileged user can't undo. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-30T23:10:56.250379Z K 7 svn:log V 21 Remove unused files. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-03-30T23:11:50.531793Z K 7 svn:log V 432 This patch should fix handling of byte range locks locally on the server for the experimental nfs server. When enabled by setting vfs.newnfs.locallocks_enable to non-zero, the experimental nfs server will now acquire byte range locks on the file on behalf of NFSv4 clients, such that lock conflicts between the NFSv4 clients and processes running locally on the server, will be recognized and handled correctly. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-30T23:14:35.648148Z K 7 svn:log V 107 Merge OpenBSD revisions 1.4 through 1.9, mostly style cleanups. Obtained from: OpenBSD MFC after: 3 month END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-30T23:15:06.757235Z K 7 svn:log V 142 Add a framebuffer console, and print the standard things that loader prints when it begins. printf() will make development much, much easier. END K 10 svn:author V 2 np K 8 svn:date V 27 2010-03-31T00:19:39.720985Z K 7 svn:log V 98 Refresh the firmware version immediately after it is upgraded (or downgraded). MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-03-31T00:21:56.983216Z K 7 svn:log V 46 Improved PHY EDC settings. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-03-31T00:22:58.244765Z K 7 svn:log V 92 Do not attempt to retrieve interrupt information before it is available. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-03-31T00:24:44.513996Z K 7 svn:log V 68 Fix build with "nooptions INET" Requested by: bz MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-03-31T00:26:02.418474Z K 7 svn:log V 43 Fix tx drop statistics. MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2010-03-31T00:26:35.776465Z K 7 svn:log V 78 Fix signed/unsigned mix-up that allowed txq->in_use to grow beyond txq->size. END K 10 svn:author V 2 np K 8 svn:date V 27 2010-03-31T00:27:49.835137Z K 7 svn:log V 484 Multiple fixes related to queue set sizing and resources: - Only the tunnelq (TXQ_ETH) requires a buf_ring, an ifq, and the watchdog/timer callouts. Do not allocate these for the other tx queues. - Use 16k jumbo clusters only on offload capable cards by default. - Do not allocate a full tx ring for the offload queue if the card is not offload capable. - Slightly better freelist size calculation. - Fix nmbjumbo4 typo, remove unneeded global variables. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-31T00:41:32.897609Z K 7 svn:log V 78 MFC r204533: Add PCI ID for MCS9901. Submitted by: gcooper PR: kern/144397 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-31T00:42:18.682785Z K 7 svn:log V 78 MFC r204533: Add PCI ID for MCS9901. Submitted by: gcooper PR: kern/144397 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-31T01:51:08.759465Z K 7 svn:log V 163 A last-minute change in the previous commit broke rule deletion, so i am fixing it, this time with a more detailed description of what the code is supposed to do. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-31T02:12:24.391659Z K 7 svn:log V 510 Be like stdlib.h and bring in a wchar_t definition and use it to prototype wcstoimax and wcstoumax, rather than spelling it __wchar_t. This is necessary to use these functions in C++ where wchar_t is different to __wchar_t and is a built-in type. It may be better to use __wchar_t here and to simply define __wchar_t as being wchar_t in C++ mode rather than to bring in wchar_t, but this is less invasive and follows our existing practice, and restores wchar_t usage in this file to what it was before r1.8. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-31T02:20:22.935623Z K 7 svn:log V 86 fix bug in previous commit related to rule deletion (stable/8 just fixed moments ago) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-31T02:43:58.352702Z K 7 svn:log V 904 MFC rev 198341 and 198342: o Introduce vm_sync_icache() for making the I-cache coherent with the memory or D-cache, depending on the semantics of the platform. vm_sync_icache() is basically a wrapper around pmap_sync_icache(), that translates the vm_map_t argumument to pmap_t. o Introduce pmap_sync_icache() to all PMAP implementation. For powerpc it replaces the pmap_page_executable() function, added to solve the I-cache problem in uiomove_fromphys(). o In proc_rwmem() call vm_sync_icache() when writing to a page that has execute permissions. This assures that when breakpoints are written, the I-cache will be coherent and the process will actually hit the breakpoint. o This also fixes the Book-E PMAP implementation that was missing necessary locking while trying to deal with the I-cache coherency in pmap_enter() (read: mmu_booke_enter_locked). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-31T03:14:40.501277Z K 7 svn:log V 125 MFC rev 198431: Have the early USB takeover only enabled for i386 and amd64 by default. This also avoids a panic on PowerPC. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-31T03:20:14.945261Z K 7 svn:log V 189 MFC revs 199502, 199566 and 199574: Add a seatbelt to the Nested TLB Fault handler to give us a chance to panic when we have an unexpected TLB fault while interrupt collection is disabled. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-03-31T03:58:57.714364Z K 7 svn:log V 195 Add support for ALQ(9) to be compiled and loaded as a kernel module. Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson Approved by: kmacy (mentor) MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-31T05:05:28.086272Z K 7 svn:log V 317 MFC rev 199727, 200888, 201031, 202904, 203054, 203106, 203572, 203884, 204183, 204184, 204185, 204425, 204904, 204905, 205172, 205234, 205357, 205428, 205429, 205431, 205432, 205433, 205434, 205435, 205454, 205665, 205713, 205723, 205726 and 205727: Bring ia64 machine-dependent changes from 9-current to 8-stable. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-31T05:23:35.136003Z K 7 svn:log V 85 , and removed on ia64. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-31T06:37:44.054068Z K 7 svn:log V 33 Sync with freshly commited code. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-31T06:49:39.974359Z K 7 svn:log V 14 Syn with head END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-31T06:50:25.171689Z K 7 svn:log V 84 Be able to use "Month/DoW(+-)\d+" as alternative for Last, First, second third etc. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-31T07:10:40.421566Z K 7 svn:log V 123 MFC r205809: Wait for pmc name in the log before displaying data. This will solve an abort in case of low throughput PMCs. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-31T07:12:12.541311Z K 7 svn:log V 123 MFC r205809: Wait for pmc name in the log before displaying data. This will solve an abort in case of low throughput PMCs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T07:20:10.203342Z K 7 svn:log V 139 Include opt_ata.h, as some structures here depending on ATA_CAM option. This fixes ATA_CAM with atamvsata and probably some other drivers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T07:49:59.465056Z K 7 svn:log V 121 MFC r205074: Mask disk_idx to avoid panic because of extra bits set. PR: kern/102211 Submitted by: yoichi END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T07:52:48.531697Z K 7 svn:log V 121 MFC r205074: Mask disk_idx to avoid panic because of extra bits set. PR: kern/102211 Submitted by: yoichi END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T07:56:32.204626Z K 7 svn:log V 139 MFC r205422: - Spec tells that CCC interrupt is edge triggered. Acknowledge it as such. - Do not try to enable CCC if it is not supported. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T08:02:16.593508Z K 7 svn:log V 38 MFC r205413: Add some more codec IDs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T08:03:49.548425Z K 7 svn:log V 60 MFC r205734: Fix lock leakage. PR: kern/145081 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T08:12:22.490847Z K 7 svn:log V 84 MFC r204655: Add some more supported controllers. Crosslink with CAM ATA man pages. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T08:14:07.088202Z K 7 svn:log V 44 MFC r204704: Reflect added CAM ATA support. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T08:15:32.864098Z K 7 svn:log V 69 MFC r204565: Some style and language improvements. Submitted by: ru END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T08:17:32.911793Z K 7 svn:log V 34 MFC r204705: Add links to cam(4). END K 10 svn:author V 3 des K 8 svn:date V 27 2010-03-31T12:22:55.688578Z K 7 svn:log V 13 useless cast END K 10 svn:author V 8 keramida K 8 svn:date V 27 2010-03-31T12:52:19.730085Z K 7 svn:log V 168 Document DEBUG_FLAGS in a more visible place, in the build(7) manpage Noticed by: Alexander Best Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 4 gahr K 8 svn:date V 27 2010-03-31T13:51:31.492468Z K 7 svn:log V 106 MFC r205606 Remove const'ness from dlerror(3) prototype, for consistency with POSIX. Approved by: cognet END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-31T14:42:07.609816Z K 7 svn:log V 369 Stop hard coding i386 as the arch for the build. Instead, default to the processor we're running on. Also, supply amd64 version of create_diskimage that's the same as i386's. # didn't fix the confusion between using the processor for this and using # the machine (which would be more appropriate). NANO_ARCH smashes the two # together right now. MFC after: 7 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-31T15:32:36.328836Z K 7 svn:log V 466 MFC: r205297, r205347, r205452, r205455, r205649, r205650 Sync. x86bios with HEAD. - Detect illegal access to unmapped memory within real mode emulator. - Map EBDA if available and support memory wraparound above 1MB as VM86 does. - Set initial %ds to 0x40 as X.org int10 handler does. - Print the initial memory map when bootverbose is set. - Optimize real mode page table lookup. - Add strictly aligned memory access for distant future. - Update copyright date. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-31T15:39:46.876607Z K 7 svn:log V 281 MFC: r205550, r205605, r205865 Sync. pixel mode support for syscons(4) with HEAD. - Separate 24-bit pixel draw from 32-bit case. Although it is slower, we do not want to write a useless zero to inaccessible memory region. - We only want the dummy palette for direct color mode. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-31T15:45:11.214241Z K 7 svn:log V 779 MFC: r205557, r205558, r205564, r205566, r205604, r205653 Sync. pixel mode support for VESA and VGA frame buffers with HEAD. - Map entire video memory again. Although we do not use them all directly, it seems VGA renderer may access unmapped memory region and cause kernel panic. - Fall back to VGA palette functions if VESA function failed and DAC is still in 6-bit mode. Although we have to check non-VGA compatibility bit here, it seems there are too many broken VESA BIOSes out to rely on it. - Be careful when we determine bytes per scan line information. We compare mode table data against minimum value. If the mode table does not make sense, we set the minimum in the mode info. - Teach VGA framebuffer about 8-bit palette format for VESA. - Add my copyright here. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-31T15:49:10.288629Z K 7 svn:log V 42 MFC: r197185 Enable BIOS modes on amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-31T16:01:48.240715Z K 7 svn:log V 236 MFC: r205855 Print memory model of the video mode except for planar memory model. 'P', 'D', 'C', 'H', and 'V' mean packed pixel, direct color, CGA, Hercules, and VGA X memory models respectively where they have fixed number of planes. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-03-31T16:07:36.492049Z K 7 svn:log V 81 Constify vap argument of ieee80211_{note,discard}* functions. MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-03-31T16:42:22.085687Z K 7 svn:log V 30 Fix poll handler declaration. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-03-31T16:55:47.467726Z K 7 svn:log V 136 indent(1): correctly handle case/label at the very start of a function Obtained from: NetBSD (rev. 1.11 of indent.c) MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-03-31T17:05:30.088825Z K 7 svn:log V 146 indent(1): add a new option, -ta, to treat all *_t identifiers as types Submitted by: Hans Petter Selasky Discussed with: bde MFC after: 10 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-31T17:13:59.526002Z K 7 svn:log V 35 Import zlib 1.2.4.1 beta (trimmed) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-31T17:14:32.701032Z K 7 svn:log V 18 Tag zlib 1.2.4.1. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-31T17:40:13.933125Z K 7 svn:log V 103 Make -r mean exactly the same thing as -E for increased compatibility with GNU sed. MFC after: 7 days END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-03-31T17:47:57.883589Z K 7 svn:log V 245 For unhandled actions in xpt_action_default, remember to call xpt_done for queued requests. This solves the problem of indefinite hangs for unspecified transports when XPT_SCAN_BUS is called. A few minor cosmetics elsewhere. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-31T18:18:37.855844Z K 7 svn:log V 322 Two fixes: (1) We don't need a custom install_kernel. We can install without symbols by adding INSTALL_NODEBUG (which likely should be WITHOUT_KERNEL_SYMBOLS_FILE, or something shorter) to CONF_INSTALL (2) for make buildenv stage, use NANO_MAKE_CONF_BUILD rather than the non-existant NANO_MAKE_CONF. MFC after: 7 days END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-03-31T18:21:25.014240Z K 7 svn:log V 738 Sync fortunes with other *BSDs - Spelling errors - Typographical fixes - Consistent attributions - Use Jr. more consistently - Capitalization of dictionary-like entries - Sorting using tools/do_sort - Remove duplicate fortunes - Style according to the Notes file - Reflect correct default fortune name in Notes - Remove some no longer needed spelling hints - Drop latin1 characters (sorry MÃ¥rten) This is a partial sync against the DragonflyBSD sources, where a lot of fixes from Free, Net and OpenBSD were merged previously. Only about 50% of the changes originate from there, the rest was done by dougb and yours truly. Partial review by: wilko (earlier version), ed (dito) In collaboration with: dougb Approved by: ed (co-mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-31T18:36:04.398826Z K 7 svn:log V 120 Add prototypes for libc private interfaces. While I'm there, apply __unused whenever appropriate. Reviewed by: md5(1) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-31T18:37:00.571025Z K 7 svn:log V 44 Add prototype for libc internal interfaces. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-03-31T20:00:44.956383Z K 7 svn:log V 186 If there is multiple PMCs for the same interrupt ignore new post. This will indirectly fix a bug where the thread will be pinned forever if the assert is not compiled. MFC after: 3days END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-31T20:15:20.311528Z K 7 svn:log V 23 ng_gif depends on gif. END