Commit Graph

56343 Commits

Author SHA1 Message Date
peter
cd9369daf3 Turn '#if NSNP > 0' into an option. 2001-01-29 09:43:36 +00:00
peter
9749fd28ec Send "#if NISA > 0" to the bit-bucket and replace it with an option.
These were compile-time "is the isa code present?" tests and not
'how many isa busses' tests.
2001-01-29 09:38:39 +00:00
peter
757585eb92 I confess. This is a truely nasty hack. I am so ashamed!
(I think config(8) source does bad things to your brain :-)

Clean up likely stray *.h files in the build directory.
Eg: if isa.h ceases being generated, zap it.
The heuristics to figure out a 'likely' file are pretty revolting.
2001-01-29 09:34:43 +00:00
des
666246b80d Style police.
Submitted by:	ru
2001-01-29 08:59:30 +00:00
brian
3d687cbdb4 Fix some log_Printf() casting
Obtained from: NetBSD (pkgsrc)
2001-01-29 08:46:58 +00:00
peter
24f8f874a8 Gag. These compiled because I had a stray "eisa.h" in my config dir. 2001-01-29 08:40:16 +00:00
peter
4e386ee6dc Remove stray #include "isa.h" 2001-01-29 08:33:55 +00:00
sheldonh
74ce8241b1 Replace the full path to sysinstall with a standard manual page
reference.  The sysinstall binary is now in root's standard PATH,
so there's no need for explicit pathing, and there's some value
in a manual page reference.
2001-01-29 08:22:21 +00:00
dillon
13c5468a24 This patch reestablishes the spec_fsync() guarentee that synchronous
fsyncs, which typically occur during unmounting, will drain all dirty
buffers even if it takes multiple passes to do so.  The guarentee was
mangled by the last patch which solved a problem due to -current disabling
interrupts while holding giant (which caused an infinite spin loop waiting for
I/O to complete).  -stable does not have either patch, but has a similar
bug in the original spec_fsync() code which is triggered by a bug in the
softupdates umount code, a fix for which will be committed to -current
as soon as Kirk stamps it.  Then both solutions will be MFC'd to -stable.

-stable currently suffers from a combination of the softupdates bug and
a small window of opportunity in the original spec_fsync() code, and -stable
also suffers from the spin-loop bug but since interrupts are enabled the
spin resolves itself in a few milliseconds.
2001-01-29 08:19:28 +00:00
peter
3a020ed83b change 'count eisa' to 'optional eisa' and update the only consumer
of 'NEISA' - userconfig.c.
While there, send some defunct code to the file history.
2001-01-29 08:19:02 +00:00
asmodai
94a1a13241 Add static dependency to libisc to get isc_movefile().
Submitted by:	Munehiro Matsuda <haro@kubota.co.jp>
2001-01-29 07:56:34 +00:00
phk
324e1c20e0 Fix a braino in ccd's clone routine.
Submitted by:	tegge
2001-01-29 06:18:14 +00:00
ken
b21c8b066b Back out rev 1.102. The IBM DNES drives work fine for me, jedgar and other
folks.

My guess is that reducing the number of tags is just masking the real
problem for the PR submitter.  I'll re-open the PR and see if I can work
with the submitter to diagnose the problem.

PR:		21139
2001-01-29 05:33:14 +00:00
deischen
e8b66c6573 _exit in libc is now __sys_exit not __sys__exit.
Add another check for thread library initialization (jdp, we
really need a way to get _thread_init called at program start
before any constructors are run).
2001-01-29 03:24:23 +00:00
deischen
d19e06365b Clean up syscall generation in libc by removing HIDDEN_SYSCALLS
and treating (almost) all system calls the same way:

	__sys_foo - actual syscall
	foo, _foo - weak definitions to __sys_foo

Change PSEUDO syscalls (currently only _exit and _getlogin) to
be __sys_foo (T) and _foo (W).

