Commit Graph

118164 Commits

Author SHA1 Message Date
jhb
f41e06b49b MFC: Add MLINK for execvP(3). 2005-12-05 19:59:20 +00:00
emax
fe023e1aa5 MFC: Add bluetooth.device.conf(5) man page 2005-12-05 18:59:43 +00:00
cperciva
4ba093419a MFC revision 1.5:
Make "missing dependency" errors more useful by indicating which port
  is trying to depend upon the non-existent port.

  Suggested by:   kris
2005-12-05 05:07:44 +00:00
obrien
67e83240bd MFC: rev 1.13: clear pending_txs when not "RUNNING". 2005-12-05 01:05:58 +00:00
obrien
1331999374 MFC: rev 1.12: make sure that we call if_free(ifp) after bus_teardown_intr.
This eliminates the possibility of a crash due to getting an interrupt after
we free the ifp and the interrupt handler depending on ifp being still alive.
2005-12-05 01:05:09 +00:00
iedowse
f0786eeee2 MFC: fix a number of bugs in the handling of the transfer descriptor
done queue.
2005-12-04 05:52:23 +00:00
iedowse
e08ca9ff18 MFC 1.124: pad RBC commands to 12 bytes for Sony DSC camereas. 2005-12-04 05:48:31 +00:00
philip
673143134c MFC: moused.c r1.71 and r1.74
moused.8 r1.54 to r1.57

moused.c r1.71:
  Add a -H option to enable horizontal virtual scrolling, much like -V for
  vertical virtual scrolling.  This also respects -U for the distance.

moused.c 1.74:
  Add an option to stop 'mouse drift' in some defective/cheap mice.  This
  stops the pointer slowly wandering away on its own in an annoying way when
  the mouse isn't physically moved.

moused.8:
  Documentation of above and ru's mdoc magic.

Procrastinator of the year:	philip
2005-12-04 00:48:33 +00:00
philip
f8de49e67d MFC r1.7:
Check for altq presence during module init, and allow module to work even if
  altq is not present (just disable the altq bits in that case).
2005-12-03 14:45:05 +00:00
philip
da676c8632 MFC r1.85:
Preserve /etc/sysctl.conf when doing a binary update.  This prevents, for
  instance, the dreaded shared memory problem in PostgreSQL coming back to
  haunt you after a binary update.
2005-12-03 14:37:24 +00:00
brueffer
2c9ab64940 MFC: rev. 1.26
Document 82571 and 82572 support.
2005-12-02 16:49:36 +00:00
brueffer
176688c481 MFC: rev. 1.4
Add a CAVEATS section that mentions missing RAID5 support.
2005-12-02 16:48:42 +00:00
brueffer
7927eda853 MFC:
In preparation for automatic hardware notes generation, reword the
hardware section text to include the driver name.
2005-12-02 16:47:27 +00:00
brueffer
ea2f9a90d4 MFC: rev. 1.9 + 1.10
Update the list of drivers that need wlan(4).
2005-12-02 16:45:03 +00:00
cvs2svn
5b47c5585e This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2005-12-02 00:17:35 +00:00
ru
4603995659 MFC: "nocpu" and "nomakeoptions" directives. 2005-12-01 17:43:09 +00:00
yongari
d9c83adc58 MFC 1.461 to RELENG_6
Connect em(4) build on sparc64.
2005-12-01 02:43:13 +00:00
yongari
e7b26efb3c MFC 1.66 to RELENG_6
Uncomment em(4) as it's now working.
2005-12-01 02:38:44 +00:00
davidxu
0a05924128 MFC Revision 1.11:
In raise(), use a shortcut to directly send signal to current thread.
MFC Revision 1.12:
	Remove a redundant _get_curthread() call.
2005-12-01 00:49:45 +00:00
emax
6def0db70b MFC: Teach rfcomm_sppd(1) about service names, so it is possible to specify
service name instead of channel number with -c command option. Supported
service names are: DUN (Dial-Up Networking), FAX (Fax) and SP (Serial Port).
2005-11-30 18:34:13 +00:00
jhb
19fe05251d MFC: Add locking and mark MPSAFE. 2005-11-30 16:04:52 +00:00
jhb
8304175e7b MFC: Quiet the pci_link(4) devices and only lookup BIOS IRQs for links that
are routed via ISA IRQs.
2005-11-30 16:03:55 +00:00
marius
4e512e86dd MFC: 1.13
- Add a workaround for the fact that OFW doesn't guarantee that
  devices can be opened multiple times simultaneously but we're
  expected to be able to do so by the rest of the loader.
  This fixes booting from disks attached to the on-board SCSI
  controller of Sun Ultra 1 (previously this triggered a trap)
  and probably also of AX1115 boards.
