Commit Graph

28179 Commits

Author SHA1 Message Date
David Greenman
9351a2295a Added kern.ipc.nmbclusters 1998-04-24 04:15:52 +00:00
Julian Elischer
1077fa97b3 When calling the open function, specify either FREAD and/or FWRITE
as leaving them both 0 has the same effect as not openning the device at all.
1998-04-23 22:09:55 +00:00
Julian Elischer
bdeec4c20b Oops forgot to include opt_bootp.h
Bootp works a lot better with devfs if this is present.
1998-04-23 20:59:42 +00:00
Dag-Erling Smørgrav
d35f47a331 There is no "rwho" service, it's "who"
PR:		bin/6396
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-23 19:12:41 +00:00
Bruce Evans
5ad02d9ef4 Don't generate code with syntax errors (hard newlines in string constants
in config.c).
1998-04-23 16:37:06 +00:00
Bruce Evans
93dce16147 Fixed missing dependencies. The critical missing one was of bi-lexer.o
on bi-parser.h.  Not having it sometimes (only with `make -j') triggered
a bug suite that led to ordinary cpp output being put in .depend files.
Various bugs (the main one only with `make -j') prevented timely detection
of failure to build and install gnu/usr.bin/cc.  Eventually the missing
${WORLDTMP}/usr/libexec/cpp caused ${WORLDTMP}/usr/bin/cpp to be invoked
by cc, and this version of cpp is not suitable for such invocation.
Ordinary cpp output was put in .depend files when cpp terminated options
processing before seeing the -M flag.

Cleaned up.
1998-04-23 16:30:51 +00:00
Eivind Eklund
01404206b9 Convert timespecclear() back to an expression (this time without
sideeffects).
1998-04-23 14:12:06 +00:00
Paul Traina
5a36b24aa2 Back out last change 1998-04-23 04:44:08 +00:00
Eivind Eklund
e89652d0c4 Wrap timerclear in do { ... } while(0) 1998-04-23 00:11:32 +00:00
Eivind Eklund
57402d4df8 Add devfs support.
Submitted by:	somebody whose name escapes me :-(
1998-04-23 00:06:43 +00:00
Tor Egge
beede91e58 Mask the interrupt before setting the corresponding bit in ipending if
the interrupt is already active.
Don't use lock prefix for operations on ipending.
Always use lock prefix for operations on iactive.
1998-04-22 22:49:29 +00:00
Robert Nordier
ac51e2822d Improve description.
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
1998-04-22 19:59:55 +00:00
Julian Elischer
afcdc872dc Bad144 support for the slice system (!)
Submitted by: luoqi@watermarkgroup.com (Luoqi Chen)

I'm amazed by this. Slice has only been checked in for 2 days..
1998-04-22 19:27:54 +00:00
Matt Jacob
8bafc2452a Add support for the Qlogic ISP SCSI && FC/AL Adapters 1998-04-22 18:18:16 +00:00
Matt Jacob
65adb54cf1 Add support for the Qlogic ISP SCSI && FC/AL Adapters 1998-04-22 18:12:29 +00:00
Matt Jacob
6054c3f6f2 Add support for the Qlogic ISP SCSI && FC/AL Adapters 1998-04-22 17:54:58 +00:00
KATO Takenori
d6226d453f Sync with sys/i386/conf/majors.i386 revision 1.39. 1998-04-22 13:35:21 +00:00
Julian Elischer
26d3bf5f1b close() is no longer a SLICE method.
Close is simply an open with no-read and no-write once internal to SLICE
(it still exports a close to the rest of the kernel)
1998-04-22 10:25:27 +00:00
Peter Wemm
4bc57bd94f Add a couple of missing symbols referred to in asm code. 1998-04-22 09:46:16 +00:00
Poul-Henning Kamp
384606eb2c netstat truncates info in sockaddr* between kgetsa and p_sockaddr
by dereferencing pointer to smaller structure

PR:		5256
Reviewed by:	phk
Submitted by:	Gregory D. Moncreaff <moncrg@bt340707.res.ray.com>
1998-04-22 06:54:31 +00:00
Poul-Henning Kamp
94a60328c1 Even with '-s', syslogd still creates an AF_INET socket, although
it is not bind(2)ed.

PR:		6366
Reviewed by:	phk
Submitted by:	Soren S. Jorvang <soren@dt.dk>
1998-04-22 06:28:18 +00:00
Paul Traina
d84b14105f Fix cabs and cabsf definitions to be prototypes. 1998-04-22 06:26:18 +00:00
Poul-Henning Kamp
4419bba9fb When ipfw reads its rules from an input file, the optind variable is
not reinitialized to 1 after calling getopt. This results in parsing
errors on all but the first rule. An added patch also allows '#'
comments at the end of a line.

PR:		6379
Reviewed by:	phk
Submitted by:	Neal Fachan <kneel@ishiboo.com>
1998-04-22 06:20:20 +00:00
Mike Smith
38f86230bd Add a block device entry for the 'myx' driver too. 1998-04-22 05:10:51 +00:00
Mike Smith
9c25a0b542 Add 'myx' for Ulf Zimmerman's Mylex Raid driver (ulf@alameda.net> 1998-04-22 03:57:07 +00:00
Julian Elischer
6c633c343f Don't allow an open to succeed if the device is invalidated during the
open process.
1998-04-22 01:51:34 +00:00
Dag-Erling Smørgrav
7ea3064820 Added -b option to display unprintables in octal.
PR: 1315
1998-04-21 22:02:01 +00:00
Brian Somers
4431d4ba23 - breakage of the warnings about pessimized i/o port types.
- pessimized i/o port types.
- other pessimized types.
- Don't use DEBUG (causes LINT warnings).  Use DGB_DEBUG instead.
- commented out code.
- cloned code that doesn't apply ("Smarts" is for the cy driver only).

Submitted by: bde
1998-04-21 21:06:57 +00:00
Brian Somers
ba000fa9b4 Correct the digiboard device names in agreement
with the man page (POLA).
1998-04-21 21:06:22 +00:00
Julian Elischer
20e427a519 Remove the artificial limit on the size of the ipfw filter structure.
This allows the addition of extra fields if we need them (I have plans).
1998-04-21 18:54:53 +00:00
KATO Takenori
5e4832f65d PC-98 does not supports DMA automode lager than 65535 bytes. 1998-04-21 09:48:45 +00:00
KATO Takenori
bb9b85aaeb Supports PC-98 again. 1998-04-21 09:46:14 +00:00
Eivind Eklund
7b206e114e Add a forgotten 'static'. 1998-04-21 02:44:12 +00:00
Brian Somers
590be6b1ad o Move debug stuff down a bit so that it doesn't try to
dereference uninitialized pointers.
o Fix DEVFS permissions
o Fix DEVFS minor numbers
o Add initial & lock devices for cua device.
o Fix permissions in line with sio.
1998-04-21 02:39:48 +00:00
Eivind Eklund
e3e9c8eed9 Make brandelf test for known brands, and introduce a '-f' option to
bypass the testing.

Partially submitted by:  Brian Feldman <green@feldman.dyn.ml.org>
1998-04-21 02:31:09 +00:00
Julian Elischer
ff1f112b1a The 'mountroot' option is obviously pointless for an LKM
so allow LKM compilation to succeed by making it go away for that case.
Saves needing to include opt_devfs.h which an LKM cannot rely on anyhow.
1998-04-20 23:18:46 +00:00
Dima Ruban
b4d829b84f indent 1998-04-20 22:13:50 +00:00
Julian Elischer
2af4594564 Remove more LFS left-overs 1998-04-20 21:54:19 +00:00
Julian Elischer
751e9ca706 Remove an LFS clause, now that it is in the history,
anyone who wants to see what was needed cto revive LFS can see it.
1998-04-20 21:53:07 +00:00
Robert Nordier
336f22af33 Spelling/typo fixes: (preceeded, friday). 1998-04-20 21:06:38 +00:00
Robert Nordier
be1f43797a Spelling/typo fix: (proccessed). 1998-04-20 20:57:16 +00:00
Robert Nordier
cf2484d78c Spelling/typo fixes: (proccessed, og). 1998-04-20 20:55:43 +00:00
Søren Schmidt
d264ed7a01 Enable DEVFS usage of the device (include opt_devfs.h> 1998-04-20 18:51:33 +00:00
Nate Williams
d0c0b545a7 - Argh, fix stupid logic error in the laststate/state fix previously. That's
what I get for trying to do too many things at once.
1998-04-20 16:24:03 +00:00
Bruce Evans
02bbe20fc1 Don't build files at install time (just to be consistent; the problem
is almost harmless here).

Submitted by:	Arne Henrik Juul <arnej@stud.math.ntnu.no>
PR:		6330
1998-04-20 15:28:02 +00:00
Nate Williams
2d4c8d9d6c - Don't try and keep track of the previous state, since the kernel may
change it w/out informing the program.  Instead, use the (now available)
  previous state returned by the kernel to make intelligent card
  removal/insertion decisions.
1998-04-20 15:24:28 +00:00
Nate Williams
480895cbea - Give up trying for a simple solution for correctly recognizing if a card
was really removed, or simply 'faked' by a suspend/resume.  Keep track
  of both current and previous state, and send that information to the
  userland programs.

[
XXX - This breaks binary compatability with older pccardd programs, but
they don't work reliably. :(
]
1998-04-20 15:21:02 +00:00
Nate Williams
e4c50d858a - Only poll the PCIC controller for insertion/removal events if the
controller hasn't been assigned an IRQ.
1998-04-20 15:15:20 +00:00
Robert Nordier
25ab4f55c1 Check bytes read to prevent random error message. 1998-04-20 14:09:40 +00:00
KATO Takenori
b4e7319708 Commented out ide_pci.c.
Reviewed by:	kato
Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-04-20 13:54:47 +00:00