Commit Graph

32821 Commits

Author SHA1 Message Date
perseant b46550bdcf Better fix for PR# 8577: before setting dirops, check for cross-device
rename and error out.  This avoids possible problems with attempting
rename between two LFSs.
1999-11-05 20:14:56 +00:00
scottr 7aa7583c8e Enable interrupts during delay calibration. We pretty much have
to allow this exception so that accurate tuning of delay() can be
done (i.e. avoiding VIA-related wait states and cache effects as
much as possible).

XXX During this narrow window, it is still conceivable that we could
get interrupts from devices other than the VIA timer.  Normally this
shouldn't be a problem because interrupt handlers should generally
not be registered until we get to autoconfig.  It is, however, a
potential pitfall to be aware of.
1999-11-05 19:14:56 +00:00
scottr 55c161d3da Since nothing depends on interrupts during autoconfig proper
any longer, we can finally avoid enabling interrupts until the
end of cpu_configure().  This resolves a long-standing issue that
has caused us trouble several times in the past.
1999-11-05 19:06:39 +00:00
pk 23c39b410d Fix some diagnostic output with a patch from Jonathan O'Brien. 1999-11-05 19:00:44 +00:00
scottr 41ae6be989 Defer ADB configuration until interrupts are (normally) enabled. 1999-11-05 18:27:11 +00:00
scottr 902801374a An aesthetic change to autoconfig output to complement Colin Wood's
change to macrom.c in June.
1999-11-05 18:08:02 +00:00
jdolecek ead528ba12 msdosfs_lookup(): initialize denode's de_fndcnt properly even for
"found" case. This information is important for msdosfs_rename(),
when the target filename is "long" and the file exists -
it gets unlinked and the entries are re-used, but if de_fndcnt was
left zero, createde() thinks there are no entries to store the
long filename of moved file and long filename is "lost".

Fixes PR #5468 by Dave Huang <khym@bga.com>.

Tested by: jdolecek
Reviewed by: Wolfgang Solfrank
1999-11-05 16:49:15 +00:00
itojun e127ba2f0b fix well-known CPI handling bug. (sync with KAME code) 1999-11-05 14:57:00 +00:00
itojun 37ecccca6b decrease amount of history buffer to use for IPcomp.
the default setting of zlib allocates too much memory and of no use for
network packets (which are like < 2k).

From: Laine Stump <lainestump@rcn.com>
1999-11-05 14:56:26 +00:00
mycroft 895de56d08 Fix recent bug in sys_accept(): we must remove the file descriptor from the
file descriptor table before freeing the file description.
1999-11-05 11:48:57 +00:00
ad 341c38ac01 In rasops_do_cursor(), don't pull the mask from ri_devcmap[], just use ~0.
Needed to make cursor DTRT on NetBSD/hpcmips - from takemura.
1999-11-05 10:16:11 +00:00
fredb 92d294b3dc Add and enable Coda file system and pseudo-device vcoda. Closes PR 8625. 1999-11-05 09:59:25 +00:00
fredb 8e579b4df3 Enable mi Coda driver (PR 8625). 1999-11-05 09:54:07 +00:00
sommerfeld 73bf131124 Add rcsid's 1999-11-05 05:13:36 +00:00
chs 07e5d68b51 several fixes to copy{in,out,}str() from charles and myself:
don't panic if maxlen == 0, just return ENAMETOLONG.
treat maxlen as unsigned like the manpage indicates.
avoid crashing if the userspace address is >= KERNBASE.
make sure *done is 0 when no bytes are copied.
1999-11-05 04:49:26 +00:00
takemura 5546e92c75 Clear interrupt register before check keys. 1999-11-05 04:28:14 +00:00
nisimura 392a4acdd7 - Remove temporary hack to recognize PMAGD since SFB+ rendering function
is found not fully upward compatible to its predecessor.  sfbp.c is now
  under development.
- Reduce copycols() malfunction, but has still lot of troubles.
1999-11-05 03:28:40 +00:00
sato db87b456fa inherit WinCE timezone only when 'options RTC_OFFSET=..' is not specified. 1999-11-05 03:27:54 +00:00
takemura f030408088 TX3922 support (Add cache flush code, and change interrupt vector to hook)
Add Sharp Telios, Victor InterLink entry
1999-11-05 02:43:23 +00:00
jdolecek fe54414362 msdosfs_readdir(): set iovec offset correctly so that some long filename
entries won't be ignored when contents of the directory don't
fit in user buffer all at once.

Fixes kern/4492 by Rick Byers <rickb@iaw.on.ca>.
1999-11-04 23:08:57 +00:00
thorpej 8e930a51fe Const poison uvm_wait(). 1999-11-04 21:51:42 +00:00
bouyer fb8b192c0a Pass xfer->c_bcount instead of sc_xfer->datalen to the device, so that
it gets the rigth len for a request sense (from OpenBSD).
1999-11-04 21:16:53 +00:00
thorpej 0ad32f07d2 Revert this part of rev 1.59:
- Be more conservative when resetting the interface after a transmit error.

