121976 Commits

Author SHA1 Message Date
cvs2svn
7f8046d2c1 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-06-17 00:43:51 +00:00
wilko
6a3dcefa18 Forced commit to clarify preceding unclear commit message:
- core was contacted by Joerg Peter Schley requesting 2 comment lines
  be removed with his name & email address in it.
2007-06-16 20:49:49 +00:00
wilko
41666fd18a Per request (to core) by the person refered to in the comment. 2007-06-16 19:23:14 +00:00
maxim
e49b85d836 MFC periodic/daily/480.status-ntpd. 2007-06-16 08:07:08 +00:00
delphij
6f8d77c784 Pullup revision 1.191
date: 2007/03/12 09:13:13;  author: sos;  state: Exp;  lines: +1 -1
Fix support for the VIA8237A SATA part.

HW sponsored by: Bob Bishop
2007-06-15 08:53:23 +00:00
njl
3d656def18 MFC 1.4: note panic if struct selinfo is used without being zeroed. 2007-06-15 02:54:32 +00:00
gshapiro
38d3d614c9 MFC: Add a new rc.conf variable, sendmail_rebuild_aliases, which tells
/etc/rc.d/sendmail whether or not to run newaliases if the database
     is missing or the aliases text file is newer than aliases.db.

     In my opinion, the aliases file should never be automatically rebuilt.
     The current text form could represent a work in progress.  Therefore,
     in FreeBSD 7.0, this new option will default to "NO".  When this rc.d
     change is MFC'ed, it will need to remain "YES" to maintain backward
     compatibility.

     PR:             conf/86252
     Approved by:    re (kensmith)
     MFC after:      3 days

     Revision  Changes    Path
     1.316     +1 -0      src/etc/defaults/rc.conf
     1.17      +10 -8     src/etc/rc.d/sendmail
     1.1039    +6 -0      src/release/doc/en_US.ISO8859-1/relnotes/article.sgml
2007-06-15 02:39:36 +00:00
davidch
e7c59ea317 - Fixed build problem with unused variable. 2007-06-14 22:58:14 +00:00
davidch
b06d865575 - Updated firmware to latest release (v3.4.8) to fix TSO + jumbo frame lockup
- Added MSI (hw.bce.msi_enable) sysctl
- Fixed kernel panic when MSI is used and module is unloaded
- Added several new debug routines
- Removed slack space for RX/TX chains since it only covers sloppy coding
- Fixed a potential problem when programming jumbo MTU size in hardware
- Various other comment changes
- Added 2.5G support for BCM5708S
2007-06-14 21:28:14 +00:00
davidch
dc731d42ef New features:
- Moved BCM5706S/5708S SerDes support to brgphy (since they are not technically
  TBI interfaces)
- Added 2.5G support for BCM5708S
2007-06-14 21:07:19 +00:00
davidch
ab3228a497 - Added a new Ethernet media type (2500BaseSX) to support BCM5708 controllers
which support a 2.5Gbps mode over fiber using next page extensions during
  autonegotiation.  Typically only found in blade systems which also include
  a Broadcom 2.5Gbps capable switch.
2007-06-14 20:02:41 +00:00
bde
2c1a613795 MFC: all except 1.63:
1.59-1.62: already merged
1.63: removal of bridge(45) not merged
1.64: already merged
1.65: use uintmax_t
1.66: repair formatting to 79 columns
1.67: increase accuracy of timeouts and thus of per-interval counts
1.68: style fixes

Requested by:	kuriyama (1.66)

1.66 changes the whitespace in output.  Hopefully nothing depends on the
exact misformatting that it fixes.
2007-06-14 12:38:12 +00:00
keramida
d012a1e8fc MFC 1.326 -- Add a description of moused_XXX_flags to rc.conf(5) 2007-06-14 08:09:37 +00:00
bde
e3a10cccc2 MFC: 1.9: fix an alaising bug. 2007-06-14 06:44:25 +00:00
bde
f51683d7a5 MFC:
Makefile 1.76
src/math.h 1.62
src/s_modfl.c 1.1

