108137 Commits

Author SHA1 Message Date
ru
e41803bc80 Fixed the NONETGRAPH build.
Reported by:	wsk@gddsn.org.cn
2004-09-13 19:04:03 +00:00
dds
0caca34c52 Fix for the following behavior:
$ crontab -e
[Add an entry with an error in the crontab file.]
crontab: errors in crontab file, can't install
Do you want to retry the same edit? yes
[Exit the editor without any changes.]
crontab: no changes made to crontab
[Entry is lost.]

Now crontab will loop until the error is fixed, or the
user answers no.
2004-09-13 18:39:04 +00:00
le
a4de4268bd Rename gv_kill_thread() to gv_kill_plex_thread(), since there are more
threads to come.
2004-09-13 17:44:47 +00:00
ru
12835c964a A power failure left the temporary /var/.diskless directory
on my system, and since then my /var was always created as
MFS which was very surprising.  Fix this for /tmp and /var.
2004-09-13 17:40:14 +00:00
le
876ffa30db Save the config back to disk when a drive goes down. 2004-09-13 17:33:52 +00:00
le
b19a8d0082 Read a whole sector instead of GV_HDR_LEN, since a sector might be
bigger (i.e. on CD-ROMs).
2004-09-13 17:27:58 +00:00
andre
e837c32545 Make comments more clear for the packet changed cases after pfil hooks. 2004-09-13 17:09:06 +00:00
wpaul
df7b8c318b Oops. ZX1701 and ZX1702 are the chip designations (ZyXEL rebadged the
the VIA chips with their own numbers). The actual card names are
GN650-T (64-bit) and GN670-T (32-bit). Also capitalize ZyXEL correctly.
2004-09-13 17:05:07 +00:00
andre
532ad0416b Fix ip_input() fallback for the destination modified cases (from the packet
filters).  After the ipfw to pfil move ip_input() expects M_FASTFWD_OURS
tagged packets to have ip_len and ip_off in host byte order instead of
network byte order.

PR:		kern/71652
Submitted by:	mlaier (patch)
2004-09-13 17:01:53 +00:00
rwatson
a18be84c1f Add a very basic README for tcpstream. 2004-09-13 16:53:40 +00:00
wpaul
9a90ff5517 Add the Zyxel ZX1701 and ZX1702 adapters to the HARDWARE list. Clean up
a few small things.
2004-09-13 16:49:36 +00:00
andre
eba7c4085c Make 'ipfw tee' behave as inteded and designed. A tee'd packet is copied
and sent to the DIVERT socket while the original packet continues with the
next rule.  Unlike a normally diverted packet no IP reassembly attemts are
made on tee'd packets and they are passed upwards totally unmodified.

Note: This will not be MFC'd to 4.x because of major infrastucture changes.

PR:		kern/64240 (and many others collapsed into that one)
2004-09-13 16:46:05 +00:00
pjd
578f126aa1 We have now so many GEOM classes that it is better to just skip unknown
classes than exiting.

Reviewed by:	le
OK'ed by:	phk
2004-09-13 16:06:14 +00:00
scottl
26d40a801f Pull the correct clock frequency value out of OFW. Why the helper function
doesn't do this is beyond me, but that will be investigated later.  This
results in programming the chip with the correct frequency, which in turn
allows devices to negotiate up to the full 20MB/s.
2004-09-13 15:15:38 +00:00
pjd
a5693287e1 Make kern.geom.debugflags sysctl tunable from /boot/loader.conf.
It will help to debug problems when booting.

Approved by:	phk
2004-09-13 14:58:27 +00:00
den
260940d35a Translation fixes
MFC after: 2 days
2004-09-13 14:24:46 +00:00
den
58b199c57f Sync with recent English versions
MFC after: 2 days
2004-09-13 14:23:18 +00:00
dd
b24004cdef Remove a broken URL reference. The submitter reports that the
"documentation on the AceNIC cards are no longer after Nortel acquired
Alteon".

PR:		71600
Submitted by:	Linh Pham <question+freebsdpr@closedsrc.org>
2004-09-13 13:18:27 +00:00
le
1774dbf956 Ignore geom_stripe providers.
MFC in: one week
2004-09-13 11:28:54 +00:00
brueffer
987439b0de Autogenerate device listings for lnc(4), ng_ubt(4) and pcn(4)
MFC after:	3 days
2004-09-13 10:48:34 +00:00
brueffer
750cee0e77 Add lnc(4), ng_ubt(4) and pcn(4), firewire works on ia64
MFC after:	3 days
2004-09-13 10:44:20 +00:00
brueffer
817a6c2181 - add a HARDWARE section
- grammar fixes
- wording improvements
- bump document date

MFC after:	3 days
2004-09-13 10:36:44 +00:00
brueffer
99ed22864d - fix capitalization
- add HARDWARE section based on the hardware notes
- bump document date

MFC after:	3 days
2004-09-13 10:35:29 +00:00
brueffer
1cdf0823cb - remove device count
- add a HARDWARE section
- bump document date

MFC after:	3 days
2004-09-13 10:33:53 +00:00
dd
eafda830d9 Remove unused variable and clamp down with WARNS=2
PR:		71662
Submitted by:	Dan Lukes <dan@obluda.cz>
Tested on:	i386, sparc64, ia64, amd64
2004-09-13 08:14:55 +00:00
phk
a915c8947e Create struct snapdata which contains the snapshot fields from cdev
and the previously malloc'ed snapshot lock.

