121946 Commits

Author SHA1 Message Date
ariff
7254263f8c MFC:
Revisions:
  1.44      src/sys/dev/sound/pci/hda/hdac.c
  1.8       src/sys/dev/sound/pci/hda/hdac_private.h

- Add codec id for Realtek ALC268.

- Add controller id for Intel 82801I (ICH9).
  PR:			kern/114399
  Submitted by:		Michael Fuckner <michael@fuckner.net>

- MSI support. Disable by default due to various issues with too many
  broken hardwares. MSI can be enabled through device.hints(5) or
  kenv(8) by setting "hint.pcm.%d.msi=1" (for RELENG_6, you need to
  set/enable hw.pci.enable_msi=1).
  Partially submitted by:	kevlo
                         	YAMAMOTO Taku <taku@tackymt.homeip.net>
  Tested by:			joel, kevlo, YAMAMOTO Taku
2007-07-12 06:39:08 +00:00
dougb
c7b5f801f9 Comment out the BIND 9.4.x-only disable-emtpy-zone options.
Pointed out by: A cast of thousands
Pointy hat to:  Just me
2007-07-11 23:59:41 +00:00
novel
574800c221 MFC command.c 1.307, radius.h 1.22, radius.c 1.54, ppp.8.m4 1.326:
Add a new option for ppp.conf: rad_port_id. It allows to
change the way of what ppp submits to the RADIUS server
as NAS-Port-Id. Possible options are: the PID of the process
owning the corresponding interface, tun(4) interface number,
interface index (as it would get returned by if_nametoindex(3)),
or it's possible to keep the default behavior. Check the ppp(8)
manual page for details.

MFC ppp.8.m4 1.327:
Cleanup after previous commit.

PR:		bin/112764
Submitted by:	novel (myself)
Approved by:	flz
2007-07-11 10:49:06 +00:00
dougb
cddec5774d Record the removal of the PROTO.localhost* stuff from etc/namedb 2007-07-11 07:23:39 +00:00
delphij
5db65c0475 Reflect bzip2 MFC. 2007-07-11 07:16:56 +00:00
dougb
2e29ef4131 MFC of the work committed on 2007-06-18 to improve the default
named.conf. This brings us in line with BCP, and makes our
installed configuration usable as a local resolver right out
of the box.

This includes:
1.359 of etc/Makefile
1.5 of etc/namedb/Makefile
1.1 of etc/namedb/master/Makefile
all for the new files in etc/namedb/master,

1.23 and 1.24 of etc/namedb/named.conf to bring in the new
configuration options,

The new files in etc/namedb/master to support those options,

And deletion of the old *localhost*.rev files.

See the commit message to HEAD and the comments in the new
named.conf file for more details about the changes and the
reasons for them.
2007-07-11 07:08:23 +00:00
delphij
8e18321b82 MFC: bzip2 1.0.4. 2007-07-11 07:04:07 +00:00
simokawa
45590024c7 MFC rev. 1.98: Fix a bug of retrieving configuration ROM. 2007-07-11 02:13:50 +00:00
brueffer
4d6bed74df MFC: rev. 1.4
The driver will also first appear in 6.3.  While here, fix some
grammar issues and capitalize Jumbo Frames.
2007-07-10 17:13:31 +00:00
mlaier
936200194c MFC, rev 1.18:
Fix hardware checksum verification on fragments.

	Reported/tested by:	Hugo Koji Kobayashi, Vadym Chepkov
	Reviewed/help by:	yongari
2007-07-10 10:27:12 +00:00
cperciva
1a5d6ec606 MFC revision 1.11: Add support for the HTTP_TIMEOUT environment variable.
MFC revision 1.12: Add support for HTTP/1.0 Persistent Connections.
2007-07-09 22:50:51 +00:00
rodrigc
2f7815c541 MFC: Convert MSDOSFS_LARGE compile time option to a "-o large" mount option.
PR:	105964
2007-07-08 15:30:28 +00:00
ariff
47c22847e2 MFC:
New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page
mapping, due to recent changes in linux compatibility layer which
require it. All linux applications that using sound + mmap() (mostly games)
require this to be enabled. Disabled by default.
2007-07-08 14:01:11 +00:00
netchild
70891f8aea regen after syscalls.master change 2007-07-08 12:23:37 +00:00
netchild
45f314826d MFC (5a of X):
- linuxulator mmap handling

