Commit Graph

133944 Commits

Author SHA1 Message Date
dsl 781e1351cd A faster implementation.
'rep stos' is slow to setup on modern processors, so don't use it to
align the transfer.
Also not that 8 byte alignment is faster on Intel processors
2005-02-03 22:05:01 +00:00
perry 449436c385 move a prototype back inside an #ifdef -- my GENERIC kernels worked
fine with it in the new place, but compiling another kernel found that
it wasn't a good idea.
2005-02-03 21:54:49 +00:00
bouyer 52a37d39ea vfr.c doesn't exists any more. 2005-02-03 21:38:59 +00:00
perry 35adf4031a de-__P, partially ANSIfy 2005-02-03 21:35:44 +00:00
perry 32a519cece de-__P, partially ANSIfy 2005-02-03 21:08:57 +00:00
perry 2454da651e de-__P, partially ANSIfy 2005-02-03 20:33:05 +00:00
perry ac90d5411b de-__P 2005-02-03 20:24:25 +00:00
perry 5fbcbbe2bb de-__P 2005-02-03 20:08:55 +00:00
perry 09c542ec15 de-__P, partially ANSIfy 2005-02-03 20:08:44 +00:00
perry 0e1b702cc7 de-__P 2005-02-03 19:20:01 +00:00
perry d96ee18cd4 de-__P
Also, re-arrange to prevent the #define versions of XtoY functions
from coming before the function prototypes.

XXX This is rather ugly, and someone like kleink should probably check
that I didn't mess up any standards issues.
2005-02-03 19:16:10 +00:00
christos cca9405683 Add charles' mlock fixes, protected with PTHREAD_MLOCK_KLUDGE and enabled
by default, until we come up with a real fix.
2005-02-03 17:30:33 +00:00
wiz 42e21bbee1 Make page look better. Requested by uwe. 2005-02-03 16:31:32 +00:00
chs 39b340a6f4 add the early-clobber modifier on the destination reg of ldstub.
in some implementations (eg. sun4c), the hardware modifies the destination
reg before checking for write permission on the memory location.  without
this change, gcc was using the same register for the address and the
destination, so if the store part of the instruction faulted, the address
was already gone when the instruction was retried after resolving the fault.
part of PR 25633, PR 25896.
2005-02-03 16:17:21 +00:00
christos 29e8340e26 PR/29213: Nicolas Joly: sysstat(1) vmstat cannot display large memory values 2005-02-03 16:16:00 +00:00
chs 3cee1cf44e sun4c hardware reports faults by the atomic load/store instructions as
read faults even if the problem was that the memory was read-only.
detect this case and relabel the fault as both read and write.
details cribbed from linux and openbsd.
part of PR 25633, PR 25896.
2005-02-03 16:15:06 +00:00
christos cff5b51c44 Allow short command names as long as they are not ambiguous. 2005-02-03 15:15:48 +00:00
briggs ecb75428c0 If we have not gotten the CPU speed yet, get it from OF here and print it.
This gives us the CPU speed for those CPUs that we can't probe in the ppc
common code.
2005-02-03 15:14:39 +00:00
briggs d6e37f352e Keep track of the CPU's current speed (in kHz) in the cpu info structure,
if we can get it.  May want to expand this in the future to include min
and max speeds for systems where we can adjust the speed.
2005-02-03 14:47:09 +00:00
perry 19b7469a00 de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
2005-02-03 04:39:32 +00:00
perry 51ad03a950 ANSIfy function prototypes. (Still have about 3/5ths of the C files in
netinet to go...)
2005-02-03 03:49:01 +00:00
perry 1a3bb884dc A preprocessor macro named "srand" was defined which seeded the random
number generator.

Unfortunately, it conflicted with a function of the same defined in
stdlib.h. This was masked by the __P hack, which is now being purged.