Implement modfl().

This is a minor API change which hopefully won't cause any problems.
2007-06-14 06:39:18 +00:00
bde
259278faba MFC: Makefile.inc 1.9: further deprecate scalb() and scalbf() by
removing their asm versions.  This fixes scalbf() as a side effect.
2007-06-14 06:25:31 +00:00
bde
f4df6ffb95 MFC:
s_modf.c 1.8
s_modff.c 1.8

Correctly handle inf/nan.
2007-06-14 06:08:38 +00:00
bde
12b3ebee26 MFC:
e_lgamma_r.c 1.9
e_lgammaf_r.c 1.10

Don't assume that int == int32_t.  Minor fixes in comments.  Describe
special cases in more detail.
2007-06-14 06:06:12 +00:00
bde
da488e0484 MFC: 1.11: fix the threshold for (not) using the simple Taylor approximation. 2007-06-14 05:59:07 +00:00
bde
1d0769f5da MFC: 1.8: several significant fixes and one optimization by merging better
code from sinmh() and tanhf().
2007-06-14 05:46:59 +00:00
bde
45b5b4ba7e MFC:
s_cbrt.c 1.8-1.14
s_cbrtf.c 1.8-1.17

Many significant optimizations and expansions of comments.  Not so many
significant fixes for accuracy.  Several different algorithms are used,
with some appearing only in intermediate versions.
2007-06-14 05:36:19 +00:00
bde
e5ce6c8ae2 MFC:
s_round.c 1.4
s_roundf.c 1.4
s_roundl.c 1.2

Make roundf() actually work, and attempt to fix round() and roundl()
by cloning the fix for roundf().
2007-06-14 05:20:38 +00:00
bde
c771fa043d MFC:
s_rint.c 1.12-1.13: one significant fix and one simplification.
s_rintf.c 1.10: one significant fix

The history is confusing.  The fix was supposed to be in s_rintf.c 1.9,
but that missed the double version and was buggy for the float version.
2007-06-14 05:16:44 +00:00
bde
4eff62ffd1 MFC:
s_logb.c 1.10
s_logbf.c 1.8

Fix logb*() on denormals.
2007-06-14 05:04:07 +00:00
bde
ea6dc95841 MFC:
s_log1pf.c 1.8: work around compiler bugs involving extra precision.

s_log1p.c 1.8
s_log1pf.c 1.9
Fix approximation(s) involving sqrt(2).
2007-06-14 05:00:55 +00:00
bde
710d7522d8 MFC: e_logf.c 1.8-1.9: optimize the polynomial for float precision, and
fix the threshold for (not) using the simpler Taylor polynomial.
2007-06-14 04:52:21 +00:00
bde
091870216f MFC: e_expf.c 1.10: fix the hi+lo approximation to log(2). 2007-06-14 04:47:02 +00:00
bde
65490fa5d8 MFC:
e_coshf.c 1.7
e_sinhf.c 1.8
s_tanhf.c 1.8

Fix some magic numbers and (except for tanhf()) some bugs in pseudo-code.
2007-06-14 04:46:09 +00:00
bde
d9f7e0f995 MFC: 1.9: fix the approximation to pio4. 2007-06-14 04:28:43 +00:00
bde
9b5dac01eb MFC:
k_cos.c 1.9-1.10
k_sin.c 1.9-1.10
k_tan.c 1.11-1.12
s_cos.c 1.10
s_sin.c 1.10
s_tan.c 1.10

