Commit Graph

41427 Commits

Author SHA1 Message Date
imp
15b7254d61 Revert non-aha changes. They weren't supposed to go in. 1999-09-27 02:07:12 +00:00
peter
e8fae9c7ab Seperate pcaudio from isa/snd and isa/sound - it's not worth this breaking
each time there is a change.
1999-09-27 01:52:37 +00:00
grog
6d2191426d Correct typo in comment. putccdbuf() releases a buffer, it doesn't allocate one. 1999-09-27 01:51:42 +00:00
imp
c16afe3a9e Move aha driver to dev/aha like the other drivers.
Code relocation only, no code changes.
1999-09-27 01:51:18 +00:00
peter
a07bbbb511 Zap some unused echo "#define NFOO 1" > foo.h style defunct stuff. 1999-09-27 01:04:44 +00:00
peter
5ca7db68df Don't set an unused make(1) variable (NBPF) 1999-09-27 01:00:20 +00:00
peter
18a5b3c7ed bktr (as a module) doesn't build. 1999-09-27 00:56:32 +00:00
peter
7285bdbed7 Zap #include "tun.h" (for NTUN) - which isn't used anymore. 1999-09-27 00:55:29 +00:00
peter
27b8500e0e zap #include "streams.h" (for NSTREAMS) - which isn't used. 1999-09-27 00:54:20 +00:00
peter
dff61c1f03 Zap #include "vn.h" - it's not used 1999-09-27 00:53:24 +00:00
peter
62b54b6ca6 Don't generate 'bpf.h' since it's not used. 1999-09-27 00:39:29 +00:00
billf
f3e2a0e313 -Wall fixes.
Submitted by:	nrahlstr
1999-09-27 00:36:03 +00:00
peter
3b7b04fccc Don't generate 'bpf.h' since it's not used. 1999-09-27 00:34:02 +00:00
dillon
b09937d8f3 If the request crosses EOF and bp->b_bcount is not a multiple of
the sector size, the new value for bp->b_bcount was incorrectly
    calculated.  Fixed.

Submitted by: 	Tor.Egge@fast.no
1999-09-27 00:27:32 +00:00
dillon
510b76a323 Fix process p_locks accounting. Conversions of the owner to LK_KERNPROC
caused p_locks to be improperly accounted.

Submitted by:	Tor.Egge@fast.no
1999-09-27 00:21:43 +00:00
dillon
69d7d3a5b4 Buffer locking code failed to use BUF_KERNPROC and BUF_UNLOCK and
BUF_LOCKFREE a buffer prior to physically freeing it.  While these
    bugs did not cause a crash, they might in the future.

    Added eof handling for unlabeled partitions.