- While here, remove unused variables and add empty lines where
  style(9) requires such.
2005-11-30 13:37:22 +00:00
marius
9eaee5a55c MFC: 1.16
In ofw_parsedev() check the return value of malloc() and protect
against a NULL pointer dereference when ofw_parsedev() is called
with a NULL path argument.
2005-11-30 13:24:53 +00:00
marius
4245a23502 MFC: 1.11
Use an ihandle_t to store the instance handle of an opened device
instead of a phandle_t (package handle). Since both are typedefed
to unsigned int, this is more or less cosmetic.
2005-11-30 13:19:03 +00:00
marius
048eb2b1f9 MFC: elf_freebsd.c 1.10, ofw_console.c 1.11, ofw_memory.c 1.7, openfirm.c 1.12
Remove unused variables.
2005-11-30 13:13:53 +00:00
tmclaugh
f8d191da17 MFC: Revision 1.60
Misspelling in Poul-Henning Kamp's email address under AUTHORS

Approved by:	ade
2005-11-30 04:19:40 +00:00
yongari
7743af4bbc MFC if_hme.c:1.44, if_hmereg.h:1.7, if_hmevar.h:1.9 to RELENG_6:
- Convert hme(4) to use TX side bus_dmamap_load_mbuf_sg(9).
  - Move hardware counter reading/zeroing to hme_tick(). This saves
     8 register access per interrupt. [1]
  - Use imax macro for getting max. argument between two integers.
  - Invoke bus_dmamap_sync(9) first before freeing mbuf.
  - Check driver queue first to reduce locking operation in hme_start_locked()
    and interrupt handler.
  - Simplyfy watchdog timer setup in interrupt handler.
  - Don't log normal errors such as RX overrun. If we have DMA stuck
    condition, reinitialize the driver and log it.
2005-11-30 02:23:53 +00:00
marcel
40404ba331 MFC rev 1.40: Improve inittodr(). 2005-11-29 00:18:56 +00:00
jhb
0629d9c388 MFC: Always print the trap number for fatal traps and add trap messages
for T_XMMFLT and T_RESERVED.
2005-11-28 20:03:15 +00:00
jhb
6e7132f326 MFC: Correctly ask the PCI bridge device for its child PCI bus number
when trying to determine the BIOS IRQ for a given link.
2005-11-28 19:45:30 +00:00
jhb
b37ccdba12 MFC: Let ether_ioctl() handle SIOCSIFMTU. 2005-11-28 19:43:57 +00:00
jhb
eee0b465b9 MFC: More fully setup the ATPICs including setting up spurious interrupt
handlers if 'device atpic' is not in the kernel.
2005-11-28 19:42:10 +00:00
jhb
4d00ca61c0 MFC: Include the size of the DL_serpath structures in the total size used
in the RTLD_DI_SERINFOSIZE and RTLD_DI_SERINFO requests.
2005-11-28 19:19:39 +00:00
ru
51e319ef1f MFC: Added NO_INCS, use it to prevent overwriting of native
headers with i386 copies when installing lib32.
2005-11-28 19:08:51 +00:00
rwatson
fe78d82c95 Merge mbuf.c:1.46 from HEAD to RELENG_6: trim accidentally committed
debugging printfs from netstat -m.
2005-11-28 18:07:36 +00:00
simokawa
ff0e40f217 MFC: revision 1.81
Fix panic when we cannot find self-id of probing nodes.
2005-11-28 06:41:40 +00:00
hrs
29d1e5bb9f MFC: Apply arch= selection to the qandatoc mode. This fixes
link generation with no actual target.

