Commit Graph

79868 Commits

Author SHA1 Message Date
jdolecek
6589e65051 Don't panic if the memory size is "weird", but instead compute
reasonable transmit/receive buffer count.
This is needed for e.g. SKNET adapters, which use top 30 bytes of 16KB
memory to map registers and PROM and hence not all the memory is
available for buffers.
2001-04-27 17:08:02 +00:00
dmcmahill
d425d2297d add support for building shared libs from fortran sources. Works correctly
with the default of 'f77' as the fortran compiler or using the 'f2c-f77'
script from pkgsrc (selected by overriding the FC variable)
2001-04-27 17:04:39 +00:00
ragge
ec52ca1e06 Enable the L1 cache on KA640. Problem reported and testing help from
Saku Setala.
2001-04-27 15:02:37 +00:00
bouyer
af5fd4c7d8 Stopgap measure for PR kern/12762: cut the number of openings per device
to 16 or 4 (depending on capabilities of adapter), as it was before
thorpej_scsipi integration
Waiting feedback to known whenever the problem with openings set to AHC_SCB_MAX
existed before.
2001-04-27 14:49:11 +00:00
atatat
90de954410 If the TZ environment variable was set to the empty string, a call to
ctime() would get a bus error (or a segmentation fault).  Setting these
variables eliminates that problem.

