summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s/rcsid/__FBSDID/das2008-02-2279-241/+158
|
* Remove an unused variable.das2008-02-223-3/+3
|
* Eliminate some warnings.das2008-02-223-9/+3
|
* MFC after: 4 weeksdavidch2008-02-223-5555/+7977
| | | | | | | | | - Added loose RX MTU functionality to allow frames larger than 1500 bytes to be accepted even though the interface MTU is set to 1500. - Implemented new TCP header splitting/jumbo frame support which uses two chains for receive traffic rather than the original single recevie chain. - Added additional debug support code.
* -Fix display of nat range.piso2008-02-211-6/+5
| | | | | | | -Whitespace elimination. Bug spotted by: Luiz Otavio O Souza MFC After: 3 days
* Add some missing Xrefs to drivers.brueffer2008-02-211-1/+5
| | | | MFC after: 3 days
* Note, as required by our agreement with IEEE/The Open Group, that the messagephilip2008-02-217-0/+140
| | | | | | | | queue manual pages excerpt the POSIX standard. Spotted by: Mindaugas Rasiukevicius <rmind -at- NetBSD.org> Reviewed by: imp MFC after: 1 day
* Add support for the VIA USB2IDE bridge [1].remko2008-02-212-0/+22
| | | | | | | | | PR: usb/95173 Submitted by: Goegele Hannes <diazepam@gmx.net> Ben Kelly <bkelly at vadev dot org> Tested by: blackend Approved by: imp (mentor, blanket for simple patches) X-MFC-After: 1 week
* If 'WITH_BSDAR' is defined, install as gnu-<util_name>.obrien2008-02-212-0/+10
|
* Fix static linkage.ru2008-02-211-2/+2
|
* Add LIBELF.ru2008-02-211-0/+1
|
* Back out previous commit. Restore Binutils ar as default. Disconnectkaiw2008-02-214-15/+1
| | | | | | 'BSD' ar to the build. Requested by: des
* * Connect ar(1) to the build and make it default ar. Rename GNUkaiw2008-02-214-1/+15
| | | | | | | | | | | | binutils ar and ranlib to gar and granlib, respectively. * Introduce a temporary variable WITH_GNUAR as a safety net. When buildworld with -DWITH_GNUAR, GNU binutils ar and ranlib will install as default ones and 'BSD' ar will be disabled. * Bump __FreeBSD_version to reflect the import of 'BSD' ar(1). Approved by: jkoshy (mentor)
* Remove WARNS from here and compile with default kernel flags.ru2008-02-211-10/+14
| | | | Switch off those warnings that ZFS sources do not pass.
* Remove WARNS from here and compile with default kernel flags.ru2008-02-213-4/+0
|
* Import ar(1) front-end. (aka 'BSD' ar)kaiw2008-02-217-0/+1989
| | | | | | | | | | | | | | | | | | Reviewed by: jkoshy Approved by: jkoshy (mentor) Tested by: erwin (ports build test on pointyhat) Sponsored by: Google Summer of Code 2007 Reviewed by (earlier version): Jaakko Heinonen <jh[AT]saunalahti.fi> Tested by (earlier version): Steve Kargl <sgk[AT]troutmask.apl.washington.edu> Tested by (earlier version): Martin Voros <martin_voros[AT]yahoo.com> Tested by (earlier version): swell.k[AT]gmail.com Tested by (earlier version): joel Tested by (earlier version): Alexey Shuvaev <shuvaev[AT]physik.uni-wuerzburg.de> Tested by (earlier version): Arjan van Leeuwen <avleeuwen[AT]gmail.com> Thanks to gabor@ for building ports for it. Thanks to erwin@ and kris@ for scheduling the ports build test on pointyhat. And thanks to many others for their feedback.
* Ensure that the -s flag truncates the accounting data.grog2008-02-211-1/+1
| | | | | | | | This problem has only been reported on the amd64 platform. PR: bin/120293 Tested by: Callum Gibson MFC after: 2 weeks
* Sanity-check the block size.kientzle2008-02-211-0/+19
| | | | | Thanks to: Joerg Sonnenberger MFC after: 7 days
* Don't check the bpbSecPerTrack and bpbHeads fields of the BPB.marcel2008-02-211-8/+7
| | | | | They are typically 0 on new ia64 systems. Since we don't use either field, there's no harm in not checking.
* Don't use disklabel for the MFS root. The DoFS.sh script createsmarcel2008-02-211-0/+1
| | | | | | | a bogus partition table and puts the file system on the whole partition. geom_part doesn't expose the 'c' partition as it's an artifact of the BSD label and not to be used. Secondly, gpart(8) is the preferred tool for partitioning disks on ia64.
* Add AS lookup functionality. On each hop we query a whois server torpaulo2008-02-205-7/+332
| | | | | | | | | | find the corresponding AS for that IP (-a switch). We can also choose a different whois server with the -A switch. The default is whois.radb.net. Obtained from: NetBSD Reviewed by: bms, njl (mentor) Approved by: njl (mentor)
* Two no-op fixes to improve corretness of syslogd code:dwmalone2008-02-201-3/+4
| | | | | | | | | | | 1) Use [AP]F_LOCAL rather than [AP]F_UNIX. 2) When copying a pipe's name, use f->f_un.f_pipe.f_pname, not f->f_un.f_fname. PR: 20889 Submitted by: Damieon Stark PR: 116642 Submitted by: Jim Pirzyk Reviewed by: md5
* Fix a couple of locking mistakes in the ses_ioctl path.scottl2008-02-201-3/+3
| | | | Submitted by: Matt Jacob
* geom_lvm(4) is now known as geom_linux_lvm(4).thompsa2008-02-202-8/+2
|
* Rename geom_lvm(4) to geom_linux_lvm(4).thompsa2008-02-201-1/+1
| | | | Requested by: des, phk
* geom_lvm(4) is now known as geom_linux_lvm(4).thompsa2008-02-203-1378/+0
|
* Rename geom_lvm(4) to geom_linux_lvm(4).thompsa2008-02-206-4/+16
| | | | Requested by: des, phk
* Add a geom class to map Linux LVM logical volumes.thompsa2008-02-203-0/+1379
| | | | | | | | | | | The logical disks will appear as /dev/lvm/<vol group>-<logical vol>, for instance /dev/lvm/vg0-home. G_LINUX_LVM currently supports linear stripes with segments on multiple physical disks. The metadata is read only, logical volumes can not be allocated or resized. Reviewed by: Ivan Voras Previously known as geom_lvm(4), rename requested by des, phk.
* Set the baudrate for if_ti.remko2008-02-191-0/+1
| | | | | | | PR: kern/40516 Submitted by: "Jin Guojun[VFF]" <jin at adsl-63-198-35-122 dot dsl dot snfc21 dot pacbell dot net> Approved by: imp (mentor, implicit for minor changes) MFC After: 1 week
* Merge cosmetic changes from e_rem_pio2.c 1.10 (convert to __FBSDID();bde2008-02-191-6/+4
| | | | | | fix indentation and return type of __ieee754_rem_pio2()). Remove unused variables.
* Optimize for 3pi/4 <= |x| <= 9pi/4 in much the same way as forbde2008-02-191-18/+56
| | | | | | | | | | | | | | | | | | | | pi/4 <= |x| <= 3pi/4. Use the same branch ladder as for float precision. Remove the optimization for |x| near pi/2 and don't do it near the multiples of pi/2 in the newly optimized range, since it requires fairly large code to handle only relativley few cases. Ifdef out optimization for |x| <= pi/4 since this case can't occur because it is done in callers. On amd64 (A64), for cos() and sin() with uniformly distributed args, no cache misses, some parallelism in the caller, and good but not great CC and CFLAGS, etc., this saves about 40 cycles or 38% in the newly optimized range, or about 27% on average across the range |x| <= 2pi (~65 cycles for most args, while the A64 hardware fcos and fsin take ~75 cycles for half the args and 125 cycles for the other half). The speedup for tan() is much smaller, especially relatively. The speedup on i386 (A64) is slightly smaller, especially relatively. i386 is still much slower than amd64 here (unlike in the float case where it is slightly faster).
* Rearrange the polynomial evaluation for better parallelism. Thisbde2008-02-192-9/+9
| | | | | | | | | | saves an average of about 8 cycles or 5% on A64 (amd64 and i386 -- more in cycles but about the same percentage on i386, and more with old versions of gcc) with good CFLAGS and some parallelism in the caller. As usual, it takes a couple more multiplications so it will be slower on old machines. Convert to __FBSDID().
* getopt(3) returns -1, not EOF.ru2008-02-199-9/+9
|
* Eliminate whitespace diffs to the i386 version.ru2008-02-191-2/+1
|
* Include O_BINARY in open() calls on platforms that support it.kientzle2008-02-192-3/+13
|
* Another tiny, tiny step towards Windows support. No, I don't plan tokientzle2008-02-191-1/+4
| | | | | ever commit the Windows support files to FreeBSD CVS. That would just be wrong.
* Someday I might forgive the standards bodies for omitting timegm().kientzle2008-02-191-5/+9
| | | | | | | | | | | Maybe. In the meantime, my workarounds for trying to coax UTC without timegm() are getting uglier and uglier. Apparently, some systems don't support setenv()/unsetenv(), so you can't set the TZ env var and hope thereby to coax mktime() into generating UTC. Without that, I don't see a really good alternative to just giving up and converting to localtime with mktime(). (I suppose I should research the Perl library approach for computing an inverse function to gmtime(); that might actually be simpler than this growing list of hacks.)
* Simplify file type setting.kientzle2008-02-191-4/+2
|
* The test_assert() function that backs my custom assert() macrokientzle2008-02-192-9/+12
| | | | | | | | | | | | now returns a value, which supports such convenient constructs as: if (assert(NULL != foo())) { } Also be careful to setlocale("C") for each new test to avoid locale pollution. Also a couple of minor portability enhancements.
* Portability: Since the values are fixed and the symbolic nameskientzle2008-02-191-3/+3
| | | | are only present on some platforms, just use the values directly.
* Portability: Include O_BINARY if the local platform defines it.kientzle2008-02-191-1/+5
|
* Correct a compile error when libbz2/zlib are unavailable.kientzle2008-02-192-2/+2
|
* Mark a few additional functions that are/are not available on FreeBSD.kientzle2008-02-191-0/+7
|
* Portability improvements:kientzle2008-02-191-23/+66
| | | | | | | | | | | | | | | * If the platform can't restore char nodes, block nodes, or fifos, don't try and just return error. * Include O_BINARY in most open() calls (define O_BINARY to 0 if the platform doesn't provide a definition already) * Refactor the ownership restore to more cleanly support platforms that don't have any form of {l,f,}chown() call. * Comment a lingering issue with older Unix-like systems that allow root to hose the filesystem. I don't (yet) have a good solution for this, but I expect it will require adding more redundant stat() calls. <sigh> MFC after: 14 days
* Allow appending to archives on block devices as well askientzle2008-02-191-1/+1
| | | | | | archives in regular files, since both are seekable. Thanks to: Reinoud Zandijk (@netbsd.org)
* Undo the damage I did in sys/kern/vfs_mount.c #1.274 andyar2008-02-182-11/+1
| | | | | | | sbin/mount_nfs/mount_nfs.c #1.76. Let the dragons sleep. Requested by: rodrigc, des PR: kern/120319 (welcome the bug back)
* Fix display of multiple nat rules.piso2008-02-181-4/+4
| | | | | | Bug spotted by: Luiz Otavio O Souza PR: 120734 MFC After: 3 days
* Fix "warning: comparison is always false due to limited range of data type"marcel2008-02-181-4/+1
| | | | | | | on platforms with unsigned chars. The comparison in question is there to determine whether chars are unsigned or not and is based on comparing a char, initialized to -1, for less than 0. Change the comparison to check for geater than 0 instead...
* Instead of using a heuristic to decide whether to displayjulian2008-02-182-6/+14
| | | | | | | | | | | table 'values' as IP addresses, use an explicit argument (-i). This is a 'POLA' issue. This is a low risk change and should be MFC'd to RELENG_6 and RELENG 7. it might be put as an errata item for 6.3. (not sure about 6.2). Fix suggested by: Eugene Grosbein PR: 120720 MFC After: 3 days
* Document return values better.das2008-02-181-3/+34
|
OpenPOWER on IntegriCloud