Commit Graph

88396 Commits

Author SHA1 Message Date
ume
8b28ae1443 When session is over, IPv6 default route to tun should be
removed, too.

MFC after:	1 week
2003-04-05 10:10:33 +00:00
darrenr
9ccbe83c49 Change the default syslog facility from LOG_LOCAL0 to LOG_SECURITY after
discussion on security@freebsd.org.
2003-04-05 09:25:19 +00:00
imp
ba20e2437a DWL-520 is used to describe three or four different cards. only some
of them are prism based and are thus supported by wi.  Document this
fact.
2003-04-05 07:41:52 +00:00
tjr
96e0986add MFp4: Link strtof.3 and strtold.3 to strtod.3. 2003-04-05 07:33:46 +00:00
mtm
ecd30e037d Zero out the struct tm supplied by the caller. Otherwise,
strange things might happen when garbage values in the struct
get passed in to localtime_r() and family.

Noticed by:	marcus
Approved by:	markm (mentor)(implicit)
2003-04-05 05:46:43 +00:00
tjr
0fa401e680 MFp4: Pentium/Athlon-optimised implementation of wcschr(). 2003-04-05 04:17:05 +00:00
mux
ee1e3ecdc2 Setup our interrupt only at the end of fxp_attach(), when all
other allocations/initializations have been successful.  I kinda
doubt it will fix the recent breakage that some people are seeing,
but this could have caused problems for sure.
2003-04-05 01:27:17 +00:00
tegge
b154a75dde Add SMP_TSC option, which can be used on SMP systems where the TSCs
are synchronized to reduce context switch cost.
2003-04-04 23:54:46 +00:00
imp
f19399a730 Diff reduction with my p4 changes:
Add @ before ${ECHODIR} where appropriate because we don't need to echo
the echo command...  This gets rid of extra echo ===> in log files...
2003-04-04 22:46:08 +00:00
phk
84bab54d5d Add a rudimentary but working driver for the Adlink "NuDaq PCI-9812".
This is a 4 channel 20 msps 12 bit ADC card.

Anyone wanting to play with GNUradio or similar can start here.
2003-04-04 18:53:04 +00:00
obrien
6709fe0c57 style.Makefile(5) 2003-04-04 17:49:21 +00:00
des
bf10676408 Define ovbcopy() as a macro which expands to the equivalent bcopy() call,
to take care of the KAME IPv6 code which needs ovbcopy() because NetBSD's
bcopy() doesn't handle overlap like ours.

Remove all implementations of ovbcopy().

Previously, bzero was a function pointer on i386, to save a jmp to
bzero_vector.  Get rid of this microoptimization as it only confuses
things, adds machine-dependent code to an MD header, and doesn't really
save all that much.

This commit does not add my pagezero() / pagecopy() code.
2003-04-04 17:29:55 +00:00
phk
0de8ca39fc Use sized cast matching the sized pointer. 2003-04-04 16:59:39 +00:00
phk
59df9b5630 Retire <sys/diskslice.h> 2003-04-04 16:57:51 +00:00
phk
1c52794ba9 Libdisk does not need to include <sys/diskslice.h> any more.
Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h>

Move i386/pc98 specific bits from <sys/reboot.h> to
<i386/include/bootinfo.h> as well.

Adjust includes in sys/boot accordingly.
2003-04-04 16:35:16 +00:00
sanpei
53189966cd Add NE2000DVF_AX88190 flag to Corega FEther PCC-TXD
(see also /etc/defaults/pccard.conf rev.1.172)
2003-04-04 14:46:50 +00:00
robert
0ed13a3885 - Print out an error message instead of dereferencing a NULL pointer
if matchinstalled() found no packages, which happens to be the
   case after fresh installations.
 - Instead of using strstr(3) to match the package name, depend on
   matchinstalled()'s MATCH_REGEX package matching.

PR:		bin/50384
MFC after:	2 weeks
2003-04-04 14:40:49 +00:00
sanpei
25641adca8 fix typo 2003-04-04 14:40:01 +00:00
das
9b4e4c2599 Fix braino in definition of isfinite().
Noticed by:	marcus
Pointy hat to:	das
2003-04-04 13:27:47 +00:00
des
93ffa93c87 ovbcopy -> bcopy 2003-04-04 12:56:20 +00:00
des
bd7ac304a6 Replace ovbcopy() with bcopy(). 2003-04-04 12:15:20 +00:00
des
8c65e26422 Replace memcpy() and ovbcopy() with bcopy(); ditch some caddr_t usage. 2003-04-04 12:14:00 +00:00
des
b1fb7ad533 Don't use ovbcopy(). 2003-04-04 12:12:34 +00:00
des
d7bbcf60e5 Don't use ovbcopy(); use void * instead of char *. 2003-04-04 12:11:46 +00:00
des
cd08df1e5e The kernel bcopy() is safe for overlapping regions (and always has), so
there is no use for a separate ovbcopy().
2003-04-04 12:10:04 +00:00
des
2e3076b520 Rename a static variable to avoid future conflicts. 2003-04-04 12:08:42 +00:00
ume
c2c5940c5d Set link-local address of tun interface with prefixlen = 64
instead of 128.  It makes RA happy.

