Commit Graph

107270 Commits

Author SHA1 Message Date
Ian Dowse
e3cce87239 Reset the seek pointer to 0 when a file is successfully opened,
since otherwise the initial seek offset will contain the directory
offset of the filesystem block that contained its directory entry.
This bug was mostly harmless because typically the directory is
less than one filesystem block in size so the offset would be zero.
It did however generally break loading a kernel from the (large)
kernel compile directory.

Also reset the seek pointer when a new inode is opened in read_inode(),
though this is not actually necessary now because all callers set
it afterwards.
2004-09-04 14:54:01 +00:00
Hiroki Sato
8051b07990 Update release notes:
GNOME 2.6.2 and KDE 3.3.0.
2004-09-04 12:57:25 +00:00
Stefan Farfeleder
27fdb57eab Add a regression test for <tgmath.h>. 2004-09-04 11:34:53 +00:00
Christian Brueffer
a8a1a9408d Add snc(4)
MFC after:	3 days
2004-09-04 11:15:12 +00:00
Christian Brueffer
52e69b8fa7 - move list of supported adapters into a HARDWARE section
- sort the device list
- some minor fixes

MFC after:	3 days
2004-09-04 11:13:32 +00:00
Christian Brueffer
79e8b03a3f Properly capitalize Gigabit Ethernet
MFC after:	3 days
2004-09-04 11:12:03 +00:00
Hiroki Sato
367652d294 New release notes (changes in August 2004):
agp(4) AMD64 GART support,
	hw.pci.allow_unsupported_io_range removed,
	debug.kdb.stop_cpus sysctl,
	COMPAT_LINUX32 kernel option on amd64,
	mac_bsdextended_firstmatch_enabled sysctl,
	mac_bsdextended_logging sysctl,
	MP_WATCHDOG kernel option and debug.leak_schedlock sysctl,
	NET_WITH_GIANT kernel option and debug.mpsafenet loader tunable,
	debug.mpsafevm loader tunable,
	vm_map_findspace(9) now uses an O(log n) algorithm,
	new ipfw(4) rule "jail",
	IPFIREWALL_FORWARD kernel option,
	PFIL_HOOKS is now always complied into the kernel,
	autofs filesystem and libautofs(3) added,
	GEOM_RAID3 geom class and graid3(8) added,
	GEOM_UZIP geom class added,
	acpidump(8) SSDT tables support,
	dd(1) fillchar option,
	jail(8) -l option,
	OpenSSL VIA C3 PadLock ACE support imported, and
	FreeBSD's default X Window System is Xorg now.

Update release notes:
	ADAPTIVE_GIANT enabled on i386 by default,
	hme(4) now MI,
	static linker TLS support,
	LIBPTHREAD_PROCESS_SCOPE,
	GNU sort updated to a coreutils snapshot as of 2004/08/12,
	ISC DHCP client updated to 3.0.1,
	lukemftpd updated to a snapshot as of 2004/08/09, and
	pf from OpenBSD 3.5-stable.
2004-09-04 11:01:21 +00:00
Christian Brueffer
a0fa04aaeb Document a couple of build knobs
PR:		misc/71032 (partly)
Submitted by:	Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Reviewed by:	ru
MFC after:	3 days
2004-09-04 10:05:17 +00:00
Ruslan Ermilov
0187838b3b Fixed build with DEVICE_POLLING defined. 2004-09-04 07:54:05 +00:00
MIHIRA Sanpei Yoshiro
e7934ccbaa Add support Western Digital External USB HDD
ONSPEC entry are sorted

