eeh
aeb88321db
Call the parent bus dvmamap_unload function to clear the cache rather
...
than do it ourselves.
2000-08-01 00:22:41 +00:00
minoura
3094e3b89d
include <sys/types.h> to define u_int.
2000-07-31 23:40:02 +00:00
briggs
02e3c1ef40
Use bus_space_read/write_multi_stream_2 for FIFO instead of bsr/w_multi_2.
2000-07-31 22:48:49 +00:00
briggs
3f1e17a340
Define bus_space_*_stream_N functions as their non-stream counterparts.
2000-07-31 22:43:46 +00:00
briggs
3ce3697584
Add bus_space_*_stream_N functions.
2000-07-31 22:40:25 +00:00
briggs
bd823b939e
Fix code to read a string from the nubus board--it was not terminating
...
the string properly when the string on the board is longer than the
pre-allocated space.
2000-07-31 22:39:17 +00:00
eeh
ede765839e
Look for fpu files in the sparc subdirectory where they now reside.
2000-07-31 22:17:05 +00:00
gmcgarry
f21a75dee3
XIDEBUG_CONFIG -> XID_CONFIG. From R.Massar@Fh-Worms.DE
2000-07-31 21:49:47 +00:00
msaitoh
9c331f1f89
use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
2000-07-31 20:57:45 +00:00
briggs
2cc07c0541
Add a DIAGNOSTIC panic if (count-using) bus_space macros are called with
...
a count of zero. Some drivers do this accidentally and some bus_space
implementations will fail if count is passed as zero (they are set up in
a do-{}-while structure).
2000-07-31 14:59:15 +00:00
mrg
978acd5367
sync with GENERIC32; enable rnd
2000-07-31 13:21:45 +00:00
ad
067f5e9814
Previous would have misbehaved if polled commands overlapped.
2000-07-31 13:16:34 +00:00
mrg
ec14782383
hardcode onboard "hme" to "hme0"
2000-07-31 13:16:24 +00:00
mrg
b5ce82b4a0
define BDPRINTF in the !DEBUG case to nothing. PR#10688.
2000-07-31 05:40:22 +00:00
enami
35913a898c
Sync internal state and ifmedia state. Addresses PR#10424.
2000-07-31 03:25:11 +00:00
briggs
3628f3e00c
Make sure that we do not call bus_space_*_multi_* with zero count.
2000-07-31 02:14:47 +00:00
briggs
3717acff97
We may wish to install from an SMC-based ethernet, too.
2000-07-31 02:06:48 +00:00
briggs
f5882c7ffa
Make sure that bus_space read/write functions that take a count will not be
...
called if count is zero. The smc91cxx driver, for example, may try to call
bus_space_write_multi_2() with a count of 0.
2000-07-30 23:17:23 +00:00
bouyer
100a4a6b22
Add support for the W83781D and W83782D hardware monitors.
2000-07-30 22:23:53 +00:00
briggs
2f76646af1
Some uncommitted poking around. No functional change.
2000-07-30 21:48:54 +00:00
briggs
1e909ae3ca
Add SMC-based ethernet and nsphy (AsanteFAST) and ukphy (just in case).
2000-07-30 21:46:39 +00:00
briggs
e74ae8ee59
M.d. glue for nubus SMC 91cxx-based cards--including Focus Interlan and
...
AsanteFAST.
2000-07-30 21:43:40 +00:00
briggs
fb9995989b
Make bus_space_write_region_2 usage match prototype.
2000-07-30 21:41:59 +00:00
briggs
d13747524c
Fixup for bogus assumptions about bus_space_handle_t.
2000-07-30 21:40:49 +00:00
briggs
c131e0d1b7
Remove unsupported Focus hardware--this is now probed in if_sm_nubus.
2000-07-30 21:40:09 +00:00
briggs
2bb296de77
Update hack to point to bus_space_handle base address.
2000-07-30 21:39:16 +00:00
briggs
9c85d4dc6a
Add byte-swap and stride options to bus_space. Allocate as normal, then
...
call mac68k_bus_space_handle_swapped() or mac68k_bus_space_handle_set_stride().
Stride is untested. Swapped code works for SMC ethernet.
2000-07-30 21:38:02 +00:00
briggs
a3f6fd2274
Add nubus attachment for smc91cxx driver.
2000-07-30 21:36:04 +00:00
briggs
e6dde2bd42
Add MII support to smc91cxx driver. This is supported for the 91c100
...
and 91c100FD (FEAST) controllers. Existing controllers should continue
to work as they have. Added the card's memory to the probe message.
2000-07-30 21:34:47 +00:00
jdolecek
057458abac
msdosfs_getattr(): do not report archived files (those with ATTR_ARCHIVE unset)
...
as having flag SF_ARCHIVED on; this is wrong for directories, which don't
have any mode flags on msdosfs, so it's always treated as archived,
which leads to problems described in pr #8439 . The semantics of the
archive flag differs between Unix and msdos/windoze, so it's better
to not set the flag at all even for regular files, to avoid surprises.
This fixes bin/8439 by Thomas Klausner.
2000-07-30 20:16:48 +00:00
bouyer
538126d75a
swap lm_match() and wb_match(), as wb_match() is more restrictive.
...
Otherwise a winbond can be mis-probed as a lm if it has the rigth device ID.
Problem reported by Bernd Ernesti.
2000-07-30 17:22:26 +00:00
bjh21
77a537a1ba
Use M_SOFTINTR for soft interrupt sructures
2000-07-30 16:39:18 +00:00
takemura
537da4726d
Refresh screen when the system resume.
2000-07-30 11:16:54 +00:00
simonb
560ce4e272
Don't need to include <uvm/uvm_extern.h> in NetBSD case anymore.
2000-07-30 09:29:28 +00:00
tsubai
5f1e746912
Remove duplicated entry 22 in chrtoblk table.
...
Pointed out by Greg Kritsch on port-macppc mailing list.
2000-07-30 07:17:27 +00:00
simonb
4bb34ff30e
Remove inclusion of <uvm/uvm_extern.h> that was there only to keep
...
<sys/sysctl.h> happy.
2000-07-30 06:22:04 +00:00
simonb
1483e8c25e
Fix "suggest parentheses around assignment ..." warning in normally
...
unused code segment.
2000-07-30 06:11:38 +00:00
itojun
32ef6bb0e7
sync comment with reality
2000-07-30 05:30:37 +00:00
takemura
b5e3ec56a8
Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.)
2000-07-30 04:41:15 +00:00
itojun
0036ac92be
clarify comment. from jhawk. sync with kame.
2000-07-30 04:33:34 +00:00
takemura
bb1a798cbe
Move from sys/dev/apm. And rename apm -> apmdev.
2000-07-30 04:29:22 +00:00
itojun
5e8b5a35e4
make ipsec_strerror(3) to return const char *, not char *. sync with kame.
2000-07-30 02:38:35 +00:00
thorpej
d760e0b407
Add code to read the EISA configuration NVRAM as set up by
...
an EISA Configuration Utility. Code to access this data
is forthcoming.
XXX This could probably be made MI at some point.
2000-07-29 23:18:46 +00:00
jdolecek
e25636b5da
g/c RB_DFLTROOT
...
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
jhawk
d569dc2fb5
Whitespace fix (space rather than tab after #ifdef)
2000-07-29 17:49:08 +00:00
jlam
cbd3022e31
Make this compile without PUCCN defined.
2000-07-29 17:43:38 +00:00
tsubai
25e447156e
Fix printf format string. (recently SECDAY changed from unsigned long to int)
2000-07-29 11:11:53 +00:00
tsubai
f23a2f015d
Set hostid.
2000-07-29 08:21:43 +00:00
tron
597ed25d3d
Adoid excessive use of "return" in "excessive()".
2000-07-28 21:49:09 +00:00
tron
db4919f6b7
Use "NULL" and not "0" for null pointers.
2000-07-28 21:38:44 +00:00
castor
b2bf026f39
Guard the console code in puc.c with the defopt PUCCN so we can
...
use the puc driver without having the com drivers.
2000-07-28 20:43:45 +00:00
scw
44c9e5e16e
Really make this work for `dependall'. Also strip bootst.bug before
...
running it through wrtvid.
2000-07-28 20:08:20 +00:00
drochner
457d8d7c7e
print parent device name too, so we know which socket a card was probed at
...
and whether pcmcia or cardbus
2000-07-28 19:17:02 +00:00
eeh
fe3f6176b4
Make 64-bit stack traces look prettier.
2000-07-28 19:10:33 +00:00
eeh
652a74ef51
Don't dump if there's no address space reserved for it.
2000-07-28 19:08:25 +00:00
jhawk
67c55e543e
Fix CTRL-T to behave properly. It should swaps the current and previous
...
characters, not the previous and second-to-previous.
2000-07-28 16:33:39 +00:00
tv
0505a9e28a
Eliminate the other %:, using vsnprintf followed by printf.
2000-07-28 15:40:24 +00:00
minoura
85ae8ebac7
Prototype netintr().
2000-07-28 14:58:01 +00:00
tv
ce9fd05593
Avoid a nonstandard %: format: printf("%:", fmt, ap) -> vprintf(fmt, ap)
2000-07-28 14:46:37 +00:00
kleink
079b94ad72
Avoid recursion with traditional cpp.
2000-07-28 12:13:32 +00:00
bjh21
4d52022987
Comment tidying
2000-07-28 09:54:56 +00:00
kleink
11ecb446f3
Avoid recursion with traditional cpp.
2000-07-28 09:33:28 +00:00
thorpej
081f57c846
Handle booting without a serial expander box connected.
2000-07-28 06:10:54 +00:00
mrg
a8fc5226d3
fix rev 1.44; make this cast look like:
...
sig = (int)(long)*(caddr_t *)data;
to *properly* dereference the passed data. this makes signals on
ptys actually *work* on the sparc64 port. from mycroft.
XXX: the release branch version needs this ASAP as it is probably
unstable on ILP32BE.
2000-07-28 04:31:19 +00:00
eeh
2152b574c0
Fix LP64BE bug.
2000-07-28 04:21:26 +00:00
itojun
63de4c2cb9
nuke the following sysctl variables. "ppsratelimit" should work better.
...
need to recompile sbin/sysctl after updating /usr/include.
net.inet.tcp.rstratelimit
net.inet.icmp.errratelimit
net.inet6.icmp6.errratelimit
2000-07-28 04:06:52 +00:00
itojun
7abf4641c6
forgot to call tcp6_quench(). sync with kame.
2000-07-28 02:39:45 +00:00
bjh21
61edac627c
Convert the arm26 rtc driver to use pk's new todr(9) interface internally.
...
Nothing outside the driver will notice until we get proper MI I^2C.
2000-07-27 23:51:43 +00:00
martin
10debdeb9c
Fix to autonegotiation problem with some fxp cards. Fix found and reported
...
by Erich T. Enke et al. on current-users. This fixes PR 10550.
2000-07-27 22:14:48 +00:00
bouyer
e955a714ba
Add support for the W83627HF: lm7x like, but with more sensors, and more
...
registers.
2000-07-27 21:49:22 +00:00
bouyer
ca5b9b0c22
Force 64bit arithmetic for timeout computation; a 32bit int opverflows for
...
large timeouts. Should fix PR kern/10575.
2000-07-27 21:28:17 +00:00
scw
379de37900
Make these work for the `dependall' target.
2000-07-27 21:06:53 +00:00
bouyer
a7d2293ea4
My 16 port boca seems to fail to update the interrupt bit in it's interrupt
...
register for a port under high load. The effect is that the port is wedged
waiting for an interrupt that will never come.
Add a callout-based watchdog which periodically (hz/10) scan trough the ports
for missed interrupts.
Problem also noted by Chris Jones, and this fix also helped him.
2000-07-27 20:08:47 +00:00
mason
4a353b5330
Moving to a default of 64 PTYs.
2000-07-27 17:53:35 +00:00
mason
fa62f74f37
Moving to a default of 64 PTYs.
2000-07-27 17:32:11 +00:00
cgd
b63ed164a1
convert PRID handling to use macros on an int, not bit-fields.
...
there's no reason to use bit-fields, and they just complexity to
the header.
2000-07-27 17:29:05 +00:00
itojun
4f825aaddd
recover traditional MINCLSIZE (= MHLEN + MLEN + 1). it will make
...
drivers less aggressive about use of cluster mbufs.
this chnage affects drivers with m_devget()-emulation. many of
recent drivers do not look at MINCLSIZE any more, not sure why.
2000-07-27 17:18:19 +00:00
itojun
73a29e35ff
do not forward packet with :: in the source.
...
this is not in the spec - we had rough consensus on it in ipngwg,
spec will get updated to include this behavior.
2000-07-27 15:53:51 +00:00
bouyer
0154cbce36
Ops, forgot this one: Add interrupt disable bit #define for HPT370
2000-07-27 15:26:16 +00:00
scw
0d5db1f645
Bump DFLDSIZ to 32MB since 16MB is no longer enough for some
...
parts of `make build'.
2000-07-27 14:48:58 +00:00
mrg
256fc99a68
include the 32-bit kernel, not myself
2000-07-27 14:39:50 +00:00
mrg
8b5a1a1dea
do the 32 bit / 64 bit name swap, as per GENERIC.
2000-07-27 14:38:45 +00:00
mrg
cc41b6af8f
remove COMPAT_AOUT option.
2000-07-27 14:34:06 +00:00
bouyer
aa0d4a41d5
HPT370: clear disable interrupt bit; make it works in Ultra/66 mode.
2000-07-27 14:28:45 +00:00
scw
8f4e16a29e
G/C some obsolete HP-UX related flags, and prevent multiple
...
inclusion while I'm here.
2000-07-27 14:26:15 +00:00
scw
110b948408
G/C MDP_HPUXTRACE since it is never set anywhere, so we don't actually
...
support HP-UX processes doing the tracing.
2000-07-27 14:25:14 +00:00
mrg
a254dae933
ebus sc_is is a pointer now, already.
2000-07-27 14:17:10 +00:00
mrg
dea4c479f5
intr_list_handler() should only take one argument. it ignored the 2nd anyway.
2000-07-27 14:13:50 +00:00
mrg
556a915306
add commented LOCKDEBUG
2000-07-27 14:10:25 +00:00
mrg
705b50bf32
fix LP64 warnings.
2000-07-27 14:00:56 +00:00
mrg
2726e45533
fix warnings.
2000-07-27 13:59:26 +00:00
mrg
270fd5cc55
delete unused variable.
2000-07-27 13:58:54 +00:00
mrg
eafc0ade2d
fix warnings.
2000-07-27 13:57:23 +00:00
mycroft
9daa55017e
Fix the sparc_v9 hack...
2000-07-27 13:45:59 +00:00
itojun
928dfa5233
do not disable icmp error rate limitation for local address.
...
local address can be abused too. pps rate limitation should work fine for
moderate amount of icmp errors.
2000-07-27 11:36:14 +00:00
itojun
dd9f2f7f1d
implement net.inet.tcp.rstppslimit to limit TCP RSTs by packet-per-second
...
basis. default: 100pps
set default value for net.inet.tcp.rstratelimit to 0 (disabled),
NOTE: it does not work right for smaller-than-1/hz interval. maybe we should
nuke it, or make it impossible to set smaller-than-1/hz value.
2000-07-27 11:34:06 +00:00
bjh21
926ed939b6
Fix grammatical error in panic msg
2000-07-27 10:12:31 +00:00
jeffs
3eae1609f1
Fix to actually compile MIPS1 only.
2000-07-27 08:28:36 +00:00
jeffs
e4a0934c13
Do not attempt mips3 style cache flush on mips1 in setregs() as it
...
is illegal to flush on user addresses. In theory the race exists
on MIPS1, but it is rather unlikely in common use. I have
seen it with regress/sys/kern/sigtramp on a QED 5231 system.
2000-07-27 06:28:06 +00:00
itojun
a18c2d780f
be proactive about unspecified IPv6 source address. pcb layer uses
...
unspecified address (::) to mean "unbounded" or "unconnected",
and can be confused by packets from outside.
use of :: as source is not documented well in IPv6 specification.
not sure if it presents a real threat. the worst case scenario is a DoS
against TCP listening socket:
- outsider transmit TCP SYN with :: as IPv6 source
- receiving side creates TCP control block with:
local address = my addres
remote address = :: (meaning "unconnected")
state = SYN_RCVD
note that SYN ACK will not be sent due to ip6_output() filter.
this stays until it timeouts.
- the TCP control block prevents listening TCP control block from
being contacted (DoS).
udp6/raw6 socket may have similar problem, but as they are connectionless,
it may too much to filter it out.
2000-07-27 06:18:13 +00:00