Commit Graph

69410 Commits

Author SHA1 Message Date
ad 671d7f91ae - Interface cleanup. static, const in places.
- Move convenience macros from cacreg.h to cacvar.h.
- Add one hardware check in DIAGNOSTIC case.
- Declare `cac_l0'.
2000-09-01 12:12:29 +00:00
ad ac2883e218 - Interface cleanup. static, const in places.
- Pull in linkage useful for both PCI and EISA boards from cac_pci.c.
- cac_ccb_done() now frees the done CCB if the CCB callback completes.
- Model-specific linkage is now responsible for DMA synchronization.
- Use wakeup_one() in cac_ccb_free().
- Start synchronous commands `manually'.
- Add one hardware check in DIAGNOSTIC case.
- Improve error messages.
- Start firmware background tasks on controllers that need it.
2000-09-01 12:11:37 +00:00
ad d8e5466776 - Move convenience macros from cacreg.h to cacvar.h.
- Define EISA board register set and some other magic numbers.
- Add missing elements to `struct cac_controller_info'.
2000-09-01 12:10:21 +00:00
tsubai a964ecd1a9 Correct iosize. 2000-09-01 10:43:33 +00:00
hubertf b09f22f48f When downloading and extracting a file (in ftp:
'get pkg.tgz "| cd /var/tmp/inst ; gunzip | tar -x -f -"'), handle
two cases better:

1. Timing out ftp connections: Make sure the hanging pipeline gets a ^C
   (SIGINT), and wait until the ftp prompt is available again. Else we
   may nuke away tar's working dir, and it may be displeased.
2. One of the commands from the pipeline exiting: caught via SIGCHLD;
   for this signal to be delivered, a empty handler is needed)

Adresses PR 10925 by Greg A. Woods <woods@planix.com>
2000-09-01 04:42:57 +00:00
hubertf 80c46f750e * Code cleanup
* Add a comment in one appropriate place
 * Indent properly
2000-09-01 04:36:20 +00:00
hubertf c06c5a0348 Add some (commented out) debug flags 2000-09-01 04:34:03 +00:00
aidan b84b9c883a Check retrieved TGT against local keytab, if it exists. 2000-09-01 03:12:20 +00:00
jdolecek 0bc8e23c3a even through the integrated audio on my MSI 694D Pro
does not set AC97_CODEC_DOES_VRA in AC97_REG_EXT_AUDIO_ID request, it
works okay; only require the bit set for revision < 'H'
2000-09-01 00:02:04 +00:00
eeh 67ca76fd68 Use casx instead of stx to change entries in the page table trees. 2000-08-31 20:14:55 +00:00
eeh 65f1bb68b5 Add support for multiple memory segments. 2000-08-31 19:12:45 +00:00
eeh a17d71cd4b Fix register sheduling bug in st?a() routines and add casxa(). 2000-08-31 19:08:47 +00:00
itojun e871d0cd31 on /etc/hosts lookup, set "official host name" (the leftmost hostname)
into ai_canonname.  this is to synchronize with practice in gethostby*.
comment from ume@mahoroba.org.  sync with kame.
2000-08-31 17:32:39 +00:00
pk 710295327e Scheduler lock update. 2000-08-31 16:59:12 +00:00
itojun 5914867b00 repair interface MTU grabbing. real cause of PR 10923.
from koji@jp.above.net.  sync with kame.
2000-08-31 16:40:04 +00:00
itojun f91d963e3f add attribution to ISC and UOregon - usr.sbin/pim6{dd,sd} 2000-08-31 16:26:42 +00:00
itojun 107dcca9c3 add attribution to the following people.
- Eric Young (eay@mincom.oz.au) - sys/crypto
- OpenSSL project - crypto/dist/openssl
2000-08-31 16:14:39 +00:00
jhawk 3995670885 Update dependancies to include common/sysinst and common/upgrade
(where appropriate).
2000-08-31 16:00:49 +00:00
itojun e24e3dffad remove a comment, which is now bogus due to the previous change.
sync with kame.
2000-08-31 14:53:48 +00:00
bouyer efc4435cb3 in vfs_shutdown(), use sched_suspend() to suspend scheduling, and use
tsleep() instead of DELAY. Also, keep trying flushing buffers when the
number of dirty buffers decreases (20 rounds may not be enouth for a
very large buffer cache).

Using tsleep instead of delay gives a chance to others kernel threads to run,
which is needed for raidframe. With this change I've not been able to
reproduce the 'dirty buffer not flushed' problem with raidframe.
2000-08-31 14:41:35 +00:00
bouyer 629150f864 Add the sched_suspend/sched_resume functions, as discussed on tech-kern,
with the following modifications to the initial patch:
- rename SHOLD and P_HOST to SSUSPEND and P_SUSPEND to avoid confusion with
  PHOLD()
- don't deal with SSUSPEND/P_SUSPEND in fork1(), if we come here while
  scheduler is suspended we're forking proc0, which can't have P_SUSPEND set.

sched_suspend() suspends the scheduling of users process, by removing all
processes from the run queues and changing their state from SRUN to
SSUSPEND. Also mark all user process but curproc P_SUSPEND.
When a process has to be put in SRUN and is marked P_SUSPEND, it's placed in
the SSUSPEND state instead.
sched_resume() places all SSUSPEND processes back in SRUN, clear the P_SUSPEND
flag.
2000-08-31 14:36:19 +00:00
mrg 0dc7000eaa - define SPARC_BI_ARCH
- move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to -D__sparc64__
- copy and modify many SPARC_BI_ARCH `specs' from <sparc/sol2-sld-64.h>.
  these currently look for 32 bit things in /emul/netbsd32, but this is
  temporary


