Commit Graph

77888 Commits

Author SHA1 Message Date
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
lukem 7fec679447 sync to GENERIC 1.400 2001-03-20 05:49:32 +00:00
lukem 4ed1ad8e29 A generic implementation of the Fowler/Noll/Vo hash (FNV hash),
as described at:
	http://www.isthe.com/chongo/tech/comp/fnv/

This was implemented for FreeBSD by Peter Wemm.
2001-03-20 02:10:18 +00:00
christos 8cf5c91631 PR/12437:Nathan J. Williams: jpeg detection broken because of match
in other file pattern
2001-03-20 01:30:23 +00:00
itojun 722e18b9a5 avoid zombies on abnormal disconnects. sync with kame 2001-03-20 01:13:46 +00:00
mrg b10a79d548 regen 2001-03-20 00:41:19 +00:00
mrg f921de978d add sun device ids found on sunblade1000 systems. 2001-03-20 00:39:12 +00:00
bjh21 b4d35ec9a7 ei(4) is now MI, in a limited sense at least. 2001-03-20 00:15:26 +00:00
bjh21 0fe2c0aedc These have moved to sys/dev/podulebus. 2001-03-20 00:13:16 +00:00
christos e125f8f194 chmod the history file to 600 so that only the owner can read it.
[inspired by the openbsd fix to readline]
2001-03-20 00:08:31 +00:00
bjh21 2c4e09f4c9 Revert last change, which shouldn't have applied to this file. 2001-03-20 00:04:28 +00:00
christos 9de44fdf69 don't allow others to read the history file [from OpenBSD] 2001-03-20 00:03:27 +00:00
bjh21 23836945a3 Redefine bus_space_addr_t to be a raw address, for compatibility with arm32
podulebus drivers.
2001-03-20 00:03:10 +00:00
bjh21 34cca2e23e Pull in shared podulebus drivers. 2001-03-20 00:01:37 +00:00
bjh21 90567f2deb Quick hack to pull in podulebus.h for the current architecture.
This should be done better (probably with <machine/podulebus_machdep.h> later.
2001-03-19 23:59:33 +00:00