Malloc struct snapdata instead of just the lock.

Replace snapshot fields in cdev with pointer to snapdata (saves 16 bytes).

While here, give the private readblock() function a vnode argument
in preparation for moving UFS to access GEOM directly.
2004-09-13 07:29:45 +00:00
phk
2806321da1 Remove the buffercache/vnode side of BIO_DELETE processing in
preparation for integration of p4::phk_bufwork.  In the future,
local filesystems will talk to GEOM directly and they will consequently
be able to issue BIO_DELETE directly.  Since the removal of the fla
driver, BIO_DELETE has effectively been a no-op anyway.
2004-09-13 06:50:42 +00:00
rwatson
ed6044d475 Add tcpstream, a simple TCP stream generator that uses a pseudo-random
sequence to detect data corruption visible to an application.
2004-09-13 03:17:22 +00:00
brueffer
fcf3fdd573 Fix an entity
MFC after:	3 days
2004-09-13 02:47:48 +00:00
brueffer
db42163813 - note ia64 support for several drivers
- remove drivers that work on all supported architectures

MFC after:	3 days
2004-09-12 23:08:43 +00:00
brueffer
959f00b832 - start new sentences on new lines
- misc fixes
2004-09-12 22:37:37 +00:00
brueffer
1611e496d3 - add vge(4)
- bump document date
2004-09-12 22:03:38 +00:00
alc
acf520c2b0 Use an atomic op to update the pte in pmap_protect(). This is to prevent
the loss of a page modified (PG_M) bit in a race between processors.

Quoting Tor:
	One scenario where the old code could cause a lost PG_M bit is a
	multithreaded linux program (or FreeBSD program using the
	linuxthreads port) where one thread was starting a subprocess.
	The thread doing fork() would call vmspace_fork(), which would then
	call vm_map_copy_entry() which would call pmap_protect() on an area
	possibly accessed by other threads.

Additionally, make the clearing of PG_M by pmap_protect() unconditional if
write permission is removed.  Previously, PG_M could persist on a read-only
unmanaged page.  That seems inconsistent and confusing.

In collaboration with: tegge@

MT5 candidate
PR: 61852
2004-09-12 20:20:40 +00:00
simon
f09a556ba0 - Auto generate device listings for the fwohci(4), hifh(4), safe(4),
and ubsec(4) drivers.

MFC after:	3 days
2004-09-12 19:46:33 +00:00
simon
645bb60922 Add fwohci, hifn, safe, sbp, and ubsec.
MFC after:	3 days
2004-09-12 19:41:03 +00:00
simon
d70a385414 - Add a HARDWARE section which lists supported devices.
MFC after:	3 days
2004-09-12 19:39:09 +00:00
hrs
2ee283578f - s/gigabit/Gigabit/
- s/filesystem/file system/
- grammar fix

Pointed out by:	ru
2004-09-12 19:11:49 +00:00
simon
674995be68 - Change DESCRIPTION section to a HARDWARE section.
- Sync list of supported devices with source code.

MFC after:	3 days
2004-09-12 19:11:28 +00:00
hrs
8d6cb22d16 Update the supported platforms. 2004-09-12 18:36:22 +00:00
truckman
e622ceb592 Change sb_lock() calls to sbc_lockassert() and remove the sb_unlock()
calls in sb_cmd2() and sb_getmixer().  The lock has already be grabbed
before these functions are called.

This is a RELENG_5 candidate.

PR:		71189
Submitted by:	stephane
MFC after:	3 days
2004-09-12 18:19:42 +00:00
simon
a1a501172d - Auto generate device listing for the uvisor driver.
MFC after:	3 days
2004-09-12 17:38:09 +00:00
simon
3e43ae7ebd - Add a HARDWARE section which lists supported devices based on the
FreeBSD Hardware Notes, source code and cvs comments from
  FreeBSD and NetBSD.
- Update page title and DESCRIPTION section to reflect the fact that
  this driver supports much more than Handspring Visor now.

MFC after:	3 days
2004-09-12 17:03:47 +00:00
simon
511b377162 - Auto generate device listings for the ubsa(4), ubser(4), uftdi(4),
and uplcom(4) drivers.

MFC after:	3 days
2004-09-12 15:57:28 +00:00
simon
9c0f14449b - Move HARDWARE section to after DESCRIPTION like in the other FreeBSD
section 4 manual pages.

MFC after:	3 days
2004-09-12 15:53:37 +00:00
simon
0f77f16f29 - Move HARDWARE section to after DESCRIPTION like in the other FreeBSD
section 4 manual pages.
- Sort device list.

MFC after:	3 days
2004-09-12 15:46:15 +00:00
simon
54a09dc455 Remove duplicate entries for ubsa(4), uftdi(4), and uplcom(4).
Noticed by:	brueffer
Pointy hat to:	simon
2004-09-12 15:38:47 +00:00
brueffer
56b1d1390e Autogenerate device listings for em(4) and gx(4)
MFC after:	3 days
2004-09-12 15:24:02 +00:00
simon
a9462c121f Change DESCRIPTION section to a HARDWARE section.
MFC after:	3 days
2004-09-12 15:23:36 +00:00
brueffer
847e4a0cbd Add gx(4) 2004-09-12 15:22:34 +00:00
brueffer
4aee0908fe Add em(4) 2004-09-12 15:16:13 +00:00