Commit Graph

6704 Commits

Author SHA1 Message Date
joerg
da1477be18 Make DFLDSIZ and MAXDSIZ fully-supported options.
"Don't forget to do a ``make depend''" :-)
1996-12-22 23:17:09 +00:00
dyson
da8544b14b Document MAXDSIZ and DFLDSIZ. This is a 2.2 candidate change. 1996-12-22 18:28:50 +00:00
phk
c1a8f43a0c Add & Document MD5 option. 1996-12-22 10:38:41 +00:00
phk
fb156cb983 Add kern/md5c.c which came here by repository copy. 1996-12-22 10:35:57 +00:00
phk
176ac678e6 Fixup for new location.
This file came here by a repository copy.
1996-12-22 10:31:34 +00:00
phk
2a5914d630 Make this compile in the kernel too, major cosmetic cleanup. 1996-12-22 10:27:25 +00:00
nate
743fb64ce9 PCCARD support safety belts.
Don't allow people to use the 'dedicated' drivers at the same time as
the generic support code, as it can cause all sorts of problems
including kernel crashes.

[ definite 2.2 material ]
1996-12-21 17:53:39 +00:00
phk
1774c912ff Give MFS_ROOT priority over NFS as root filesystem.
2.2 candidate.
1996-12-21 16:43:35 +00:00
kato
8b17862a8e Improve probe routine for CONTEC C-NET(98) card. I/O port and memory
window addresses don't need to be set as default values.

Submitted by:	Yoshimasa Ohnishi <ohnishi@isc.kyutech.ac.jp>
1996-12-21 14:32:35 +00:00
se
65e90828f1 Improve negotiation messages:
Print MB/s instead of MHz (now takes WIDE into account).
Remove extranous "\n" from WIDE negotiation messages.
1996-12-21 12:32:34 +00:00
se
6fa4ff686a Mention amd driver in comment regarding PCI drivers. 1996-12-21 02:09:04 +00:00
se
0872fd7cfd Add PCI IDs of the ProLAN and Compex PCI NE2000 clones.
Based on information sent by Peter Mutsaers <plm@xs4all.nl>.
1996-12-21 00:04:09 +00:00
se
118b567508 Fix bug that would stop probing for SCSI devices
after the first found, if multiple LUNs are tried.
Change probe message to just the SCSI chip id,
similar to what the NCR driver prints.
Change the driver name to "amd" in all places.

Thanks to  Nick Sayer <nsayer@quack.kfu.com> for
doing some debugging, for sending a boot message
log that shows the driver is functional, and for
pointing out there still were places that needed
the driver name to be corrected.
1996-12-20 21:52:11 +00:00
joerg
f1e99cbdbc Reorder the wildcard entries to the end of the quirks list, so they
will be probed last.  It's otherwise impossible in some cases to get
SCSI type override working.

Supposed fix for PR # kern/2225.
1996-12-20 20:43:45 +00:00
kato
99cbd05e11 Add `#include <pc98/pc98/pc98.h>'. 1996-12-20 12:25:13 +00:00
kato
bc3c74e96b Synchronize with sys/i386/isa/mse.c revision 1.29 (test in mseopen). 1996-12-20 10:59:37 +00:00
kato
c7e1951a83 Synchronize with sys/i386/isa/syscons.c revision 1.192 (fix typo). 1996-12-20 10:49:23 +00:00
bde
c58e11fbe5 Fixed nonexistent checking of lock types for F_GETLK.
Found by:	NIST-PCTS
1996-12-19 19:59:51 +00:00
bde
e8f147fc7f Fixed lseek() on named pipes. It always succeeded but should always fail.
Broke locking on named pipes in the same way as locking on non-vnodes
(wrong errno).  This will be fixed later.

The fix involves negative logic.  Named pipes are now distinguished from
other types of files with vnodes, and there is additional code to handle
vnodes and named pipes in the same way only where that makes sense (not
for lseek, locking or TIOCSCTTY).
1996-12-19 19:42:37 +00:00
joerg
2fc6559771 Test in mseopen() whether the device has been configured at all, and
refuse the open intent with ENXIO otherwise.

Closes PR # bin/2226.

Reviewed by:	bde
1996-12-19 18:33:13 +00:00
bde
7b53451ad8 Fixed errno for unsupported advisory locks. The errno is now EINVAL
fcntl() and EOPNOTSUPP for flock().  POSIX specifies the weaker EINVAL
errno and the man page agrees.

Not fixed:
deadfs: always returns wrong EBADF
devfs, msdosfs: always return sometimes-wrong EINVAL
cd9660, fdesc, kernfs, portal: always return sometimes-wrong EOPNOTSUPP
procfs: always returns wrong EIO
mfs: panic?!
nfs: fudged

NetBSD uses a generic file system genfs to do return the sometimes-wrong
EOPNOTSUPP more consistently :-)(.

Found by:	NIST-PCTS
1996-12-19 18:16:33 +00:00
bde
4898b7abce More cleanups to satisfy the following rules:
- C++ should be supported for application functions (use __BEGIN_DECLS,
  etc.).
- prototypes should be sorted.
- comments on #endif's should spell identifiers the same as the code.
- comments on #endif's should have the same sense as the code (use `!'
  to match ifndef, etc.).
