Commit Graph

24538 Commits

Author SHA1 Message Date
gibbs
a996bdcd1b Add a missing bufq_init call. The original code never initialized it's
buffer queue so I missed this when I changed buf_queue_head.

This probably fixes Soren's problem too, but he never mentioned
which CD driver he was using. 8-)

Submitted by:	dave adkins <adkin003@tc.umn.edu>
1997-09-22 22:58:08 +00:00
wosch
7666d80ef1 Polish fonts and keymap.
Submitted by: abial@warman.org.pl
PR: 4522
1997-09-22 21:44:54 +00:00
joerg
091bf8d373 Make MFS a supported option, finally. 1997-09-22 21:24:03 +00:00
wosch
7b43142644 Polish message catalogs for ee.
Still buggy. Help messages and command names are not in sync,
eg. 'quit' <-> 'KONIEC'.

Submitted by: abial@warman.org.pl
PR:         4522
1997-09-22 20:20:28 +00:00
wosch
7b76204e66 Add directories for Poland: /usr/share/{locale,nls}/pl_PL.ISO_8859-2 1997-09-22 20:17:24 +00:00
gibbs
b77d9700da restore a line I accidentally deleted with my callout changes.
Submitted by:	bde@FreeBSD.org
1997-09-22 18:04:42 +00:00
peter
21be387d72 Apply fts() fix from PR#4593
Submitted by:  Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-09-22 12:48:40 +00:00
kato
3d54ce0c25 Update for changes in the callout interface. 1997-09-22 12:25:31 +00:00
kato
770e1ac403 Synchronize with sys/i386/isa/wd.c revision up to 1.140. 1997-09-22 12:24:39 +00:00
kato
7f60ce48bc Synchronize with sys/i386/isa/fd.c, isa.c and sio.c revisions 1.103,
1.105 and 1.183, respectively.
1997-09-22 12:23:49 +00:00
kato
5442745e13 Synchronize with sys/i386/i386/machdep.c and trap.c reivisions 1.265
and 1.111, respectively.
1997-09-22 12:20:42 +00:00
kato
9a018bf421 Synchronize with sys/i386/conf/files.i386 revision 1.177. 1997-09-22 12:18:52 +00:00
max
40c505b771 Typo fix.
PR:		4594
Submitted by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
jkh
d7d9fa907e If we're going to blindly install freebsd.cf from the etc-sendmail.cf
rule then we'd better depend on it.
1997-09-22 07:33:14 +00:00
charnier
466aa2b87a Use err(3). Put includes in alphabetical order. Use .An macro. 1997-09-22 06:30:04 +00:00
peter
1a8283e614 Turn on CR4_VME on the AP's the same as the BSP. Note that we do not
[yet] probe the AP's for their cpuid/capabilities etc, so this is a fudge
at best.

