Commit Graph

81139 Commits

Author SHA1 Message Date
bjh21
7089595665 Initial cpufunc operations for ARM3. Not actually used yet. 2001-06-02 19:01:03 +00:00
chs
821ec03ed9 replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
sommerfeld
c60038a831 Avoid being overly specific since the unresolved merge conflict tags
we detect could have come from something other than cvs.
2001-06-02 18:04:44 +00:00
christos
42c813cc0b don't deref -1. 2001-06-02 17:30:28 +00:00
kristerw
90b4d889db Silent gcc 3.0 warnings that multi-line string literals are deprecated (and
these literals should not be multi-line. It looks like they became that way
when a developer got a bit carried away when KNFing the code...)
2001-06-02 17:29:46 +00:00
thorpej
42fcb5772a Note that these network interfaces support hardware-assisted
TCP/IP checksumming.
2001-06-02 17:08:47 +00:00
matthias
0319a3d7bf Add a missing line from i386/i386/pmap.c to make this work again. 2001-06-02 16:47:17 +00:00
thorpej
ad9d3794b0 Implement support for IP/TCP/UDP checksum offloading provided by
network interfaces.  This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us.  In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software.  This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.

We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.

Note: hardware-assisted checksumming defaults to "off".  It is
enabled with ifconfig(8).  See the manual page for details.

Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:09 +00:00
christos
45bc184ebb mention `cvs' in the the previous hack so that the clueless get a clue. 2001-06-02 16:17:08 +00:00
thorpej
ca4d373730 Implement support for IP/TCP/UDP checksum offloading provided by
network interfaces.  This works by pre-computing the pseudo-header
checksum and caching it, delaying the actual checksum to ip_output()
if the hardware cannot perform the sum for us.  In-bound checksums
can either be fully-checked by hardware, or summed up for final
verification by software.  This method was modeled after how this
is done in FreeBSD, although the code is significantly different in
most places.

We don't delay checksums for IPv6/TCP, but we do take advantage of the
cached pseudo-header checksum.

Note: hardware-assisted checksumming defaults to "off".  It is
enabled with ifconfig(8).  See the manual page for details.

Implement hardware-assisted checksumming on the DP83820 Gigabit Ethernet,
3c90xB/3c90xC 10/100 Ethernet, and Alteon Tigon/Tigon2 Gigabit Ethernet.
2001-06-02 16:17:06 +00:00
toshii
9590a56496 Use bus_space_{read,write}_multi_stream_2 where available. 2001-06-02 15:49:16 +00:00
jdolecek
4db9600c94 use hd0a instead sd0a in 'help' command example 2001-06-02 14:56:13 +00:00
sommerfeld
f705156c1e Gratuitous make(1) hack of the morning: if operator-less lines start
with merge delimeters (<<<<<<, ======, >>>>>>), report "Makefile
contains unresolved merge conflict" rather than "Need an operator".
2001-06-02 14:25:23 +00:00
manu
4788337ddb Fixed a rough buf in ptrace SETFPREGS (was using regs instead of fpregs) 2001-06-02 13:49:44 +00:00
matthias
af667cdd42 The io offsets in arm32/isa/timerreg.h included the IO_TIMER1 offset.
With dev/ic/i8253reg.h this is not the case.
Add IO_TIMER1 to all offsets used in inb and outb. This fixes port-arm32/13009.
2001-06-02 12:51:28 +00:00
bjh21
fd7e9d6d32 Clean up hcsc_match: Don't check the manufacturer ID, since podule IDs are
unique anyway.  Do check whether the description starts with "SCSI", since
HCCS used the same ID for their IDE podule.
2001-06-02 12:07:34 +00:00
jdolecek
58467b0a9d Slighly improve the PTRACE_CONT comment 2001-06-02 11:46:09 +00:00
bjh21
e9ff9b9d73 Enable disconnect/reselect (now that it works) and parity checking. 2001-06-02 11:43:40 +00:00
bjh21
68035f55f1 In DEBUG kernels, catch page faults in interrupt handlers early. 2001-06-02 11:17:32 +00:00
bjh21
c81d426dcf Save R14 (in a proper stack frame) around {read,write}_multi_1, since page
faults can corrupt it on arm26.
2001-06-02 11:15:56 +00:00
bjh21
447793851c Add hcsc to every configuration that has SCSI podules. 2001-06-02 10:48:54 +00:00
bjh21
972ef526d2 Add hcsc, scsibus and some SCSI devices.
Also, add some useful compiler options to FOURMEG.
2001-06-02 10:47:55 +00:00
bjh21
2d35661e6a Use write_munti_1() to implement bus_space_write_multi_1(). 2001-06-02 10:45:43 +00:00
bjh21
ac0d39dfe8 Add write_multi_1(). 2001-06-02 10:44:56 +00:00
bjh21
3df8e425e7 Correct permissions on vmapbuf'ed pages. A read from a device is a write to
memory, and vice versa.
2001-06-02 10:44:02 +00:00
jdolecek
40033835d8 Comment DIAGNOSTIC, DEBUG out
Use the 'root on ? type ?' config by default, leave the nfs one commented out,
add line for root on ed0a
2001-06-02 10:37:27 +00:00
itojun
999357cb7d new tcp_wrapper license, as deraadt@openbsd negotiated with wietse
and presented in ftp://ftp.porcupine.org/pub/security/tcp_wrappers_license.
(details: see openbsd changelog for libexec/tcpd/DISCLAIMER).
2001-06-02 05:20:56 +00:00
tv
08b1b0382d Fix typo. 2001-06-02 02:22:35 +00:00
tv
ca502c58a6 Add MACHINE_GNU_PLATFORM to identify as "netbsdelf" for historically a.out
platforms.  While there, allow MACHINE_GNU_ARCH and MACHINE_CPU to be
inherited from the environment.
2001-06-02 01:53:29 +00:00
kim
549a254824 It is misleading that the kernel outputs "DHCP server:" followed by
the value of "next-server" from the DHCP (or BOOTP) reply.  This is
not the DHCP server's IP address (except by chance), so instead of
"server" make it print "next-server".
2001-06-02 01:52:10 +00:00
chs
9bde6cff5c remove bogus curly braces from a structure forward-declaration. 2001-06-02 01:19:29 +00:00
thorpej
2da55b9a39 Define some extra configuration block bits used on the i82550 (a.k.a.
PRO 100/S), including the extended RFA format.  Don't hard-code the
RFA size to allow us to use the extended format in the future.
2001-06-02 01:04:01 +00:00
tv
876e40a10a Don't build language "proto" (protoize, unprotoize) by default. This whole
"SYSCALLS.c.X" business is just more annoyance that it's worth.  It can
still be enabled manually by putting "proto" in LANGUAGES.
2001-06-02 00:54:20 +00:00
jdolecek
f6af05f407 Back the last revision off, upon Bill Sommerfeld's request 2001-06-02 00:46:00 +00:00
itojun
780e7ac88c remove pim6[sd]d from the tree. the software had a restrictive license
than we can handle.  hope to re-enable it as pkgsrc, or to re-enable it
into basesrc if license updates.
2001-06-02 00:34:00 +00:00
jdolecek
5dbe622e77 When polling, raise priority level to tty, to block keyboard interrupts
when the system is "warm", i.e. interrupts are not blocked anymore.
This seems to be necessary on my PS/2 Model 70 keyboard - without this,
system ends up in endless loop calling the keyboard intr routine if a key
is pressed when polling. This _may_ be just specific to level-triggered
interrupts PS/2 MCA uses, though it's more likely it's just the way the
particular keyboard controller works.

Discussed on tech-kern@.
2001-06-02 00:01:04 +00:00
tv
d6df4ff7e1 Completely nuke autoconf/autoheader remaking. We don't want or need this,
and it's only an annoyance when checking out of CVS.  Hopefully later
versions of GCC will be smarter with autoconf and use @AUTOCONF@ parameters
(which can be replaced with `true').
2001-06-01 23:52:14 +00:00
jdolecek
b001ce9b90 g/c COMPAT_OLDBOOT from bootblocks, sprinkle some const
bump bootblock version to 2.10
2001-06-01 23:26:30 +00:00
jdolecek
09afb2735c Add recently added linux_time.c to list 2001-06-01 23:02:55 +00:00
sjg
9cfd89292b A number of semi-related changes.
1. make -dx turns on DEBUG_SHELL which causes sh -x to be used where
   possible.
