Commit Graph

113719 Commits

Author SHA1 Message Date
tsutsui
d096df8f90 Fix CPU clock for Tyne. It has 133MHz R4600. 2003-06-14 08:11:56 +00:00
tsutsui
27ad3392b9 Change DESKstation -> DeskStation, as per spelling on the Tyne board. 2003-06-14 08:09:47 +00:00
nonaka
74db466478 Add some files for libevent. 2003-06-14 08:04:42 +00:00
tsutsui
3baa558986 Rewrite arc/isa/isapnp_machdep.c (based on i386).
It seems no one tried the previous code.
2003-06-14 07:58:16 +00:00
tsutsui
e1c1a8283d Add missed "\n" in attach message. 2003-06-14 02:57:03 +00:00
tsutsui
f215f507a2 Don't enable both pc0 and vga0 at isa. 2003-06-14 02:40:42 +00:00
dsl
deef134ca4 Fix code that determines BIOS CHS from MBR - used to get confused by big disks.
Make same function return useful defaults if it can't find an answer.
Make all ports default to the useful defaults if bios geometry is unknown.
Move some messages to mbr set from mi set.
Fix i386 code that selects which bios disk, simplify interface to menus.
Remove now unnecessary global data from many ports.
2003-06-13 22:27:03 +00:00
provos
f9d5f7ab0c oops; correct DPADD; from markus.friedl 2003-06-13 18:53:00 +00:00
uwe
22ce30e3bd Rename struct frame to irt_frame to avoid name clash with struct frame
in <arm/arm32/frame.h>.
2003-06-13 15:09:17 +00:00
uwe
b736b5d450 Drop __P(). Drop redundant prototypes that we either don't need or
get from <arm/arm32/machdep.h> anyway.  Consistently use ANSI style
function definitions (most functions already were in ANSI style).
Generated object file is not changed.
2003-06-13 12:30:04 +00:00
dsl
bc119f42a4 Remove all references to minfsdmb and STDNEEDMB - neither are used any more. 2003-06-13 11:57:28 +00:00
dsl
88e7a0c7dc Report actual minimum size of partitions (instead of a number that is
4 times system memory). (These numbers need moving to a different menu still.)
Remove size of /usr from default sized / when /usr created.
Shrink swap in order to get partitions into available disk space.
Add twice ram size to / if space available (for system dumps).
Keep all but last partition cylinder aligned when the disk isn't a whole
number of cylinders.
2003-06-13 11:45:49 +00:00
abs
a16551d502 Correctly escape newlines in a string - now can be compiled under gcc3 2003-06-13 10:56:41 +00:00
scw
7d221cb560 Apply Nathan's switch-away fix and previous save-PT_UC from new stack fix. 2003-06-13 08:07:03 +00:00
onoe
7dad9f7d8a For loopback interface, assign ia_dstaddr instead of just changing reference
to ifa_dstaddr.  This fixes the problem that assigning more than 2 IPv4
aliases to loopback interface fails to create routing table entry.
2003-06-13 07:59:57 +00:00
scw
04f197eae9 Apply Nathan's switch-away fix and previous save-PT_UC from new stack fix.
Compile-tested only.
2003-06-13 07:45:17 +00:00
kent
53af708049 Fix a regression of the last commit.
ICH4 needs IGNORE_CODEC_READY_MAYBE.
2003-06-13 07:27:17 +00:00
itojun
7087f39f8d use strlcpy/cat 2003-06-13 07:26:41 +00:00
kent
1384d4d948 Regen 2003-06-13 07:14:58 +00:00
kent
f968f948fa Add some ICH5/ICH5R device IDs. 2003-06-13 07:14:18 +00:00
thorpej
3178a4f415 Add support for dynamic rescan of cache service logical drives, using
the ioctl issued by the ICP RAID management libraries (used by the
storcon and iirconfig tools).  This requires some infrastructure changes:
* Add a "service callback" mechanism that the ld driver (cache service)
  and the iopsp driver (raw service) can register with the icp parent.
  Right now this callback allows the children to adjust their notion of
  how many command openings are available.
* Add a mutex around the icp ioctl handler, allowing only one thread
  to execute an ioctl at a time.
* Add a way to freeze the controller command queue.  We stop all I/O
  while processing rescans (due to the semantics of icp_cmd()).
* Make icp_cmd() work when !cold.
* Add detach support to ld@icp.
2003-06-13 05:57:30 +00:00
kent
f7f6440dff Add AD1981-specific initialization.
The patch provided by Lars Heideker.

PR: kern/20368
2003-06-13 05:31:29 +00:00
thorpej
c4b3abedc3 Add a LOCK_INITIALIZER() macro to statically initialize a struct lock. 2003-06-13 05:13:43 +00:00
kent
93695b73fb Not only ICH4 but also ICH0 and ICH2 might set no ICH_PCR.
The patch was provided by lha.