PR:		kern/71031
Submitted by:	Johann Hugo <jhugo@icomtek.csir.co.za>
MFC after:	1 week
2004-09-04 07:07:35 +00:00
Ruslan Ermilov
c11c127926 Let kmod.mk touch opt_*.h files as needed.
Inspired by:	imp's email
2004-09-04 06:37:58 +00:00
Alan Cox
b102e653ad Enable debug.mpsafevm by default on amd64 and i386. This enables copy-on-
write and zero-fill faults to run without holding Giant.  It is still
possible to disable Giant-free operation by setting debug.mpsafevm to 0 in
loader.conf.
2004-09-04 05:51:54 +00:00
Bruce A. Mah
bbd414503b Minor grammar and markup tweaks. In four cases, <function></function>
elements were replaced with new manpage entities.
2004-09-04 05:14:45 +00:00
Warner Losh
9f4693dbb4 Sort files alphabetically 2004-09-04 03:32:15 +00:00
Marcel Moolenaar
ef0cd312df Unbreak memmove(). Return the dst argument. While here, fix the END
macro to actually reference memmove, not memcpy.
2004-09-04 00:23:15 +00:00
Marcel Moolenaar
4c36bcaa87 Unbreak memcpy(). memcpy() is defined to return the dst argument.
By using r8 instead of r14 to do the swap, we put the dst argument
in the return register. Since bcopy() doesn't clobber r8, we don't
have to do anything else. This fixes ports/textproc/aspell.
2004-09-04 00:04:58 +00:00
Christian Brueffer
00bf32b031 Grammar fix
MFC after:	3 days
2004-09-03 23:53:02 +00:00
Christian Brueffer
fd69947b4d Properly capitalize Ethernet
MFC after:	3 days
2004-09-03 23:52:26 +00:00
Stefan Farfeleder
6549b8a280 Add a workaround to recognise I/_Complex_I as complex arguments. Although
the GCC manual claims that the expression 1.0fi has type float _Complex,
__builtin_types_compatible_p(float _Complex, __typeof__(1.0fi))) yields 0.
2004-09-03 23:44:09 +00:00
Stefan Farfeleder
a551dea2a8 Use the keyword '_Complex' rather than the macro 'complex' since
applications are allowed to undefine the latter.
2004-09-03 23:31:28 +00:00
MIHIRA Sanpei Yoshiro
3785db4f85 Add support Nikon CoolScan LS40 ED
PR:		kern/71139
Submitted by:	Pierre DAVID <Pierre.David@crc.u-strasbg.fr>
MFC after:	1 week
2004-09-03 23:29:01 +00:00
Stefan Farfeleder
9b3310685b Embarrassing typo: s/nextbyint/nearbyint/ 2004-09-03 23:26:55 +00:00
Christian Brueffer
3bf5804eed Autogenerate device listing for wb(4)
MFC after:	3 days
2004-09-03 23:23:11 +00:00
Christian Brueffer
d786c4c73d Add ubsa(4), uftdi(4), uplcom(4) and wb(4)
MFC after:	3 days
2004-09-03 23:21:37 +00:00
MIHIRA Sanpei Yoshiro
44cf44fbff Add support Qualcomm CDMA modem
PR:		kern/71043
Submitted by:	Tomas Krivanek <tom@atack.cz>
MFC after:	1 week
2004-09-03 23:19:27 +00:00
Christian Brueffer
990abd7afe - change layout of the hardware list to the one used by other manpages
- grammar fixes

MFC after:	3 days
2004-09-03 23:18:16 +00:00
Christian Brueffer
f766821566 - change layout of the hardware list to the one used by other manpages
- add a missing word

MFC after:	3 days
2004-09-03 23:17:21 +00:00
Christian Brueffer
120ac37675 - change layout of the hardware list to the one used by other manpages
- fix spacing of one hardware entry
- grammar fix

MFC after:	3 days
2004-09-03 23:16:07 +00:00
Christian Brueffer
35820ff9af - move list of supported adapters into a HARDWARE section
- properly capitalize (Fast) Ethernet
- bump document date

MFC after:	3 days
2004-09-03 23:13:54 +00:00
MIHIRA Sanpei Yoshiro
42554f699b add support ELECOM UC-SGT(minor change version)
http://www2.elecom.co.jp/products/UC-SGT.html