1996-12-19 18:12:06 +00:00
kato
4f80e20409 Add `ep' driver support.
Submitted by:	Naoki Hamada <nao@sbl.cl.nec.co.jp>
1996-12-19 15:48:55 +00:00
wollman
595f353f46 Clean up Bill's additions. 1996-12-19 15:42:52 +00:00
bde
35f1cb9ec8 Fixed setpgid(). Negative pgids were accepted.
Found by:	NIST-PCTS
1996-12-19 13:28:47 +00:00
bde
79fa904f5d Fixed arg checking in if_advlock(). Invalid args were accepted in an
optimized case.  Preposterous lengths weren't checked for.

Found by:	NIST-PCTS
1996-12-19 13:22:30 +00:00
kato
25e0e2ea6d Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp>
Support 3COM 3C569 network card on PC98.
1996-12-19 10:31:10 +00:00
kato
b59631323a Synchronize with sys/i386/i386/trap.c revision 1.84 (handle
copyin/out/etc code).
1996-12-19 08:27:33 +00:00
kato
7b0e166588 Synchronize with sys/i386/isa/fd.c revision 1.94 (disable disk
statistics support).
1996-12-19 08:17:08 +00:00
alex
306a37aa00 Hawaii-Five-Typo 1996-12-19 00:26:22 +00:00
wpaul
3fcbfc26de Add prototypes for ethers.3 functions as per wollman:
> wollman     96/12/10 09:19:15
>
>   Modified:    lib/libc/net  ether_addr.c ethers.3
>   Log:
>   Get struct ether_addr directly from <net/ethernet.h> rather than pulling
>   in lots of unrelated junk from <net/if.h> and <net/if_ether.h>.  These
>   functions still aren't prototyped anywhere (but should be in
>   <net/ethernet.h>---got that, Bill?).

(Note that this file has no copyright header; one should probably
be added.)
1996-12-18 21:42:38 +00:00
kato
358a6e029b Delete comment for "sbic" driver.
2.2 candidate.
1996-12-18 20:54:22 +00:00
kato
bf20237146 Sync with sys/i386/i386/userconfig.c revision 1.78 (amd driver entry). 1996-12-18 20:52:31 +00:00
kato
e015264e4f Sync with sys/i386/i386/machdep.c revision 1.222 (move printing of
BIOS geometry).
1996-12-18 20:50:44 +00:00
bde
5bc23e7729 Fixed pedantic syntax error. 1996-12-18 19:36:01 +00:00
bde
f0c9d228cf Added a missing prototype. 1996-12-18 19:14:35 +00:00
bde
ff273d3117 Only handle copyin/out/etc faults when not in an interrupt handler.
This makes unexpected faults (in an interrupt handler) more likely
to crash properly.  It could be done even better (more robustly and
more efficiently) using lazy fault handling.
1996-12-18 19:12:01 +00:00
bde
4ce0dc12b8 Fixed formatting of KERN_DUMPDEV.
Should be in 2.2.
1996-12-18 18:53:00 +00:00
bde
ffefd4e2b1 Fixed bogus linkage of one of the ddb linker sets. 1996-12-18 17:58:24 +00:00
bde
57c569b0dd Disabled half-baked disk statistics support. It didn't actually generate
statistics, so it just wasted scarce disk table slots and screen space.
1996-12-18 17:44:31 +00:00
davidn
ec9b77c38d Much fixed & working digiboard driver. 1996-12-18 16:42:06 +00:00
bde
7e1b929fbe Initialize the upper 16 bits of the memory sizes properly (to 0).
They were garbage that happened to be 0 in many cases.  (real_to_prot()
happens to leave the value of the real-mode %cr0 in %eax and the
memory-size BIOS calls usually don't touch the upper bits of %eax.
The upper 16 bits of %cr0 are usually 0 at boot time, at least on
486's.

Should be in 2.2.
1996-12-18 15:38:23 +00:00
bde
30f3aec18a Moved the printing of the BIOS geometries from cpu_startup() into
configure() where it always belonged.  It was originally slightly
misplaced after configure().  Rev.138 left it completely misplaced
before the DEVFS, DRIVERS and CONFIGURE sysinits by not moving it
together with configure().

Restored the printing of bootinfo.bi_n_bios_used now that it can
be nonzero.
1996-12-18 15:03:10 +00:00
bde
83ef80345a Restored comment about _POSIX_SAVED_IDS from rev.1.2. 1996-12-18 14:02:56 +00:00
jkh
ae90aab2b0 Back out previous commit (and that's the last one I do on swallace's
behalf - from now on he can do his own).  I guess I didn't notice
the code in the wrapper which turned the union semun arg into a pointer.
1996-12-18 13:37:00 +00:00
jkh
b04e8cf275 Change prototype for semctl(). 1996-12-18 13:18:57 +00:00
se
fc23391819 Add Tekram DC390/390T driver "amd0", which is expected to work with
generic AMD 53c974 PCI SCSI controllers as well.
1996-12-18 11:43:33 +00:00
se
0efeb811c5 Add include of <vm/pmap.h> to make this driver compile under -current.
Cleanup to make it compile cleanly in LINT.
Submitted by:	bde
1996-12-18 11:41:28 +00:00
se
2ca4ae1e31 Rename DIAGNOSTIC to DMA_DIAGNOSTIC.
Submitted by:	bde
1996-12-18 11:35:12 +00:00
se
20d3be052b Add comment for "amd" driver: Tekram DC-390(T) and generic AMD 53c974 PCI SCSI. 1996-12-18 01:37:22 +00:00