Commit Graph

98885 Commits

Author SHA1 Message Date
perry 25e1b60346 In the manner of Solaris and other OSes, we now define CLK_TCK to
expand to a call to __sysconf(_SC_CLK_TCK), rather than hard coding it
as a constant.
2002-06-23 19:41:04 +00:00
perry ea360bda1a make sysconf(_SC_CLK_TCK) return the kernel hz value, instead of a
fixed constant, as is done on Solaris, Linux, etc.

Technically, standards don't *require* this, but having it return a
constant is a violation of the spirit, and screws up programs that
(perhaps improperly) assume that it will return kernel hz.
2002-06-23 19:19:01 +00:00
thorpej 9cb2f482f0 When delivering a signal, arrange to have the handler invoked directly,
using the trampoline only for the return.  This saves two instructions
in the trampoline, one of them being a branch.
2002-06-23 19:16:43 +00:00
thorpej 7f7f0f86bd When delivering a signal, arrange for the handler to be invoked
directly.  The trampoline is now used only for the return, and
makes it another 2 instructions shorter.
2002-06-23 18:49:33 +00:00
thorpej 508e2dcf41 When delivering a signal, don't push the signum, code, and context pointer,
or handler onto the stack.  Instead, just stuff them into the correct
argument registers (handler is a "4th arg").
2002-06-23 18:35:05 +00:00
perry 46c82860b1 Fix a variable initializer where CLK_TCK was assumed to be a compile
time constant. Soon it won't be.
2002-06-23 17:47:45 +00:00
thorpej aaf6e7902d Add ENTRY_NOPROFILE(). 2002-06-23 17:26:58 +00:00
perry 90062e3f5d Remove (completely unused) definition of CLK_TCK. Nothing in the
kernel uses it, it is protected by _KERNEL, and it conflicts with the
definition in userland.
2002-06-23 17:07:58 +00:00
perry fc9464af40 remove definition of CLOCKS_PER_SEC protected by #ifdef KERNEL. It is
used nowhere, and KERNEL is defined nowhere (vs. _KERNEL).
2002-06-23 16:54:00 +00:00
itojun 292c386a5e use strtok_r, as strtok can interfere with outside users. 2002-06-23 12:20:10 +00:00
tron db385ae9af Synchronize last change with what is in the official amd sources now as
suggested by Erez Zadok in private e-mail.
2002-06-23 08:37:36 +00:00
mrg 9dcb300af2 finish previous; it would be nice if people were to use the lovely
cross compiling mechanisms we have when making sweeping changes...
2002-06-23 03:00:19 +00:00
gmcgarry 5a74b0b2f5 Back out revision 1.132. This revision broke binary compatibility with
binaries which were working fine on NetBSD 1.5.  We defer this change
until a longer-term fix is found as explain in the commit message in
revision 1.132.

