Commit Graph

9083 Commits

Author SHA1 Message Date
dg
94286bf509 Rewrote fxp_start() for better clarity and efficiency. 1997-10-23 01:45:15 +00:00
nate
251c8be0fe - Simplify code by removing a variable which was initialized once, never
modified, and was expected to have the initialized value.
1997-10-23 00:51:29 +00:00
nate
bdf762c6f9 - If APM_BROKEN_STATCLOCK is defined, make sure the statcloock is
disabled, don't rely on the flags to set it.
1997-10-22 23:04:07 +00:00
joerg
b631d52e4d Reject attempts to call open() with an illegal combination of O_RDONLY,
O_WRONLY, O_RDWR.
1997-10-22 07:28:51 +00:00
peter
c355e96630 Put in an initial %VERSREQ field. This will cause existing config(8)'s
to give a non-fatal warning about unknown directives, so there is no
hurry to rebuild config(8) yet, apart from shutting up the warning.
1997-10-22 00:48:36 +00:00
roberto
cb0b2ed81c Fix the same leak as in nullfs. Now the lowervp is properly marked inactive.
Reviewed by:	phk
1997-10-21 21:08:17 +00:00
roberto
83a98c9cc8 Fix the file leak bug. The lower layer wasn't informed the vnode was inactive
and kept a reference, preventing the blocks to be reclaimed.

Changed the comment in null_inactive to reflect the current situation.

Reviewed by:	phk
1997-10-21 21:01:34 +00:00
nate
cccd48166d - PCCARD support to the much maligned SCSI driver. This gives up support
for a couple of external CD's (notably the Sony PRD-650).

Note: In order to get my CD recognized, I had to configure the CD under
      Win95, but it seems to work now even if I turn it off.

Submitted by:	PAO [minor mods by me]
1997-10-21 17:57:31 +00:00
phk
14ea303119 Add const to a couple of casts to silence some of the warnings Bruce
has let loose on us.
1997-10-21 13:28:36 +00:00
bde
c460dbf96b Oops, comment lines can't be indented either. 1997-10-21 10:39:27 +00:00
bde
da0f70fc69 Oops, comment lines can't be continued. 1997-10-21 10:36:07 +00:00
kato
c48e941245 Merge from RELENG_2_2. Bandaid for 'lockmgr panic' on the VN device. 1997-10-21 09:51:47 +00:00
kato
adfbefbc66 Synchronize with sys/i386/isa/fd.c revision 1.105. 1997-10-21 09:48:38 +00:00
msmith
0d9f4e4f4d Reference the DMI table inside the SMBIOS table correctly, not using a variable
that won't be initialised until a later test.
Submitted by:	bde via -Wunused
1997-10-21 07:40:22 +00:00
bde
4004e38e8b Added -Wuninitialized to CWARNFLAGS. Warnings about uninitialialized
variables were lost when we removed -W, and 23 new ones including at
least one serious one have crept in for LINT.

Restored -Winline to CFLAGS.  This gives only 3 old warnings and 1 new
for LINT.
1997-10-21 06:53:24 +00:00
phk
286bd820cc I belive this fixes MFS after I broke it. 1997-10-20 19:53:26 +00:00
ache
29c8244921 Fix returned sleep period for large values
Submitted by: bde
1997-10-20 18:43:49 +00:00
dg
95d94365c5 kern.maxproc is not writable since there are tables that are statically
sized at startup.
PR: 4675
1997-10-19 18:45:59 +00:00
joerg
c1819b3409 Introduce a device flags value of 0x1 to always pretend a 1.44 MB
floppy drive #0, regardless of what the CMOS says.  This is intended
as a bandaid for those plagued with Compaq's idea to not announce the
floppy drive on their `Aero' notebook.

Using the device flags is not very nice (in particular since they
aren't per-drive but per-controller), but still looks a lot better to
me than the disgusting guesswork hack that was recently posted to
-hackers.

Doc update will follow shortly.
1997-10-19 13:12:02 +00:00
yokota
804107bc40 Rename MOUSE_GETINFO to MOUSE_GETHWINFO. The name collided with the one
in console.h.
Pointed out by bde.
1997-10-19 10:45:18 +00:00
joerg
2588496dc9 Make the Sun OEM version of the DLT a known multi-LUN device so changers
will work.

PR:		kern/4802
Submitted by:	dawes@physics.usyd.edu.au (David Dawes)
1997-10-19 09:37:49 +00:00
dyson
3cc2dca628 This might fix the mfs_badop problem left over with the cool VFS fixes.
PHK should check this.
1997-10-19 01:36:49 +00:00
peter
8ba002adfc Add an $Id$ 1997-10-18 18:17:45 +00:00
peter
a6a18a3d11 Merge in changes from Matt. Accton EN12xx support, bugfixes. There is
a change that might have an effect on the problems some have seen
with older chips, it looks like the driver may have mistakenly thought
there was an SIA when there isn't.
1997-10-18 18:15:03 +00:00
kato
10cc54ab2c Synchronize with sys/i386/conf/options.i386 revision 1.62. 1997-10-18 14:19:57 +00:00
peter
16898e0272 This commit was generated by cvs2svn to compensate for changes in r30549,
which included commits to RCS files with non-trunk default branches.
1997-10-18 13:23:35 +00:00
peter
166813fe90 Import Matt's current de driver... He appears to be maintaining it in
the NetBSD source tree now.  This is slightly newer than the updated
.tar.gz on the 3am-software web site.
1997-10-18 13:23:35 +00:00
peter
d3c47076ad Import Matt's current de driver... He appears to be maintaining it in
the NetBSD source tree now.  This is slightly newer than the updated
.tar.gz on the 3am-software web site.
1997-10-18 13:23:35 +00:00
joerg
f44f4b4ca1 Make all the documented (in pcvt(4)) options supported options. While
i was at it, do no longer insist on `PCVT_FREEBSD' being declared in
the config file, but default it to a reasonable value.

