summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use UFS labels and bsdlabels (like the 8.x memsticks) instead of GPT tonwhitehorn2011-10-092-70/+10
| | | | | | fix problems with some BIOSes. MFC after: 3 days
* Add support to makefs(8) to add UFS labels to images.nwhitehorn2011-10-094-1/+12
| | | | | Submitted by: avg MFC after: 3 days
* Update the inp stored in a HB-timer when moving an stcb to a new inp.tuexen2011-10-092-1/+2
| | | | | | | Use only this stored inp when processing a HB timeout. This fixes a bug which results in a crash. MFC after: 3 days.
* Line up the struct declaration (yes, I know this isn't what it looksdes2011-10-091-6/+6
| | | | like in the header file)
* Document some not-so-recently added trace points.des2011-10-091-2/+7
| | | | MFC after: 1 week
* Remove inphy(4), exphy(4) as well as ruephy(4) that no longer existed as amarius2011-10-081-3/+0
| | | | separate config option, which was missed in r226154.
* Address some of bde@'s concerns with the new code.des2011-10-081-72/+71
|
* Fix the handling of an empty kmem map by sysctl_kmem_map_free(). Inalc2011-10-081-2/+2
| | | | | | | | the unlikely event that sysctl_kmem_map_free() was performed on an empty kmem map, it would incorrectly report the free space as zero. Discussed with: avg MFC after: 1 week
* Revert unapproved commit to bsd.port.mk.crees2011-10-081-16/+0
| | | | | | This would have had more discussion, but it was explicitly rejected at submission by portmgr: http://lists.freebsd.org/pipermail/freebsd-ports/2011-September/070591.html
* Avoid magicking into existence sub-partitions due to leftover blocks whennwhitehorn2011-10-081-11/+22
| | | | | | | | creating new ones by destroying any geom that may have come into existence immediately after adding a partition. The EBR partition scheme is particularly enthusiastic about false positives in this case. MFC after: 3 days
* Usability enhancements: do not allow setting a mountpoint on bsdlabelnwhitehorn2011-10-081-1/+30
| | | | | | | | container partitions, which didn't do anything anyway, and check for an existing freebsd-boot partition before bothering the user to make one. PR: bin/160931 MFC after: 3 days
* Teach kdump(1) to decode capability bitmasks.des2011-10-082-0/+9
| | | | MFC after: 3 weeks
* Fix the dependency issue properly by a) moving kdump_subr.c to the frontdes2011-10-081-6/+2
| | | | of the SRCS list and b) listing kdump_subr.h in DPSRCS.
* Bring ioctlname() in line with all the other *name() functions, whichdes2011-10-082-31/+21
| | | | | | | actually print the name (or the numeric value, if they can't figure out the correct name) instead of just returning a pointer to it. Also, since ioctl numbers are not and probably never will be unique, drop support for using a switch statement instead of an if/else chain.
* Handle the R_386_TLS_TPOFF32 relocation, which is similar to R_386_TLS_TPOFF,kib2011-10-081-2/+7
| | | | | | | | but with negative relocation value. Found by: mpfr test suite, pointed to by ale Reviewed by: kan MFC after: 1 week
* Setting up TLS block for the main thread must be done after thekib2011-10-081-3/+14
| | | | | | | | | | | | relocations are processed, since tls initialization section might be itself subject for relocations. Only set up of the block is postponed, the tls block offsets are allocated before relocation processing, since TLS-related relocations may need offsets ready. Reported by: ale PR: threads/161344 Reviewed by: kan MFC after: 1 week
* - Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHYmarius2011-10-0810-48/+47
| | | | | | | | | | | | | | drivers that only ever attach to a particular MAC driver, i.e. inphy(4), ruephy(4) and xlphy(4), to the directory where the respective MAC driver lives and only compile it into the kernel when the latter is also there, also removing it from miibus.ko and moving it into the module of the respective MAC driver. - While at it, rename exphy.c, which comes from NetBSD where the MAC driver it corresponds to also is named ex(4) instead of xl(4) but that in FreeBSD actually identifies itself as xlphy(4), and its function names accordingly for consistency. - Additionally while at it, fix some minor style issues like whitespace in the register headers and add multi-inclusion protection to inphyreg.h.
* I appreciate the logic behind using a (void) cast to indicate that thedes2011-10-082-155/+155
| | | | | | | | return value is intentionally ignored, but frankly, all it does is get in the way of the code. Also fix a few other incorrect casts, such as (void *)malloc(foo) and passing signed values to %x.
* Fix casting.des2011-10-082-74/+75
|
* Whitespace.des2011-10-081-90/+90
|
* Fix an infinite loop in siba_bwn_suspend().brueffer2011-10-081-1/+1
| | | | | | CID: 3536 Found with: Coverity Prevent(tm) MFC after: 1 week
* C has had swicth statements for 40 years or so. It's about time wedes2011-10-081-93/+143
| | | | started using them.
* Sort and line up.des2011-10-081-38/+37
|
* Remove dead code, "error" doesn't change between this check and thebrueffer2011-10-081-4/+0
| | | | | | | | previous one. CID: 3254 Found with: Coverity Prevent(tm) MFC after: 1 week
* 1) Some of the #defines or enums for which we auto-generate namingdes2011-10-084-72/+37
| | | | | | | | | | | | | functions may be wider than int, so use intmax_t throughout. Also add missing casts in printf() calls. 2) Clean up some of the auto-generated code to improve readability. 3) Auto-generate kdump_subr.h. Note that this requires a semi-ugly hack in the Makefile to make sure it is generated before make(1) tries to build kdump.c, or preprocess it for 'make depend'. MFC after: 3 weeks
* Remove two dublicated assignments.brueffer2011-10-081-3/+0
| | | | | | | CID: 9870 Found with: Coverity Prevent(tm) Confirmed by: rwatson MFC after: 1 week
* Remove extraneous WARNS=7.ed2011-10-081-2/+0
| | | | | | | WARNS above 6 has no use. Also, all of usr.bin is also built with WARNS=6 by default. Discussed with: edwin
* - Add a couple of more sed subsitutions needed to get the correctstas2011-10-081-2/+6
| | | | | | | libtool.m4. With these fixes libtool will correctly indentify the system as ELF (and not a.out). - While here, change the substitutions so they're still correctly match freebsd1.x, freebsd2.x etc.
* BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 soyongari2011-10-082-52/+25
| | | | | | | | | | | | | | remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually indistinguishable by software except for the PCI device ID. The two chips differ in that BCM5709 supports TCP/IP and iSCSI offload in Windows while the BCM5716 doesn't. While I'm here remove now unused definition of BCE_CHIP_NUM_5716 and BCE_CHIP_ID_5716_C0. Reported by: sbruno Reviewed by: davidch Tested by: davidch
* - ${WRKSRC} might be missing when the autotools fixup is running.stas2011-10-071-2/+2
| | | | | | Account for this. Reported by: Mykola Dzham <i@levsha.me>
* Add myself.jceel2011-10-072-0/+5
| | | | Approved by: wkoszek (mentor)
* Do not try removing an ARP entry associated with a given interfaceqingli2011-10-071-1/+2
| | | | | | | | | | address if that interface does not support ARP. Otherwise the system will generate error messages unnecessarily due to the missing entry. PR: kern/159602 Submitted by: pluknet MFC after: 3 days
* Mention tdsignal(9).des2011-10-072-5/+16
| | | | MFC after: 1 week
* Sync with ahc(4)/ahd(4)/sym(4) etc:marius2011-10-073-0/+3
| | | | | | | Zero any sense not transferred by the device as the SCSI specification mandates that any untransferred data should be assumed to be zero. Reviewed by: ken
* Add missing va_end() in an error case to clean up after va_start()brueffer2011-10-071-0/+1
| | | | | | | | (already done in the non-error case). CID: 4726 Found with: Coverity Prevent(tm) MFC after: 1 week
* Add missing va_end() to clean up after va_start().brueffer2011-10-071-0/+1
| | | | | | CID: 4725 Found with: Coverity Prevent(tm) MFC after: 1 week
* Remove the reference held on the loopback route when the interfaceqingli2011-10-071-1/+3
| | | | | | | | | | | address is being deleted. Only the last reference holder deletes the loopback route. All other delete operations just clear the IFA_RTSELF flag. PR: kern/159601 Submitted by: pluknet Reviewed by: discussed on net@ MFC after: 3 days
* Prevent TCP sessions from stalling indefinitely in reassemblyandre2011-10-071-2/+28
| | | | | | | | | | | | | | | | | | | | when reaching the zone limit of reassembly queue entries. When the zone limit was reached not even the missing segment that would complete the sequence space could be processed preventing the TCP session forever from making any further progress. Solve this deadlock by using a temporary on-stack queue entry for the missing segment followed by an immediate dequeue again by delivering the contiguous sequence space to the socket. Add logging under net.inet.tcp.log_debug for reassembly queue issues. Reviewed by: lsteward (previous version) Tested by: Steven Hartland <killing-at-multiplay.co.uk> MFC after: 3 days
* Remove unused define.kib2011-10-077-9/+0
| | | | MFC after: 1 month
* Fix whitespace inconsistencies found in homegrown Symbol.maps.ed2011-10-077-17/+17
|
* Add back the IP header length to the total packet length field onandre2011-10-071-0/+7
| | | | | | | | | | | | | | raw IP sockets. It was deducted in ip_input() in preparation for protocols interested only in the payload. On raw sockets the IP header should be delivered as it at came in from the network except for the byte order swaps in some fields. This brings us in line with all other OS'es that provide raw IP sockets. Reported by: Matthew Cini Sarreo <mcins1-at-gmail.com> MFC after: 3 days
* Remove an extraneous "already" from a comment introduced by r226081.rmacklem2011-10-071-1/+1
| | | | | Submitted by: bf1783 at googlemail.com MFC after: 3 days
* Add a -x option that causes ssh-agent(1) to exit when all clients havedes2011-10-072-4/+32
| | | | | | disconnected. MFC after: 1 week
* Load the ECDSA key if there is one.des2011-10-072-2/+7
| | | | MFC after: 1 week
* Simply let teken_stress use arc4random.ed2011-10-071-11/+1
| | | | | This makes it run quite a bit faster, since it makes system calls less often.
* Tab should not blank cells.ed2011-10-071-14/+1
| | | | | | | | | | | | It seems I was under the impression that a tab differs from a single forward tabulation, namely that it blanks the underlying cells. This seems not to be the case. They are identical. This should fix applications like jove(1) that use tabs instead of explicit cursor position setting. Reported by: Brett Glass <brett lariat net> MFC after: 3 days, after it's tested
* Change one printf() to log().jonathan2011-10-071-1/+1
| | | | | | | | As noted in kern/159780, printf() is not very jail-friendly, since it can't be easily monitored by jail management tools. This patch reports an error via log() instead, which, if nobody is watching the log file, still prints to the console. Approved by: mentor (rwatson) Submitted by: Eugene Grosbein <eugen@eg.sd.rdtc.ru> MFC after: 5 days
* Merge from r225950:marius2011-10-072-7/+19
| | | | | | Set the sense residual properly. Reviewed by: ken
* Begin implementing correct MIPS24K sampling mode behaviour.adrian2011-10-071-4/+7
| | | | | | | | * Add the interrupt bit in the configuration register * Correctly set the counter register for the sampling overflow interrupt. The interrupt is asserted when bit 31 is set. So set the overflow value at 0x80000000 and subtract the programmed value as appropriate.
* Increase MSGBUF_SIZE.obrien2011-10-071-1/+1
| | | | The previous size lead to truncated /var/run/dmesg.boot when booted with "-v".
OpenPOWER on IntegriCloud