Commit Graph

75847 Commits

Author SHA1 Message Date
mjl bdb00d0bd7 Tyop: foresight, not forsight (FreeBSD PR/24637) 2001-01-30 00:25:30 +00:00
mjl dba0f7f9f3 Tyop: millennium, not millenium (FreeBSD PR/24369) 2001-01-30 00:22:29 +00:00
msaitoh 14bda6deb9 use macro for CCR register 2001-01-29 22:19:19 +00:00
itojun 1bfba9ce6b remove variable names from prototype. sync with kame. 2001-01-29 20:02:48 +00:00
chuck 9f82193c0e ignore garbage left in registers by some APM bios (IBM thinkpad) when
event is a duplicate.

gets rid of annoying "APM get event: unknown error code (0x530b)" messages.

PR#12067 (YAMAMOTO Takashi)
2001-01-29 19:26:36 +00:00
hubertf ba97773707 Plural: is -> are
Belongs to PR 11975 by Jeremy C. Reed <reed@reedmedia.net>
2001-01-29 17:06:06 +00:00
hubertf 7a0b37d8f3 Add proper entries for Berlin, Germany. 2001-01-29 16:43:20 +00:00
tsutsui 013511e442 Use ether_crc32_be() for multicast hash calculation. 2001-01-29 12:04:10 +00:00
ichiro f83bca2bbb Contec FLEXLAN/FX-DS110-PCC work
reported by Shingo WATANABE(nabe@nabechan.org)
2001-01-29 11:26:28 +00:00
ichiro 4d076b5e9b regen 2001-01-29 11:23:43 +00:00
ichiro 012109227d add products
Contec FLEXLAN/FX-DS110-PCC wavelan card
2001-01-29 11:23:13 +00:00
itojun 2ee3479198 remove sendmail-IPv4only.cf from checklist. PR 12075. 2001-01-29 09:39:46 +00:00
leo dcee338286 Fix y2001 problem in the initial read of the RTC. 2001-01-29 08:32:23 +00:00
uch 67c95e9ab7 remove old platid_gen 2001-01-29 04:23:01 +00:00
dent 83aa5ab74a Fix typo. 2001-01-29 03:50:20 +00:00
jmc 5ec07d55ff Hmm...My last change was a bit too drastic. Sun3's would never run the inner
bit of checksum code. Restructure #ifdef's. Really, use_openprom should just
be visible on all ports and set to 0 on sun3 or something.
2001-01-29 03:11:50 +00:00
enami 6dcc7e3de4 Don't use PR_URGENT to allocate page header. We don't want to just panic
on memory shortage.  Instead, use the same wait/nowait condition with the
item requested, and just cleanup and return failure if we can't allocate
page header while we aren't allowed to wait.
2001-01-29 02:38:02 +00:00
thorpej 53c23f549a Start out with a link name that says "802.1Q VLAN", and inherit the
parent interface's as usual once we attach to the parent.  When we
detach from the parent, reset our link name to the "802.1Q VLAN" name.
2001-01-29 01:51:05 +00:00
thorpej 896cba1b56 if_alloc_sadl(): if the interface already has a link name, free
it before assigning a new one.  This is useful for interfaces
that may change their link names in the course of their existence.
2001-01-29 01:49:43 +00:00
mrg 6d444f5960 kill the ad clause in my license. 2001-01-29 01:37:56 +00:00
enami 2c218a4926 Handle allmulti case correctly as a NetBSD network driver;
if we are requested range of multicast address or too many multicast address,
program multicast filter to receive all multicast address.   And set/clear
IFF_ALLMULTI flag properly.
2001-01-29 01:24:42 +00:00
jwise b23f161bc0 Change two package names for consistency with base and man. 2001-01-29 01:23:22 +00:00
christos 566893d359 - use MAXPATHLEN to get the array size for the path we store.
- use strlcpy() instead of strncpy() to avoid the off-by-one error
  and the three missing '\0' terminations.
- perform bounds checks to make sure we don't turn this into a random
  memory writing tool using setenv HOME `perl -e 'print "a"x5000'`
2001-01-29 01:22:31 +00:00
itohy a9cd6b907b Performance hack.
Mainly for the Neptune-X Ethernet adaptor,
and improves ftp(1) speed by ~10%.

	get: 219 KB/s -> 246 KB/s
	put: 226 KB/s -> 247 KB/s
	(X68030, MC68030 25MHz)
2001-01-29 01:09:29 +00:00
thorpej 7d60447ce7 Undo rev. 1.2 -- not like it'll do much good -- seems like there is
no code that checks HAVE_MMAP!
2001-01-29 00:24:24 +00:00
thorpej 1779f8f71b Page scanner improvements, behavior is actually a bit more like
Mach VM's now.  Specific changes:
- Pages now need not have all of their mappings removed before being
  put on the inactive list.  They only need to have the "referenced"
  attribute cleared.  This makes putting pages onto the inactive list
  much more efficient.  In order to eliminate redundant clearings of
  "refrenced", callers of uvm_pagedeactivate() must now do this
  themselves.