Compile tested by:	scf (i386, as part of a mega-MFC-patch)
Tested by:		Arno J. Klaassen <arno@heho.snv.jussieu.fr> (amd64)
2007-07-08 12:22:15 +00:00
netchild
ae2249d960 MFC (5 of X):
- linuxulator mmap handling
 - memleak fixes
 - extend linux errno mapping
 - handle address space limits for linux processes
 - sync linprocfs (/proc/sys/... part)

Compile tested by:	scf (i386, as part of a mega-MFC-patch)
Tested by:		Arno J. Klaassen <arno@heho.snv.jussieu.fr> (amd64)
2007-07-08 12:20:36 +00:00
netchild
962e1e6836 MFC (4 of X):
- don't limit number of syscalls to 255
 - handle more socket options
 - bug-/compatibility-fixes to linux
   * file related (includes fixes which prevent creation of strange files
     which can only be removed with a fsck)
   * make ping work
   * ...
 - add devfs to the file system type handling/translation

Compile tested by:	scf (i386, as part of a mega-MFC-patch)
Tested by:		Arno J. Klaassen <arno@heho.snv.jussieu.fr> (amd64)
2007-07-08 09:04:44 +00:00
netchild
47a37c3274 MFC (3 of X):
- In preparation of further linuxulator fixes MFC kern_descrip.c rev 1.296 and
   syscallsubr.h rev 1.41 by jhb:
   Add a kern_close() so that the ABIs can close a file descriptor w/o having
   to populate a close_args struct and change some of the places that do.

Tested by:	scf (i386, as part of a mega-MFC-patch),
		Arno J. Klaassen <arno@heho.snv.jussieu.fr> (amd64)
2007-07-08 08:44:48 +00:00
netchild
b6ba7285b9 MFC (2 of X):
- some linuxulator style(9) fixes
 - add datatypes and definitions in preparation of further commits
 - use one (l_sigval) of the new datatypes on amd64 and get rid of a now unused
   include (this may or may not fix some signal handling issues on amd64) [1]
 - convert some unconditional debug handling into the common linuxulator way
 - use some more appropriate format string types in some debug printf's
 - convert signal validation into a macro

Except for [1] on amd64 there is no visible change to a normal user.

Tested by:	scf (i386), Arno J. Klaassen <arno@heho.snv.jussieu.fr> (amd64)
2007-07-08 08:41:09 +00:00
netchild
34d21d2a2c MFC (1 of X):
- easy linuxulator style(9) fixes (easy = hand removal of non-style code
   change sections in a full diff)

Tested by:	scf (i386), Arno J. Klaassen <arno@heho.snv.jussieu.fr> (amd64)
2007-07-08 08:26:10 +00:00
kientzle
5c3735c354 MFC unbreak installworld. <sigh>
Pointy hat: me
2007-07-07 16:59:11 +00:00
remko
fdf641ceab MFC v 1.124 ata-all.h
MFC v 1.204 ata-disk.c

  Add Viking Interworks 256MB as an ata device; this might give
  some false positives but at this moment it is better to add
  support then to dont have it at all (comment from Soren).

  PR: kern/111516
  Submitted by: Thomas Nystrom <thn at saeab dot se>
  Approved by: re (kensmith)
  Approved by: imp (mentor)
  OK'ed by: sos (With the comment noted above about false
  positives).

Approved by:	imp (mentor,implicit)
2007-07-07 11:36:44 +00:00
remko
66a32e6850 MFC rev 1.33 mdmfs.c
-n is used by newfs to tell "do not generate a .snap directory" instead of
 specifying rotational-positions, reflect that in the command arguments.

 PR: bin/110178
 Submitted by: Alex Kozlov <spam at rm-rf dot kiev dot ua>
 Approved by: imp (mentor)

Approved by:	imp (mentor, implicit)
2007-07-07 11:22:46 +00:00
brian
77b1e42295 Fix a problem introduced in netinet/in.c 1.85.2.7 where
in_ifdetach() calls in_delmulti_ifp().

The code now *really* deletes the elements in in_multihead
for the ifp that's going away (rather than just decrementing
the reference count).  Previously we were left with inm and
ifma structures containing bogus ifnet pointers after
destroying an interface that had more than one IP4 assignment
made to it in it's lifetime.

