Commit Graph

77902 Commits

Author SHA1 Message Date
simonb
750247d6a3 Pull in a patch from nvi 1.79 for when the repainting code messes up.
Fixes those annoying "Error: move: l(4294967295) c(0) o(0)" core dumps.
2001-03-21 03:19:35 +00:00
atatat
157a88bcf0 Apparently changing crc() to ccrc() was bad, since mtree does a reachover.
Revert ccrc() to crc() and change local variables called crc to thecrc
instead.
2001-03-21 03:16:38 +00:00
chs
11fe9ca446 use ubc_winshift instead of ubc_winsize in pmaps to set up kernel
virtual space.  the latter isn't initialized yet when the value is needed.
fixes PR 12440.
2001-03-21 03:16:05 +00:00
mrg
af58b235e0 adapt to systems with out interrupt-map & interrupt-map-mask properties. 2001-03-21 01:33:47 +00:00
hubertf
b11582be50 regen for trident cyberclade 2001-03-21 01:10:06 +00:00
hubertf
d54969d21f Add Trident CyberBlade as found in Toshiba Satellite Pro 4600 2001-03-21 01:09:36 +00:00
pk
b54ea24924 Merge in4_cksum(). 2001-03-21 00:38:47 +00:00
mycroft
71bd2bfc03 Remove an unneeded variable. 2001-03-21 00:31:52 +00:00
mycroft
70214e0225 Remove -g. 2001-03-21 00:30:54 +00:00
mycroft
b1bad8f693 Add a -M flag, for generating thread-safe stubs, per RedHat.
Also clean up some KNF and ANSI C glitches in -Sc and -Ss output.
2001-03-21 00:30:39 +00:00
simonb
08e4590096 Cast to (long long) when using "%lld" in a printf format. 2001-03-21 00:11:06 +00:00
bjh21
de59def2f2 Remove spurious #define mod_base. 2001-03-20 23:29:07 +00:00
bjh21
998606396f Move struct podule_list and struct podule_description to podulebus.h.
They're MI, even if only arm32 actually uses them at present.
2001-03-20 23:27:04 +00:00
bjh21
86d6442c28 Move machine-dependent podulebus headers to <machine/podulebus_machdep.h>.
<dev/podulebus/podulebus.h> is the canonical file to include, and includes
<machine/podulebus_machdep.h>.
<arch/${MACHINE}/poudulebus/podulebus.h> remains for backward compatibility.
2001-03-20 22:59:39 +00:00
bjh21
61e80eef9b As Richard Earnshaw pointed out, bus_space_copy_1() and bus_space_copy_2()
had the wrong names and did the wrong things.  Both are now fixed.
2001-03-20 22:56:16 +00:00
augustss
2ff439c85c Add quirks for Panasonic MultiMediaCard adapter (attaches via USB). 2001-03-20 22:39:51 +00:00
augustss
93b623b541 Extend quirks to 32 bits. Add two new ATAPI quirks, one to
deal with a bad byte5 of the capacity descriptor, one to
handle devices that lack the flex geometry page.
2001-03-20 22:39:08 +00:00
thorpej
7a3c8f81a5 Two changes, designed to make us even more resilient against TCP
ISS attacks (which we already fend off quite well).

1. First-cut implementation of RFC1948, Steve Bellovin's cryptographic
   hash method of generating TCP ISS values.  Note, this code is experimental
   and disabled by default (experimental enough that I don't export the
   variable via sysctl yet, either).  There are a couple of issues I'd
   like to discuss with Steve, so this code should only be used by people
   who really know what they're doing.

2. Per a recent thread on Bugtraq, it's possible to determine a system's
   uptime by snooping the RFC1323 TCP timestamp options sent by a host; in
   4.4BSD, timestamps are created by incrementing the tcp_now variable
   at 2 Hz; there's even a company out there that uses this to determine
   web server uptime.  According to Newsham's paper "The Problem With
   Random Increments", while NetBSD's TCP ISS generation method is much
   better than the "random increment" method used by FreeBSD and OpenBSD,
   it is still theoretically possible to mount an attack against NetBSD's
   method if the attacker knows how many times the tcp_iss_seq variable
   has been incremented.  By not leaking uptime information, we can make
   that much harder to determine.  So, we avoid the leak by giving each
   TCP connection a timebase of 0.
2001-03-20 20:07:51 +00:00
wiz
47acaa6b2d Update path in example to a more recent package. Noted by zuntum. 2001-03-20 19:43:36 +00:00
itojun
58a9573963 do not update maxlen if realloc fails. 2001-03-20 19:05:11 +00:00
atatat
0dec8741bf Add new cksum variants (md2, md4, rmd160, and sha1) to set lists. 2001-03-20 18:49:49 +00:00
atatat
0d2c6226b0 Rename the crc() function to ccrc() since that removes a compiler warning
when WARNS=2.
2001-03-20 18:48:10 +00:00
atatat
61e4caef25 Add MD2, MD4, SHA1, and RMD160 support to cksum. Adding new hashes to
cksum(1) should now be easy.
2001-03-20 18:46:25 +00:00
reinoud
df2b9ae2bd Initial commit of wscons for the RiscPC/A7000 arm32 family. There is still lots
to do notably the mouse, some issues about 4 bpp modes and most of all Xwscons !

