Commit Graph

46390 Commits

Author SHA1 Message Date
christos
288075599a union wait -> int 1998-12-19 16:34:04 +00:00
christos
b1d8c6168d index -> strchr 1998-12-19 16:33:24 +00:00
christos
681c2d939c char -> unsigned char, index -> strchr 1998-12-19 16:33:08 +00:00
christos
dcc0ef7552 char -> unsigned char 1998-12-19 16:32:52 +00:00
christos
9189a0e37d char -> unsigned char, index -> strchr, s.w_termsig -> WTERMSIG(s) 1998-12-19 16:32:34 +00:00
christos
bd077f6919 char -> unsigned char 1998-12-19 16:31:57 +00:00
christos
09edb00354 char -> unsigned char, s.w_coredump -> WCOREDUMP(s) 1998-12-19 16:31:41 +00:00
christos
25b1fd1911 char -> unsigned char, index -> strchr, rindex -> strrchr 1998-12-19 16:30:52 +00:00
drochner
8b9671f0f5 get "opt_compat_xxx.h" includes out of <sys/signal.h> 1998-12-19 16:27:09 +00:00
christos
489005fa65 char -> unsigned char 1998-12-19 16:01:21 +00:00
christos
5d6b49ea05 gcc-2.8.1 printf format and brace warnings. 1998-12-19 16:01:01 +00:00
christos
4fe7015c6d SVR4 timezone portability 1998-12-19 16:00:33 +00:00
christos
b4775af2e3 index -> strchr 1998-12-19 15:59:50 +00:00
christos
62871103f9 Appease gcc-2.8.1, make printf formats more portable. 1998-12-19 15:38:45 +00:00
christos
ac20cbee1c PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagically
when the is a battery low event.
1998-12-19 15:27:58 +00:00
drochner
dafe2a2b81 Some BIOSes return occasionally with carry set from APM_CPU_IDLE/BUSY
calls, without setting a defined error code. This leads to annoying
output. Put the printout inside APMDEBUG.
1998-12-19 14:46:10 +00:00
drochner
09eb0ffc9c avoid integer overflow in free memory report 1998-12-19 14:34:40 +00:00
dbj
db8bf6a623 Revamped DMA interface to unify chaining and non-chaining dma sequences.
Updated ethernet driver to work with new interface.
Continue work on esp driver.
1998-12-19 09:31:44 +00:00
thorpej
12632ebf71 Reverse the copyright-notice-swap. It went against existing practice. 1998-12-19 02:46:12 +00:00
thorpej
af7b5d4d71 Set close-on-exec on all opened files. Partially from OpenBSD. 1998-12-19 02:23:46 +00:00
thorpej
fef2d92ecd Better error message if opening the temp file fails. 1998-12-19 02:13:43 +00:00
thorpej
d15dc38fd9 Changes from FreeBSD:
Implemented a more sophisticated mechanism for handling transmitter
interrupts which now defers them until the transmit queue if filled
up with completed buffers. This has two advantages: first, it reduces
the number of transmitter interrupts to just 1/120th of the rate
that they occured previously, and two, running down many buffers
at once has much improved cache effects.

Defer rundown (m_freem) of completed transmit buffers for no longer
than 1 second.