I've also added a if_delmulti_ent() to make deleting known
ifma structures possible rather than depending on
if_findmulti() to end up finding the same thing.  It
will in fact always find the correct ifma *unless* the
passed sockaddr has a bogus sa_len of zero.

Finally, when adding a multicast address, we no longer
increment the refcount (well, we do, but then we decrement
it again).  The refcount here is in fact bogus so hopefully
readers will see that now.

This code is going directly into -stable as it has been
rewritten in -current and those changes are deemed too
intrusive for -stable consumption right now.

Reviewed by:	bms
2007-07-07 00:54:46 +00:00
kientzle
3c3f90afd7 MFC some comment changes and a reworking of one cast.
With this change, libarchive source in -CURRENT and 6-STABLE
is exactly identical.  The only difference is the
version number (1.9 for 6-STABLE, 2.2 for -CURRENT) and
SHLIB_MAJOR (2 in 6-STABLE, 4 in -CURRENT).  The
source has conditionals to compile the old libarchive 1
API/ABI or the newer libarchive 2 API/ABI depending on
the version number set at compile time.
2007-07-06 16:08:04 +00:00
kientzle
a9b5028b89 MFC removal of extraneous file. This function has been moved
into archive_read.c.
2007-07-06 16:01:06 +00:00
kientzle
4dac99162c Forced commit to note that the big MFC included
the recent fix to disable attempts to use lseek()
on non-regular files.  In particular, this fixes
"tar -t" on tape drives.
2007-07-05 02:30:46 +00:00
kientzle
3cb23e7c55 MFC libarchive 1.9.
This is identical to libarchive 2.2.3 from -CURRENT, with
all of the performance improvements, bug fixes, and new
formats, except that:
  * archive_read_finish() and archive_write_finish() don't return errors
  * archive_write_data() has a different return type
  * user-provided skip callbacks have a slightly different signature

These differences maintain ABI compatibility with libarchive 1.3.1
(hence the "1" in "1.9") and allows libarchive 1.9 to have the
same SHLIB_MAJOR and otherwise serve as a straight replacement
for libarchive 1.3.1 (only better).

Thanks to:  Many, many people who contributed error reports, bug fixes,
  and suggestions over the last three years. ;-)
2007-07-05 01:56:41 +00:00
cvs2svn
65d8032785 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2007-07-04 23:27:39 +00:00
bms
e1599515d1 MFC rev XXXX:
Do not attempt to enable AHCI mode on ALi SATA controllers other
 than the 5288.

 It is not correctly implemented in earlier silicon, and the BIOS often
 lies about AHCI capability on platforms where these chips are deployed.
 With this change I am able to boot FreeBSD on the ASUS Vintage AH-1
 barebones system.

Approved by:	sos
2007-07-04 12:29:15 +00:00
ariff
cdc5bc36ec MFC:
Revisions:
  1.43      src/sys/dev/sound/pci/hda/hdac.c
  1.7       src/sys/dev/sound/pci/hda/hdac_private.h

- Fix input/microphone support for ASUS A8N-VMCSM series.

  Submitted by: Simon Schubert <corecode@fs.ei.tum.de>

- Defer flushing unsolicited response into taskqueue thread rather
  than handle it directly in interrupt handler, since few of its
  operations (like measuring/calibrating jack impedance) are quite
  expensive.
- Misc. debugging cleanups.

Tested by:	joel
2007-07-04 04:05:22 +00:00
ariff
b9c0cfdfd6 MFC (revision 1.10):
Fix no-sound issues with ASUS A9T notebook.

Note: The offending quirk should have been made model/codec specific,
but since there were no records / log which model requires it, the quirk
logic had to be inverted (blacklist instead of whitelist).

Tested by:	Arkadiy Dudevitch <dudevitch@englerllc.com>
2007-07-04 04:04:42 +00:00
remko
c757a99726 MFC rp.c rev 1.73
Fix Rocketport so that it does not crash the system when a device pointer
  changes for example:

  (From Craig Leres):

  tip to a rocketport line
  run "/etc/rc.d/devfs restart"
  exit tip
  (wait for the system to reboot)

  Thanks to Robert Watson for poking me to fix this.

  PR:		kern/109152
  Approved by:	imp (mentor)
  Approved by:	re (kensmith)
  Reviewed by:	jhb
  Submitted by:	Craig Leres <leres@ee dot lbl dot gov>