More cleanup to follow, but this part is safe for RELENG_2_2, too.
1997-10-18 10:59:47 +00:00
peter
79736c6805 Don't doc PPP_BSDCOMP and PPP_DEFLATE twice. slight reorder so that the
options are not in the middle of the pseudo-device list.

Prompted by: bde
1997-10-18 10:10:36 +00:00
peter
e698cb6764 Braino on my part.. a #define isn't a reference to a structure, so the
struct only needs to be defined if the macro is used.

Pointed out by: bde
1997-10-18 09:02:39 +00:00
peter
ddbef49e26 Update Makefile to know about PPP_FILTER and fix the PPP_BSDCOMP and
PPP_DEFLATE options... The code uses #if defined(PPP_DEFLATE) etc, so the
original method of "#define PPP_DEFLATE 0" did not actually disable
anything.  It was not possible to configure out bsdcomp or zlib
compression.  Also, join the settings for PPP_FILTER and NBPFILTER together
since they are related here (can't have PPP_FILTER without NBPFILTER).
1997-10-18 01:37:52 +00:00
peter
477b355814 Doc PPP_* options and add PPP_FILTER 1997-10-18 01:24:20 +00:00
peter
188c833307 Convert PPP_FILTER to an option, like PPP_BSDCOMP and PPP_DEFLATE.
It requires bpf, I'll note this in LINT.
1997-10-18 01:20:28 +00:00
peter
8b1ecf4d4c Convert PPP_FILTER to an option 1997-10-18 01:15:32 +00:00
peter
1cd3ef3a0e Better fix for the bpf dependency that doesn't have such a large impact
on the code and pppd in userland.  PPP_FILTER is meant to be an option (or
negatable option).
1997-10-18 00:56:23 +00:00
peter
7a5b1c8e7f Back out the `PPP_FILTER => NBPFILTER' changes. 1997-10-18 00:49:59 +00:00
peter
78e8c3f4e1 Back out the `PPP_FILTER => NBPFILTER' changes 1997-10-18 00:46:10 +00:00
dg
deb21eac01 Killed non-sensical call to splimp/splx in crfree(). 1997-10-17 23:52:56 +00:00
roberto
b5e0a197bf A better fix for both kernel and LKM compilation. 1997-10-17 21:50:32 +00:00
roberto
bcb06c750a Change PPP_FILTER into NBPFILTER to fix kernel compilation.
It should probably be changed in ppp_tty.c for consistency but I'll let
Brian deal with this.

Forgotten by:	brian
1997-10-17 21:30:30 +00:00
wollman
2ab6ede5b5 LEarn about the TI 1131. 1997-10-17 16:34:08 +00:00
wollman
67a233ee30 Oops... back out the change to recognize the TI 1131; there's a better place. 1997-10-17 16:26:14 +00:00
wollman
8587850e5c Teach the PCI code about the TI 1131 and NeoMagic NM2160 in my laptop. 1997-10-17 16:15:43 +00:00
phk
14aa7b01ea Make a set of VOP standard lock, unlock & islocked VOP operators, which
depend on the lock being located at vp->v_data.  Saves 3x3 identical
vop procs, more as the other filesystems becomes lock aware.
1997-10-17 12:36:19 +00:00
dg
214d27ba03 Fixed a bug where input packets were counted twice - messing up the
stats.
1997-10-17 06:27:44 +00:00
brian
da95061e5c PPP_FILTER => NBPFILTER 1997-10-17 00:12:38 +00:00
phk
f82436f706 VFS clean up "hekto commit"
1.  Add defaults for more VOPs
        VOP_LOCK        vop_nolock
        VOP_ISLOCKED    vop_noislocked
        VOP_UNLOCK      vop_nounlock
    and remove direct reference in filesystems.

2.  Rename the nfsv2 vnop tables to improve sorting order.
1997-10-16 22:01:05 +00:00
phk
373a865574 Another VFS cleanup "kilo commit"
1.  Remove VOP_UPDATE, it is (also) an UFS/{FFS,LFS,EXT2FS,MFS}
    intereface function, and now lives in the ufsmount structure.

2.  Remove VOP_SEEK, it was unused.

3.  Add mode default vops:

    VOP_ADVLOCK          vop_einval
    VOP_CLOSE            vop_null
    VOP_FSYNC            vop_null
    VOP_IOCTL            vop_enotty
    VOP_MMAP             vop_einval
    VOP_OPEN             vop_null
    VOP_PATHCONF         vop_einval
    VOP_READLINK         vop_einval
    VOP_REALLOCBLKS      vop_eopnotsupp

    And remove identical functionality from filesystems

4.   Add vop_stdpathconf, which returns the canonical stuff.  Use
     it in the filesystems.  (XXX: It's probably wrong that specfs
     and fifofs sets this vop, shouldn't it come from the "host"
     filesystem, for instance ufs or cd9660 ?)

5.   Try to make system wide VOP functions have vop_* names.

6.   Initialize the um_* vectors in LFS.

(Recompile your LKMS!!!)
1997-10-16 20:32:40 +00:00
phk
49953d2a8b Oops. forgot the blasted cvs add.
Pointed hat sent from:	Karl Denninger  <karl@Mcs.Net>
1997-10-16 17:48:22 +00:00