aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused GPL files from tcsh.David E. O'Brien2011-04-2833-736/+1
| | | | Notes: svn path=/head/; revision=221170
* Exar driver for X3100 10GbE Server/Storage adaptersGeorge V. Neville-Neil2011-04-2870-0/+107755
| | | | | | | | | | | Features: Jumbo frames (up to 9600), LRO (Large Receive Offload), TSO (TCP segmentation offload), RTH (Receive Traffic Hash). Submitted by: Sriram Rapuru at Exar MFC after: 2 weeks Notes: svn path=/head/; revision=221167
* Sync with several changes in UFS/FFS:John Baldwin2011-04-288-69/+168
| | | | | | | | | | | | | | | | | | | | | | | | - 77115: Implement support for O_DIRECT. - 98425: Fix a performance issue introduced in 70131 that was causing reads before writes even when writing full blocks. - 98658: Rename the BALLOC flags from B_* to BA_* to avoid confusion with the struct buf B_ flags. - 100344: Merge the BA_ and IO_ flags so so that they may both be used in the same flags word. This merger is possible by assigning the IO_ flags to the low sixteen bits and the BA_ flags the high sixteen bits. - 105422: Fix a file-rewrite performance case. - 129545: Implement IO_INVAL in VOP_WRITE() by marking the buffer as "no cache". - Readd the DOINGASYNC() macro and use it to control asynchronous writes. Change i-node updates to honor DOINGASYNC() instead of always being synchronous. - Use a PRIV_VFS_RETAINSUGID check instead of checking cr_uid against 0 directly when deciding whether or not to clear suid and sgid bits. Submitted by: Pedro F. Giffuni giffunip at yahoo Notes: svn path=/head/; revision=221166
* Re-enable the wireless build parameters for the AR9130 WMAC.Adrian Chadd2011-04-281-12/+15
| | | | | | | | | | * enable 11n * add ath_ahb so the AHB<->ath glue is linked in * disable descriptor order swapping, it isn't needed here * disable interrupt mitigation, it isn't supported here Notes: svn path=/head/; revision=221164
* Introduce AR9130 (HOWL) WMAC support to the FreeBSD HAL.Adrian Chadd2011-04-2819-93/+1376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AR9130 is an AR9160/AR5416 family WMAC which is glued directly to the AR913x SoC peripheral bus (APB) rather than via a PCI/PCIe bridge. The specifics: * A new build option is required to use the AR9130 - AH_SUPPORT_AR9130. This is needed due to the different location the RTC registers live with this chip; hopefully this will be undone in the future. This does currently mean that enabling this option will break non-AR9130 builds, so don't enable it unless you're specifically building an image for the AR913x SoC. * Add the new probe, attach, EEPROM and PLL methods specific to Howl. * Add a work-around to ah_eeprom_v14.c which disables some of the checks for endian-ness and magic in the EEPROM image if an eepromdata block is provided. This'll be fixed at a later stage by porting the ath9k probe code and making sure it doesn't break in other setups (which my previous attempt at this did.) * Sprinkle Howl modifications throughput the interrupt path - it doesn't implement the SYNC interrupt registers, so ignore those. * Sprinkle Howl chip powerup/down throughout the reset path; the RTC methods were * Sprinkle some other Howl workarounds in the reset path. * Hard-code an alternative setup for the AR_CFG register for Howl, that sets up things suitable for Big-Endian MIPS (which is the only platform this chip is glued to.) This has been tested on the AR913x based TP-Link WR-1043nd mode, in legacy, HT/20 and HT/40 modes. Caveats: * 2ghz has only been tested. I've not seen any 5ghz radios glued to this chipset so I can't test it. * AR5416_INTERRUPT_MITIGATION is not supported on the AR9130. At least, it isn't implemented in ath9k. Please don't enable this. * This hasn't been tested in MBSS mode or in RX/TX block-aggregation mode. Notes: svn path=/head/; revision=221163
* executableDag-Erling Smørgrav2011-04-281-0/+0
| | | | Notes: svn path=/head/; revision=221161
* Add the IP2 DDR flush handlers.Adrian Chadd2011-04-283-2/+17
| | | | | | | These aren't yet used in the interrupt handler path but should be. Notes: svn path=/head/; revision=221160
* Update man pages related to the change in default NFS clientRick Macklem2011-04-282-11/+58
| | | | | | | | | applied by r221124. I also deleted references to idmapd, since that daemon no longer exists. This is a content change. Notes: svn path=/head/; revision=221145
* whitespace nit - sorry for the churnDag-Erling Smørgrav2011-04-271-2/+2
| | | | Notes: svn path=/head/; revision=221144
* whitespace nitDag-Erling Smørgrav2011-04-271-1/+1
| | | | Notes: svn path=/head/; revision=221143
* Protect the reachover built symbols after the SHA256/512 crypt(3) addition.David E. O'Brien2011-04-271-1/+3
| | | | Notes: svn path=/head/; revision=221142
* Fix module names and dependencies so the NFS clients willRick Macklem2011-04-273-7/+11
| | | | | | | load correctly as modules after r221124. Notes: svn path=/head/; revision=221139
* Only align MSI message groups based on the number of messages beingJohn Baldwin2011-04-271-1/+1
| | | | | | | | | | | | | | allocated, not the maximum number of messages the device supports. The spec only requires the former, and I believe I implemented the latter due to misunderstanding an e-mail. In particular, this fixes an issue where having several devices that all support 16 messages can run out of IDT vectors on x86 even though the driver only uses a single message. Submitted by: Bret Ketchum bcketchum of gmail MFC after: 1 week Notes: svn path=/head/; revision=221138
* MfP4 CH=192029:Bjoern A. Zeeb2011-04-272-13/+18
| | | | | | | | | | | | | | | Expose ip_icmp.c to INET6 as well and only export badport_bandlim() along with the two sysctls in the non-INET case. The bandlim types work for all cases I reviewed in IPv6 as well and the sysctls are available as we export net.inet.* from in_proto.c. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days Notes: svn path=/head/; revision=221134
* Make pf compile without INET support by adding #ifdef INETs andBjoern A. Zeeb2011-04-273-4/+16
| | | | | | | | | | | | correcting few #includes. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days Notes: svn path=/head/; revision=221132
* MfP4 CH=192004:Bjoern A. Zeeb2011-04-272-5/+5
| | | | | | | | | | | | | | Move ip_defttl to raw_ip.c where it is actually used. In an IPv6 only world we do not want to compile ip_input.c in for that and it is a shared default with INET6. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days Notes: svn path=/head/; revision=221131
* Make various (pseudo) interfaces compile without INET in the kernelBjoern A. Zeeb2011-04-274-14/+73
| | | | | | | | | | | | | adding appropriate #ifdefs. For module builds the framework needs adjustments for at least carp. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days Notes: svn path=/head/; revision=221130
* Make IPsec compile without INET adding appropriate #ifdef checks.Bjoern A. Zeeb2011-04-278-67/+118
| | | | | | | | | | | | | | | Unfold the IPSEC_COMMON_INPUT_CB() macro in xform_{ah,esp,ipcomp}.c to not need three different versions depending on INET, INET6 or both. Mark two places preparing for not yet supported functionality with IPv6. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days Notes: svn path=/head/; revision=221129
* Use a private EXT2_ROOTINO constant instead of redefining ROOTINO.John Baldwin2011-04-274-9/+9
| | | | | | | Submitted by: Pedro F. Giffuni giffunip at yahoo Notes: svn path=/head/; revision=221128
* This patch is believed to fix a problem in the kernel rpc forRick Macklem2011-04-274-6/+11
| | | | | | | | | | | | | | | | | non-interruptible NFS mounts, where a kernel thread will seem to be stuck sleeping on "rpccon". The msleep() in clnt_vc_create() that was waiting to a TCP connect to complete would return ERESTART, since PCATCH was specified. Then the tsleep() in clnt_reconnect_call() would sleep for 1 second and then try again and again and... The patch changes the msleep() in clnt_vc_create() so it only sets the PCATCH flag for interruptible cases. Tested by: pho Reviewed by: jhb MFC after: 2 weeks Notes: svn path=/head/; revision=221127
* Various style fixes including using uint*_t instead of u_int*_t.John Baldwin2011-04-275-105/+116
| | | | | | | Submitted by: Pedro F. Giffuni giffunip at yahoo Notes: svn path=/head/; revision=221126
* This patch changes head so that the default NFS client is now the newRick Macklem2011-04-2714-29/+43
| | | | | | | | | | | | | | | | | NFS client (which I guess is no longer experimental). The fstype "newnfs" is now "nfs" and the regular/old NFS client is now fstype "oldnfs". Although mounts via fstype "nfs" will usually work without userland changes, an updated mount_nfs(8) binary is needed for kernels built with "options NFSCL" but not "options NFSCLIENT". Updated mount_nfs(8) and mount(8) binaries are needed to do mounts for fstype "oldnfs". The GENERIC kernel configs have been changed to use options NFSCL and NFSD (the new client and server) instead of NFSCLIENT and NFSSERVER. For kernels being used on diskless NFS root systems, "options NFSCL" must be in the kernel config. Discussed on freebsd-fs@. Notes: svn path=/head/; revision=221124
* Raise rlogin back to a WARNS level of 6.John Baldwin2011-04-271-2/+0
| | | | | | | Tested by: make universe Notes: svn path=/head/; revision=221123
* - Add the possibility to reuse the already last used timeout when pattingAttilio Rao2011-04-273-21/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | the watchdog, via the watchdog(9) interface. For that, the WD_LASTVAL bitwise operation is used. It is mutually exclusive with any explicit timout passing to the watchdogs. The last timeout can be returned via the wdog_kern_last_timeout() KPI. - Add the possibility to pat the watchdogs installed via the watchdog(9) interface from the kernel. In order to do that the new KPI wdog_kern_pat() is offered and it does accept normalized nanoseconds or WD_LASTVAL. - Avoid to pass WD_ACTIVE down in the watchdog handlers. All the control bit processing should over to the upper layer functions and not passed down to the handlers at all. These changes are intended to be used in order to fix up the watchdog tripping in situation when the userland is busted, but protection is still wanted (examples: shutdown syncing / disk dumping). Sponsored by: Sandvine Incorporated Reviewed by: emaste, des, cognet MFC after: 2 weeks Notes: svn path=/head/; revision=221121
* Fix typo in "continuously" argument used in patrol auto command.Sergey Kandaurov2011-04-271-1/+1
| | | | | | | | | Obtained from: Sascha Wildner <saw att online dott de> Approved by: jhb MFC after: 3 days Notes: svn path=/head/; revision=221119
* Add DragonFly 2.10.1 release.Sergey Kandaurov2011-04-271-1/+2
| | | | Notes: svn path=/head/; revision=221118
* Be clear of what licensing terms we are using.David E. O'Brien2011-04-272-674/+8
| | | | Notes: svn path=/head/; revision=221115
* Add obvious note that CAM drivers are required for using CAM ATA.Alexander Motin2011-04-271-0/+3
| | | | Notes: svn path=/head/; revision=221114
* Fix copy-paste bug.Marcel Moolenaar2011-04-271-1/+1
| | | | Notes: svn path=/head/; revision=221112
* Mechanical whitespace cleanup.Dag-Erling Smørgrav2011-04-276-36/+35
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=221110
* Fix boo-boo in previous commit.Dag-Erling Smørgrav2011-04-271-7/+7
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=221108
* Alphabetize the options. No date bump since no actual change to the text.Dag-Erling Smørgrav2011-04-271-4/+4
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=221107
* Rename alloc_unr(9) to unr(9) and adjust the links accordingly.Dag-Erling Smørgrav2011-04-272-7/+8
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=221103
* Use ACPI-supplied CPU frequencies instead of estimated ones as we are aboutJung-uk Kim2011-04-271-3/+3
| | | | | | | | | to use other values from the same table anyway. MFC after: 3 days Notes: svn path=/head/; revision=221102
* Implement relaxed comparision for hardcoded provider names to make itAlexander Motin2011-04-279-10/+53
| | | | | | | | ignore adX/adaY difference in both directions to simplify migration to the CAM-based ATA or back. Notes: svn path=/head/; revision=221101
* Reap old SPL comments.David E. O'Brien2011-04-261-35/+2
| | | | | | | Reviewed by: alc Notes: svn path=/head/; revision=221096
* MFV of tzdata2011g, 221089.Edwin Groothuis2011-04-263-8/+22
|\ | | | | | | | | | | | | - Egypt has cancelled the move to DST for now. Notes: svn path=/head/; revision=221092
| * Vendor import of tzdata2011g:vendor/tzdata/tzdata2011gEdwin Groothuis2011-04-263-8/+22
| | | | | | | | | | | | | | | | | | | | - Egypt has cancelled the adjustment into DST for now. Obtained from: ftp://elsie.nci.nih.gov/pub/ Notes: svn path=/vendor/tzdata/dist/; revision=221089 svn path=/vendor/tzdata/tzdata2011g/; revision=221090; tag=vendor/tzdata/tzdata2011g
* | Revert r221053 by replacing WARNS?= 3 since it's breaking the build onDoug Barton2011-04-261-0/+2
| | | | | | | | | | | | | | several arches. Notes: svn path=/head/; revision=221088
* | If the 4BSD scheduler tries to schedule a thread that has been pinned orRyan Stone2011-04-261-19/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | bound to an AP before SMP has started, the system will panic when we try to touch per-CPU state for that AP because that state has not been initialized yet. Fix this in the same way as ULE: place all threads in the global run queue before SMP has started. Reviewed by: jhb MFC after: 1 month Notes: svn path=/head/; revision=221081
* | Generate the network byte order version of the window size structure in aJohn Baldwin2011-04-261-6/+6
| | | | | | | | | | | | | | | | | | | | temporary variable on the stack and then copy that into the output buffer so that the htons() conversions use aligned accesses. MFC after: 1 month Notes: svn path=/head/; revision=221079
* | Add missing ifdef. This fixes build with NO_OPENSSL.Mikolaj Golub2011-04-261-0/+2
| | | | | | | | | | | | | | | | | | Reported by: Pawel Tyll <ptyll@nitronet.pl> Approved by: pjd (mentor) MFC after: 1 week Notes: svn path=/head/; revision=221078
* | The maximum NCM frame size must be so that itHans Petter Selasky2011-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | will generate a short terminated USB transfer if the maximum NCM frame size is greater than what the driver can handle. Reported by: Matthias Benesch MFC after: 7 days Approved by: thompsa (mentor) Notes: svn path=/head/; revision=221077
* | Rename HASTCTL_ defines, which are used for conversion between mainMikolaj Golub2011-04-263-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | hastd process and workers, remove unused one and set different range of numbers. This is done in order not to confuse them with HASTCTL_CMD defines, used for conversation between hastctl and hastd, and to avoid bugs like the one fixed in in r221075. Approved by: pjd (mentor) MFC after: 1 week Notes: svn path=/head/; revision=221076
* | For conversation between hastctl and hastd we should use HASTCTL_CMDMikolaj Golub2011-04-261-5/+5
| | | | | | | | | | | | | | | | | | | | defines. Approved by: pjd (mentor) MFC after: 1 week Notes: svn path=/head/; revision=221075
* | Fix assert messages.Mikolaj Golub2011-04-261-2/+2
| | | | | | | | | | | | | | Approved by: pjd (mentor) Notes: svn path=/head/; revision=221074
* | Fix for missing EHCI datatoggle change case.Hans Petter Selasky2011-04-261-0/+2
| | | | | | | | | | | | | | | | | | Reported by: Mike Tancsa MFC after: 3 days Approved by: thompsa (mentor) Notes: svn path=/head/; revision=221073
* | - Add shim to simplify migration to the CAM-based ATA. For each new adaXAlexander Motin2011-04-2616-6/+119
| | | | | | | | | | | | | | | | | | | | | | | | device in /dev/ create symbolic link with adY name, trying to mimic old ATA numbering. Imitation is not complete, but should be enough in most cases to mount file systems without touching /etc/fstab. - To know what behavior to mimic, restore ATA_STATIC_ID option in cases where it was present before. - Add some more details to UPDATING. Notes: svn path=/head/; revision=221071
* | With the typical memory size of the system in tenth of gigabytesMaxim Sobolev2011-04-261-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | counting memory being dumped in 16MB increments is somewhat silly. Especially if the dump fails and everything you've got for debugging is screen filled with numbers in 16 decrements... Replace that with percentage-based progress with max 10 updates all fitting into one line. Collapse other very "useful" piece of crash information (total ram) into the same line to save some more space. MFC after: 1 week Notes: svn path=/head/; revision=221069
* | Fix a kernel linking problem introduced by r221032, r221040Rick Macklem2011-04-262-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | when building kernels that don't have "options NFS_ROOT" specified. I plan on moving the functions that use these data structures into the shared code in sys/nfs/nfs_diskless.c in a future commit. At that time, these definitions will no longer be needed in nfs_vfsops.c and nfs_clvfsops.c. MFC after: 2 weeks Notes: svn path=/head/; revision=221066