Commit Graph

30335 Commits

Author SHA1 Message Date
kato
f2d843cbf5 Sync with sys/i386/isa/isa.c revision 1.113. 1998-07-19 15:04:26 +00:00
kato
56b9383d16 Sync with sys/i386/isa/fd.c revision 1.119. 1998-07-19 15:03:49 +00:00
rnordier
015b51968a Minor consistency fixes. 1998-07-19 15:02:39 +00:00
rnordier
73fe2a24f5 Drop mkdosfs (replaced by newfs_msdos).
Prompted by: joerg
1998-07-19 13:41:08 +00:00
jkh
d4548c1c49 A slap on the wrist to Dag-Erling, who plainly did not test this before
committing it.  There was a large syntax error at line 404 which could
not possibly have allowed compilation. :)
1998-07-19 11:12:14 +00:00
jkh
bd7376c5c9 A few size tweaks to try and get the -current boot floppy back under
control
1998-07-19 05:31:35 +00:00
bde
39d6cd0751 Stop physical DMA for the non-auto case in isa_dmadone(). This fixes a
small part of a bug suite beginning in the SLICE probes but mostly in the
floppy driver.  This is a quick fix: the auto case shouldn't be special;
DMA should also be stopped in isa_dma_release(); isa_dmastop() probably
shouldn't exist; common DMA registers should not be accessed without
locking.
1998-07-19 04:22:55 +00:00
jmz
769444bdb4 'remaining' must be declared off_t instead of int to avoid FPE when the size of
the file to transfer is very large (577985293894855484 bytes in the case I
encountered, but this was a buggy ftp server :-))
1998-07-19 00:01:24 +00:00
alex
22c2ae2a77 Don't log ICMP type and subtype for non-zero offset packet fragments. 1998-07-18 23:27:15 +00:00
hoek
77ec90992f Clarify "Cannot delete file as directory" errmessage.
PR:		bin/1985
1998-07-18 22:19:11 +00:00
des
88f64384b3 Allow dump devices with dkpart != SWAP_PART on devfs/slice
systems. This test should probably be removed altogether.

See CVS log entries for revisions 1.97 and 1.98.
1998-07-18 21:42:55 +00:00
hoek
43d214a191 MFC: sample qmail entry. 1998-07-18 20:01:03 +00:00
fenner
c45b137a7b Undo rev 1.41 until we get more details about why it makes some systems
fail.
1998-07-18 18:48:45 +00:00
brian
be273d8513 Remove redundant comments. 1998-07-18 15:34:39 +00:00
jkh
c1d10d181d MF22: Paul Traina's changes. 1998-07-18 09:42:02 +00:00
bde
7466f92c1a Fixed error handling after a seek error that can't happen. When the
controller reports a successful seek, it is very unlikely to report
seeking to a cylinder other than the one requested, but we check for
this, and botched the error handling for the requested_cylinder != 0
case.  This error happened when the bug fixed in rev.1.52 of <sys/buf.h>
caused the head of buffer queue to change to one starting on a different
cylnder - the requested cylinder was found, but it wasn't what we
thought we requested.  The fix is simply to arrange to reset the state
machine.

Corruption of the buffer queue seems to only have been a problem in the
floppy driver.  Other drivers dequeue the head of the queue before doing
physical i/o on it, so the corruption at worse broke the elevator sort
order.  Dequeueing breaks it anyway.
1998-07-18 03:15:33 +00:00
jkh
7ff39f1b60 MF22: XFree86 is now v3.3.2 1998-07-17 22:00:06 +00:00
eivind
3aff34f53d Avoid race-conditions on playpen delete. 1998-07-17 14:56:31 +00:00
joerg
701b445509 Place a fat warning that floppy tapes should be configured as drive 2
only (normally).

PR:		kern/7176
1998-07-17 06:45:26 +00:00
imp
98b8e2a5ea o for unknown int21 functions, set the CY bit to indicate failure
o When reporting a int21 function we don't know about yet, report
  AH as the major and AL as the minor, as opposed to reporting AL
  as the major.
o Add support for 21:44:7: ioctl check output status.  We
  optimistically say that output is always ready.
o Add half support for 21:23: get file size.  We always now return
  failure.  This function isn't supported, according to the interrupt
  list, by the DOS box in windows, so I don't feel too bad.
1998-07-17 00:18:52 +00:00
imp
7cdd4f6b5d o remove -f from doscmd man page, as it is not implemented.
o Remove init printf
o Don't set optind from return value for do_args.  getopt has already
  done this.
o Bump EMS memory from 1M to 10M (this really should be a command line
  option).
o Open /dev/null when requested to open emmxxxx0 to allow many programs
  checking to see if EMS is installed to find it.
o Route int67 to ems_entry to allow EMS to be used when DOS is emulated
  as well as when DOS is booted.  This may obviate the need for the
  driver doing anything at all in a really booted situation and won't
  hurt that case.

