Commit Graph

54266 Commits

Author SHA1 Message Date
Jonathan Chen
c669d6a002 1) When mucking with mapping registers, it is best to *not* have
io or memory space access enabled.  This patch defers the setting
   of these bits until after all of the mapping registers are probed.
   It might be even better to defer this until a particular mapping
   is activated and to disable that type of access when a new
   register is activated.

2) The PCI spec is very explicit about how mapping registers and
   the expansion ROM mapping register should be probed.  This patch
   makes cardbus_add_map() follow the spec.

3) The PCI spec allows a device to use the same address decoder for
   expansion ROM access as is used for memory mapped register access.
   This patch carefully enables and disables ROM access along with
   resource (de)activiation.

This doesn't include the prefetching detection stuff (maybe later when code is written to actually turn on prefetching).  It also does not use the PCI definitions (yet, I'll try to put this in all at once later)

Submitted by: Justin T. Gibbs
2000-11-28 00:52:40 +00:00
Jonathan Chen
7bec1dd5e1 overhaul cis functions to read cis tuple by tuple (instead of all at once).
Also fix incorrect parsing of BAR.
2000-11-28 00:08:18 +00:00
Jonathan Chen
af82f62d2f A bunch of newcard/cardbus changes that's been sitting in my tree for a while:
- Make pccbb/cardbus kld loadable and unloadable.
- Make pccbb/cardbus use the power interface from pccard instead of inventing its own.
- some other minor fixes
2000-11-28 00:05:20 +00:00
Jonathan Chen
a8e5d9ac32 Patch to use M_ZERO
Submitted by: David Malone
2000-11-27 23:55:19 +00:00
Jake Burkholder
4f55983606 Use callout_reset instead of timeout(9). Most callouts are statically
allocated, 2 have been added to struct proc for setitimer and sleep.

Reviewed by:	jhb, jlemon
2000-11-27 22:52:31 +00:00
John Baldwin
91b7c97713 Drop Giant around the mi_switch() call in yield().
Submitted by:	tegge
2000-11-27 18:48:13 +00:00
Ruslan Ermilov
77a0943ded Eliminate groff(1) warnings. 2000-11-27 18:16:24 +00:00
Ruslan Ermilov
ea3d0ab695 Eliminate groff(1) warnings. 2000-11-27 18:00:51 +00:00
Hajimu UMEMOTO
bcfb36405d - do not check/advertise cloned routes, nor dynamic routes
- cast size_t on printing (be friendly with alpha)

Obtained from:	KAME
2000-11-27 17:44:53 +00:00
Jeroen Ruigrok van der Werven
b61c02a706 Correct some more dates and fix the order based on those dates.
Also add some forgotten point releases.
2000-11-27 17:03:04 +00:00
Jeroen Ruigrok van der Werven
3c8b8b84b9 NetBSD 1.4.3 is released.
Detail some FreeBSD release dates.
OpenBSD 2.8 will be released 1 Dec 2000.

Some grammar and typo fixes.
2000-11-27 16:35:21 +00:00
Maxim Sobolev
1447779521 Add reference to elf(5) in addition to already mentioned a.out(5) and add both
elf(5) and a.out(5) into `SEE ALSO' section.
2000-11-27 15:18:25 +00:00
Maxim Sobolev
4d4a5cbb41 (null commit)
Clarify message for previous commit (addition of "bogomips"):

IBM JDK was not broken in common sense, but its JIT (Just In Time bytecode
compiler) uses number of occurences of "bogomips" in data read from
/proc/cpuinfo to determine number of processors installed on machine. Number
of processors determined in this "innovative" way then used to optimize JIT
behaviour. Even more strangely that in the absence of "bogomips" in the data
read from /proc/cpuinfo JIT assumes that it runs on SMP system. Since there
is no way to fix misbehaving JIT (binary-only distro), we had to add bogos
"bogomips".
2000-11-27 14:59:31 +00:00
Sheldon Hearn
e2d7360d81 Fix invalid comments. 2000-11-27 14:28:35 +00:00
Dag-Erling Smørgrav
882974d431 Fix old-style proxy specs: default to FTP if FTP_PROXY was set; only default
to HTTP if HTTP_PROXY was used instead.
2000-11-27 13:42:56 +00:00
Dag-Erling Smørgrav
b431558526 Don't try to get the proxy port number from /etc/services. 2000-11-27 13:41:55 +00:00
Tatsumi Hosokawa
247fc4628e Filename of install help file is "INSTALL.TXT", not "install.hlp".
Typing [F1] did not popup install help file window on main menu, and so on.
2000-11-27 13:35:11 +00:00
Dag-Erling Smørgrav
fbbd9aebdd Add bogomips to cpuinfo (set it equal to the CPU frequency, which is bogus
but not more so than Linux' definition).
This should get the IBM JDK 1.3 working again.

Prompted by:	sobomax
2000-11-27 11:10:03 +00:00
David E. O'Brien
964a751c62 The Alpha MFSROOT image runth over.
Dike out support for DEC3000/300* Pelic* and the DEC3000/[4-9]00
Flamingo/Sandpiper families, SLIP, lance Ethernet (especially since `le'
based Alphas are diked out now too), POSIX P1003_1B real-time extentions,
and last but not least "NOBLOCKRANDOM" since the random device is removed.