Submitted by:	Tor.Egge@fast.no
1999-09-27 00:12:36 +00:00
brian
960ae0fee6 Show an example of ``set cd off'' 1999-09-26 23:18:54 +00:00
brian
814514a640 Support ``set cd off'' to tell ppp not to even look for carrier on the
device.
1999-09-26 23:02:18 +00:00
peter
303f4da197 Bid a fond farewell to these files, they live on various forms in
dev/pcm/* and dev/pcm/isa/*
1999-09-26 22:20:29 +00:00
peter
cc8f297f6d These files live on in sys/dev/pcm/pci/es1370* 1999-09-26 22:15:49 +00:00
roger
f75ff36ffa Update to use new Bt848 driver 1999-09-26 22:13:06 +00:00
roger
5d504cf9e6 Add new Bt848 driver files 1999-09-26 22:08:55 +00:00
roger
3eae1b2fb5 Split the Bt848 driver into seperate files for
audio, tuner, card make, os dependent code and core bt848/i2c code.

Also, rewrite tuner code for FM Radio to make the code cleaner.
1999-09-26 22:06:20 +00:00
imp
ea83795dfb [[ Forced commit for last (null) message ]]
Revert to using ointhand2_t rather than inthand2_t.  Use unwise casts
to pass pointers as ints in i386 only code.  This will be fixed in the
future as the transition to newbus completes.

This eliminates the warnings and still works.

Add $FreeBSD$ to driver.h and pcic.c
1999-09-26 21:58:43 +00:00
imp
2797bea96c *** empty log message *** 1999-09-26 21:52:43 +00:00
billf
37dc4e278c -Wall cleanups, handle unknown cases.
Submitted by:	billf, ken
Reviewed by:	ken
1999-09-26 21:44:16 +00:00
billf
391966e267 Silence -Wall
Reviewed by:	dillon
1999-09-26 21:37:46 +00:00
imp
fcd8d009a7 Kill printf warnings. 1999-09-26 21:24:36 +00:00
dillon
3d3ec302ae This is a major fixup of unionfs. At least 30 serious bugs have been
fixed (many due to changing semantics in other parts of the kernel and not
    the original author's fault), including one critical one: unionfs could
    cause UFS corruption in the fronting store due to calling VOP_OPEN for
    writing without turning on vmio for the UFS vnode.

    Most of the bugs were related to semantics changes in VOP calls, lock
    ordering problems (causing deadlocks), improper handling of a read-only
    backing store (such as an NFS mount), improper referencing and locking
    of vnodes, not using real struct locks for vnode locking, not using
    recursive locks when accessing the fronting store, and things like that.

    New functionality has been added:  unionfs now has mmap() support, but
    only partially tested, and rename has been enhanced considerably.

    There are still some things that unionfs cannot do.   You cannot
    rename a directory without confusing unionfs, and there are issues
    with softlinks, hardlinks, and special files.  unionfs mostly doesn't
    understand them (and never did).

    There are probably still panic situations, but hopefully no where near
    as many as before this commit.

    The unionfs in this commit has been tested overlayed on /usr/src
    (backing /usr/src being a read-only NFS mount, fronting /usr/src being
    a local filesystem).  kernel builds have been tested, buildworld is
    undergoing testing.  More testing is necessary.
1999-09-26 20:52:41 +00:00
peter
d4b4260008 Try and catch a make -j problem in 'make depend'.
Tested by:	Dirk-Willem van Gulik <dirkx@va-179.skylink.it>
1999-09-26 19:11:04 +00:00
peter
f653775453 GC bdbtofsb() 1999-09-26 19:05:39 +00:00
peter
550705e6f0 bdbtofsb() appears to have been unused for quite some time, if ever.
Appears to be a 4.4Lite relic.
1999-09-26 18:56:43 +00:00
n_hibma
d2f46000e9 Change explicit use of the queue fields into use of the definitions
in queue.h.

Change the name of two variables for consistency.

Reviewed-By:	peter
1999-09-26 18:48:53 +00:00
peter
08f3dd5401 Minor tidy up of PPP_FILTER and NBPF stuff. Don't generate bpf.h in the
module and don't #include "bpf.h".
1999-09-26 18:44:29 +00:00
wpaul
31831e3e3c Update the Starfire driver comments and man page to include the URL of
the AIC-6915 Programmer's Manual which I finally found online at Adaptec's
site.
1999-09-26 18:35:30 +00:00
eivind
4e21f13904 Update this to be able to output ASSERT_VOP_(UN)LOCKED() based on the
lock specifications in kern/vnode_if.src.  At present, this do not
distinguish between exclusive and shared locks, and the kernel is so full
of bugs in this area that running with auto-generation of assertions
enabled makes DEBUG_VFS_LOCKS totally useless for anybody that has used it
for anything prior to outputting automated assertions.  Due to this, I made
vnode_if.sh only output locking assertions if you have the environment
variable DEBUG_ALL_VFS_LOCKS set to "YES".  In order to actually use the
assertions, you need to also add "options DEBUG_VFS_LOCKS" to your kernel
config file.

Urged to commit by:	phk
1999-09-26 18:31:51 +00:00
eivind
e395a20636 Move the declaration of panic() from sys/systm.h to sys/param.h.
Rationale: Wider access, so we can add assertions to header files.
panicstr is still in sys/systm.h

Suggested by:   phk
Discussed with: peter
1999-09-26 18:19:49 +00:00
eivind
2090db494b Move the vop_islocked declaration to the top, in preparation for committing
code to auto-generate assertions from the lockspecs
1999-09-26 18:10:59 +00:00
mdodd
29cc7c5de3 device_get_ivars() called twice. Remove second call and assignment.
Noticed by: Peter
1999-09-26 18:05:37 +00:00
mdodd
29da608827 Duplicated '(' removed.
Noticed by: Mark Murray <mark@grondar.za>
1999-09-26 18:04:26 +00:00
mdodd
fdfe47144b mca_add_{iospace,mspace}() no longer takes a 4th arg. 1999-09-26 07:16:01 +00:00
mdodd
ef98056c7d Rip out the nastiness I cribbed from the EISA bus code and actually
implement the resource management code correctly, using approved
interfaces.

While I'm here, clean up a few things.
1999-09-26 07:02:05 +00:00
mdodd
5272c65210 - Split out the ISA and PCCARD specific code.
- Split out the prototypes, externs and struct decls from if_epreg.h into
  if_epvar.h.

- Add support for MCA based Etherlink III (3c529) devices.

None of this code is used right now; the old if_ep driver is still
in place and used.

I will eventually get around to converting if_ep_isa.c to newbus once I've
had a talk with Peter and DFR about the DEVICE_IDENTIFY() method.

I have tested this code on my PS/2.  It works.  I would like EISA and ISA
testers since my example hardware hasn't arrived yet.

Add:

dev/ep/if_ep.c          optional ep
dev/ep/if_ep_isa.c      optional ep isa
dev/ep/if_ep_eisa.c     optional ep eisa
dev/ep/if_ep_mca.c      optional ep mca
dev/ep/if_ep_pccard.c   optional ep card

to sys/conf/files

Remove:

i386/eisa/3c5x9.c             optional        ep
i386/isa/if_ep.c              optional        ep

from sys/i386/conf/files.i386

PCCARD testers wanted!

I will switch off and cvs rm the old driver in favor of this copy once
I've had positive feedback or have the hardware to verify that it works.
1999-09-26 06:42:36 +00:00
nyan
07038f1e99 Merge from sys/i386/isa/spkr.c revision 1.37 and 1.39. 1999-09-26 03:24:37 +00:00
nyan
4dd63577df Merge from sys/i386/isa/pcaudio.c revision 1.50. 1999-09-26 03:22:34 +00:00
nyan
e5d7fddaba Merge from sys/i386/isa/mse.c revision 1.44. 1999-09-26 03:21:38 +00:00
nik
a9b8cbd24d Mention /dev/vn0b and /dev/vntab. ascii -> ASCII transform had
already happened in an earlier commit.

PR:             docs/13645
Submitted by:   Stephen Roznowski <sjr@home.com>
1999-09-26 00:05:45 +00:00
chris
63b5167082 Change .Fn to .Xr on a couple of lines where abort(3) is referenced. 1999-09-25 22:42:12 +00:00
chris
6f65528a75 Capitalization errors:
* Gcc -> gcc
* Gnu -> GNU
1999-09-25 21:47:27 +00:00
chris
6dfa6014e0 Document the make_dev(9) and remove_dev(9) facilities.
remove_dev(9) is created as a link to the existing make_dev(9) page.

Reviewed by:	phk
1999-09-25 20:12:01 +00:00