This code will still allow usage of the old vidcconsole complete with X etc.
Note that the wscons code can now only be booted with the new bootloader but
kernels compiled with vidcconsole can still be booted the old way.
2001-03-20 18:20:53 +00:00
toshii
1f21d8b280 hpcarm kernel is ELF. 2001-03-20 18:01:49 +00:00
bouyer
66f705d045 Don't set up PDC2xx_SCR the same way for promise Ultra/66 & Ultra/100,
this special setup seems to break some adapters.
Reported by Kazushi Marukawa.
2001-03-20 17:56:46 +00:00
bouyer
df43ec1064 Add BUS_DMA_STREAMING for the data bus_dmamap_load(). 2001-03-20 17:54:39 +00:00
itojun
09afaac4e2 add sctp (maybe we should add it to /etc/protocols instead?) 2001-03-20 17:02:33 +00:00
itojun
dd99f85c8e add few icmp type names.
http://www.isi.edu/in-notes/iana/assignments/icmp-parameters
2001-03-20 17:00:08 +00:00
uch
b4095cd8bf support HITACHI PERSONA configuration. 2001-03-20 16:05:42 +00:00
uch
889e6d332a initialize TMU 2001-03-20 16:04:01 +00:00
uch
39081f8af1 make HD64461 UART module usable on HITACHI PERSONA 2001-03-20 16:03:28 +00:00
tsubai
dc7eafe744 Redo previous. Instead of defining another type, mask upper bits of pvr. 2001-03-20 15:52:07 +00:00
reinoud
d7858fb571 Add RiscPC (arm32) keyboard. It basicly returns AT scancodes but since it has to
use a seperate keyboard driver (pckbdc not available) i cant guarantee that it is
100% compatible with AT scan codes
2001-03-20 15:51:18 +00:00
pk
4cefebdf8d Fix fall-out from previous change: the map's DMA address is valid only
after bus_dmamap_load().
2001-03-20 15:39:20 +00:00
reinoud
482f11868a Added dependency for "VIDCCONSOLE" (old console code) for the physcon char
device on console (makedev(4,0)) to aid in wscons transition.
2001-03-20 15:39:16 +00:00
bouyer
0023d0f38f Enlarge inode fields (for quotas with more than 99999 inodes). 2001-03-20 13:38:26 +00:00
ad
056ea0d17a +#include <dev/i2o/iopio.h> 2001-03-20 13:21:00 +00:00
ad
c570d7e5e8 Xr iop(4). 2001-03-20 13:09:40 +00:00
ad
e5d0cdd17a Tidy a little. 2001-03-20 13:09:19 +00:00
ad
fac6acf4f0 Add a little waffle about `inaccessible' devices. 2001-03-20 13:08:43 +00:00
ad
2b5d9695ea - dev/i2o/iopvar.h is replaced by iopio.h.
- Handle message transport failure when retrieving parameters.
- Pad the parameter group buffer for Intel devices.
- Display the TID <-> device map upon request.
- Complain properly if we don't know about the command that was given.
2001-03-20 13:07:51 +00:00
ad
c47daf63a1 dev/i2o/iopvar.h is replaced by iopio.h. 2001-03-20 13:04:54 +00:00
ad
ef80e73a4e Split limits and ioctl defs out of iopvar.h. 2001-03-20 13:02:25 +00:00
ad
ebf5110997 Major update; basically, improve performance somewhat and play nicer with
Intel and AMI IOPs. There still exists one nasty problem with Intel adapters
when under load, which I'm working on.
2001-03-20 13:01:48 +00:00
reinoud
adbed15428 Replace bitsperpixel' by log2_bpp' for thats the value that is in it
and not the number of bits per pixel !
2001-03-20 12:52:03 +00:00
reinoud
e8f67fd5b7 bitsperpixel' in the bootconfig structure is replaced by log2_bpp'
for thats the value that is in it anyway and not the number of bits per pixel !
This to avoid confusion.
2001-03-20 12:50:08 +00:00
reinoud
2ac5b2f7cf Replace bitsperpixel' by log2_bpp' for thats the value that is in it
and not the number of bits per pixel !
2001-03-20 12:48:37 +00:00
augustss
7358f05060 Make this file lint. 2001-03-20 11:47:44 +00:00
matt
96184e84cf Add a diagnostic when we encounter an unknown boot device type. 2001-03-20 05:51:35 +00:00