PR: kern/21031
2003-06-13 05:13:42 +00:00
simonb
67417f64a8 Sprinkle some TABs to line up the columns in the cputab models array. 2003-06-13 04:29:39 +00:00
itojun
59a8ea6cd4 set lists for libevent. sort. niels ok. 2003-06-13 04:12:53 +00:00
itojun
3abc10868f add $NetBSD$ 2003-06-13 04:09:18 +00:00
msaitoh
6f197c635e Add support IBM 405GPr 2003-06-13 04:05:26 +00:00
itojun
ded3919389 define LIBEVENT 2003-06-13 04:04:18 +00:00
thorpej
434a4243a1 Fix the way the scsipi adapter openings are adjusted when the array
controller adjusts our queue length.
2003-06-13 02:33:09 +00:00
thorpej
76464bb996 * Don't wait for commands to drain when adjusting the queue length.
Instead, wait when it's really needed, when detaching.  Project
  draining from spruious wakeups.
* Don't flush the controller's cache when detaching; we can't do it
  reliably, as the controller probably things the array drive no
  longer exists.  The cache is already flushed in ldclose() so this
  should be no problem.
2003-06-13 02:32:27 +00:00
jwise
3ef0e39473 Recreate the ability, which has existed in syspkg since first implementation,
to explicitly version syspkgs.  See discussion on source-changes@netbsd.org.

If we want to lose this functionality, we should discuss this on the appropriate
lists...
2003-06-13 02:32:26 +00:00
petrov
49d4047a8f Pick up from OpenBSD:
The sab driver sometimes gets out of sync with the hardware.  This can
cause the serial console to hang.
2003-06-13 01:33:32 +00:00
lukem
34795551b8 add const qualifiers to match md{2,4,5}.h 2003-06-13 01:28:41 +00:00
provos
d750225d16 regress both kqueue(2) and poll(2) 2003-06-12 23:30:58 +00:00
provos
5522c1a3bb add LIBEVENT 2003-06-12 23:26:19 +00:00
provos
d8cea27f17 update sets for libevent 2003-06-12 23:23:05 +00:00
nathanw
4bd45b7b3b Oops, that's switch_return_point, not locked_return_point. The perils
of cut-and-paste.
2003-06-12 23:19:27 +00:00
provos
0275e3fef4 enable building the library and the regression test 2003-06-12 23:18:07 +00:00
provos
0eab3d3b7d libevent regression test 2003-06-12 23:15:48 +00:00
provos
f67349cc61 fix warnings 2003-06-12 23:07:58 +00:00
nathanw
aa6f5de228 STACKSPACE of 16 is too small, given the use of CALLFRAME_SIZ;
increase to match.
2003-06-12 23:01:17 +00:00
nathanw
eb6ba6fbef Apply switch-away fix and previous save-PT_UC from new stack fix. 2003-06-12 23:00:28 +00:00
provos
13993283c2 import of libevent; an event abstraction library that supports kqueue and
poll on NetBSD.
2003-06-12 22:54:25 +00:00
tron
6933a49a87 Add international fonts. 2003-06-12 22:49:40 +00:00
fvdl
1a31b8db4d Apply Nathan's switch-away fix. 2003-06-12 22:03:18 +00:00
nathanw
b43f1c7405 In pthread__resolve_locks(), change the conditions for removing a normal
thread from the continuation chain: Not only must it have released all
spinlocks, but it must have signaled completion by finishing pthread__switch
or by having stored into pt_switchto.

Together with the previous pthread_switch.S changes, this fixes a couple of
crasehes caused by race conditions in the examination and use of pt_next,
and by switching to empty pt_switchtouc's.
2003-06-12 21:49:42 +00:00
nathanw
f866ba061d Two fixes:
* In switch-away cases, write PT_SWITCHTO last (after PT_SWITCHTOUC), so
   that pthread__resolve_locks() doesn't see an empty SWITCHTOUC value. This
   also permits pthread__resolve_locks() to use the presence of PT_SWITCHTO
   as a sign that the thread has done all of its necessary chain work.

 * Make the return-point of pthread__switch global and visible, so that its
   address can be compared to the PC of a thread, again as a sign that its
   chain-work is done.

(other architectures in progress, after they get the *previous* asm fix...)
2003-06-12 21:46:03 +00:00
agc
72aa9a9ed1 Add the comments file, which is a single file containing all the COMMENT
file entries from the syspkg hierarchy, brought up to date to include some
that had been missed out.

Add the descrs file, which is a single file containing all the DESCR
file entries from the syspkg hierarchy, brought up to date to include some
that had been missed out.

Thanks to Jim Wise for all the work that went into the syspkg sets.

Add the attrs file, which is a single file to which can be added
attributes (like preserve).

Add a regpkg script, which allows a single system package to be
registered, based simply on its setname and syspkg name.  All the
information is gleaned from the lists files by means of scripts, no
source tree is needed.  The version number for the system package is
calculated automatically, based on the most recent mtime of the files
that constitute a system package.

Add a regpkgset script, to register all the system packages in a set.
The set names recognised are "all", "base", "comp", "etc", "games",
"man", "misc", "text".
2003-06-12 20:04:00 +00:00
agc
87171e96eb Bring the machine and arch-level decision of shared libs vs none up to date,
and also bring up to date the ELF vs a.out knowledge.

Also, sort the directories into reverse alphabetical order, and add them to
the generated PLIST file after any file entries.

Grab the comments into a single file from the individual syspkg set entries.

Grab the descriptions into a single file from the individual syspkg set entries.

Add an attributes file to which can be added attributes for system packages.
The "preserve" attribute has been implemented.

Add extra comments and descriptions for system packages which were missing.
2003-06-12 19:55:18 +00:00