Fixes pr lib/12750.
2001-04-27 14:21:15 +00:00
tsutsui
1bcd6675d5 Reset FDC in news5000_init() to avoid spurious interrupts
after booting from floppy (since we don't have fdc driver yet).
2001-04-27 12:55:51 +00:00
agc
248b28d16b Size the columns in the table of related files better.
Be a bit more precise about the location of example files.
2001-04-27 09:13:35 +00:00
itojun
59ba739cf6 sync usage() more to the reality. document alias/-alias. 2001-04-27 09:10:04 +00:00
itojun
be4c7a7c16 allow ifconfig to take "deprecated" and "-deprecated" for IPv6. sync with kame
sync usage() with reality.  take "up" and "down" outside of "[af ...],
as "up" and "down" are independent from interface address configuration.
2001-04-27 09:08:44 +00:00
joda
55ffdd0e46 make this compile with the new scsi framework 2001-04-27 08:06:33 +00:00
jdolecek
27706951af Slighly improve comment for ltsleep(), the previous formulation might
be understood incorrectly (at least, it confused me at first, before
I looked at the actual code).
2001-04-27 08:00:03 +00:00
jdolecek
46f548d519 Document ltsleep(9). Feel free to improve if you wish. 2001-04-27 07:54:23 +00:00
lukem
cdf90834d5 put TAB after #defines 2001-04-27 06:07:27 +00:00
lukem
0808e23b17 cdev_vmegen_init can use cdev__ocrwim_init 2001-04-27 05:47:47 +00:00
marcus
d317b08ca6 STDC cleanup: extra token not allowed after #endif. 2001-04-27 00:14:47 +00:00
marcus
9bcf84f72a STDC cleanup: label not allowed just before end of block. 2001-04-27 00:14:02 +00:00
wiz
dc8f675935 Fix date, and comment. 2001-04-27 00:10:05 +00:00
marcus
11ac2c3105 STDC cleanup: multi line string literal removed. 2001-04-27 00:06:11 +00:00
marcus
b6240639a2 STDC cleanup: volatile needs to be cast away for lk_flags as well. 2001-04-27 00:05:13 +00:00
wiz
71c1bdcfa5 Prefer long names for months; correct comment in resulting man page. 2001-04-27 00:02:23 +00:00
wiz
77937768d5 Fix date, and drop a space. 2001-04-26 23:31:48 +00:00
wiz
7a345e6d38 Fix date, and add RCS Id. 2001-04-26 23:28:42 +00:00
wiz
301a2dbf8e Fix date and whitespace mininits. 2001-04-26 23:27:44 +00:00
wiz
9c3be95203 Fix date and some whitespace nits. 2001-04-26 23:26:34 +00:00
bjh21
3a7710b605 Add ELF version of _PROF_PROLOGUE. 2001-04-26 23:20:02 +00:00
wiz
af6f773871 Fix date and whitespace nits. 2001-04-26 23:19:50 +00:00
wiz
a3c62eec08 Fix date and two whitespace nits. 2001-04-26 23:16:47 +00:00
bjh21
271fb855ce Arrange to restore R14 on return from __mcount, so that profiled assembler
routines will work.  We could put this in _PROF_PROLOGUE, but this seems
lighter-weight and possibly cleaner.
2001-04-26 22:09:57 +00:00
ragge
a7d2fe8275 Use uballoc()/ubmemalloc() for data structure allocation. 2001-04-26 20:05:46 +00:00
kleink
a51e2828bb Fix previous rev. the right way, using socklen_t. 2001-04-26 19:43:53 +00:00
ragge
6bfb730eba Use ubmemalloc() to get mapped uba memory.
Only copy mbufs if there are more than two in a mbuf chain (on transmit).
This squeezed another 5% out of the DEUNA. (now closing up to 100 K/s :-)
2001-04-26 19:36:07 +00:00
kleink
568e812267 Fix an ... interesting pasto in the description of the l length modifier
that's been here forever.
2001-04-26 19:25:12 +00:00
ragge
014984b747 Add functions to allocate mapped-in qbus memory. 2001-04-26 19:16:07 +00:00
tron
d83ea5d25d Fix lint problem caused by the changes for PR standards/12703. 2001-04-26 18:50:13 +00:00
thorpej
596cc0bc10 Cast the config block buffer to (u_int8_t *) when reading it
from ISA memory space.
2001-04-26 17:58:28 +00:00
thorpej
e5422a382f Explictly include <machine/pio.h> (since this driver uses
i386 pio instructions -- XXX BROKEN).
2001-04-26 17:57:47 +00:00
thorpej
9d7220db23 Explicitly include <machine/pio.h>. 2001-04-26 17:56:37 +00:00
thorpej
ea0e8e69d5 Const poison. 2001-04-26 17:55:54 +00:00
bouyer
856411129e Disable tagged queuing for now, it causes commands timeouts.
Note that it's not worse since thorpej_scsipi integration: tagged queuing
was not used before, because of a tag message rejected at probe time.
2001-04-26 17:09:39 +00:00
bouyer
d032d80637 Redo xfer sync/wide/tag notification again: we need to notify upper layer
that we can do tag.
Start sync/wide nego at first command, but wait ADAPTER_REQ_SET_XFER_MODE
to notify upper level.
2001-04-26 16:56:53 +00:00
kleink
99054d7a6c Add definitions for C99 fastest minimum-width integer types. 2001-04-26 16:25:19 +00:00
tsubai
520e444562 Cosmetic changes. 2001-04-26 15:52:00 +00:00
tsubai
75dbde785b Remove spaces at EOL. 2001-04-26 15:27:05 +00:00
tsubai
8e3cb2354b Comment out ``printf("spurious interrupt\n")''. 2001-04-26 14:40:19 +00:00
wiz
40e50a25db Now we know: Appeared in 1.5.1. 2001-04-26 13:35:35 +00:00
kleink
91491e8dda Change the `len' arguemtn to gethostbyaddr(3) from int to socklen_t in
accordance with XNS5.2; fixes PR standards/12703.
2001-04-26 12:55:31 +00:00
wiz
d36c721835 Fix tulip reference, noted by Havard Eidnes. 2001-04-26 09:36:26 +00:00
kleink
73cf862d26 While we're here, add Erlangen, Germany. 2001-04-26 08:50:00 +00:00
kanaoka
03941a12da - Fix typo in comment. 2001-04-26 08:23:22 +00:00
kanaoka
0d6646292e - Fix typo in comment.
- Add (missed)powerhook_disestablish() in ex_detach().
 - Sync with below.     Original commit log message:
 Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
 PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
 priority level while others are protected with splhigh().
2001-04-26 08:21:51 +00:00