Commit Graph

118446 Commits

Author SHA1 Message Date
dougb
01fd4599c4 These files are only relevant in HEAD, where the imports are done. 2006-01-14 06:13:17 +00:00
tegge
81ceadf72a MFC: Add marker vnodes to ensure that all vnodes associated with the mount
point are iterated over when using MNT_VNODE_FOREACH.
2006-01-14 01:18:03 +00:00
tegge
479ccb2392 MFC: Close race where wakeup after background write could be lost. 2006-01-14 01:09:10 +00:00
tegge
c398a9e83f MFC: Broaden scope of softdep_worklist_busy rwlock protection. 2006-01-14 01:07:14 +00:00
tegge
c8d0f60cdf MFC: Obtain mount point lock before restarting sync loop if vget() failed. 2006-01-14 01:05:22 +00:00
ariff
019b9af95d MFC: Fix broken playback capabilities to prevent impending disaster.
The minimum / maximum speed was way too low / high!

     minspeed =   2000 - is this for real ?
     maxspeed = 767999 - is this for real ?????

     Wrap everything into 8000 - 48000 boundary, just to be safe.
2006-01-14 00:35:18 +00:00
pav
aeeb3bfd31 MFC 1.74: xref mount_reiserfs(8) 2006-01-13 20:05:59 +00:00
pav
b68f1c7b71 MFC 1.16: fix: documentation for -m option was inserted halfway thru the text
of -l option.
2006-01-13 20:02:56 +00:00
jhb
256ff0a5b8 MFC: Fix description of si2 firmware and update the si3 firmware to the
latest version in the SDK.
2006-01-13 19:27:35 +00:00
jhb
4fafdc5737 MFC: Fix /dev entries for cards with multiple modules. 2006-01-13 19:26:08 +00:00
glebius
03bc08061d - Restore VLAN_INPUT_TAG() macro to preserve API compatibility for
third party drivers.
- Fix bugs destribed in previous revision using macro with
  another name.
2006-01-13 19:21:45 +00:00
joel
a889984747 MFC: Remove references to snd_vortex1(4). 2006-01-13 14:56:51 +00:00
glebius
ed67dec936 MFC:
- Use VLAN_TAG_VALUE() not only to read a dot1q tag
    value from an m_tag, but also to set it.  This reduces
    complex code duplication and improves its readability.
  - Fix VLAN_INPUT_TAG() macro, so that it doesn't touch mtag in
    case if memory allocation failed.
  - Remove fourth argument from VLAN_INPUT_TAG(), that was used
    incorrectly in almost all drivers. Indicate failure with
    mbuf value of NULL.
2006-01-13 11:51:11 +00:00
rwatson
2776f9ec11 MFC smb_dev.c:1.29 from HEAD to RELENG_6:
Prevent module unloading if there are active connections.

   PR:             kern/89085
   Submitted by:   Rostislav Krasny

Requested by:	Rostislav Krasny <rosti dot bsd at gmail dot com>
2006-01-13 10:23:39 +00:00
des
35d97efa7b MFC: (1.76) reflect progress in proctitle (1.77) fix mirror mode 2006-01-13 09:07:49 +00:00
ariff
3dcf9009a7 MFC: Another major fixes and enhancements:
- MPSAFE
     - Fix / reorganize attach routine. Device specific initialization must
       be done after generic bus / DMA setup. At last, Virtual Channels
       (vchan) works as expected.

Tested by:	barner
2006-01-13 05:24:41 +00:00
ariff
3769380cc5 MFC: More thorough fixes to enable inverted external amplifier sense flag.
Instead of dragging the entire ICH4/82801DB into this mess, select
     only few boards based on pci subdevice / subvendor.

Tested by:	Daisuke Orikasa <luxury-acura-3.5rl at nifty.com>
2006-01-13 04:26:48 +00:00
marcel
b2222f6810 MFC rev 1.20: Fix FD_ISSET() on LP64 platforms.
PR: ia64/91421
Submitted by: Tanaka Akira (akr at m17n dot org)
2006-01-13 03:11:16 +00:00
cperciva
dad028c05c MFC:
Make "portsnap extract" automatically create ${PORTSDIR} if necessary
  instead of complaining that "Directory does not exist or is not
  writable".
2006-01-13 00:53:53 +00:00
ru
8fa524d428 MFC: Present new BSD releases to -mdoc. 2006-01-12 15:44:42 +00:00
ru
33034883e0 MFC: 1.3: Remove public declaration of static. 2006-01-12 10:35:24 +00:00
ru
b3c6d28d9a MFC: Fix creation of smb devices. 2006-01-12 10:34:38 +00:00
maxim
2e1a8fea8a MFC rev. 1.70: deal with the overridden SIGCHLD handler. 2006-01-12 05:24:46 +00:00
flz
384cb78489 MFC:
Fix -r causing SIGSEGV due to parse_args() being called before font_current is set.

      src/usr.sbin/kbdmap/kbdmap.c: rev 1.4