with these changes, i can succesfully build working 32 bit binaries on
a 64 bit system, as long as libgcc, *crt*.o and necessary libraries
exist under /emul/netbsd32.
2000-08-31 14:14:32 +00:00
mrg e486a9a452 - move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to "-D__sparc", preserving old CPP_PREDEFINES
  semantics.
2000-08-31 14:10:09 +00:00
mrg 1148c9223a - add missing %(asm_arch) to ASM_SPEC
- merge <netbsd.h> & <sparc/sparc.h> CPP_SPEC's.
- move CPP_PREDEFINES here from the 32bit/64bit configurations.
2000-08-31 14:08:02 +00:00
haya ea9ef4ff69 Correct LED polarity bit. This bit and PHY power bit should be
defined in elinkxlreg.h.
2000-08-31 08:42:29 +00:00
itojun dc23ec9971 add missing \n on log(). sync with kame 2000-08-31 07:35:44 +00:00
itojun 65fbdbe744 repair DES on LP64. past code did not interoperate with non-LP64, due to
incorrect computed results.
remove unnecessary #ifdef/#define.  sync with kame.
2000-08-31 07:33:04 +00:00
jdolecek 3fd457414e constify first arg to parseopts() 2000-08-31 07:21:46 +00:00
itojun 8b93101dc8 avoid unnecessary #include <sys/mbuf.h> 2000-08-31 06:59:17 +00:00
jhawk 684592f691 Rewrite tprintstat() so that netstat -ss functionality works
correctly for the "tp:" case (family iso). To avoid serious code
space bloat, stats are now table-driven.

A side-effect is that the mbuf chain statistics have been slightly re-ordered
to follow the 3 lines of EOT stats (still under Miscellaneous) rather
than sandwiched between "dec bits" and the EOTs.
2000-08-31 06:49:42 +00:00
itojun 0f1649155f make the code friendly with LP64 machines.
- use u_int32_t for 32bit quantity unsigned integer type.
- s/unsigned long/BF_LONG/ (BF_LONG = u_int32_t) where appropriate.
- prototype cleanup - due to *BSD code sharing, we still are using __P().
part of PR 10918.  sync with kame.
2000-08-31 06:46:21 +00:00
itohy a1a00824e1 Regen. 2000-08-31 03:49:44 +00:00
itohy e2319847de Add linux_sys_sigaltstack(). 2000-08-31 03:46:30 +00:00
hubertf ad17c6c3df Document CHECK_SHLIBS 2000-08-31 02:34:44 +00:00
jhawk e7ebce3bf4 Correct errors in examples under "MANUAL AND GENERAL TEXT DOMAIN MACROS" 2000-08-31 01:54:40 +00:00
hubertf a042bcfea0 set_timezone:
* If etc/localtime can't be readlink(3)'d, assume the default time zone is
   UTC
 * if errors occur (malloc, fts_open, fts_read, menu generation fails),
   skip timezone setting instead of terminating sysinst.
2000-08-31 01:10:43 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
jeffs f8d9f59ed9 Correct _KERN_MCOUNT restoration of $t9.
From Ethan Solomita (ethan@geocast.com).
2000-08-30 22:31:12 +00:00
is 0a7489b1e8 Enlarge RAMDISK to make it fit the installation fs again.
By Mike Pumford per port-arm32 mailing list..
2000-08-30 21:29:16 +00:00
tsubai c6b969cd89 Cosmetic changes. 2000-08-30 19:16:15 +00:00
jhawk d3a097fd74 Document PCIC_ISA_INTR_ALLOC_MASK; documentation is now up-to-par with
the info in distrib/notes.

Minor fixup on PCIC_ISA_ALLOC_IO*.
2000-08-30 19:05:47 +00:00
tsubai f286397ff1 Scheduler locking changes. 2000-08-30 18:41:16 +00:00
jdolecek ad4cbd94a4 Switch to newvers_stand.sh-based boot block versioning. Add sensible 'version'
template, the boot block changes were picked from cvs annotates for Makefile
and boot.c.

Reviewed by Ragge.
2000-08-30 18:16:09 +00:00
itojun 29a4fb39d9 minor typo. s/iPsec/IPsec/ 2000-08-30 15:04:45 +00:00
soren 55dbdb6091 Typo. 2000-08-30 14:59:48 +00:00
itojun 58c93e23cf LP64 fix (cast to u_long when printing size_t) 2000-08-30 14:58:33 +00:00
abs 7a26b9af55 Include the fact we're making replies in the debug() output. 2000-08-30 11:01:43 +00:00
abs 9cf3724e46 Allow a single argument to 'volume' to set both channels. 2000-08-30 10:13:52 +00:00
tsubai c6615ed380 Initialize pv_head locks. 2000-08-30 09:55:28 +00:00
is 9ec45c470a Use an INSTALL kernel, instead of GENERIC. We want this to be as small as
possible so that it can boot even on low memory Amiga machines.
2000-08-30 09:43:04 +00:00