Approved by:	imp (mentor, implicit)
2007-07-03 20:35:07 +00:00
bmah
136ee0a895 MFC: less v406. 2007-07-03 16:01:10 +00:00
rwatson
0166bdd415 Fix a bug in sblock() that has existed since revision 1.1 from BSD:
correctly return an error if M_NOWAIT is passed to sblock() and the
operation might block.  This remarkably subtle macro bug appears to
be responsible for quite a few undiagnosed socket buffer corruption
and mbuf-related kernel panics.

This bug has already been fixed in 7-CURRENT as part of the move to
using sx(9) locks to serialize simultaneous socket I/O, but is an
MFC candidate for all earlier FreeBSD -STABLE branches.

MFC after:	2 weeks
Found by:	Isilon
Submitted by:	jeff
Tested by:	jhb, Yahoo!
2007-07-03 10:14:13 +00:00
delphij
6de6b8a4ce MFC: less v406 2007-07-03 05:12:43 +00:00
pav
8060ec5360 MFC 1.12: Replace rather inefficient bubble sort with a recursive depth-first
search.  This speeds up registration of packages considerably.
2007-07-02 08:05:34 +00:00
pav
510cd574a8 MFC rev. 1.114: Add new x11-drivers category.
MFC rev. 1.115: Add new virtual category kld
2007-07-01 10:37:16 +00:00
jhb
40ca6c4170 MFC: Use the tsc to implement DELAY() if it is usable and calibrated.
Reviewed by:	peter
2007-06-29 21:05:28 +00:00
jhb
6eac914455 Properly initialize the address value in siginfo for Linux binaries on
amd64.  amd64 has a separate tf_addr in the trapframe unlike i386 which
reuses tf_err to pass the address to signals.
2007-06-29 21:04:22 +00:00
delphij
674c5f6bbc MFC: Add -k option. 2007-06-29 01:45:18 +00:00
thompsa
8417a58fbd MFC r1.37
Check the correct port to see if synced is true.

PR:             misc/113958
Submitted by:   Aaron Needles
2007-06-29 00:35:37 +00:00
njl
0f671485fc MFC: use busdma to get a page for activating speedstep mode. 2007-06-28 21:26:11 +00:00
njl
8c7442cb09 MFC: makefile cleanups and remove hard-coded SMBus port from alpm and viapm. 2007-06-28 21:23:56 +00:00
jhb
1f96e040a0 MFC 1.131: Fix for a race between the thread transmitting the request and
the thread processing the reply.
2007-06-28 03:28:28 +00:00
rafan
d322145f20 Force commit to note in previous MFC the correct discussion for
removing warning about nullfs is

http://docs.freebsd.org/cgi/mid.cgi?6eb82e0706182246q6563ba03x31038082125b50ae

Reminded by:	des
2007-06-27 02:37:54 +00:00
remko
f3a8b45984 MFC v 1.66 udf_vnops.c
Correct corrupt read when the read starts at a non-aligned offset.

	PR: kern/77234
	Approved by: imp (mentor)
	Requested by: many many people
	Submitted by: Andriy Gapon <avg at icyb dot net dot ua>

Approved by:	imp (implicit, mentor)
2007-06-26 06:59:24 +00:00
rafan
4d740ae97e MFC rev 1.1435 (nullfs part)
- Remove the warning about NULL filesystem. It is stable and safe to use in
    both 6.x and 7.x. This is based on feedbacks on this thread

    http://docs.freebsd.org/cgi/getmsg.cgi?fetch=81818+0+current/freebsd-stable
    and my use it on 6.x.

Discussed on:  freebsd-stable@
2007-06-26 01:11:03 +00:00
jhb
482018ae53 MFC 1.11 - 1.14: Add a new counter for SACK retransmits and expand TCP
counters from 9 digits to 12.
2007-06-26 00:05:36 +00:00
jhb
27111628aa MFC 1.306: Conditionally acquire Giant when dropping a reference on the
ktrace vnode during execve().
2007-06-25 23:58:46 +00:00