Reported by:	Tim Witthoeft (tim.witthoeft at gmail.com)
2005-11-28 06:26:56 +00:00
rwatson
c078111780 Merge kern_acct.c:1.76 from HEAD to RELENG_6:
Significant refactoring of the accounting code to improve locking and VFS
  happiness, as well as correct other bugs:

  - Replace notion of current and saved accounting credential/vnode with a
    single credential/vnode and an acct_suspended flag.  This simplifies the
    accounting logic substantially.

  - Replace acct_mtx with acct_sx, a sleepable lock held exclusively during
    reconfiguration and space polling, but shared during log entry
    generation.  This avoids holding a mutex over sleepable VFS operations.

  - Hold the sx lock over the duration of the I/O so that the vnode I/O
    cannot occur after vnode close, which could occur previously if
    accounting was disabled as a process exited.

  - Write the accounting log entry with Giant conditionally acquired based
    on the file system where the log is stored.  Previously, the accounting
    code relied on the caller acquiring Giant.

  - Acquire Giant conditionally in the accounting callout based on the file
    system where the accounting log is stored.  Run the callout MPSAFE.

  - Expose acct_suspended via a read-only sysctl so it is possibly to
    programmatically determine whether accounting is suspended or not without
    attempting to parse logs.

  - Check both acct_vp and acct_suspended lock-free before entering the
    accounting sx lock in acct().

  - When accounting is disabled due to a VBAD vnode (i.e., forceable unmount),
    generate a log message indicating accounting has been disabled.

  - Correct a long-standing bug in how free space is calculated and compared
    to the required space: generate and compare signed results, not unsigned
    results, or negative free space will cause accounting to not be suspended
    when required, or worse, incorrectly resumed once negative free space is
    reached.
2005-11-27 19:09:10 +00:00
hrs
45a58b3568 Bump release documentation version and trim the old relnotes entries. 2005-11-27 17:11:21 +00:00
glebius
7dfb4a556f MFC 1.61:
Check IFF_DRV_RUNNING in the re_intr() loop. It can disappear,
  since re_rxeof() drops the lock for some time.

  Reported & tested by:   XueFeng Deng <dsnofe yahoo.com.cn>
2005-11-27 02:56:42 +00:00
dougb
31c54105ae MFC 1.7, which fixes the failed transfer semantics for BIND 9.3.x,
and cleans up the code slightly.
2005-11-27 00:38:57 +00:00
jdp
9bb59aa42a MFC: Fix a bug that caused some /dev entries to continue to exist after
the underlying drive had been hot-unplugged from the system.

This merges the following revisions:

  Revision  Path
  1.94      src/sys/cam/scsi/scsi_cd.c
  1.181     src/sys/cam/scsi/scsi_da.c
  1.98      src/sys/geom/geom_disk.c
  1.5       src/sys/geom/geom_disk.h
  1.88      src/sys/geom/geom_subr.c
2005-11-26 22:55:20 +00:00
hrs
5c35e8f078 New errata item:
problems of ipfw IPv6 support on 6.0R.
2005-11-26 21:57:27 +00:00
delphij
6d8a6febc5 MFC 1.83: Slightly reorganize to reduce duplicated code.
Reviewed by:	rwatson
2005-11-26 21:20:05 +00:00
delphij
79c28795ba MFC 1.65:
Remove an unneeded "a" from comment.
2005-11-26 21:19:20 +00:00
krion
7ba5cae87f MFC: pkg_info.1:1.55
date: 2005/11/23 10:31:59;  author: krion;  state: Exp;  lines: +4 -1
  Document PKG_PATH enviroment variable.

  Prodded by:     Mark Andrews <Mark_Andrews AT isc DOT org>
2005-11-26 20:58:43 +00:00
jdp
eeb84da771 MFC 1.151: Fix a bug in the loop in sonewconn that makes room on the
incomplete connection queue for a new connection.  It was removing
connections from the wrong list.
2005-11-26 19:32:30 +00:00
marcel
6342c72acc MFC rev 1.203: Fix bug introduced in revision 1.186:
Iterate over the mounted file systems to find the largest time
  stamp and call inittodr() exactly once with that time stamp.
2005-11-26 19:13:41 +00:00
le
703d4d250a MFC:
Finally bring in what was produced during Google SoC 2005:

   Add functions to rename objects and to move a subdisk from one drive
   to another.

   Add manual page (finally).

   Bring up-to-date the online help.

Plus several cleanups and whitespace fixes.
2005-11-26 11:10:37 +00:00