PR:		[FreeBSD-users-jp 80725]
Submitted by:	NAKAMURA Kazushi <kaz@kobe1995.net>
MFC after:	1 week
2004-09-03 22:41:37 +00:00
Alfred Perlstein
18858a0704 Update doc dates.
Pointed out by: ru
2004-09-03 18:56:59 +00:00
Alfred Perlstein
682f9306a4 Normalize the makefile.
submitted by: ru
2004-09-03 18:01:34 +00:00
Alfred Perlstein
4bcd2254f3 xref and give a hint as to what procctl can be used for. 2004-09-03 17:52:55 +00:00
Alfred Perlstein
345c5f4a23 Hook libautofs to the build. 2004-09-03 17:39:00 +00:00
John-Mark Gurney
97b9d4baf5 merge in if_rl locking because if_re was originally based upon if_rl.
This essentially merges revs 1.143-1.1445 of sys/pci/if_rl.c.
This now marks the interrupt MPSAFE along with making the mutex non-recursive.

Looked over by:	bms
2004-09-03 16:41:41 +00:00
Andrey A. Chernov
1e454c2527 Remove "-" before rm -rf 2004-09-03 14:28:53 +00:00
Christian Brueffer
bac5da75f4 Autogenerate device listings for ti(4) and tl(4)
MFC after:	3 days
2004-09-03 12:28:53 +00:00
Christian Brueffer
8f640e0468 Add ti(4) and tl(4)
MFC after:	3 days
2004-09-03 12:27:27 +00:00
Christian Brueffer
6138591ae4 - move list of supported adapters into a HARDWARE section
- properly capitalize (Fast) Ethernet
- bump document date

MFC after:	3 days
2004-09-03 12:24:50 +00:00
Christian Brueffer
1806246b43 - move list of supported adapters into a HARDWARE section
- list the Digital EtherWORKS adapter as supported [1]
- properly capitalize (Fast|Gigabit) Ethernet
- bump document date

Obtained from:	NetBSD [1]
MFC after:	3 days
2004-09-03 12:23:16 +00:00
Søren Schmidt
0f7cfb8473 Introduce ata_udelay() that uses tsleep instead of DELAY if possible.
In places where we have long delays that doesn't depend on too accurate
timing, use ata_udelay() instead of DELAY() so we dont uselessly spin
the CPU if not nessesary;
2004-09-03 12:10:44 +00:00
Julian Elischer
00b0483d5c Don't declare a function we are not defining. 2004-09-03 09:19:49 +00:00
Julian Elischer
37c28a022b fix compile for UP 2004-09-03 09:15:10 +00:00
Scott Long
21b1acfb93 Panic if given a CAM_DATA_PHYS pointer from CAM instead of trying to handle it.
It makes no sense in a PAE environment and is impossible to handle correctly.
This case is also never used right now.  This should make the iir(4) driver
ready for PAE.
2004-09-03 08:44:23 +00:00
Søren Schmidt
7a6d2ca81b Sync promise_mio_command with WIP on the Promise line of SATA controllers. 2004-09-03 08:23:04 +00:00
Julian Elischer
293968d8d3 ooops finish last commit.
moved the variables but not the declarations.
2004-09-03 08:19:31 +00:00
Julian Elischer
82a1dfc16d Move 4bsd specific experimental IP code into the 4bsd file.
Move the sysctls into kern.sched
2004-09-03 07:42:31 +00:00
Søren Schmidt
df6a77ddcb Cleanup the defines used for various chipsets.
Add new nVidia controllers.
2004-09-03 07:37:53 +00:00
Brooks Davis
f52501ba8c If the argument to the -r flag starts with a ':' or a '|', don't try to
make sure it is a device.  GDB special cases these prefixes and treats
:#### as a tcp port on localhost and executes what ever follows '|'.

This allows kgdb to debug via dconschat.

Discussed with:	marcel
2004-09-03 07:11:42 +00:00
Ruslan Ermilov
46e7a66ba0 Fixed more spacing bugs. 2004-09-03 06:32:11 +00:00