Commit graph

40566 commits

Author SHA1 Message Date
Peter Wemm 0f09dc9341 if_ed doesn't use the wrappers anymore. 1999-09-03 19:15:13 +00:00
Peter Wemm 599d7638dd 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
Brian Feldman 1efcedf596 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 Chen 77b3485b11 Remove GCC_UNUSED under FREEBSD_NATIVE option.
Requested by:	ache
1999-09-03 17:56:05 +00:00
Luoqi Chen d8a31f810f 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 Clayton 33f9210c19 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 Costello fa8b1c611b Add cross-references to respective syscalls. 1999-09-03 16:40:24 +00:00
Sheldon Hearn f808774cff 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 Costello d4be94a1f8 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
Alexey Zelkin f88310c35c 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 Wemm 16e68fc605 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
Poul-Henning Kamp 9c48bdd348 Use micro "disk" layer in ata-disk
Reviewed by:	sos
1999-09-03 10:57:17 +00:00
Poul-Henning Kamp a2f21fdc51 Set si_bsize_phys to 2048 for cdrom.
Reviewed by:	sos
1999-09-03 10:56:27 +00:00
Brian Somers f10f520361 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 Elischer 1f7e07329d 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 Elischer c5d6480694 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 Moolenaar 48adcae922 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 Moolenaar 6771d80337 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
Matthew N. Dodd 24904a11b3 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 Elischer 7012bab988 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 Chen 2a0434714f Restore documented tgetstr() behavior. 1999-09-03 05:15:33 +00:00
Julian Elischer 439a479b3b remove some out-of-scope DEVFS references..
(don't worry greg.. cosmetic only)
1999-09-03 05:08:05 +00:00
Luoqi Chen cb899cd41d Handle for passthru resource release correctly. 1999-09-03 04:30:01 +00:00
Matthew N. Dodd fdfd9f2f70 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
Matthew N. Dodd 30ca126cee 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
Matthew N. Dodd 478c54971b SYSINIT() needs sys/kernel.h. Include it. 1999-09-03 03:14:36 +00:00
Matthew N. Dodd 7612e4c122 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 Elischer d721abf23c Remove accidental cut&paste garbage in a comment. 1999-09-03 01:38:29 +00:00
Greg Lehey 1fa2fb7bf2 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 Elischer 14c457c23f 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 Moolenaar ff78e85043 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 Chen 018949c4ac Use definitions provided in sysarch.h for args structures.
Reviewed by:	marcel
1999-09-02 21:03:32 +00:00
Luoqi Chen 7a2bb3b800 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
David E. O'Brien 4f2571dd77 MFS: tweak my wording a little. 1999-09-02 18:10:40 +00:00
Ruslan Ermilov cd45c931f6 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 Takenori 8b18acc0df - 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 Takenori c322fa140e 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 Takenori ae46296f4c Sync with sys/i386/i386/userconfig.c revision 1.156. 1999-09-02 13:44:52 +00:00
KATO Takenori c1699f31a8 Sync with sys/i386/conf/files.i386 revision 1.263. 1999-09-02 13:43:00 +00:00
KATO Takenori de7e0308e8 Sync with sys/i386/conf/GENERIC revision up to 1.186. 1999-09-02 13:41:15 +00:00
Chris Costello d4f6f2f108 Remove superfluous tab in `Fix:' field.
Cosmetic, and done mostly for consistency.
1999-09-02 12:00:49 +00:00
Jordan K. Hubbard 68318acfc3 It's "router_flags" not "routerflags"
Submitted by:	kasey@ambernetworks.com
PR:		13534
1999-09-02 11:55:11 +00:00
Kazutaka YOKOTA b86daab4e5 Enable ioctls to manipulate color palette. They have been implemented,
but disabled until now...
1999-09-02 08:09:13 +00:00
Kazutaka YOKOTA a847d1e2d7 Do not call the VESA BIOS if the current video mode is not one of
the VESA modes.
1999-09-02 08:08:49 +00:00
Marcel Moolenaar 5772c0559a Silence warnings about the use of vnode sanse declaration. 1999-09-02 08:02:17 +00:00
Warner Losh f183d53e63 Fix the root cause of the fts buffer overflow. This is a temporary
patch to stop the core dumps while others come up with a better
reviewed patch which may also fix other problems.  We do illegal
pointer arithmetic, but it should be OK since FreeBSD only supports
machines with flat address spaces.

Submitted by: bde
1999-09-02 07:45:07 +00:00
Peter Wemm ae5d5ac013 Missed this use of the old pnp includes. I don't think this is meant to
be here though.
1999-09-02 05:59:20 +00:00
Peter Wemm 6c233a7138 Update for new pnp includes 1999-09-02 05:37:25 +00:00
Peter Wemm 6970268ef9 So that there is no confusion, zap these now. pnpinfo(8) should compile
with the new includes.
1999-09-02 05:22:16 +00:00
Peter Wemm 724dcf900f Take a shot at getting this to compile under newpnp. 1999-09-02 05:20:08 +00:00