It caused the interface to totally wedge on the (somewhat common) transmit
FIFO underrun condition.
1999-11-04 20:27:11 +00:00
sommerfeld 458feeb836 Add awi 1999-11-04 19:43:13 +00:00
thorpej 06a4c7fe53 Allow rd/line, rd/mult, and wr/inval. 1999-11-04 19:15:22 +00:00
thorpej a3759d67fe Don't do rd/line, rd/mult, or wr/inval on the buggy Miata 1's. 1999-11-04 19:11:51 +00:00
thorpej 4a09180976 Don't pass rd/mult capability though a PCI-PCI bridge. The bridge would
have to break it up into mutliple rd/line's anyhow, so why bother letting
the device issue it in the first place.
1999-11-04 19:04:04 +00:00
thorpej 110ac27449 Make sure devices are told they can use rd/line, rd/mult, and wr/inval. 1999-11-04 19:03:00 +00:00
sommerfeld d9bc6e4f98 Conditionalize so this builds on 1.4.x.. 1999-11-04 18:43:42 +00:00
sommerfeld 12b00b0444 Allow this to build on 1.4.x, too 1999-11-04 18:41:14 +00:00
sommerfeld fd0062aeab Attempt to be smart about whether to use I/O space or memory space to
access the card's shared memory: if we can't allocate the 32k we need,
fall back and just use I/O space access.
1999-11-04 17:48:13 +00:00
mhitch 54b3de8b6f Only check for cache index compatiblity on MIPS3 if there is no secondary
cache.  With secondary cache, the CPU will detect cache coherency errors
and the Virtual Coherency Exception handler will flush the appropriate
cache lines to maintain cache coherency.  This allows much better
performance than inhibiting the cache for the entire page.  This is
very noticable when shared library mappings occur with incompatible
mappings, since there's a very likely chance the mappings will remain
for long periods of time.  Systems without secondary cache will still
have the cache inhibited, so there will still be performance issues if
shared libraries don't get mmaped() on correct memory alignments.

This fixes the current problems on DECstations using the R4x00 getting
coredumped programs.
1999-11-04 17:20:57 +00:00
sommerfeld 2ee5984fa6 Driver front-end for BayStack 650 PCMCIA 802.11 card.
Committed using the driver.
1999-11-04 17:12:43 +00:00
sommerfeld 58e709f695 Minimally functional driver for the am79c930 802.11 controller chip).
Working well enough to support dhcp; i'm doing this commit using the
interface.

Supports FH only.  Does not yet do ad-hoc mode; works in
infrastructure mode.  Not yet tested in environments with multiple
access points.
1999-11-04 17:10:53 +00:00
tsarna c0b20561f7 regen 1999-11-04 16:18:41 +00:00
tsarna 9df6f09e30 Add Aureal AU8820 1999-11-04 16:02:20 +00:00
takemura c7bb567f7c Move consinit() from findcons.c to machdep.c and remove file 'findcons.c.
Modify kernel boot options.
1999-11-04 13:11:23 +00:00
augustss fb580e3f6e Regen. 1999-11-04 10:34:40 +00:00
augustss 1289659618 Add SBLive! 1999-11-04 10:34:03 +00:00
joda c8532c3ebe regen 1999-11-04 09:39:17 +00:00
sato 5eba2f8c9b if rtc_offset is 0, rtc_offset inherit WindowsCE timezone. 1999-11-04 09:39:10 +00:00
joda dbfcb792e1 add Xircom X3201-3 Fast Ethernet Controller 1999-11-04 09:38:38 +00:00
jonathan 0588cdfc88 Update user-level PPS-API to match -05 draft.
Change PPS_<xxx> ioctls to PPS_IOC_<xxx>.
1999-11-04 05:33:58 +00:00
mrg bd0928e723 find "SUNW,hme" as well as "hme". this matches the onboard
ultra2 hme.  haven't actually tested this beyond it probing
because my scsibus is hanging.  anyway, it reports:

hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:8f:7f:8f
1999-11-04 05:31:38 +00:00
sato 829c8ef0f2 GENERIC_JP include GENERIC. 1999-11-04 04:58:25 +00:00
simonb 986464bd89 Remove duplicate line. 1999-11-04 02:53:03 +00:00
thorpej 97bbad1f0b Do rd/line and rd/mult on the MX98725 and LC82C115, too. 1999-11-04 01:27:32 +00:00
thorpej e3f20e8ff1 Use Memory Read Line and Memory Read Multiple on the 21140, 21140A,
21142, and 21143, if the PCI bus says its okay.
1999-11-04 01:20:55 +00:00
thorpej a4e1bde0b3 Print out if the read {line,multiple} and write/invalidate commands are
okay to use.
1999-11-04 01:03:34 +00:00
thorpej 1825cdf45b Tell the PCI layer that Memory Read Line, Memory Read Multiple, and
Memory Write and Invalidate are okay PCI commands to use.
1999-11-04 01:02:38 +00:00