itojun
fce23b0ae4
correct outbound outer IPv4 destination address selection.
...
IFF_LINK0 disables inbound path, removes security worries.
more examples in manpage.
2001-04-29 03:56:06 +00:00
thorpej
cee702b869
Optimized in4_cksum().
2001-04-29 03:29:21 +00:00
erh
acc17cc823
Set the delta for the particular source so telling mixerctl to decrease the
...
volume (using --) adjusts it far enough to stick.
2001-04-29 02:47:25 +00:00
fvdl
70316ad6e1
Remove COMPAT_14.
2001-04-29 00:34:11 +00:00
bjh21
e9c8a1fbb5
Add ipfilter, rnd, vcoda and raid.
2001-04-28 17:41:01 +00:00
bjh21
1ca2839e35
When NFS_V2_ONLY is defined, refuse to mount NFSv3 and NQNFS filesystems,
...
rather than pretending they're NFSv2 and hoping for the best. Fix based on
that supplied by Christian Groessler.
2001-04-28 16:11:47 +00:00
kleink
fe3c9ceaf7
* Move definitions of exact-width integer types from <machine/types.h>
...
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.
2001-04-28 15:41:28 +00:00
bouyer
1346d56311
- don't wait when called from interrupt context (basically this means we
...
can't sleep in HBA drivers)
- pool_get can fail, so return XS_RESOURCE_SHORTAGE instead of panic()
- don't try to bzero() a NULL pointer
2001-04-28 15:09:42 +00:00
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
bouyer
74b15b27a2
Don't forget to call psw_done() !
2001-04-27 21:36:58 +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
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
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
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
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
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
bjh21
3a7710b605
Add ELF version of _PROF_PROLOGUE.
2001-04-26 23:20:02 +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
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
ragge
014984b747
Add functions to allocate mapped-in qbus memory.
2001-04-26 19:16:07 +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
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