2. PrintOnError() is now called when make is stopping due to an error.
   This routine reports the curdir and the value of any variables listed
   in MAKE_PRINT_VAR_ON_ERROR.
3. Variables set via command line, are propagated to child-makes via
   MAKEFLAGS.  This behaviour appears to be necessary for POSIX (according
   to the GNU folk anyway).
4. Do not reset MAKEFILE when reading ".depend" as this rather eliminates the
   usefulness of ${MAKEFILE}.
5. Added ${.newline} as a simple means of being able to include \n in the
   result of a :@ loop expansion.
6. Set ${MAKE_VERSION} if defined.  Need to come up with a useful value.

Reviewed: christos
2001-06-01 20:33:37 +00:00
thorpej
7e716e6849 Memory map and register definitions for the Algorithmics BONITO
MIPS memory and PCI controller.  This file is provided by Algorithmics.
2001-06-01 20:29:33 +00:00
thorpej
2b5df8b7ff vm_page_t -> struct vm_page * 2001-06-01 19:52:54 +00:00
tv
dd70bf30ad Make "distclean" a REAL synonym for "cleandir" by actually aliasing it
in <bsd.own.mk>, rather than sprinkling it in all the .mk files (and
some Makefiles throughout the tree).
2001-06-01 17:49:32 +00:00
thorpej
b550d9eca1 Add brgphy(4). 2001-06-01 16:59:12 +00:00
thorpej
8ec076e2f0 Manual page for the brgphy driver. 2001-06-01 16:57:17 +00:00
itojun
5fbaedc40d sync with GENERIC 1.405 2001-06-01 16:50:31 +00:00
thorpej
33a6994da1 Driver for Broadcom BCM5400-family Gig-E PHYs. Programming
information gleaned from FreeBSD.
2001-06-01 16:49:59 +00:00
tshiozak
4ce7dc7d21 add a new IANA-registered port, SSTP. (a well-known P2P protocol in Japan.) 2001-06-01 16:04:32 +00:00
thorpej
71cb790fb5 Add support for the Algorithmics P-4032 board. This is totally
untested, since I have no P-4032 board, but it's no worse than
the current situation, which is "totally non-working P-4032
support in the ARC port, of all places".
2001-06-01 16:00:03 +00:00
thorpej
23a3dc1508 If a bus doens't want to use an extent, don't force it to. 2001-06-01 15:57:31 +00:00