Problem noted by: Jonathan Lemon <jlemon@americantv.com>
1997-09-22 05:03:03 +00:00
brian
e74401cd50 Don't pause for one second before starting LCP
negotiation.  Instead, incrementally pause after
receiving LCPs with the same magic.  We can now
suffer a server that waits more than 1 second before
responding.  Pauses greater than a second get
hopelessly confusing as when the server eventually
starts, it sees a flood of Config Requests followed
by config NAKs and changes of magic.  This causes the
server to change its magic over and over.....
1997-09-22 02:51:24 +00:00
brian
ed62efbf2d Use the correct device name in "show modem" 1997-09-22 00:55:46 +00:00
brian
5e4ed6c854 Correct the way the uucp lock file and the ttyXX.if lock
file get created.  We don't create lock files over non-tty
connections, but we *do* create lock files in -direct mode.
This leaves us capable of adding utmp/wtmp support for
successful pap & chap logins (coming soon).
1997-09-22 00:46:56 +00:00
gibbs
2982eff94c Oops. This file shouldn't have been committed. 1997-09-22 00:37:08 +00:00
wpaul
079c1fbcfa Make selection logic more strict. Only select AF_INET loopback interfaces
that are up on second (loopback only) pass, and only select non-loopback
AF_INET interfaces that are up on first pass.
1997-09-21 23:04:51 +00:00
brian
2a712aab9b Sleep for a second before sending the first LCP
config request.  This stops us from squirting stuff
down a line that still has ECHO turned on because the
peer hasn't had a chance to start yet.
Lead to the cause by:	Greg Lehey <grog@lemis.com>
1997-09-21 23:01:34 +00:00
dyson
1fe2f80260 Remove an unfortunate name clash with the zalloc/zfree routines. Since the
ppp_deflate code uses the names locally - it looses.
1997-09-21 22:31:20 +00:00
julian
c9fbe7ccd4 urk, fix spelling error in comment I just fixed. 1997-09-21 22:20:12 +00:00
julian
186e048a37 Fix a comment. 1997-09-21 22:14:54 +00:00
gibbs
202e8d2ad2 Add isa_devtab_cam. 1997-09-21 22:12:50 +00:00
gibbs
10311ac873 Updated timeout.9 man page describing the new callout interface. This
man page was based on the NetBSD version.
1997-09-21 22:12:19 +00:00
gibbs
d135262f96 Convert tqdisksort to bufqdisksort. Honor the B_ORDERED buffer flag
so that meta-data writes go out to the device in the right order.
1997-09-21 22:10:49 +00:00
gibbs
56f2bcb32f Update for new buffer queue data structure. 1997-09-21 22:10:02 +00:00
gibbs
d9cbf62340 buf.h:
Change the definition of a buffer queue so that bufqdisksort can
	properly deal with bordered writes.

	Add inline functions for accessing buffer queues.  This should be
	considered an opaque data structure by clients.

callout.h:
	New callout implementation.

device.h:
	Add support for CAM interrupts.

disk.h:
disklabel.h:
	tqdisksort->bufqdisksort

kernel.h:
	Add new configuration entries for configuration hooks and calling
	cpu_rootconf and cpu_dumpconf.

param.h:
	Add a priority for sleeping waiting on config hooks.

proc.h:
	Update for new callout implementation.

queue.h:
	Add TAILQ_HEAD_INITIALIZER from NetBSD.

systm.h:
	Add prototypes for cpu_root/dumpconf, splcam, splsoftcam, etc..
1997-09-21 22:09:24 +00:00
gibbs
045b17cf00 Convert to use the new bufq* functions for dealing with buffer
queues.
1997-09-21 22:03:22 +00:00
gibbs
a415512fd4 Update for new callout interface. 1997-09-21 22:02:25 +00:00
gibbs
52ace446d2 init_main.c subr_autoconf.c:
Add support for "interrupt driven configuration hooks".
	A component of the kernel can register a hook, most likely
	during auto-configuration, and receive a callback once
	interrupt services are available.  This callback will occur before
	the root and dump devices are configured, so the configuration
	task can affect the selection of those two devices or complete
	any tasks that need to be performed prior to launching init.
	System boot is posponed so long as a hook is registered.  The
	hook owner is responsible for removing the hook once their task
	is complete or the system boot can continue.

kern_acct.c kern_clock.c kern_exit.c kern_synch.c kern_time.c:
	Change the interface and implementation for the kernel callout
	service.  The new implemntaion is based on the work of
	Adam M. Costello and George Varghese, published in a technical
	report entitled "Redesigning the BSD Callout and Timer Facilities".
	The interface used in FreeBSD is a little different than the one
	outlined in the paper.  The new function prototypes are:

	struct callout_handle timeout(void (*func)(void *),
				      void *arg, int ticks);

	void untimeout(void (*func)(void *), void *arg,
		       struct callout_handle handle);

	If a client wishes to remove a timeout, it must store the
	callout_handle returned by timeout and pass it to untimeout.

	The new implementation gives 0(1) insert and removal of callouts
	making this interface scale well even for applications that
	keep 100s of callouts outstanding.

	See the updated timeout.9 man page for more details.
