Commit Graph

40750 Commits

Author SHA1 Message Date
hoek
a14fe466b1 Thorough revamp of how input commands are processed. This allows customization
of user keys (documentation pending).  The only key whose semantics have
changed is the capital 'N' key, which now performs a repeat-search in the
opposite direction (just like in vi).

This commit is a little bulkier than what I had originally planned.  I'm not
completely happy with the direction it went, but it's definately an
improvement, and the alternative is to continue becoming irrelevant compared
to GNU less.  (Does anyone even _use_ /usr/bin/more these days?)
1999-09-03 22:31:21 +00:00
hoek
a32483c43a Add /usr/share/examples/more/. Will contain sample config files that
give our more(1) keymappings similar to less(1) and most(1).  Initially
these config files will support only a subset of less and most keymappings.
1999-09-03 22:21:47 +00:00
wpaul
faaa58a620 #ifdef out the definition for the small packet RX ring. I ended up only
using one RX ring because of the alignment issue, so we may as well save
a few K of memory by not allocating space for it.
1999-09-03 20:58:39 +00:00
peter
24981c244d Finish making LINT compile. Disable references to pnp in files that
don't appear to use it, and disable i4b_isic_pnp.c (with a #warning)
until it's converted.
1999-09-03 20:38:47 +00:00
dfr
20d6eca4a7 Remove vestiges of old pnp code. 1999-09-03 20:11:25 +00:00
dfr
12f5d4eca8 Remove the last vestiges of the old pnp code in favour of the new one. 1999-09-03 20:01:08 +00:00
msmith
fc224426ed Slight reorganisation of the Alpha/SRM loader build:
- Make as much of the makefile for each of the three flavours
   (disk, CDROM, net) common.
 - Special-case the libalpha startup module on its use in boot1, not
   the other way around.
 - Build the loader out of a "loader" directory

Reviewed by:	mjacob, dfr
1999-09-03 19:42:18 +00:00
peter
3a2a2ef942 Forced commit/correction: The previous commit message should have
referred to Matthew Dodd, not Warner. :-/  I should be asleep..
1999-09-03 19:30:27 +00:00
peter
41539b04ea Fix a warning for the !DEVFS case. 1999-09-03 19:21:49 +00:00
peter
f1d6c34fbb if_ed doesn't use the wrappers anymore. 1999-09-03 19:15:13 +00:00
peter
8010b4aa01 Commit a checkpoint of an updated if_ed driver. This is pretty much
Doug Rabson's work, with a few tweaks from Warner Losh and I.  There are
still some quirks to resolve, but the old driver is presently breaking
the build.
1999-09-03 19:10:56 +00:00
green
6ea78090c5 Make the "uid" and "gid" code better. Now it can detect invalid user
names/numbers.

Reviewed by:	chris
1999-09-03 18:18:46 +00:00
luoqi
e2743a0286 Remove GCC_UNUSED under FREEBSD_NATIVE option.
Requested by:	ache
1999-09-03 17:56:05 +00:00
luoqi
dfe06dcb7d Allow getblk() to be called from an idle context (by panic() inside
an interrupt handler).

Reviewed by:	dillon
1999-09-03 17:49:25 +00:00
nik
7d240ed581 Correct the information about Lincoln's assasination (shot on 14-4, died
on 15-4).

The Nagasaki bomb was dropped on August 9th, not August 8th.

