Commit Graph

56790 Commits

Author SHA1 Message Date
soren 6f961bbe31 It's okay for a memory region to be larger than it's alignment. 1999-11-06 06:20:53 +00:00
enami de37487d49 - Export initrtclock().
- Call it from apm_resume().

This fixes timer problem on some laptop after hybernation (PR#4808).
Reviewd by: fvdl@netbsd.org
1999-11-06 01:14:00 +00:00
enami 6b2ae05f21 Possible typo. 1999-11-06 01:01:20 +00:00
enami 9be459a1fb Regen. 1999-11-06 00:59:56 +00:00
enami 9c7bc44f91 Support an earlier version of IO-DATA PCLA/T. 1999-11-06 00:58:32 +00:00
drochner db5d01fc72 back out the "ep"/"ex" guessing part of the previous - the check was
removed from the kernel and the device name is only informational now
1999-11-05 22:57:39 +00:00
drochner 8625e61c24 don't check the device name passed by netboot ROMs against the driver
name - drivers change too often, bus attachment information should be
sufficient to identify the boot device
1999-11-05 22:54:43 +00:00
thorpej 0048c5a244 Add tlp(4). 1999-11-05 21:38:18 +00:00
thorpej 718f6380a7 Add tlp, document TLP_MATCH_* options, and add some missing PHYs. 1999-11-05 21:36:21 +00:00
jdolecek f759642ae2 Fix a problem in previous: we can't blindly assume that we have
wincnt entries available at the offset the file has been found. If the dos
directory entry is not preceded by appropriate number of long name
entries (happens e.g. when the filesystem is corrupted, or when
the filename complies to DOS rules and doesn't use any long name entry),
we would overwrite random directory entries.

There are still some problems, the whole thing has to be revisited and solved
right.
1999-11-05 21:33:21 +00:00
thorpej 803d0b1a4b Add some missing Ethernet cards: rl, ti (not in INSTALL), sip, tlp. 1999-11-05 21:30:21 +00:00
erh 9aa5adae3f Add comments describing what this does. 1999-11-05 20:16:56 +00:00
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
thorpej 1c68af8c5b Fix a typo. 1999-11-05 19:55:07 +00:00
thorpej e892385f00 Manual page for the `tlp' driver. Extremely verbose. But, it's worth
a read just in case you're curious why the driver is so complicated.
1999-11-05 19:48:49 +00:00
erh 20678a0621 PR 5057 - fix %k to print a 0, not just spaces. (%e too). Patch from NAKAJIMA Yoshihiro. 1999-11-05 19:21:12 +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
perseant f52d155148 Make newfs_lfs try increasingly smaller segment sizes down to 2*block size,
if the partition is so small that not enough segments can be created to
place the second superblock.  Addresses PR#7623.
1999-11-05 18:59:12 +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
mycroft 6c011bf076 Install root's .shrc. 1999-11-05 11:31:40 +00:00
mycroft c43c81eec7 (Ab?)use some sh(1) features:
* Put the aliases in a separate file, referenced by $ENV, so that they're
  present in subshells.
* Do the same to make `set -o emacs' happen automatically in interactive
  shells.  (Yay, line editing by default!)
* Use `export FOO=bar' syntax, as it's shorter and other sh(1)-like shells
  all support it these days.
1999-11-05 11:30:13 +00:00
mycroft 80cfefa569 Disable portmap by default, and add some more comments in that section. 1999-11-05 11:19:49 +00:00
mycroft fbbc23fa6a Disable everything except ftpd and telnetd by default. 1999-11-05 11:16:20 +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 2fad6a7a8e Make cfs0 for Venus/Coda file system, by default (PR 8625). 1999-11-05 09:57:06 +00:00
fredb 8e579b4df3 Enable mi Coda driver (PR 8625). 1999-11-05 09:54:07 +00:00
lukem 7287003d25 add knf 1999-11-05 08:59:17 +00:00
elric a356b5e32d Added a compat_osf1(8) man page. 1999-11-05 07:59:38 +00:00
lukem 3a2e129c54 add trailing "," to memory names (makes it easier to read) 1999-11-05 07:25:14 +00:00
sommerfeld 73bf131124 Add rcsid's 1999-11-05 05:13:36 +00:00
mycroft ff488606e6 Nit: In the compatibility case, set the seconds to 0. 1999-11-05 04:54:10 +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
sommerfeld a750e570af Add awi(4) man page. 1999-11-04 19:36:01 +00:00