2006-01-12 01:26:34 +00:00
glebius
102e170e76 Merge rev. 1.130 that I though was merged long time ago. Thanks to emaste
for noticing this.

  Drop current rtentry lock before calling rt_getifa(). This fixes a LOR
  and a possible recursive use of rtentry mutex.
2006-01-12 00:22:12 +00:00
dumbbell
14ecd1f659 MFC:
src/sys/dev/atkbdc/psm.c; revision 1.88
  date: 2006/01/05 19:24:01;  author: dumbbell;  state: Exp;  lines: +2 -1

  Fix a bug in Synaptics Touchapd support where psm(4) will enter an infinite
  loop if it receives an out of sync packet.

  Reviewed by:	mux (mentor)
2006-01-11 20:27:23 +00:00
delphij
19aa2b762e MFC revision 1.131
date: 2005/12/13 15:32:52;  author: delphij;  state: Exp;  lines: +5 -5
In Linux, kernel parameters passed to ioctl are by value, while in FreeBSD
they are passed by reference.  Handle the difference within the
linux_ioctl_termio on the LINUX_TCFLSH path.

Submitted by:   Jaroslav Drzik <jaro_AT_coop-voz_dot_sk>
Reminded by:	glebius
2006-01-11 15:40:00 +00:00
pav
dd3c9c4347 MFC 1.28: fix timeouted probes in pretty print of multipath routes 2006-01-11 12:59:39 +00:00
rwatson
5bb071d425 MFC devfs_rule.c:1.21 from HEAD to RELENG_6:
When returning EIO from DEVFSIO_RADD ioctl, drop the exclusive rule
  lock.  Otherwise the system comes to a rather sudden and grinding
  halt.

As the underlying devfs locking changes that lead to this bug have not
been merged to RELENG_5, this fix to those locking changes does not
need to be merged.
2006-01-11 10:15:57 +00:00
cperciva
25cd32d200 Correct insecure temporary file usage in texindex. [06:01]
Correct insecure temporary file usage in ee. [06:02]
Correct a race condition when setting file permissions, sanitize file
names by default, and fix a buffer overflow when handling files
larger than 4GB in cpio. [06:03]
Fix an error in the handling of IP fragments in ipfw which can cause
a kernel panic. [06:04]

Security:	FreeBSD-SA-06:01.texindex
Security:	FreeBSD-SA-06:02.ee
Security:	FreeBSD-SA-06:03.cpio
Security:	FreeBSD-SA-06:04.ipfw
2006-01-11 08:02:16 +00:00
brooks
e6a4fb6f3c MFC revs 1.27 and 1.28.
1.27: don't crash when given an invalid nwkey string
 1.28: parse SSIDs correctly and bail immediatly when invalid

PR:		misc/88159, bin/74509
2006-01-11 05:56:02 +00:00
flz
b129cd52e6 MFC:
- Add an entry for Acer Acerscan 1240U.

      src/share/man/man4/uscanner.4: rev 1.21
2006-01-11 00:37:32 +00:00
flz
411c651bd6 MFC:
Add Product ID for Acerscan 1240u and the corresponding entry in uscanner.c.

      src/sys/dev/usb/usbdevs: rev 1.247
      src/sys/dev/usb/uscanner.c: rev 1.67