Submitted by:   Tony Sumner <solon@macaulay.demon.co.uk>
1999-09-03 17:33:11 +00:00
chris
daa0ce629e Add cross-references to respective syscalls. 1999-09-03 16:40:24 +00:00
sheldonh
a8196ec11f Update the instructions for setting up audio symlinks, now that MAKEDEV
DTRT (well, it's been doing it since rev 1.97).
1999-09-03 15:11:43 +00:00
chris
67a24c48d6 Change NetBSD' in the description to FreeBSD' in the sentence,
"NetBSD provides machine-independent bus support and drivers for USB
    devices."
1999-09-03 13:47:58 +00:00
phantom
d6ab9bf62e Link man4/i386/alpm.4 to man4/
That will make this page visible for whatis/catman

PR:		docs/13226
Submitted by:	Alexey Zelkin <phantom@cris.net>
Reviewed by:	mpp
1999-09-03 13:31:40 +00:00
peter
afe8351c90 Cosmetic tweak. Collect the fdc methods together and apart from the fd
methods so it's a little easier to seperate the two when reading the code.
1999-09-03 11:32:21 +00:00
phk
8258db9b92 Use micro "disk" layer in ata-disk
Reviewed by:	sos
1999-09-03 10:57:17 +00:00
phk
842d9077f7 Set si_bsize_phys to 2048 for cdrom.
Reviewed by:	sos
1999-09-03 10:56:27 +00:00
brian
f51d44e622 When sending radius authentication requests:
Supply RAD_NAS_IDENTIFIER if we have a `hostname` and
  RAD_IP_ADDRESS if that hostname resolves.

  Supply RAD_NAS_PORT using the ttyslot() of the tty that
  we're authenticating on if it's a tty device.

Partially submitted by: Andriy I Pilipenko <bamby@marka.net.ua>
PR:			12225
1999-09-03 10:31:34 +00:00
julian
f56c587927 Print out the device name when there is an uninitialised IO size or IO error
in spec_getpages().

Submitted by:	phk suggested the idea.
1999-09-03 09:14:36 +00:00
julian
a5d766bc99 Add a catchall to set default blocksize values for disk like devices.
Submitted by:	phk@freebsd.org
1999-09-03 08:26:46 +00:00
marcel
591be2fb05 Install linux.sh in /usr/sbin and not in /usr/bin.
PR: 13545
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>
1999-09-03 07:15:38 +00:00
marcel
108c4c2c77 I missed the namechange of field desc in struct i386_ldt_args into descs while
reviewing luoqi's changes...

Pointed out by: luoqi
1999-09-03 06:18:39 +00:00
mdodd
1b6ed6875d Get this to compile again. struct pnp_cinfo went away so
this is just a temporary hack until someone figures out
what they want to do with the override tables etc.

Example copied: sys/isa/{pnp,sio}.c
1999-09-03 06:01:01 +00:00
julian
fd9cb11e53 Revert a bunch of contraversial changes by PHK. After
a quick think and discussion among various people some form of some of
these changes will probably be recommitted.

The reversion requested was requested by dg while discussions proceed.
PHK has indicated that he can live with this, and it has been agreed
that some form of some of these changes may return shortly after further
discussion.
1999-09-03 05:16:59 +00:00
luoqi
ecfed74f23 Restore documented tgetstr() behavior. 1999-09-03 05:15:33 +00:00
julian
60f0adf39e remove some out-of-scope DEVFS references..
(don't worry greg.. cosmetic only)
1999-09-03 05:08:05 +00:00
luoqi
f98ff677e5 Handle for passthru resource release correctly. 1999-09-03 04:30:01 +00:00
mdodd
7dd0afc89c This adds support for the Buslogic/Bustek/Storage Dimensions
MCA SCSI adapters.

bt_mca.c is going to live in sys/dev/buslogic instead of sys/dev/mca
as per a conversation with Peter, Doug and Mike.

Thanks to Andy Farkas <andyf@speednet.com.au> for being such a good
sport and doing all the testing for me (as I don't actually own one
of these cards.  Yet.)
1999-09-03 03:50:55 +00:00
mdodd
07b096998f This is the rest of the MCA support; new_bus code to be exact.
Should we ever find ourselves on an RS/6000 this code should work
with few changes.
1999-09-03 03:40:00 +00:00
mdodd
abf4cde6b9 SYSINIT() needs sys/kernel.h. Include it. 1999-09-03 03:14:36 +00:00
mdodd
787d2575bc This adds the i386 specific support for systems with a MicroChannel
Architecture bus.

Reviewed by: msmith
1999-09-03 02:04:28 +00:00
julian
974aea3e4c Remove accidental cut&paste garbage in a comment. 1999-09-03 01:38:29 +00:00
grog
087bc8c4fb Reverse MFC of revision 1.5.2.7:
Remove a rather embarrassing race condition.

Egged-on-by:	alfred
1999-09-03 01:37:26 +00:00
julian
082c01dec6 Comment the boot manager. So I don't have to work it all out again :-)
Reviewed by:	rnordier@freebsd.org
1999-09-03 01:35:06 +00:00
marcel
ff51285d10 Implementation of the modify_ldt syscall. Use the sysarch() interface to do
the actual work. When USER_LDT is not defined for a kernel, sysarch returns
EOPNOTSUPP. Display a message in that case and return ENOSYS to userland.

Reviewed by: luoqi
1999-09-02 21:50:42 +00:00
luoqi
4c5411b984 Use definitions provided in sysarch.h for args structures.
Reviewed by:	marcel
1999-09-02 21:03:32 +00:00
luoqi
ed22cebc5f Some reorganization of sysarch() interface:
1. Move definitions of struct i386_*_args to the header file sysarch.h,
   since they are part of the sysarch API. struct i386_get_ldt_args and
   i386_set_ldt_args were identical, therefore make them into one
   struct i386_ldt_args. Libc should use these definitions as well.
2. Return a more sensible EOPNOTSUPP for unknown operations.

Reviewed by:	marcel
1999-09-02 20:59:50 +00:00
obrien
f037ce228f MFS: tweak my wording a little. 1999-09-02 18:10:40 +00:00
ru
5acd2873b4 Allow signals to interrupt system calls.
Remove redundant signal() call.

PR:		6676
Submitted by:	luoqi
Reviewed by:	Ari Suutari <ari@suutari.iki.fi>
1999-09-02 15:17:25 +00:00
kato
9a1f4e4d94 - Added new macros ED_P1_MAR(i) and ED_P1_PAR(i) that replace
`ED_P1_MAR + i' and `ED_P1_PAR + i', respectively.
- convert ED_PC_RESET and ED_PC_MISC into relative offset from
  ED_PC_ASIC_OFFSET (those macros are not used in current source).

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-09-02 15:06:23 +00:00
kato
32707ed4fc The ed_probe_Novell should not clear id_maddr when it fails to probe.
This fixes potential panic by kvtop at addr == 0.

Submitted by:	chi@bd.mbn.or.jp (Chiharu Shibata)
1999-09-02 15:01:56 +00:00
kato
68f5d86b7c Sync with sys/i386/i386/userconfig.c revision 1.156. 1999-09-02 13:44:52 +00:00
kato
6fbf48598a Sync with sys/i386/conf/files.i386 revision 1.263. 1999-09-02 13:43:00 +00:00
kato
f50bf9cd83 Sync with sys/i386/conf/GENERIC revision up to 1.186. 1999-09-02 13:41:15 +00:00
chris
88c5a87f09 Remove superfluous tab in `Fix:' field.
Cosmetic, and done mostly for consistency.
1999-09-02 12:00:49 +00:00