tjr
f56971b4a9
MFp4: Pentium/Athlon-optimised implementation of wcschr().
2003-04-05 04:17:05 +00:00
mux
5780526be0
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
766eadf040
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
9eaffccc28
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
d7028ab722
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
a920d12f89
style.Makefile(5)
2003-04-04 17:49:21 +00:00
des
5468286a89
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
01bed5d97b
Use sized cast matching the sized pointer.
2003-04-04 16:59:39 +00:00
phk
7d626e64c9
Retire <sys/diskslice.h>
2003-04-04 16:57:51 +00:00
phk
84d6b36e30
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
4ea6a23f8d
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
a882342fd8
- 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
9e59a398a5
fix typo
2003-04-04 14:40:01 +00:00
das
534d93f661
Fix braino in definition of isfinite().
...
Noticed by: marcus
Pointy hat to: das
2003-04-04 13:27:47 +00:00
des
5a1181a557
ovbcopy -> bcopy
2003-04-04 12:56:20 +00:00
des
fd534acfd9
Replace ovbcopy() with bcopy().
2003-04-04 12:15:20 +00:00
des
ada79efc07
Replace memcpy() and ovbcopy() with bcopy(); ditch some caddr_t usage.
2003-04-04 12:14:00 +00:00
des
c011a79e99
Don't use ovbcopy().
2003-04-04 12:12:34 +00:00
des
125c5f9ff8
Don't use ovbcopy(); use void * instead of char *.
2003-04-04 12:11:46 +00:00
des
735100a9f0
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
9dc45d46b9
Rename a static variable to avoid future conflicts.
2003-04-04 12:08:42 +00:00
ume
eb6d89b383
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
db5ec15123
-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
71a96a3848
Add a manpage for the 'vpd' driver.
2003-04-04 10:12:09 +00:00
jake
098b68fc78
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
ff6ab443fd
Additional codec ids.
2003-04-04 07:37:25 +00:00
orion
63feb03082
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
8bcc5c907b
Add release of FreeBSD 4.8.
...
MFC after: 3 days
2003-04-04 06:59:27 +00:00
alc
3c03fd9f54
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
cbd6318ffd
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
b72dee7e43
Simplify compatibility ifdef.
2003-04-04 04:39:29 +00:00
imp
106c479ccd
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
5926797d54
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
578041b6e2
Remove `#ifndef lint' left behind after previous change.
2003-04-04 02:12:56 +00:00
tjr
cc09a6b3db
G/C tconv: It is libmytinfo-dependent and has not compiled for 3+ years.
2003-04-04 01:10:25 +00:00
jake
68ea55c962
- 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
383d50b298
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
96d4258af9
Use __FBSDID rather than rcsid[].
2003-04-03 21:36:33 +00:00
bmah
2ccfc29d0b
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
d2962d1a1c
Remove useless initialization.
2003-04-03 20:39:43 +00:00
ps
986a7d95d4
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
ffdec08c2c
Retire the DIOCGMBR ioctl before anybody starts to use it.
2003-04-03 19:37:40 +00:00
phk
8207e9e353
Remove BIO_SETATTR from non-GEOM part of kernel as well.
2003-04-03 19:22:32 +00:00
phk
cbe207a30e
Remove all references to BIO_SETATTR. We will not be using it.
2003-04-03 19:19:36 +00:00
phk
aba0028d27
Update the initializer for GEOM_MBREXT, I overlooked it previously.
2003-04-03 19:05:03 +00:00
phk
3288c86f74
Add #define for DOSPTYP_PMBR, and use it.
2003-04-03 18:55:16 +00:00
jake
aca72a7a77
Add optimized block copy and zero functions using vis instructions, which
...
can do 64 bytes at a time and don't allocate lines in the L2 cache. These
assume that everything is 64 byte aligned, and that there's more than 128
bytes of data (best for whole pages). The block load and store instructions
don't follow normal memory ordering rules and require either a memory barrier
or move between registers before the data can actually be used. This
implementation correctly shuffles around 3 out of the 4 sets of registers
in order to avoid memory barriers expect for the last 2 blocks.
2003-04-03 18:43:40 +00:00
mux
9fc72a0ca0
Fix fxp(4), this changed shouldn't have crept in.
...
Pointy hat to: mux
Reported by: Pawel Worach <pawel.worach@nordea.com>
2003-04-03 18:39:48 +00:00
yar
6dd591ce7c
Stop logging ``authpriv'' messages to the world-readable file
...
/var/log/messages. Such messages are for the eyes of authorized
personnel only.
PR: conf/48170
Discussed in: freebsd-security
MFC after: 2 weeks
2003-04-03 18:37:49 +00:00
jake
5b5fd1b87a
Add support for saving and restoring kernel floating point state. The state
...
will be saved if we context switch as a result of an interrupt which occured
while using the floating point registers in the kernel (which actually can't
happen right now). This allows fp disabled traps in the kernel, which
normally shouldn't happen, so make sure the trapping code is what we expect
it is.
2003-04-03 18:34:05 +00:00