summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Style: size_t can't be negative.ru2009-04-041-17/+11
| | | | | | | | | | | | | - Don't exit with a zero status code when no jails are configured on a system. - Style: simplify some code constructs. - If a single jail cannot be found, let the caller print a nicer diagnostic message. Reviewed by: bz MFC after: 3 days
* Fixed NAME section.ru2009-04-041-2/+2
|
* Fix mbuf chain layout pessimization:bms2009-04-041-4/+8
| | | | | | | | in the case where a single mbuf is allocated due to m_getcl() returning NULL, we already call MH_ALIGN, so do not increment m->m_data in this case. Found during MLDv2 port.
* Do not obliterate QQI with MAXRESP.bms2009-04-041-2/+2
| | | | Found during MLDv2 port.
* When removing or renaming snaphost, do not delve into request_cleanup().kib2009-04-041-1/+1
| | | | | | | | The later may need blocks from the underlying device that belongs to normal files, that should not be locked while snap lock is held. Reported and tested by: pho MFC after: 1 month
* Many bug fixes (from the IETF hack-fest):rrs2009-04-0410-2119/+365
| | | | | | | | | | | | | | | | - PR-SCTP had major issues when skipping through a multi-part message. o Did not look at socket buffer. o Did not properly handle the reassmebly queue. o The MARKED segments could interfere and un-skip a chunk causing a problem with the proper FWD-TSN. o No FR of FWD-TSN's was being done. - NR-Sack code was basically disabled. It needed fixes that never got into the real code. - CMT code had issues when the two paths were NOT the same b/w. We found a few small bugs, but also the critcal one here was not dividing the rwnd amongst the paths. Obtained from: Michael Tuexen and myself at the IETF hack-fest ;-)
* Add uath(4) wireless USB driver for Atheros AR5005UG and AR5005UXweongyo2009-04-048-0/+7506
| | | | | | chipsets. Reviewed by: sam
* PowerPC, meet kernel core dumps. The support is basedmarcel2009-04-047-14/+398
| | | | | | | | | | | | | | | | | | on a generic dumper that creates an ELF core file and uses PMAP functions to scan and iterate over memory chunks, as well as handle memory mappings used during dumping. the PMAP layer can choose to return physical memory chunks or virtual memory chunks. For minidumps, the chunks should be virtual. The default MMU I/F implementation for the scan_md() method returns NULL. Thus, when a PMAP implementation does not implement the required methods, an empty core file is created. Here, empty means having an ELF header only. Obtained from: Juniper Networks
* The Serverworks SATA chipsets used in Apple G5 systems require requiringnwhitehorn2009-04-041-0/+23
| | | | | | | | the ATA status register with a 4-byte read request. This updates it, and subsequent 1-byte reads will return the correct result. This commit adds a hack to do this, which is currently ifdef'd powerpc, although Linux and Darwin do this unconditionally on all platforms.
* Add support for 64-bit PowerPC CPUs operating in the 64-bit bridge modenwhitehorn2009-04-0428-230/+3775
| | | | | | | | | | provided, for example, on the PowerPC 970 (G5), as well as on related CPUs like the POWER3 and POWER4. This also adds support for various built-in hardware found on Apple G5 hardware (e.g. the IBM CPC925 northbridge). Reviewed by: grehan
* Catch up with recent locking changes.trhodes2009-04-031-6/+0
| | | | | | PR: 132546 Submitted by: pluknet <pluknet@gmail.com> Reviewed by: alc
* Set SO_NOSIGPIPE on sockets used by phttpget. Without this, ifcperciva2009-04-031-0/+6
| | | | | | | | | | | | | | (1) phttpget is attempting to download enough files that it can't send all the requests at once, and (2) the remote server forcibly closes the connection, resulting in RST packets being sent, phttpget will receive a SIGPIPE and terminate without downloading all of the files. This is probably responsible for a number of hard-to-reproduce errors with portsnap and freebsd-update. MFC after: 3 days
* fix whitespacesam2009-04-031-1/+1
|
* Add interleaving root hold tokens from the CAM probe to disk_create and geomthompsa2009-04-035-0/+17
| | | | | | | provider tasting. This is needed for disk attachments that happen after threads are running in the boot process. Tested by: rnoland
* Add a how argument to root_mount_hold() so it can be passed NOWAIT and be calledthompsa2009-04-039-10/+14
| | | | in situations where sleeping isnt allowed.
* Add support for RV790 (HD 4890) asicsrnoland2009-04-031-0/+2
| | | | MFC after: 3 days
* A little more cleanup from AMD, if we don't have the right microcodernoland2009-04-032-38/+37
| | | | | | there is no reason to mess with the chip. MFC after: 3 days
* Allow the NULL, RTLD_SELF and RTLD_NEXT handles to work with dlfunc(3).kib2009-04-035-31/+24
| | | | | | | | | | | | | | | | dlfunc() called dlsym() to do the work, and dlsym() determines the dso that originating the call by the return address. Due to this, dlfunc() operated as if the caller is always the libc. To fix this, move the dlfunc() to rtld, where it can call the internal implementation of dlsym, and still correctly fetch return address. Provide usual weak stub for the symbol from libc for static binaries. dlfunc is put to FBSD_1.0 symver namespace in the ld.so export to override dlfunc@FBSD_1.0 weak symbol, exported by libc. Reported, analyzed and tested by: Tijl Coosemans <tijl ulyssis org> PR: standards/133339 Reviewed by: kan
* o update dwds mcast handling after hoisting ieee80211_encap: frames needsam2009-04-033-9/+15
| | | | | | to be encapsulated before dispatching to the driver o eliminate M_WDS now that we call ieee80211_encap directly and can supply the wds vap to indicate a 4-address frame should be created
* - Fix spacing in the comment.stas2009-04-031-1/+1
| | | | Reported by: jhb
* - Correct the comment.stas2009-04-031-3/+4
| | | | MFC after: 3 days
* The 9 bytes immediately prior to the partition table can containmarcel2009-04-031-2/+7
| | | | | | | signatures or disk serial numbers. Don't assume those to be zero in all cases. This fixes a false negative. Tested by: avatar@mmlab.cse.yzu.edu.tw
* Remove more debug...imp2009-04-031-2/+0
|
* Properly handle malloc() failures.delphij2009-04-021-5/+7
| | | | PR: bin/83338
* Remove a warning which is supposed to have been removed on 20030301.delphij2009-04-021-12/+0
|
* Signed/unsigned fixes, should be WARNS=2 clean now.delphij2009-04-021-3/+3
|
* Don't crash when we have an invalid count number.delphij2009-04-021-0/+2
| | | | | | PR: bin/32686 Submitted by: Jaakko Heinonen <jh saunalahti.fi> MFC after: 1 week
* vn_vptocnp() unlocks the name cache and forgets to re-lock it beforepeter2009-04-021-1/+1
| | | | | returning in one error case, and mistakenly unlocks it for the umount -f case.
* Retire two flags that haven't been used since OLDCARD was retiredimp2009-04-021-2/+0
| | | | | (well, since before OLDCARD was retired, since I removed their use somewhat before that).
* Kill debug that crept in.imp2009-04-021-2/+2
|
* Minor tweaks in the names to match the chips more closely.imp2009-04-022-13/+13
|
* Bail out when memory allocation is failed, rather than referencingdelphij2009-04-021-2/+6
| | | | | | | a NULL pointer. PR: kern/94480 Submitted by: Michiel Pelt <m.pelt xs4all nl>
* Minor DLINK DL100xx support tweaks:imp2009-04-022-15/+3
| | | | | | | | | The DIROUT bit difference between the 19 and 22 is annoying. We can set both bits on both parts without ill effect. Use this trick to simplify the code. The DELAYS in the MII bus bit-bang code for the DL100xx parts aren't needed. Eliminate them.
* The AX88190 has 64k of external SRAM, of which 62k can be used forimp2009-04-021-50/+29
| | | | | | | | | | | packet data. However, the AX88190A moves this on-chip and reduces it to the more traditional 16k from 16k-32k. The AX88790 follows the '190A. Probe memory above 32k to see which flavor of the '190 we have and use the extra memory if we have it. Eliminate the kludgy read eeprom for the ID code. It really is just a memory read at location 0x400, so just use that instead. Makes the code easier to understand as well as eliminates some magic numbers.
* Force an autonegotiation at attach time for all the attached PHYs forimp2009-04-021-4/+30
| | | | | | | | | | | | ed cards. There's a number of minor nits in a lot of the PHYs on the PC Cards that use the Axis AX88190 or DLink DL10019 and DL10022 chips. Forcing the autonegotiation doesn't seem to cause problems on the cards that have sane PHYs, but makes several cards I have work without further workarounds. I'm not 100% sure that kicking the PHY and resetting them is the right thing to do on the media change callback. Other NICs seem to need this and do similar things.
* Properly update the shm_open/shm_unlink symbol versioning metadata afterjhb2009-04-022-2/+6
| | | | | | | these functions were moved into the kernel: - Move the version entries from gen/ to sys/. Since the ABI of the actual routines did not change, I'm still exporting them as FBSD 1.0 on purpose. - Add FBSD-private versions for the _ and __sys_ variants.
* Restore local change to include <sys/bpf.h> inside pcap.h. This fixesrpaulo2009-04-022-6/+2
| | | | remaining ports build problems.
* Sync DLTs with latest libpcap version.rpaulo2009-04-021-0/+88
|
* Reduce code duplcations from r190620. While I am here, tweak a comment.jkim2009-04-021-3/+1
|
* Chase GDT layout changes and unbreak suspend/resume on amd64.jkim2009-04-023-18/+18
|
* Remove some pointless mergeinfo that is the result of doing a localjhb2009-04-010-0/+0
| | | | 'svn cp' and having svn create empty mergeinfo for the file.
* Implement an ipfw action to reassemble ip packets: reass.piso2009-04-017-2/+80
|
* Unconditionally build wrappers for i386_get_ioperm(), i386_set_ioperm(),kib2009-04-011-4/+3
| | | | | | | i386_get_ldt() and i386_set_ldt(). In collaboration with: pho Reviewed by: jhb
* Add trivial implementation for the freebsd32_sysarch on ia64.kib2009-04-012-0/+51
| | | | | | Fix comapt32 and LINT build on ia64. Discussed with: jhb
* Add some more logic for AD1986A codec input tracing. Use mic preamplifiermav2009-04-011-5/+42
| | | | | | | | | only for mic-type inputs. This gives better chances to use it. Change default configuration for some AD1986A codec based ASUS boards, use it also for ASUS P5PL2 board. This makes front mic preamplifier working. Tested by: Vadim Frolov <frolov@frolov.ck.ua>
* Garbage collect unused MSR_GSBASE since r190620.jkim2009-04-011-3/+0
| | | | | The only consumer was exception.S and specialreg.h is directly included now. Note no md5 changes were observed for all assym.s consumers with this.
* Add a new world named 'mips' to our universe.bz2009-04-011-1/+1
| | | | Discussed with: imp
* Fix the Xen build for i386 PV mode.dfr2009-04-018-6/+121
|
* Garbage collect unused stack segment since r190620.jkim2009-04-012-2/+0
|
* Document RTLD_NODELETE, -z nodelete and -z origin support.kib2009-04-012-3/+29
|
OpenPOWER on IntegriCloud