Add $FreeBSD$ to a few files to satisfy commitprep.

Suggested by:	bde
2001-01-29 03:23:46 +00:00
marcel
41a168247a Don't hard-code alignment and data declarations valid for 64-bit
machines (duh!). This was one reason why this script broke on
i386. The other being that on i386 sections did not have the
proper alignment. This has been fixed in sys/sys/linker_set.h.
2001-01-29 01:55:54 +00:00
marcel
625c22c0b4 o Add explicit alignment to linker set definitions. On i386, data
declarations will not be aligned by default.
o  Remove the alignment work-around for alpha. Our current alpha
   as(1) does not assume alignment after section switching, nor
   does the ia64 as(1).
2001-01-29 01:46:50 +00:00
brian
95860823ed Only remove socket files with ``set server open''.
Only show the mask in ``show bundle'' when it's been specified.
Complain about unexpected arguments after ``set server {none,open,closed}''
Log re-open failures as warnings rather than phase messages.
Fix some markup for the ``set server'' man page description.
2001-01-29 01:35:06 +00:00
brian
a5c109ecd2 Ignore leading witespace in the string given to PacketAliasProxyRule(). 2001-01-29 00:30:01 +00:00
asmodai
9592493ea7 Add static dependency on libisc.a to get isc_movefile() on which named
now depends.  This keeps named the same as before the import, that is: only
linking against libc dynamically, at a little space increase, which might
be due to the source code changes anyway.  Very neglectable space
difference.

Some people might dub it a hack.  It will do for now at least.
2001-01-28 23:21:00 +00:00
asmodai
28026332ee Update Makefile for the new sources. 2001-01-28 23:14:16 +00:00
asmodai
23170169ed Resolve conflicts after import. 2001-01-28 23:06:48 +00:00
asmodai
d203d18dcd This commit was generated by cvs2svn to compensate for changes in r71756,
which included commits to RCS files with non-trunk default branches.
2001-01-28 23:00:22 +00:00
asmodai
1f243835b5 Virgin import of BIND v8.2.3-REL 2001-01-28 23:00:22 +00:00
brian
c8c6a550cb Don't pass PacketAliasProxyRule() a buffer with leading whitespace as it
can't handle it.
2001-01-28 21:56:27 +00:00
brian
20c10045a7 Call trimdomain properly for ip4 addresses.
PR:	24659
realhostname_sa() stuff submitted by: Jim.Pirzyk@disney.com
2001-01-28 21:51:25 +00:00
ken
12a1a488f6 Fix region code reporting.
Reported by:	Andrew Gordon <arg@arg1.demon.co.uk>
2001-01-28 21:43:17 +00:00
marcel
fc661affbf Revert previous commit. I messed up my testing. 2001-01-28 21:24:05 +00:00
phk
72123a57fe Use \a instead of \007 for making noise.
Submitted by:	"Jason Smethers" <jsmethers@pdq.net>
2001-01-28 21:21:37 +00:00
phk
5a2ee72f21 Remove devstat entries in mddelete()
Spotted:	tegge
2001-01-28 20:55:55 +00:00
phk
3fc2302319 Duh, the version of mdconfig.c I committed came from the wrong machine.
Commit the right version, but without the -b option which is too evil
for the present.

Remove -b and preload from the manpage as well.
2001-01-28 20:17:46 +00:00
des
a2761c3668 Revert part of previous commit and initialize locale_nroff to " -Tascii"
so man(1) works properly when no locale is set.

Spotted by:	bde
2001-01-28 20:17:14 +00:00
phk
c2a54fd98c Don't specify fragment size, it autosizes from the sectorsize.
Remember to set mode 1777 on /tmp

Submitted by:	mjacob
2001-01-28 20:03:02 +00:00
groudier
d9925dff5d A couple of chip errata work-arounds refined:
- When used on a 33MHz PCI BUS, the 53C1010-66 revision 0
  requires extra clocks to be inserted in data out phase.
  Revision 1 is fixed.