Further details can be found in PR17159.
2002-06-23 01:36:07 +00:00
gmcgarry 5a5f0418dc Add missing .\} 2002-06-23 01:27:52 +00:00
wiz bfb4c9fa11 Use a slightly more standard section header. 2002-06-23 00:22:56 +00:00
thorpej 43e7ad972b Garbage-collect sigframe references. 2002-06-23 00:16:59 +00:00
thorpej 31404c3f2e When delivering a signal, there is no need to push the signal number,
code, context pointer, or handler onto the stack, so don't do so.
2002-06-23 00:16:20 +00:00
fvdl 73f40b9030 Add bge@pci attachment. 2002-06-22 23:13:37 +00:00
jdolecek 7bce3285d4 put back RCS Id 2002-06-22 22:14:09 +00:00
perry 037dfc0e18 add -3 option (display three month range) 2002-06-22 21:14:18 +00:00
chris 5f8eb07bb7 Back out last change, following jason's advice, it's lsof that's actually
broken not the headers.
2002-06-22 20:39:18 +00:00
wiz b023fd1c8e Minor grammar and typo fixes. 2002-06-22 20:16:31 +00:00
bjh21 2f6c7b64f6 Mention wsdisplay(4), since the ioctl documentation there is likely to be
useful to implementors as well.
2002-06-22 19:09:38 +00:00
bjh21 44e5bfb565 Add some documentation for some of the WSDISPLAYIO_* ioctls. This
is largely derived from existing implementations, and may be incorrect.
2002-06-22 19:08:32 +00:00
yamt a113bc6fa4 - free buf when unneeded.
- pass a consistent type to free(9).
2002-06-22 17:41:23 +00:00
yamt f6849cb26f fix loop condition.
(don't skip last tag)
2002-06-22 16:56:11 +00:00
fvdl b04a6fd69c Driver for Broadcom 570x / Altima AC 1000 gigabit ethernet cards.
Written by Bill Paul for FreeBSD. This port started out with the
port done to OpenBSD by nate@openbsd.org, but ended up looking much
more like the port of the ti driver done by drochner@netbsd.org
(they are similar in structure).
2002-06-22 14:42:07 +00:00
fvdl 64fc3ae071 Match BCM5701 2002-06-22 14:38:34 +00:00
fvdl bc97012696 Add more register definitions. From FreeBSD. 2002-06-22 14:37:58 +00:00
fvdl 506d548f6c Regen. 2002-06-22 14:36:26 +00:00
fvdl 3cfd73048b Aff BCM 5701 PHY Id. 2002-06-22 14:35:52 +00:00
fvdl 5ae59ad64f Regenerate. 2002-06-22 14:34:49 +00:00
fvdl 1ebb22d9a9 Add Altima PCI Ids. 2002-06-22 14:33:54 +00:00
toshii 01b6ded4f1 Comment out MEMORY_DISK_HOOKS as a workarund for the following problem.
hpcarm has a bug which prevents booting if kernel text+data size exceeds
3.75MB.
2002-06-22 13:04:00 +00:00
manu 7d2ac48550 Fixed a typo that borke build with DEBUG_IRIX 2002-06-22 13:02:39 +00:00
itojun 61f28217c4 move sanity check upwards. sync w/kame
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
2002-06-22 12:27:09 +00:00
itojun cfb9a4a799 avoid listening socket from mistakenly use incorrect cached policy.
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>  sync w/kame
2002-06-22 12:04:07 +00:00
itojun 211e500c75 use strtok_r, as strtok can interfere with other callers. from openbsd 2002-06-22 11:52:40 +00:00
itojun f16149934e avoid unneeded call to m_pullup 2002-06-22 11:46:16 +00:00
itojun 9f260b4865 do not require PPPoE control packet to be put into a single mbuf.
reviewed/tested by ymmt
2002-06-22 11:37:48 +00:00
isaki cfde97e2fe Fix compilation error when scsibus* doesn't exist. 2002-06-22 10:59:54 +00:00
chris 6052d38107 Allow userland to see machine/vmparam.h. This allows ntop to compile, as it uses the struct uvm from uvm.h, which need the VM_NFREELIST definition.
Of course this does mean that ntop could potentially be platform specific, ie different versions for cats, acorn32 etc as struct uvm maybe a different size, but running on the same cpu architecture.
2002-06-22 10:15:30 +00:00
cjs 36a14b7037 Regenerate. 2002-06-22 08:09:07 +00:00
cjs f9218e5010 Match PCI IDs of new PRO/100 chips. 2002-06-22 08:09:06 +00:00
cjs 8cf88171bf For new Intel network controllers, update descriptions and fix numbering. 2002-06-22 07:59:09 +00:00
cjs b24b9d00d6 Add new Intel Ethernet cards. 2002-06-22 07:40:59 +00:00
itojun 32e2727406 more style 2002-06-22 05:59:27 +00:00
itojun 98171fbccc style 2002-06-22 05:54:14 +00:00
itojun a028d35cfd more KNF. warn about mbuf misuse (passing pointer outside of mbuf is dangerous) 2002-06-22 05:52:00 +00:00
itojun de84d710a4 minor KNF 2002-06-22 05:37:01 +00:00