This lets us fit [barely!]:
Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused  Mounted
/dev/vnn0c       1407     1386       21    99%       6      24    20%   /mnt
*** Filesystem is 1440 K, 21 left
***     80000 bytes/inode, 24 left
Created /R/stage/floppies/kern.flp
2000-11-27 09:29:40 +00:00
Ruslan Ermilov
530cc0fcff Use groff(1) versions of these documents. 2000-11-27 09:23:27 +00:00
David E. O'Brien
518bd5cfa7 Using `r'aw device name is out of vogue now. 2000-11-27 09:19:18 +00:00
Ruslan Ermilov
fa6b8a8da7 Eliminate groff(1) warnings. 2000-11-27 08:50:56 +00:00
Hajimu UMEMOTO
1ada402aa4 Add missing initialization for IPv6 address lifetime.
PR:		misc/22884
Obtained from:	KAME
2000-11-27 08:44:57 +00:00
Kris Kennaway
bc488ed1ad Constify 2000-11-27 08:18:58 +00:00
Kris Kennaway
4887d15929 Fix format string warnings 2000-11-27 07:57:44 +00:00
Ruslan Ermilov
09d07d748c Eliminate groff(1) warnings: unbreak refer(1)ences. 2000-11-27 07:55:08 +00:00
Kris Kennaway
a6f339d266 Format string auditing 2000-11-27 07:35:53 +00:00
Kris Kennaway
963d55d108 Previous commit was a format string auditing fix 2000-11-27 07:32:29 +00:00
Kris Kennaway
797376317f Fix format string warnings 2000-11-27 07:28:15 +00:00
David E. O'Brien
e02433fdc4 Don't install the osf1 script from here. It causes the release build to
break as ${DESTDIR}/usr/bin doesn't exist where the module is being
installed.
2000-11-27 07:27:44 +00:00
Kris Kennaway
b63695f384 Constify 2000-11-27 07:21:37 +00:00
Ruslan Ermilov
80ff3b155f Eliminate groff(1) warnings. 2000-11-27 07:19:06 +00:00
Kris Kennaway
c858db9672 *** empty log message *** 2000-11-27 06:55:38 +00:00
Kris Kennaway
40c068176d Constify 2000-11-27 06:40:35 +00:00
Kris Kennaway
4195af47fd Constify 2000-11-27 06:26:48 +00:00
Kris Kennaway
50d793ebb0 Fix format string warnings.
Submitted by:	nra
Obtained from:	NetBSD
2000-11-27 04:26:39 +00:00
Brian Somers
8a407aad55 Change interactive mode so that a monitor thread keeps an eye on the
ppp descriptor and signals the terminal thread when there's something
to read on that descriptor.

This means that the main loop doesn't have to alarm() itself into
dropping out of el_gets() frequently to check the descriptor.  This
dropping out was disturbing syscons (via ioctl()s from libedit) enough
to reset the screensaver timeout every .5 of a second.

PR:	20345
2000-11-27 02:31:25 +00:00
David E. O'Brien
4a93f235c1 `cdboot' is broken as it cannot load a kernel.
The release engineer keeps using the wrong /boot/cdboot when creating the
ISO images.  So we'll add the 4.0-RELEASE cdboot to the tree until someone
bothers to fix the source so a working `cdboot' is built.
2000-11-27 02:15:13 +00:00
Alfred Perlstein
1e5d626ad9 ucred system overhaul:
1) mpsafe (protect the refcount with a mutex).
2) reduce duplicated code by removing the inlined crdup() from crcopy()
   and make crcopy() call crdup().
3) use M_ZERO flag when allocating initial structs instead of calling bzero
   after allocation.
4) expand the size of the refcount from a u_short to an u_int, by using
   shorts we might have an overflow.

Glanced at by: jake
2000-11-27 00:09:16 +00:00
Daniel Harris
2fa9c83651 compatability -> compatibility
PR:		23114
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:51:07 +00:00
Daniel Harris
b13034ed0f compatability -> compatibility
PR:		23112
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:43:15 +00:00
David Malone
373134cc60 Don't scroll of the end of the help pages when using the visual
option in for "boot -c".

PR:		17539
Submitted by:	Edwin.Groothuis@cgmd76206.chello.nl
2000-11-26 23:39:46 +00:00
David E. O'Brien
07a9238fc1 Note that the `fmt' parameter is a printf()-like string. 2000-11-26 23:33:40 +00:00
Daniel O'Callaghan
3fbaa839f9 Prevent leakage of information about anonymous user's homedir
via 'QUOTE CWD'.

Reviewed by:	des
2000-11-26 23:33:36 +00:00
Daniel Harris
32704e5747 Typo fix: forgot -> forget.
PR:		23113
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-26 23:26:51 +00:00
Kris Kennaway
56e7ae90cb Cleanup this code a bit by attempting to sync it up with NetBSD and
with each other.

Reviewed by:	markm, dwmalone
2000-11-26 22:36:35 +00:00
Kris Kennaway
f313a39933 Correct definition of MAXHOSTNAMELEN in ifdef'ed out code 2000-11-26 22:21:39 +00:00
Kris Kennaway
4d113fee52 MAXHOSTNAMELEN is 256, not 64 2000-11-26 22:20:17 +00:00
David E. O'Brien
5576244cd6 Use the vendor's manpages (which are in old -man format) rather than
our modified one based on a much older version of the vendor's manpage.
2000-11-26 22:19:56 +00:00
Brian Somers
20d65f25eb Add ${LIBC_R} 2000-11-26 22:19:52 +00:00