This brings us up-to-date with the most recent "fxp" driver in FreeBSD.
1998-12-19 01:14:37 +00:00
thorpej
cb707caaeb Add the Compex Linkport ENET-B Ethernet card, PR #6349, Ingolf Koch. 1998-12-18 22:10:29 +00:00
thorpej
95b5eb860d Regen. 1998-12-18 22:07:53 +00:00
thorpej
fc685b5db5 Oops, tyop. 1998-12-18 22:07:39 +00:00
thorpej
e2614a90c2 Regen. 1998-12-18 22:07:00 +00:00
thorpej
1142e9ca93 Add the Compex vendor ID, and product ID for the Compex Linkport ENET-B.
PR #6349, Ingolf Koch.
1998-12-18 22:04:48 +00:00
thorpej
f64a09cf13 Replace a use of << with the LSOP macro, to fix a specific problem on
little-endian machines.  PR #6390, Ben Harris.
1998-12-18 21:59:34 +00:00
thorpej
875666be42 Add the SVEC/Hawking Tech. Combo card. PR #6461, Rafal Boni. 1998-12-18 21:54:14 +00:00
thorpej
1f7f191ac9 Regen. 1998-12-18 21:53:08 +00:00
thorpej
f86bb230f6 Add the SVEC/Hawking Tech. combo card. PR #6461, Rafal Boni. 1998-12-18 21:52:53 +00:00
thorpej
92229a04c1 Quiet some diagnostic messages when we might expect them to happen.
PR #6460, Rafal Boni.
1998-12-18 21:50:16 +00:00
thorpej
489d6d0e46 Reverse the stopgap change made in revision 1.29:
date: 1998/08/01 01:47:24;  author: thorpej;  state: Exp;  lines: +18 -8
Don't call the protocol drain routines if how == M_NOWAIT, which typically
means we're in interrupt context.  Since we can be called from a network
hardware interrupt, we could corrupt the protocol queues we try to drain
them at that time.

The problem has been addressed by letting the drain'able protocols use
a locking scheme to prevent queue corruption.
1998-12-18 21:40:14 +00:00
thorpej
4f177aec90 Add a lock around the TCPCB's sequence queue, to prevent tcp_drain()
from corrupting the queue if called from a device's interrupt context.

Similar in nature to the problem reported in PR #5684.
1998-12-18 21:38:02 +00:00
thorpej
ca15e01c76 Add a lock around the IP fragment reassembly queue, to prevent ip_drain()
from corrupting the queue if called from a device's interrupt context.

Should fix PR #5684.
1998-12-18 21:35:11 +00:00
thorpej
d9e7d7e6a1 Add support for the Corega PCC-T Ethernet, PR #6603, Takahiro Kambe. 1998-12-18 21:14:17 +00:00
thorpej
75553e60bf Regen. 1998-12-18 21:12:32 +00:00
thorpej
eee452e216 Add Corega vendor ID and product CIS info for the PCC-T Ethernet card.
PR #6603, Takahiro Kambe.
1998-12-18 21:12:14 +00:00
thorpej
30f21adec4 Regen. 1998-12-18 21:08:37 +00:00
thorpej
6779120f4a Add product ID for the Yamaha 724 Audio device. PR #6605, Dave Sainty. 1998-12-18 21:08:19 +00:00
sommerfe
4b41ddc197 Double-check tcp/udp checksum if we get enough data to do it. 1998-12-18 20:28:54 +00:00
thorpej
3bd57bb34b Correct a panic message. 1998-12-18 19:52:11 +00:00
drochner
ba4af3c3de regen 1998-12-18 18:59:06 +00:00
drochner
b71f154130 remove compat_xxx dependencies where they don't belong 1998-12-18 18:49:59 +00:00
drochner
52c16cf83a get "opt_compat_svr4.h" out of <sys/conf.h> 1998-12-18 16:55:39 +00:00
drochner
0f6572f2b1 COMPAT_xxx option review: add missing opt_compat_netbsd.h 1998-12-18 15:49:40 +00:00
drochner
9d0b08a2b5 OMPAT_xxx option review: add missing opt_compat_sunos.h 1998-12-18 15:08:21 +00:00
drochner
9973d1abaa COMPAT_xxx option review: add missing opt_compat_netbsd.h 1998-12-18 14:24:43 +00:00
drochner
8ece294afc COMPAT_xxx option review: add missing opt_compat_linux.h
alpha -> __alpha__
1998-12-18 14:10:06 +00:00
drochner
c22ef79250 solve the COMPAT_OLDSOCK/MSG_COMPAT problem differently:
The source files which need MSG_COMPAT define COMPAT_OLDSOCK.
1998-12-18 13:18:42 +00:00