- When checking the "modified" attribute for a page (for clearing
  PG_CLEAN), make sure to only do it if PG_CLEAN is currently set on
  the page (saves a potentially expensive pmap operation).
- When scanning the inactive list, if a page is referenced, reactivate
  it (this part was actually added in uvm_pdaemon.c,v 1.27).  This
  now works properly now that pages on the inactive list are allowed to
  have mappings.
- When scanning the inactive list and considering a page for freeing,
  remove all mappings, and then check the "modified" attribute if the
  page is marked PG_CLEAN.
- When scanning the active list, if the page was referenced since its
  last sweep by the scanner, don't deactivate it.  (This part was
  actually added in uvm_pdaemon.c,v 1.28.)

These changes greatly improve interactive performance during
moderate to high memory and I/O load.
2001-01-28 23:30:42 +00:00
is 6cec6799ac SIR_CLOCK is gone. 2001-01-28 22:31:53 +00:00
thorpej 1cdff48674 Put the extern decl of uvm_vnodeops in uvm_object.h 2001-01-28 22:23:04 +00:00
jmc f8c082d5a5 Cleanup last set of cleanups so this compiles on systems without
openprom (ala sun3).
2001-01-28 22:22:25 +00:00
is 5d4912dc4b Add NetBSD rcsid, clean up comments. 2001-01-28 22:18:17 +00:00
thorpej 5849b86934 Use UVM_OBJ_IS_VNODE(). 2001-01-28 22:14:52 +00:00
thorpej d1c3f6bab3 Define a UVM_OBJ_IS_VNODE() macro to test if an object is a vnode. 2001-01-28 22:14:28 +00:00
is f7aa87a4a5 Jens Schönfeld seems to recall the name is ISDN link. 2001-01-28 21:43:38 +00:00
ragge e4d9af4b42 A bunch of new CPUs that are supported, from Michael Kukat
(michael@unixiron.org). Among them are 4000/400, 4000/500 and 4000/105A.
2001-01-28 21:01:52 +00:00
pk 5538893eda sun4_dmamap_load(): Check if boundary condition can be satisfied instead
of panicing blindly.
2001-01-28 20:48:31 +00:00
ragge 747983bb5b Fix late "constifying" in ddb. 2001-01-28 20:47:45 +00:00
ragge 630d0523f6 These are not used anymore. 2001-01-28 20:04:50 +00:00
jdolecek b80b95a77a Examine input files and set the openinfo hint accordingly to number of
found records. This makes resulting db for small capability databases
much smaller - for vgrind(1), the resulting vgrindefs.db is about 24KB
instead of ~500KB.

The hint passed to dbopen() is number of records in input files
rounded up to nearest power-of-two value and multiplied by two.
Besides being a nice conservative value, termcap.db become about
70KB bigger if the hint matches the count of records (1023), probably
due to hash overflows.
2001-01-28 20:01:42 +00:00
jdolecek 26a80cb447 make local functions static 2001-01-28 19:42:17 +00:00
ragge 8032849729 Rename dz_ibus to dz_vsbus. 2001-01-28 19:26:34 +00:00
augustss e6de2c6337 Commit second half of rate limit change. 2001-01-28 19:01:20 +00:00
veego dd3a75d700 Make it simpler by using FILES. 2001-01-28 18:45:59 +00:00
jdolecek 8d46cb93bd db_build(): fix memory leak, free() the buffer allocated by cgetnext() on
every loop iteration
2001-01-28 17:34:31 +00:00
itojun 2d889f0dc5 have safeputchar() for tcpdump/packet-isakmp.c. reported by bernd,
sync with kame.
2001-01-28 17:17:56 +00:00
augustss a96a3fa4ca Put a rate limiter on the scheduling overrun message. 2001-01-28 16:18:09 +00:00
itojun 32024e8a3d call if_alloc_sadl(). without it the following operation causes kernel panic:
# ifconfig vlan0 create
# ifconfig vlan0
2001-01-28 10:41:44 +00:00
itojun ca89dc0998 minimize diffs to tcpdump.org tree, even if cosmetic.
changes include:
- do not chase header if ip/ip6 datagram is framgented, and it is not the
  first fragment
- u_short -> u_int16_t
- buffer boundary checks, including sprintf -> snprintf
- cleanup truncated packet cases
- pull tcpdump.org enhancements/corrections for RIP, IPv6 options, ICMPv6,
  OSPFv3, IPv4 options, BGP

there are a lot of local/conflicting changes.  we'd gradually decrease
# of diffs by synchronizing both ends, and then move to src/dist/tcpdump
and reachover makefile.
2001-01-28 10:05:05 +00:00
itojun 3915684b18 remove extra space after typename. sync with tcpdump.org 2001-01-28 07:56:56 +00:00
jwise ae13a53f0d Fix one misplaced file. 2001-01-28 07:55:44 +00:00
itojun b3d0e180ed print A6, DNAME and bit string label correctly.
sync with tcpdump.org.
2001-01-28 07:51:33 +00:00