2006-01-11 00:29:16 +00:00
krion
742f52a8cb MFC: add/extract.c:1.44 create/perform.c:1.82 create/pkg_create.1:1.70 create/pl.c:1.28
info/show.c:1.40 lib/plist.c:1.51

  date: 2006/01/07 22:10:57;  author: krion;  state: Exp;  lines: +10 -3
  When using @cwd %%FOO%%, we must ensure to return in the original
  prefix later, but doing so with @cwd %%OLDPREFIX%% (having
  PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
  list. That's not really a problem when dealing with ports but that's
  a problem with packages since pkg_add -p option only overrides the
  first @cwd occurrence.

  This patch allow us to use @cwd without any argument. If no
  directory argument is given, it will set current working directory
  to the first prefix given by the @cwd command.

  PR:             bin/77212
  Submitted by:   flz
2006-01-10 22:17:08 +00:00
jhb
b01bef48d7 MFC: Fix a couple of issues with the ibcs2 module event handler. 2006-01-10 21:44:58 +00:00
jhb
102dd80729 MFC: Fix issues with various Compaq boxes such as some DL360s (and possibly
some DL380s):
- Release the pci_link acpi serial lock if a link device has no actual
  links.
- Don't panic if a _PRT entry references an invalid link on a link device
  unless we actually try to route an interrupt using that _PRT entry.
2006-01-10 21:37:18 +00:00
wilko
ff439f4567 MFC: add geom_fox.4 2006-01-10 18:08:55 +00:00
glebius
c374350f42 MFC:
Check for IFF_DRV_RUNNING in the interrupt loop.

  Reported & tested by:   Martin P. Hansen <mph lima.dyndns.dk>
2006-01-10 10:24:05 +00:00
glebius
65952b1976 MFC 1.11:
In ng_netflow_disconnect() check whether we are working with "iface"
  or with "out" hook, and clear the right pointer.

  Reported by:    Vitaliy Ovsyannikov <V.Ovsyannikov kr.ru>
2006-01-10 10:22:22 +00:00
glebius
a5c4d12c38 MFC 1.55:
When in rev. 1.47 cardbus_alloc_resources() function was moved from
  cardbus_cis.c to this file, some code was not merged and thus resource
  list entries were invalid. They didn't have a resources attached to
  them.
    However, the problem was masked for some time later, because newer
  resources list entries were added to the head of the list, and
  resource_list_find() always returned the first matching resource list
  entry. Usually the underlying driver allocated a valid resource and
  added it to the head of the list, and invalid one wasn't used.
    In rev. 1.174 of subr_bus.c the sorting of resource list entries was
  reversed demasking the problem in cardbus_alloc_resources().
    This commit fixes the problem returning back some code from
  cardbus_cis.c, pre-1.49 revisions.

  PR:                     kern/87114
  PR:                     kern/90441
  Hardware provided by:   Vasily Olekhov <olekhov yandex.ru>
  Reviewed by:            imp
2006-01-10 10:17:56 +00:00
glebius
df3c4d7b56 MFC 1.62:
Add \n to log() message.
2006-01-10 10:13:43 +00:00
glebius
801f2fea18 MFC:
Implement an upper limit for packets per second sent by node.
2006-01-10 10:11:48 +00:00
glebius
90c1b77318 MFC 1.93 - 1.97, fixing suspend/resume on some laptops.
PR:		kern/89825
2006-01-10 10:09:03 +00:00
joel
4ad0523179 MFC r1.9:
Kill empty line.
2006-01-10 08:25:15 +00:00
nyan
2e580b7030 MFC: revision 1.56
- Add EXTDOCDIR and EXTPORTSDIR.
2006-01-10 03:48:42 +00:00
nyan
82a787187e MFC: revision 1.894 and 1.895
- Request boot floppy after loading mfsroot floppy.
 - Add EXTPORTSDIR.
2006-01-10 03:47:27 +00:00
ariff
608c99952d MFC: Fix obvious capabilities (rate) violation. Should be 5500, not 4000. 2006-01-10 01:01:24 +00:00
sobomax
34c0164bb4 MFC: allow execution of ET_DYN elf binaries (aka shared libraries) when
emulating architectures that allow this (Linux so far).

To preserve kernel modules ABI, unlike the version commited into the trunk,
which adds new flag field into Brandinfo structure for this purpose, this
one checks if brand field of Brandinfo matches ELFOSABI_LINUX.

PR:		kern/87615
Submitted by:	Marcin Koziej <creep@desk.pl>
2006-01-10 00:52:07 +00:00
stefanf
beb6b60f01 MFC: refresh.c 1.11: A refresh bug.
editline.3 1.26-1.29: Man page update and cleanup.
     editrc.5: 1.19: Man page cleanup.
2006-01-09 15:14:57 +00:00
joel
380866e56d MFC:
snd_ad1816.4    1.5-1.6
snd_als4000.4   1.5-1.7
snd_cmi.4       1.6-1.7
snd_cs4281.4    1.5-1.6
snd_csa.4       1.15
snd_ds1.4       1.5-1.6
snd_emu10k1.4   1.7-1.8
snd_ess.4       1.6-1.7
snd_fm801.4     1.2-1.3
snd_gusc.4      1.13
snd_ich.4       1.7-1.8
snd_maestro.4   1.3
snd_maestro3.4  1.8
snd_neomagic.4  1.4-1.5
snd_sbc.4       1.16
snd_solo.4      1.5
snd_t4dwave.4   1.2-1.3
snd_uaudio.4    1.6
snd_via8233.4   1.3-1.4
snd_via82c686.4 1.2-1.3
snd_vibes.4     1.2-1.3
2006-01-09 12:48:39 +00:00