I've renamed "srand" to "seedrand" to eliminate the conflict.
2005-02-03 02:23:02 +00:00
christos 80cdc1a918 Make comment more specific. 2005-02-03 00:27:55 +00:00
christos e042c0475e Add scsi-generic stuff. 2005-02-03 00:09:30 +00:00
christos d3b9209df0 Add linux scsi-generic to work for simple cases. Allows gendalia's change
to limp along. From soren with fixes from me.
2005-02-03 00:09:09 +00:00
christos 796d7ce2f3 Use the length of the command for comparison not the length
of the command line argument. Allows "compression" to be used
for "compress" etc.
2005-02-03 00:03:02 +00:00
christos b8b9d767c2 fix accidental join that made the comment look like functions that
return ``void *'' should not be cast'ed.
2005-02-02 23:33:42 +00:00
perry 3494482345 de-__P -- will ANSIfy .c files later. 2005-02-02 21:41:55 +00:00
perry 695648ddc8 de-__P, do some ANSIfication. 2005-02-02 21:41:01 +00:00
drochner e1e8770b32 Give DAD a chance to succeed even if the network is "slightly broken"
(in my case it as a switch set to "monitor" mode):
If we see an NS request for the address we are just probing for, for
three times the number of DAD packets we are supposed to send (the
"ip6.dad_count" sysctl variable), assume that these are our own packets
and let DAD succeed.
The code for this was mostly there, commented out. Just needed some fixes.
The "three times" is heuristic of course.
Being here, reset the "dad_ns_tcount" variable on a successful send;
otherwise we get strange interdependencies with user-settable variables
(ever tried to set ip6.dad_count to something >15?).
2005-02-02 20:56:27 +00:00
wiz ec34356a9c Add .In to known commands. 2005-02-02 17:14:29 +00:00
wiz 8cf42c3a78 Remove a superfluous .El. Noted by Nicolas Joly in PR 29186. 2005-02-02 17:13:08 +00:00
wiz 84b538cd76 Fix date string (February instead of Feburary); new sentence, new line. 2005-02-02 14:35:40 +00:00
wiz 303329913a We have 2005. 2005-02-02 14:34:25 +00:00
wiz 463db6dc4b Sort SEE ALSO, fix an xref, and s/FreeBSD/.Fx/. 2005-02-02 14:33:20 +00:00
christos ba2396e33b Regen 2005-02-02 13:26:28 +00:00
christos 34508c6918 PR/29196: Robert Elz: Add support for Broadcom BCM4401-B0 ethernet 2005-02-02 13:26:06 +00:00
abs f29f37c830 Regen to pick up corrected code for VIA VT6421 2005-02-02 11:20:40 +00:00
abs 0d94353073 Reminder not to trust cheap no-name packaging. VIA product 0x3249 is
a VT642*1* not VT642. Also add to list in viaide manpage and note
that drives need to be configured into RAID/JOBS sets via its BIOS.
http://www.via.com.tw/en/products/peripherals/serial-ata_raid/vt6421/
2005-02-02 11:19:49 +00:00
gson 971beb8edb Generate an interrupt only after processing all the samples in a block
rather than at the time of the last sample, to eliminate a click at the
end of each block when recording.  Fixes kern/18066.
2005-02-02 10:34:12 +00:00
christos 691a62246e Avoid passing in the actual pw field in gettime because it might not
be the type that we think it is. Fixes cross builds.
2005-02-01 23:47:38 +00:00
christos bde7c7493a Add a commented out option that shows how to get back the rootauth
functionality
2005-02-01 22:56:14 +00:00
christos 1d6e3b563a Add a new option "authenticate" that requires the user to enter his own
password to login.
2005-02-01 22:55:11 +00:00
christos 479c8052bb Add commented out notes on how we support the special compilation options
under pam.
2005-02-01 22:54:33 +00:00
pk b7ee084cd1 sun4/sun4c sw interrupt entry: check interrupt register to determine to
see whether there is a pending software interrupt at the given level.
If not, it must be a device interrupt sharing that level.
2005-02-01 22:33:02 +00:00
matt 5388f1ff2c Add gti2c/iic entries. 2005-02-01 20:59:55 +00:00
matt 411c843baa Add entry for gti2c.c 2005-02-01 20:59:15 +00:00
matt 57b77a8963 Add a i2c driver for the onboard i2c/twsi controller on the GT642x0 2005-02-01 20:58:46 +00:00
matt b3eef3bb0b Allow the driver to allocate needs resources on attach and not free
depending on cf_flags (instead of on interface up / down).
2005-02-01 20:47:02 +00:00
matt 61b5c08265 Add I2C child hooks. 2005-02-01 20:37:09 +00:00