Commit Graph

79735 Commits

Author SHA1 Message Date
augustss e67bc465a2 Make it compile with DEBUG after SCSI changes. 2001-04-28 14:48:39 +00:00
bjh21 beb69f2aad Before allowing kgmon to do anything, check that we managed to allocate the
profiling buffer at startup.  If not, pretend the kernel doesn't have
profiling support at all.
2001-04-28 12:56:00 +00:00
ragge 0c1fdede08 MD in4_cksum. 2001-04-28 09:38:03 +00:00
ragge 8f8a96a056 Fix a bug so that MD-optimized in4_cksum() now works.
While here; rewrite header checksum calculation in assembler.
2001-04-28 09:36:01 +00:00
tsutsui 862125c057 Don't forget to set XS_CTL_DATA_OUT (that was removed in previous). 2001-04-28 09:33:25 +00:00
thorpej 53c1b3f9d7 Add a microtime() implementation that interpolates between ticks
using the cycle counter.  MP-safeness is achieved by giving each
CPU its own PCC frequency variables, and kicking the non-primary
processors via an IPI once per second.

Based on the sample code from David Mills' "A Kernel Model for
Precision Timekeeping".
2001-04-28 06:10:49 +00:00
wdk 86d8020753 Move previous patch which performs allocsys() before pmap_bootstrap()
to the correct location.
2001-04-28 04:20:27 +00:00
thorpej 335ac52a5b Use simple tags for read and write, unless B_ORDERED is set, in
which case we use an ordered tag.
2001-04-28 04:11:31 +00:00
itojun cb58c8c6b6 make -A a default. present MAC adderss on all ifconfig operations. 2001-04-28 04:11:10 +00:00
itojun 7d54359fb0 assume the presense of getifaddrs(3). 2001-04-28 00:00:06 +00:00
bouyer 74b15b27a2 Don't forget to call psw_done() ! 2001-04-27 21:36:58 +00:00
manu e0e227f2a3 Added a few examples and a reference to sysctl to enable IP forwarding
Approved by Christos
2001-04-27 19:33:06 +00:00
jdolecek ed9c0f0fd1 document MCA le(4) SKNET ethernet driver 2001-04-27 18:05:22 +00:00
jdolecek 2758818d81 regen - SKNET cards 2001-04-27 18:04:14 +00:00
jdolecek 3367b801f2 Add driver for SKNET Personal and MC+ - AMD Lance 7990 based ethernet cards.
Both models tested and seem to be quite stable and fast.

Thanks to:
- Hans Hubner <hans@Huebner.org> for giving me the cards for testing
- Georg Klug of Syskonnect, who provided me with hw docs for these cards,
  very promptly and willingly - I wish all vendors would be like this
- Alfred Arnold, Linux SKNET driver author, for giving me valuable Syskonnect
  contact :)
2001-04-27 18:03:40 +00:00
jdolecek b28d00fa02 Introduce mca_match_disabled() - this returns true if cards with particular
id should be handled even through it's marked as disabled in POS registers.
There are some cards which need this due to nonstandard hw design.
2001-04-27 17:52:51 +00:00
jdolecek d66e548d92 Introduce mca_match_disabled() - this returns true if cards with particular
id should be handled even through it's marked as disabled in POS registers.
There are some cards which need this due to nonstandard hw design.
2001-04-27 17:11:45 +00:00
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