1997-09-21 22:00:25 +00:00
gibbs
3579df4d35 Update for changes in the callout interface. 1997-09-21 21:43:54 +00:00
gibbs
d281074565 soundcard.c:
Update for changes in the callout interface.

sequencer.c:
	Add a paren that seems to have gone missing.
1997-09-21 21:43:35 +00:00
gibbs
e1b0aaaa76 aha1542.c aic6360.c cy.c fd.c ft.c
if_ie.c if_wl.c if_zp.c isa.c isa_device.h
labpc.c mcd.c ncr5380.c scd.c seagate.c si.c
sio.c tw.c ultra14f.c wcd.c wd.c:

	Update for changes in the callout interface.

apic_vector.s icu_vector.s ipl.s ipl_funcs.c:

	Add CAM software/hardware interrupt support.
1997-09-21 21:41:49 +00:00
gibbs
dc043d9d0a ipl.h:
Add CAM software/hardware interrupt support.

si.h:
	Update for changes in the callout interface.
1997-09-21 21:38:54 +00:00
gibbs
6450b2fc55 autoconf.c:
Add cpu_rootconf and cpu_dumpconf so that configuring these
	two devices can be better controlled by the MI configuration
	code.

machdep.c:
	MD initialization code for the new callout interface.

trap.c:
	Add support for printing out whether cam interrupts are masked
	during a panic.
1997-09-21 21:38:05 +00:00
gibbs
51fbeeacb4 Add shared EISA interrupt support.
Clean up the match routines so that they return const char *
1997-09-21 21:35:24 +00:00
gibbs
0088114343 Move the rules for aicasm to the MI conf file. 1997-09-21 21:34:31 +00:00
gibbs
0e62d096db Convert to the new callout interface. 1997-09-21 21:33:10 +00:00
gibbs
f01c3975d5 Convert to the new callout interface.
Guard against scheduling more than one callout.
1997-09-21 21:33:01 +00:00
gibbs
d045f898c6 Move the rules for aicasm to the MI conf file.
Add kern/subr_autoconf.c as a standard file as it contains the bulk of
the code for performing interrupt driven configuration.
1997-09-21 21:32:04 +00:00
brian
89c06caf59 It turns out that the following:
close(1);
  close(2);
  x = open(ctermid(NULL), O_RDWR|O_NONBLOCK);
  close(0)
on a tty causes select() to return an exception for descriptor x !
This is the case in RELENG_2_2, but not in 2.2.2.  I'm not sure why.
Instead of doing the x=open() and close(0), we just do x=0 now.
Problem pointed out by: Greg Lehey <grog@lemis.com>
                        Tomi Vainio <tomppa@fidata.fi>
1997-09-21 20:26:47 +00:00
markm
00501fb8d7 FreeBSD's original passwd helper is needed here. 1997-09-21 17:37:08 +00:00
joerg
dc3fadf213 Unspam rev 1.114 that got spammed when someone commited the rc.conf
changes: drop `savecore_enable' now that our savecore obeyes the
minfree file.
1997-09-21 16:09:48 +00:00
peter
aab3d0a478 Implement the parts needed for VM86 under SMP. 1997-09-21 15:03:59 +00:00
brian
2f99a3221a Typo police
Submitted by:	Mark Cammidge <mark@gmtunx.ee.uct.ac.za>
1997-09-21 13:08:00 +00:00
brian
131579bb6f Add a pppctl(8) xref.
Suggested by:	joerg
1997-09-21 13:06:43 +00:00
wosch
ae07872751 Add ypwhich(1) and yppoll(8) manual pages.
Obtained from: NetBSD, slightly modified
1997-09-21 11:49:18 +00:00