Commit Graph

43933 Commits

Author SHA1 Message Date
jkh
60a74d4e74 More cosmetic surgery and a nasty null pointer bug in index.c fixed. 1999-12-19 06:34:22 +00:00
green
ad5364acfd Allow LINT to build again.
The wd(4) family had to be disabled;  wd(4) and ata(4) are mutually
exclusive, even at link level.
1999-12-19 06:22:11 +00:00
rwatson
4906482d49 Second pass commit to introduce new ACL and Extended Attribute system
calls, vnops, vfsops, both in /kern, and to individual file systems that
require a vfsop_ array entry.

Reviewed by:	eivind
1999-12-19 06:08:07 +00:00
rwatson
16fd8ea1bc First pass commit to introduce new ACL and Extended Attribute system calls.
The second pass commit with all the supporting code will happen shortly
afterwards.

Reviewed by:	eivind
1999-12-19 05:54:46 +00:00
imp
c9387dc80e i82365_isasubr is gone, remove from building module. 1999-12-19 05:49:56 +00:00
jkh
59d2461974 Be paranoid about refreshing after an action. 1999-12-19 04:06:46 +00:00
green
bf65c5dff7 M_PREPEND-related cleanups (unregisterifying struct mbuf *s). 1999-12-19 01:55:37 +00:00
green
1cdc2098e4 I've been style(9)izing mbuf.h and making the macros more resilient
with guidance from EE.  This is as far as I'm going without using
inline functions.

Reviewed by:	eivind
1999-12-19 01:47:16 +00:00
billf
12b5c569cf -Wall fixes.
XXX: This code is sick, and so are some of the "fixes".
1999-12-19 00:21:51 +00:00
green
fbf64ad24e Fix a broken macro usage. It had no semicolon.
Noticed by:	eivind
1999-12-18 23:26:26 +00:00
eivind
cb167b642d Since VOP_LOCK can be used to up and downgrade locks, it is not possible
to say anything about the lockstate before and after it.  Thus, change the
lockspec from U L U to ? ? ?.
1999-12-18 23:01:52 +00:00
eivind
e21d65f8c5 Do NOT unlock dvp if LOCKPARENT && vp == dvp. Does not affect any code
presently in the tree.
1999-12-18 22:57:38 +00:00
cg
876bb6b9ff make vibra16x cards announce what they are in /dev/sndstat 1999-12-18 22:47:23 +00:00
cg
95eeb477ea fix the buffer repetition on ^c problem 1999-12-18 22:24:50 +00:00
cg
26c0c0654e make the vibra16x work for playback at least, record is untested 1999-12-18 22:21:47 +00:00
eivind
07b1d27636 Correct the documentation of LOCKPARENT - it does not reliably result in the
parent being locked, but rather plays some hide and seek (does not lock if
dvp == vp).

Also add a BUGS section noting that this is undesired behaviour.
1999-12-18 20:50:48 +00:00
sos
e120a4484b Relax the requirements for doing WDMA2, this should enable DMA
on non ATA[234] compliant disks.

Move all PCI dependent stuff under #ifdef NPCI > 0
1999-12-18 20:06:30 +00:00
green
e76a6ba9eb Woops, I'm so sorry I forgot this! From the last mbuf.h change:
m_mballoc_wakeup() (inline) -> MMBWAKEUP() (macro)
	m_clalloc_wakeup() (inline) -> MCLWAKEUP() (macro)

Noticed by:	peter
1999-12-18 20:04:19 +00:00
peter
0ab582e4c1 Make this compile again.
GENERIC-broken-by: imp
1999-12-18 19:33:59 +00:00
dillon
1ad99438c0 Fix compilation warning on alpha when converting pointer to integer
to generate hash index.