I can now run the DOS program I'm interested in running with enough
EMS memory that its "advanced" functions are enabled and working.
1998-07-16 23:54:26 +00:00
gibbs
a0f37891cd Correct SEEPROM checksum calculation when multiple checksum attemps are made.
Pointed out by:	"Jose M. Alcaide" <jose@we.lc.ehu.es>
1998-07-16 19:33:43 +00:00
nate
e5267d9c1b Fix race condition in pw caused by multiple instances of pwd_mkdb being
run at the same time.

Notes:
    The fileupdate function is still somewhat broken.  Instead of
    returning a failure code if it can't modify the original file it
    renames the .new file and continues as though nothing is wrong.
    This will cause the lock on the original file to be lost and could
    lead to a similar race condition.  I left that portion of the code
    alone since I feel that the maintainer of the code would have a
    better concept of how he wants to handle errors in that function
    than I do.

PR:		bin/6787
Submitted by:	Craig Spannring <cts@internetcds.com>
1998-07-16 17:18:25 +00:00
dfr
024928fa98 Simplify access to PCI config registers. 1998-07-16 13:38:35 +00:00
rnordier
f809e5b86b Reverse charnier's changes to usage. 1998-07-16 12:24:51 +00:00
charnier
daf815e5f2 Make it compile again in the !__STDC__ case.
Found by: Bruce.
1998-07-16 12:04:52 +00:00
kato
4ec71fc104 Merge from sys/i386/isa/syscons.c (1.265->1.266). 1998-07-16 10:29:11 +00:00
kato
cf1246d9d5 Sync with sys/i386/isa/fd.c revision 1.118. 1998-07-16 10:27:49 +00:00
kato
2092b7604a Sync with sys/i386/i386/userconfig.c revision 1.104. 1998-07-16 10:26:59 +00:00
kato
c628afbbc2 Sync with sys/i386/isa/pcaudio.c revision 1.42. 1998-07-16 10:25:50 +00:00
jkh
d9909ce2f1 MF22: Copy up new doc files. 1998-07-16 10:15:53 +00:00
jkh
e76a514ff6 MF22: Add prototype errata file. 1998-07-16 10:09:55 +00:00
jkh
4fcad24d30 MF22: prototype fix. 1998-07-16 00:10:14 +00:00
dfr
e5c5e26ecc Point at the right place for alpha registers. 1998-07-15 20:18:00 +00:00
dfr
43439d1572 Make ptrace work. 1998-07-15 20:16:28 +00:00
dfr
988e0b33fd Tweaks for cross-building from NetBSD/alpha.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1998-07-15 20:12:54 +00:00
dfr
583ae31e95 Add some debug code. 1998-07-15 20:07:33 +00:00
dfr
f14b57be26 An mc146818a clock attached to an isa bus. 1998-07-15 19:21:31 +00:00
dfr
0b4d04df93 Linker script for alpha kernel. 1998-07-15 19:19:24 +00:00
bde
8b2af4315e Changed %n to %r in devfs name format strings. %n has almost gone away. 1998-07-15 12:18:34 +00:00
des
cea29ea511 Allow blank lines in /var/yp/securenets. 1998-07-15 11:56:28 +00:00
bde
b38d9009d3 Don't cast pointers to longs in asm statements.
These asm statments are not quite as pessimal as when I complained
about them in rev.1.9 of audio.c.  They seem to be only 40% slower
than the C version on P5's and the same speed on K6's.
1998-07-15 11:47:58 +00:00
bde
b17aa4794d %n in a comment was a poor abbreviation for Immediate-byte-signed,
especially now that %n format has almost gone away.
1998-07-15 11:27:11 +00:00
bde
fab4cc7170 The ioctl request arg is unsigned log, so don't attempt to pass it
around as signed int.

Fixed printf format error for ioctl request arg hidden in ifdefed code.
1998-07-15 10:11:21 +00:00
bde
0d627f2ae9 The ioctl request arg is unsigned long, so don't attempt to pass it
around as signed int.
1998-07-15 09:59:31 +00:00
bde
fb75e06c3e Don't pretend to support ix86's with 16-bit ints by using longs
just to ensure 32-bit variables.
1998-07-15 09:38:10 +00:00
bde
06b8f50599 Don't cast pointers to longs in asms. Changed all remaining longs
to int32_t's and all unsigned longs to u_int32_t's.  Fixed the one
printf format broken by this.  The old math emulator now compiles
cleanly on i386's with 64-bit longs.  It may even work, provided
suword() doesn't actually write a long.
1998-07-15 09:01:18 +00:00
charnier
c4fa54fec2 Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing). 1998-07-15 06:51:38 +00:00
bde
259a90a05b Cast between longs and pointers via intptr_t. There shouldn't be
nearly so many casts here.  Casting an pointer that was an integer
back to an integer just to compare it with -1 is bad, and casting
it back just to compare it with NULL is just wrong.
1998-07-15 06:51:14 +00:00
charnier
6e84763280 Correct use of .Nm. Add rcsid. Remove unused #includes. Use warn().
Errx(1, "malloc failed") is better than err(1, NULL).
1998-07-15 06:48:52 +00:00