Small optimizations and smaller fixes and cleanups for cos(), sin()
and tan() based on work on the float versions.
2007-06-14 04:16:14 +00:00
bde
81e4f5a82a MFC (1.74: detach k_rem_pio2f.c from the build since it is now unused).
This goes with optimizing and debugging cosf(), sinf() and tanf().  This
is an internal API change.  Hopefully nothing outside of libm abuses
libm's internals.  Especially this internal, since it should never have
existed and had large bugs.
2007-06-14 03:54:32 +00:00
rafan
e658015de7 MFC the following changes:
src/lib/ncurses/form/Makefile		1.14
  src/lib/ncurses/menu/Makefile		1.16
  src/lib/ncurses/ncurses/Makefile	1.90
  src/lib/ncurses/panel/Makefile	1.15

  - When I introduce wide character enabled ncurses into base, all headers
    are installed twice (once in non-widec version, onec in widec version).
    Headers with widec enabled are compatible with non-widec version
    for libraries. However, if you do a repeat build/install, the curses.h
    is always overwritten. The reason is that headers and statics libraries
    are installed with -C option to preserve their mtime if no actual changes,
    which saves time when doing incremental builds. The curses.h is installed
    by non-widec ncurses first, then by widec ncurses. So next time, it happens
    again. You see something like this:

    # pwd
    /usr/src/lib/ncurses
    # make -s installincludes INSTALL="install -v"
    ===> ncurses (installincludes)
    install: curses.h -> /usr/include/curses.h
    ===> ncursesw (installincludes)
    install: curses.h -> /usr/include/curses.h
    # make -s installincludes INSTALL="install -v"
    ===> ncurses (installincludes)
    install: curses.h -> /usr/include/curses.h
    ===> ncursesw (installincludes)
    install: curses.h -> /usr/include/curses.h

    The solution is to disable installing headers in non-widec version. Now
    you see this:

    # pwd
    /usr/src/lib/ncurses
    # make -s installincludes INSTALL="install -v"
    ===> ncurses (installincludes)
    ===> ncursesw (installincludes)
    # make -s installincludes INSTALL="install -v"
    ===> ncurses (installincludes)
    ===> ncursesw (installincludes)

    For form/panel/menu libraries, the headers are the same for both version.
    To be consistent with ncurses, I also disable the installation in non-widec
    version.

Reported by:    des
Reviewed by:    ru
Thanks to:      ru
Approved by:    delphij (mentor)
2007-06-14 02:53:24 +00:00
bde
1cc5cc45f7 MFC:
e_lgammaf_r.c 1.8-1.9
e_rem_pio2f.c 1.8-1.19
k_cosf.c 1.8-1.15
k_rem_pio2f.c 1.8
k_sinf.c 1.8-1.13
k_tanf.c 1.9-1.20
math_private.h 1.19-1.20
s_cosf.c 1.8-1.15
s_sinf.c 1.8-1.14
s_tanf.c 1.8-1.14

Many significant optimizations and bug fixes for cosf(), sinf() and tanf().
For lgammaf_r(), no direct optimizations, one significant bug fix, and keep
up with API changes in cosf() and sinf() internals.

This involves internal API changes.  Hopefully nothing outside of libm
abuses libm's internals.
2007-06-13 18:17:25 +00:00
bde
af372c104d MFC (1.18: implement some inline functions to support complex functions). 2007-06-13 17:38:50 +00:00
bde
f130e3a085 MFC: (1.73: part of undeprecating logb*()). 2007-06-13 17:23:08 +00:00
bde
c1001bd7f5 MFC: remove California Regent's clause 3, per letter. 2007-06-13 16:08:41 +00:00
bde
761e415a4e MFC (1.3: fix spelling of remquof() in its prototype). 2007-06-13 15:55:55 +00:00
bde
e07a3aba10 MFC: ieee_test.3 1.12-1.13, ilogb.3 1.2-1.3, math.3 1.26-1.27:
Undeprecate logb*().  Add/fix history of logb*() and ilogb*().
2007-06-13 15:53:02 +00:00
bde
f3d6d1751f MFC (1.23: fix a cut-and-paste-o). 2007-06-13 15:43:21 +00:00
bde
39e7b9467b MFC (1.11: fix some comments). 2007-06-13 15:33:26 +00:00
bde
b264c33686 MFC:
b_log.c 1.8, b_tgamma.c 1.7, mathimpl.h 1.6: fix aliasing bugs in TRUNC()
and move its definition to mathimpl.h.

