summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make UWX_TRACE_ENABLE a global option so that we don't have tomarcel2003-07-111-0/+2
| | | | | | modify vendor code (libuwx) with a specific include directive. The second order advantage is that we can also enable verbosity in the glue code (ia64/ia64/unwind.c).
* Squelch spurious "gigabit link up" messages generated on some fiber NICswpaul2003-07-111-4/+19
| | | | | | | | | | | | | | | | | | | | (mainly the 3Com 3c996B/BCM5701). For some reason that I don't fully understand, the 5701 signals PCS encoding errors as though they were link change events, i.e. the 'link state changed' bit in the status word of the status block is updated and an interrupt is generated. This would cause the bge_tick() function to be invoked and a "gigabit link up" message to be printed on the console. To avoid this, the interrupt handler now checks the MAC status register when a link change interrupt is triggered, and it will only call the bge_tick() function if the 'PCS encoding error detected' bit is clear. (This change should have no effect on copper NICs since this bit can only ever be set in TBI mode. I do not know how it affects 5704 NICs with a BCM8002 SERDES PHY.) Special thanks to: Sherry Rogers at UCB for allowing me access to one of their traffic monitor boxes so I could diagnose this problem.
* Fix i386 assembly constraints. The same register cannot bekan2003-07-111-3/+3
| | | | in output and clobber lists at the same time.
* Temporarily switch off -Werror until new GCC warning have been dealt with.kan2003-07-111-1/+1
|
* Merge FreeBSD changes into GCC 3.3.1-prerelease.kan2003-07-111-0/+8
| | | | Move FreeBSD specific flag variables from c-decl.c here.
* Do not compare unsigned int values with ULONG_MAX. The comparison iskan2003-07-113-7/+7
| | | | always false on 64bit platforms and GCC 3.3.1 issues warning there.
* Update bmake bits to build GCC 3.3.1-prerelease.kan2003-07-119-110/+297
|
* Update for GCC 3.3.1-pre.kan2003-07-114-70/+186
|
* Point to the new C++ include files location.kan2003-07-111-1/+1
|
* Update for new C++ include files layout.kan2003-07-111-6/+8
|
* Add unwind-c.c file required for -fexceptions in C sources.kan2003-07-111-2/+2
|
* Change CFLAGS to more closely follow options used when GCC is builtkan2003-07-111-1/+2
| | | | from stock FSF sources.
* Temporarily turn off -Werror for these components.kan2003-07-113-2/+3
|
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-139/+54
| | | | | | 1.2 -fformat-extensions. 1.3 -printf0 1.6 teach GCC about %y for DDB.
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-948/+453
| | | | | | | 1.3 suppress warnings on K&R main. Rev. 1.2 (options for kernel printf enhancements) changes have been moved to another
* Update for GCC 3.3.1-prerelease.kan2003-07-112-53/+41
|
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-244/+17
| | | | 1.8 Change symbol values to match freebsd.h.
* Update for 3.3.1-prerelease.kan2003-07-112-21/+28
|
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-1/+1
| | | | 1.4 Look into right directory when linking 32-bit binaries.
* Use stock version of this file now.kan2003-07-111-862/+251
|
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-613/+243
| | | | 1.2 don't let gcc(1) hide warnings in system headers.
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-633/+797
| | | | | | 1.2 -fformat-extensions. 1.7 FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha. 1.14 -O0 -O1 optimize alignment for time, not size.
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-437/+533
| | | | | | 1.{2,15} FREEBSD_NATIVE. 1.21 "GCC_OPTIONS". 1.{16,25,27} Cross-compiling issues.
* Merge FreeBSD changes into GCC 3.3.1-prerelease:kan2003-07-111-12/+3
| | | | 1.2 Tweaks to make this file live beside our hacked config.
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-1/+15
| | | | 1.2 Localize the version string.
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-1582/+2124
| | | | 1.8 printf format error fixes.
* Merge FreeBSD changes into GCC 3.3.1-prerelease:kan2003-07-111-8/+10
| | | | 1.2 Printf format errors fixes.
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-1139/+3058
| | | | 1.11 -mno-align-long-strings.
* Merge FreeBSD modifications into gcc 3.3.1-prerelease:kan2003-07-111-439/+704
| | | | | 1.10 -mno-align-long-strings. 1.11 Allow the specification of LONG_TYPE_SIZE on the command line.
* Merge FreeBSD modifications into gcc 3.3.1-pre:kan2003-07-111-78/+452
| | | | | 1.2 framework for our kernel printf enhancements. 1.3 suppress prototype warnings on K&R main.
* Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info GCC 3.3.1-prekan2003-07-111-26/+10
| | | | sources.
* FreeBSD uses stock versions of these GCC files.kan2003-07-1121-7189/+13760
|
* This commit was generated by cvs2svn to compensate for changes in r117401,kan2003-07-11234-8170/+7950
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Gcc 3.3.1-pre 2003-07-11 libf2c bits.kan2003-07-11234-8170/+7950
| |
* | This commit was generated by cvs2svn to compensate for changes in r117399,kan2003-07-1126-1458/+1695
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Gcc 3.3.1-pre 2003-07-11 Objective C support bits.kan2003-07-1126-1458/+1695
| |
* | This commit was generated by cvs2svn to compensate for changes in r117397,kan2003-07-11220-12208/+51201
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Gcc 3.3.1-pre 2003-07-11 C++ support bits.kan2003-07-11220-12208/+51201
| |
* | This commit was generated by cvs2svn to compensate for changes in r117395,kan2003-07-11685-71259/+179006
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Gcc 3.3.1-pre as of 2003-07-11.kan2003-07-11726-85638/+201558
| |
| * Remove files incidentally imported from the wrong place duringkan2003-03-26136-29589/+0
| | | | | | | | | | | | | | 3.2.1 import. They are not used by any of our system GCC versions and will be physically removed from repository soon. Reviewed by: obrien
* | If we must yell at the user than a file cannot be linked into place whengreen2003-07-111-1/+2
| | | | | | | | | | requested (not required) to do it, reassure them that cpio is still intelligent enough that it will perform a full copy instead.
* | This commit was generated by cvs2svn to compensate for changes in r117392,marcel2003-07-113-4/+7
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Rename DISABLE_TRACE to UWX_TRACE_ENABLE and change the conditionalmarcel2003-07-113-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compilation accordingly. The net effect is that tracing is not by default present and that it can easily be compiled-in. The tracer uses getenv() and printf(), which cannot be used in all cases (ie from the debugger) and with this change we improved the applicability of the unwinder. This change is made on the vendor branch and given back to the vendor for possible inclusion in future versions.
* | | Add init_param3() to subr_param. This function is calledsilby2003-07-113-26/+22
| | | | | | | | | | | | | | | | | | | | | | | | immediately after the kernel map has been sized, and is the optimal place for the autosizing of memory allocations which occur within the kernel map to occur. Suggested by: bde
* | | Lock down the IOMMU bus_dma implementation to make it safe to usetmm2003-07-105-100/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without Giant held. A quick outline of the locking strategy: Since all IOMMUs are synchronized, there is a single lock, iommu_mtx, which protects the hardware registers (where needed) and the global and per-IOMMU software states. As soon as the IOMMUs are divorced, each struct iommu_state will have its own mutex (and the remaining global state will be moved into the struct). The dvma rman has its own internal mutex; the TSB slots may only be accessed by the owner of the corresponding resource, so neither needs extra protection. Since there is a second access path to maps via LRU queues, the consumer- provided locking is not sufficient; therefore, each map which is on a queue is additionally protected by iommu_mtx (in part, there is one member which only the map owner may access). Each map on a queue may be accessed and removed from or repositioned in a queue in any context as long as the lock is held; only the owner may insert a map. To reduce lock contention, some bus_dma functions remove the map from the queue temporarily (on behalf of the map owner) for some operations and reinsert it when they are done. Shorter operations and operations which are not done on behalf of the lock owner are completely covered by the lock. To facilitate the locking, reorganize the streaming buffer handling; while being there, fix an old oversight which would cause the streaming buffer to always be flushed, regardless of whether streaming was enabled in the TSB entry. The streaming buffer is still disabled for now, since there are a number of drivers which lack critical bus_dmamp_sync() calls. Additional testing by: jake
* | | -l prints all permissions, not just owner and groupbrueffer2003-07-101-1/+1
| | | | | | | | | | | | | | | | | | PR: 54294 Submitted by: Per Hedeland <per@hedeland.org> MFC after: 3 days
* | | Add support for the 8139C+ chipset. Unlike the other chips in the 8139wpaul2003-07-102-111/+1433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | series, the 8139C+ has a descriptor-based DMA mechanism, and its performance is actually pretty respectable. Note: the 8139D chip does not support C+ mode. Only the 8139C+ and 8169 gigE chips support C+ mode. Supported features: - RX and TX checksum offload - hardware VLAN tag insertion/extraction - TX interrupt moderation using the 8139's on-board timer Everything should be properly busdma'ed and endian-independent, so things should work ok on non-x86 platforms. Unfortunately, my call for testers on this code was met with deafening silence, and I don't have access to any non-x86 FreeBSD boxes at the moment, so this is speculation. The device detection code has been cleaned up a little as well (thanks to Michal Mertl) for the patches. There are also updates to the rl(4) man page (which I accidentally checked in before when I updated the dc(4) man page. Oops.) Todo: finish support for the 8169 gigabit ethernet chip. This mainly requires writing an rlgphy driver to handle the 8169's built-in PHY. This will have to wait until I actually get my hands on an 8169 card for testing though. (I still can't find a source for one in the U.S. Suggestions/pointers welcome.)
* | | Regenerate.wpaul2003-07-102-5/+12
| | |
* | | Add support for a bunch of Microsoft networking products:wpaul2003-07-108-12/+148
| | | | | | | | | | | | | | | | | | | | | | | | - MN-110 10/100 USB ethernet (ADMtek Pegasus II, if_aue) - MN-120 10/100 cardbus (ADMtek Centaur-C, if_dc) - MN-130 10/100 PCI (ADMtek Centaur-P, if_dc) Also update dc(4) man page to mention support for MN-120 and MN-130.
OpenPOWER on IntegriCloud