- The 53C1010-33 revision 1 requires internal cycles to be
  disabled due to possible contentions on IO registers.
  Revision 2 is fixed.
Fix:
- The probing of HVD from GPIO3 bit by the driver was reversed.
  The driver could misprobe the bus mode of a 825 or 875 chip
  that was not previously initialized (no BIOS for example).
2001-01-28 19:58:21 +00:00
phk
a4697b7885 Remove an outdated DEVFS non-description. 2001-01-28 19:32:23 +00:00
wilko
910ada7419 Document which options to use for API UP1[01]00 2001-01-28 19:21:46 +00:00
jake
7f8ca5454d Clear intr_nesting_level when an interrupt thread has no more
handlers and wants to exit, so it doesn't panic in exit1()
which malloc()s with M_WAITOK.

Reported by:	Bob Bishop <rb@gid.co.uk>
2001-01-28 17:20:11 +00:00
julian
8f85fcd191 Add a new distribution algorythm to the 'one2many' node type.
The new method is 'flood' (in addition to the old round-robin)
in which incoming packets are sent to more than one outgoing hook.
(I'm not sure what Rogier is using this for but it seems generally useful
and isn't much extra)

Submitted by:   Rogier R. Mulhuijzen (drwilco@drwilco.net )
2001-01-28 15:37:06 +00:00
kato
35f496038d Merged from sys/i386/isa/npx.c revisions 1.88 and 1.89. 2001-01-28 12:31:03 +00:00
kato
1f2162efe6 Synced with sys/i386/i386/machdep.c revision 1.436. 2001-01-28 11:06:28 +00:00
wilko
c4a340f7f1 API UP1100 mainboard has been verified to work. 2001-01-28 10:09:17 +00:00
kris
6ba5c1f35d Finish cleaning up the error reporting (standardize on err*()/warn*())
and fix some overflows.

Submitted by:   Mike Heffner <mheffner@vt.edu>
2001-01-28 09:20:47 +00:00
marcel
50ecf90607 Add gd_witness_spin_check. 2001-01-28 08:06:50 +00:00
marcel
8f415b859c Fix typo. 2001-01-28 08:05:55 +00:00
marcel
259a965d62 Improve kernel bootstrapping:
o  Use objdump instead of gensetdefs(1) to build the linker sets.
o  Allow overriding of nm and objdump in resp. genassym.sh and
   gensetdefs.pl for non-native toolchains.

Reviewed by: arch
Perl improvements: Jos Backus <josb@cncdsl.com>, benno
2001-01-28 06:39:56 +00:00
bmilekic
e973a2097e Move the setting of curproc to idleproc up earlier in ap_init(). The
problem is that a mutex lock, prior to this change, is acquired before
the curproc is set to idleproc, so we mess ourselves up by calling
the mutex lock routine with curproc == NULL.

Moving it up after the aps_ready spin-wait has us hopefully setting it
after idleproc is setup.

Solved by: jake (the allmighty) :-)
2001-01-28 03:41:01 +00:00
tegge
e5ad093955 Defer assignment of low level interrupt handlers for PCI interrupts
described in the MP table until something asks for the interrupt number
later on.
2001-01-28 01:07:54 +00:00
will
a1863dee19 De-__P()-ify
Reviewed by:	markm
2001-01-28 00:35:40 +00:00
will
f2eedb1ad9 BDECFLAGS: constify; use proper types. Add $FreeBSD$, clean up #ifndef lint.
Reviewed by:	markm
2001-01-28 00:34:29 +00:00
des
f8b630b644 Remove an assertion I forgot to remove in the previous commit: sbuf_len()
may now be called with an unfinished sbuf.
For consistency, copy the related comment from sbuf_delete() to sbuf_clear()
and sbuf_len().
2001-01-28 00:33:58 +00:00