Reviewed by:	 Andrew Gallatin <gallatin@cs.duke.edu>
1999-12-18 19:20:05 +00:00
eivind
c560a790ed Make NDFREE unlock VP if appropriate and not asked not to, as documented in
the manpage for namei().  This capability is not yet used attempted used
anywhere in the source tree.
1999-12-18 17:12:15 +00:00
peter
b2f8b49233 Revert -lmd changes now that libcrypt doesn't expose this binutils/ld
bug any more.
1999-12-18 16:42:33 +00:00
peter
96af418f42 Revert the libcrypt/libmd stuff back to how it was. This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design).  libcrypt has
been adjusted to not need the runtime -lmd.  It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
1999-12-18 13:55:17 +00:00
green
e06e8449f2 I've been Bruceified! As penance, I've fixed my error (improper ordering,
moving #ifdefs to the non-historically-correct place, indentation bugs),
and I've also completely restyle(9)d mbuf.h.  There shouldn't be any
KNF issues with it anymore, nor should there be any internal
discrepencies.
   (Oh, I also fixed a small bug, but it was benign.  The spl was not
    released in MCLALLOC if M_NOWAIT and there were no free mclusters.)

Not objected to by:	bde
1999-12-18 13:52:44 +00:00
tanimura
3ebf294462 Correct the logical ID of Avance Asound 110.
Submitted by:	Bryan Liesner <bleez@netaxs.com>
1999-12-18 12:17:02 +00:00
marcel
30604a40ef Use long long format specifiers and cast each parameter to long long.
This avoids the ugly #if ARCH/#else/#endif construct.

Prompted to by: bde
Could have thought of this himself: marcel
1999-12-18 12:12:12 +00:00
obrien
b920e34dbc Provide complete coverage in switch statement to quiet -Wall. 1999-12-18 09:56:15 +00:00
imp
82eabf1e05 spell isa right on sn0 line 1999-12-18 07:49:54 +00:00
imp
9034aeadfe Merge GENERIC into PCCARD
Merge PCCARD into NEWCARD
1999-12-18 07:47:34 +00:00
imp
4c1ba1c1f3 Remove vestiages of now obsolete zp and ze drivers.
Forgotten by: phk
1999-12-18 06:27:31 +00:00
imp
5f54193b63 Add sn device: smc 91xx based ethernet controllers 1999-12-18 06:23:03 +00:00
imp
42d252c9ea Driver for the smc91xx series of ethernet chips. Ported from PAO to
3.3R and then to -current.  The pccard support has been left in the
driver, but is presently non-functional because we are using the
isa_compat layer for the moment.

Obtained From: PAO
Sponsored by: Timing Solutions
1999-12-18 06:11:22 +00:00
obrien
af56202f95 Initialize a var to quiet -Wall. 1999-12-18 04:47:43 +00:00
green
73eb7a680b Switch over to the OpenBSD fts.c, fixing lots of things.
Obtained from:	OpenBSD
1999-12-18 04:36:14 +00:00
jkh
08ff0f4f74 Yet more cosmetic fixes (I have a little time to kill while waiting for
something else, so I might as well tweak 3.4's look-and-feel for the better
while I'm at it - final release build should be sometime later on tonite).
1999-12-18 03:13:19 +00:00
brian
17689cb175 Learn to do pointer arithmatic (doh!) 1999-12-18 02:31:36 +00:00
jkh
13a3324324 Add more strategic screen clears 1999-12-18 02:29:24 +00:00
jkh
ad554245ee Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
1999-12-18 02:04:02 +00:00
cpiazza
0112543306 Remove duplicate entry 1999-12-18 01:26:38 +00:00
cpiazza
4d7d714ca1 Spelling fixes. first change from openbsd second from netbsd 1999-12-18 01:13:18 +00:00
jasone
fa356f752e Fix some minor POSIX/SUSv2 compliance nits.
PR:		kern/11982
1999-12-18 01:00:42 +00:00
archie
73a7de0123 Fix bugs in the MP fragment reassembly code that can cause a panic. 1999-12-17 23:29:04 +00:00
peter
5d606e1249 Be more consistant in using perl vs. perl5. We were using perl5 in the
kernel builds so as not to confuse with perl4 when bootstrapping from old
systems.  I don't know if this is still applicable but it shouldn't hurt
to be consistant at least.

Also copy vnode_if.sh to vnode_if.pl.  Doing a 'sh vnode_if.sh' when it
was a perl script was kinda silly.
1999-12-17 22:07:43 +00:00
peter
b2618f2f4a Make a dlopen failure consistant with dlsym(). "Shouldn't happen." 1999-12-17 20:21:45 +00:00
peter
4335b2986a patch glitch 1999-12-17 20:19:28 +00:00
peter
5dc96ca037 Remove -lmd. Use dlopen() and dlsym() instead for calls to the MD5* and
SHA* routines so that callers of libcrypt are not exposed to the internal
implementation.
1999-12-17 20:04:01 +00:00
msmith
af3cfcbc6c Add character major 139 for the Sangoma Technologies 'wanrouter' driver.
Contact details are:

Alex Feldman
E-mail : al.feldman@sangoma.com
Sangoma Technologies Inc.
1001 Denison st., Suite 101
Markham, L3R 2Z6    ON
Phone: (905) 474 - 1990
Fax     : (905) 388 - 2475
1999-12-17 19:56:39 +00:00
marcel
2abd5e13cb s/MACHINE_ARCH/TARGET_ARCH/g
The target machine is represented by TARGET_ARCH. MACHINE_ARCH always
represents the host machine. When TARGET_ARCH is not defined, it is
assumed to be equal to MACHINE_ARCH. This means that we're building a
native toolset by default. We're creating cross-compilation tools when
MACHINE_ARCH != TARGET_ARCH.

TARGET_ARCH is defined when building binutils as part of the bootstrap
build and is set to reflect the architecture we're currently cross-
building. With this change binutils is ready for cross-building.
1999-12-17 15:50:45 +00:00
marcel
1532f84dae o Don't use long for 64 bit variables. Use u_int64_t instead.
o  Fix printf format specifiers on Alpha and add i386 version.
o  Minor style fixes while there.
o  Add -Wall compiler option.
1999-12-17 15:27:21 +00:00
phantom
d721f7676d Back up following macros by functions: ishexnumber, isideogram, isnumber,
isphonogram, isrune, isspecial. Fix ordering.

Reviewed by: bde
1999-12-17 15:12:21 +00:00