b_tgamma.c 1.8-1.9: document and fix tgamma() on some special args, and
clean up.

mathimpl.h 1.7: clean up.
2007-06-13 15:28:11 +00:00
bde
86b80649e1 MFC (1.3: remove an unneeded fnstcw instruction in fegetenv()). 2007-06-13 15:10:57 +00:00
bde
8e7ec39fbf MFC (1.4: remove an unneeded fnstcw instruction in fegetenv()). 2007-06-13 15:10:15 +00:00
bde
535d24fc03 MFC (1.6: fix fesetenv() clobbering the i387 register stack). 2007-06-13 15:06:32 +00:00
joel
b907c4c383 MFC:
Document support for the following sound cards:

- AudioTrak Prodigy HD2
- AudioTrak Prodigy 7.1 XT
- ESI Juli@
2007-06-13 13:46:01 +00:00
ariff
a9748277bd MFC:
Revision:

  1.39      src/sys/dev/sound/pci/hda/hdac.c

- Add codec id for ALC660 [1]
- Add codec id for AD1988B, along with fixing its line-in and other
  issues (with proper quirks). [2]

Submitted by:	[1] barbara.xxx1975@libero.it
             	[2] Oliver Brandmueller ob@e-Gitt.NET
2007-06-13 01:52:26 +00:00
jhb
b11ee0d368 MFC 1.30: Certain (bad) values of sack blocks can end up corrupting the
sack scoreboard.  Make the checks in tcp_sack_doack() more robust to
prevent this.
2007-06-12 19:21:54 +00:00
jhb
08caba1a80 MFC 1.28: Fix for a bug that causes SACK scoreboard corruption when the
limit on holes per connection is reached.
2007-06-12 19:20:13 +00:00
jhb
22914199b0 MFC 1.315: In the SYN_SENT case, Initialize the snd_wnd before the call to
tcp_mss().  The TCP hostcache logic in tcp_mss() depends on the snd_wnd
being initialized.
2007-06-12 18:53:32 +00:00
ariff
d0c038fa0f MFC:
Revisions:

  1.13      src/sys/dev/sound/pci/envy24.c
  1.2       src/sys/dev/sound/pci/envy24.h
  1.13      src/sys/dev/sound/pci/envy24ht.c
  1.5       src/sys/dev/sound/pci/envy24ht.h
  1.6       src/sys/dev/sound/pci/spicds.c
  1.4       src/sys/dev/sound/pci/spicds.h

Bring in a bunch of bug fixes and some code to support more chipsets.
Neither me nor Joel have access to any of this hardware, so all tests
have been made by Konstantin and Artem.  Commit message mostly written
by Konstantin.

envy24:
- Add test code to support rear line-in input on 'Terratec DMX 6fire'
  audio card.  This code is also intended to be used in the future for
  support of cards, that have I2C-to-GPIO expanders wired between the
  control line of the audio codec and the Envy24, however such cards
  are too complex and i can't add that support without hardware sample
  of such board, i've already tried and failed.

envy24ht:
- Add support for 'AudioTrak Prodigy HD2'.
- Add support for 'AudioTrak Prodigy 7.1 XT'.
- Add support for 'ESI Juli@' (Works ok, DAC volume is hard-coded for
  the time being, so 'mixer vol ...' doesn't work, only 'mixer pcm
  ...' works). [1]
- Fix bug in the init data for M-Audio Revolution 5.1, that
  results in distorted sound.
- Add software volume control (now 'mixer pcm' works, thanks to Ariff).
- Add support for more samples rates - 176.4kHz and 192kHz.
- Fix problem with the 192kHz samples rate playback when 24.576MHz
  crystal is used on the board instead of 49.152MHz crystal.

spicds:
- Add support for Asahi Kasei flagship DAC - AK4396 (used in AudioTrak
  Prodigy HD2).

Submitted by:	Konstantin Dimitrov <kosio.dimitrov@gmail.com>
Tested by:	Artem Antonov [1]
2007-06-11 19:33:28 +00:00