Reported by:	rafa@dif.um.es,
		SHIRASAKI Yasuhiro <yasuhiro@nttv6.jp>
Reviewed by:	SHIRASAKI Yasuhiro <yasuhiro@nttv6.jp>
MFC after:	1 week
2003-04-04 11:09:08 +00:00
ru
2adba2d49f -Wall implies -Wuninitialized if -O is also in effect.
-Wuninitialized does not work without -O.

This fixes the ${WARNS} > 4 compilations with -O0.

Spotted by:	marcel
2003-04-04 10:47:06 +00:00
mdodd
6c5a2f4271 Add a manpage for the 'vpd' driver. 2003-04-04 10:12:09 +00:00
jake
d6c1d0686d Bandaid fix for previous commit while I figure out why it broke. This
caused crashes early in boot on i386 UP machines.

Reported by:	phk
Pointy hat to:	jake
2003-04-04 10:09:44 +00:00
orion
280085cacf Additional codec ids. 2003-04-04 07:37:25 +00:00
orion
278da36594 Fix mismatch between bus address stored for buffer descriptors and
actual address of buffer descriptor.  This should fix the reported
calibration failures and subsequent speed problems with ich chipsets.

Minor calibration comment updates.
2003-04-04 07:15:19 +00:00
murray
ee21ae1567 Add release of FreeBSD 4.8.
MFC after:  3 days
2003-04-04 06:59:27 +00:00
alc
25593541ac o Remove useracc() calls from aio_qphysio(); they are redundant
given the checks performed by vmapbuf().

Reviewed by:	tegge
2003-04-04 06:26:28 +00:00
alc
fa5929818b o Check the b_bufsize passed to vmapbuf() returning an error
if it is invalid.
 o Remove a debugging printf() from vmapbuf().

Suggested by:   tegge
2003-04-04 06:14:54 +00:00
imp
2d24e02b84 Simplify compatibility ifdef. 2003-04-04 04:39:29 +00:00
imp
14832e6e6d No need to check to see if we're running a version of FreeBSD 3.0 current or
newer anymore.
2003-04-04 04:17:14 +00:00
imp
3dc2fb1b37 No need to have ifdef < FreeBSD 4.0-current in here. Remove it to
avoid false positive while searching for __FreeBSD_version abuse.
2003-04-04 04:16:06 +00:00
marcel
ca81fcfe5d Remove `#ifndef lint' left behind after previous change. 2003-04-04 02:12:56 +00:00
tjr
8520135e3e G/C tconv: It is libmytinfo-dependent and has not compiled for 3+ years. 2003-04-04 01:10:25 +00:00
jake
3fbae9689a - Removed APTD and associated macros, it is no longer used.
BANG BANG BANG etc.

Sponsored by:	DARPA, Network Associates Laboratories
2003-04-03 23:44:35 +00:00
phk
ae87feca5d Output machdep.guessed_bootdev as an integer rather than try to format
it according to ancient and obsolete rules.

This removes one more user of <sys/diskslice.h>
2003-04-03 21:41:14 +00:00
obrien
8d3944c4fc Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
bmah
9701c6cb56 Fix typo: On the relevant architectures, floppy drives are handled by
the fdc(4) driver, not the fd(4) file descriptor files.

Submitted by:	Peter B <pb@ludd.luth.se>
MFC after:	1 week
2003-04-03 21:23:31 +00:00
mux
21e77734ff Remove useless initialization. 2003-04-03 20:39:43 +00:00
ps
bd8f7c408f Add support for the HP Smart Array 6400 EM
Change the interrupt mask for the Smart Array 6xxx controllers after
discussions w/ HP.
2003-04-03 20:09:27 +00:00
phk
1d5d2cf861 Retire the DIOCGMBR ioctl before anybody starts to use it. 2003-04-03 19:37:40 +00:00
phk
ae3ec18d7b Remove BIO_SETATTR from non-GEOM part of kernel as well. 2003-04-03 19:22:32 +00:00
phk
67333c42ba Remove all references to BIO_SETATTR. We will not be using it. 2003-04-03 19:19:36 +00:00
phk
d1b9d2ec44 Update the initializer for GEOM_MBREXT, I overlooked it previously. 2003-04-03 19:05:03 +00:00