Commit Graph

2805 Commits

Author SHA1 Message Date
dg
02c768e8ae Kludge to workaround ftp coredumping when password is specified before
login in .netrc.

Submitted by:	John Kohl
1994-09-18 04:09:28 +00:00
jkh
5a1cd8e3f8 New man pages from Wilko Bulte.
Reviewed by:	jkh
Submitted by:	Wilko Bulte
1994-09-18 00:00:36 +00:00
joerg
71ff47645a Fixed the problem where the floppy has incorrectly failed probing
when the drive had been left on a cylinder > 67 after kernel boot. The
most common case for this is booting a kernel that is located on
the inner cylinders of a floppy.

Also removed all occurences of spinwait(), replaced by DELAY.
Nuked a return line saying nothing, this might make Bruce happy 8^)

Submitted by:	partially by Bruce Evans
1994-09-17 18:08:36 +00:00
dg
46574152f1 Fix include path. 1994-09-17 17:55:03 +00:00
dg
41cf2079fd Added fdformat utility from 1.1.5. 1994-09-17 17:08:31 +00:00
dg
0285e6bafc Updated driver to the 1.1.5 version:
date: 1994/05/22 12:35:38;  author: joerg;  state: Exp;  lines: +6 -6
First round of floppy changes. Try making `fd' more robust.

New features:
  .  ioctl command for setting the drive type (density etc.); restricted
     to the super-user
  .  ioctl for getting/seting `drive options'; currently only option
     is FDOPT_NORETRY: inhibit the usual retries; used when verifying
     a newly formatted track

Fixes:
  .  function prototypes
  .  made all internal functions `static'
  .  cleaned up & corrected .h files
  .  restructured, to make the chaotic function sequence more rational
  .  compiled with -Wall, and cleared all warnings
  .  introduced a mirror for the (write-only) `digital output register',
     to avoid the current kludge
  .  device probing completed by seeking/recalibrating, and looking
     for track 0 being found
  .  holding the controller down in reset state while it is idle (and
     thus saving allot of headaches)
  .  make requests fail that are not a multiple of the (physical)
     sector size
  .  removed the fixed physical sector size (512 bytes), allowing for any
     size the controller could handle (128/256/512/1024 bytes)
  .  replaced some silly messages
  .  fixed the TRACE* macro usage, debugging reports should be complete
     now again (debugging output is HUGE! though)
  .  removed fd_timeout for SEEK command; seeks are always reported by
     the controller to succeed, since the `success' only refers to the
     controller's idea of success - there is no hardware line to tell about
     the seek end (other than the `track 0' line)
  .  catch SENSEI's that report about a `terminated due to READY changed'
     status - could happen after a controller reset
  .  converted ``hz / <something>'' divide operations to divisors that are
     powers of two, so gcc can optimize them into shifts
  .  write/format operations are checked against a write-protected medium
     now *prior* starting the operation
  .  error reports of `invalid command' and `wrong cylinder' will cause
     shortcuts in the retrier() now
  .  fixed a bug in the retrier() causing bogus block numbers to be reported
  .  fdformat() does care for errors now

Known Bugs:
  .  no attempts have been made (yet) to improve the performance
  .  sometimes, bogus ``seek/recalib failed'' messages are logged; this
     is still a bug in the driver, but it's not harmful since it's
     usually caught by the retrier()

Reviewed by:
Submitted by:
Obtained from:
1994-09-17 16:56:10 +00:00
se
2097dca3f5 Include <i386/include/cpufunc.h> to have outb() defined ... 1994-09-17 16:51:47 +00:00
dg
88bd88b7a0 Got rid of compiler warnings. 1994-09-17 13:24:29 +00:00
se
a9cbb4294c Changed CDOUTSTANDING back to a value of 2 (from 1), since this is now only
an upper limit, not a fixed value (ignoring the host adapter capabilities)
as before.
1994-09-16 23:43:28 +00:00
wollman
375660a3eb Per discussion on the mailing-lists, move LKMs from /sbin to /lkm, and
arrange for that directory to get created by mtree.  Also, process secure
directory after all the others, because the programs there may overlay
ones installed from the main part of the tree.
1994-09-16 20:24:29 +00:00
wollman
242ff623e2 Delete unlikely-to-be-used filesystems from GENERIC kernels. 1994-09-16 20:14:03 +00:00
gclarkii
ba9d4f58b6 Added new entry 1994-09-16 18:51:50 +00:00
gclarkii
d3510a1f57 Added first system entry (mine)
Reviewed by:
Submitted by:
Obtained from:
1994-09-16 18:46:09 +00:00
gclarkii
d9eda3049e Added version string (All new FAQ stuff should have one) 1994-09-16 18:35:24 +00:00
gclarkii
31a5fafec5 Started cleaning up FAQ directory for 2.0.
Move old FAQ to FreeBSD-1.1.FAQ
Started new FAQ
Move old Systems to Systems-1.1.FAQ
Started new Systems
moved slip-dialup to Slip.FAQ (Needs to be reworked for 2.0)

More work to come...
1994-09-16 18:24:41 +00:00
dfr
a45a125824 Added code for FreeBSD-1.1.5 backwards compatibility. 1994-09-16 17:43:22 +00:00
jkh
7aa31544d6 Add support for DEBUG_FLAGS. If you say something like:
make DEBUG_FLAGS=-g2

You can compile something for debugging at debugging level 2.
It will also take care not to strip the resulting executable(s).
1994-09-16 14:30:25 +00:00
dg
f40d319a86 Removed inclusion of pio.h and cpufunc.h (cpufunc.h is included from
systm.h). Merged functionality of pio.h into cpufunc.h. Cleaned up some
related code.
1994-09-16 13:33:56 +00:00
paul
cd1fdc31d4 Moved include of cdefs.h outside of ifndef KERNEL so it always
gets included.
1994-09-16 11:44:45 +00:00
jkh
0b553ff0a2 Deal with outw being defined - the declaration clashes. 1994-09-16 11:22:33 +00:00
jkh
dd1f19bffa Add SYSV shm stuff back to LINT.
chflags noschg /kernel in Makefile.i386 so if our previous kernel
was installed by make install, the second won't fall over.
1994-09-16 10:23:46 +00:00
phk
b9bdf5a8d6 Made the kernel compile even without "ether". 1994-09-16 05:47:06 +00:00
rgrimes
ae5f9a40b7 Eliminate use of raw control characters in stty commands, make echo's and
stty commands self consistent.

Submitted by:	bde
1994-09-16 04:20:14 +00:00
ache
188c22895b Remove all ADJKERNTZ references, now all this stuff in cpu.h 1994-09-16 01:09:42 +00:00
ache
e7226224c6 CPU_ADJKERNTZ added for resettodtr() 1994-09-16 01:05:24 +00:00
ache
0b6872d87a CPU_ADJKERNTZ added to cpu_sysctl 1994-09-16 01:00:38 +00:00
ache
ba25185ec9 KERN_ADJKERNTZ removed from here to cpu_sysctl MACHDEP section 1994-09-16 00:53:58 +00:00
ache
23acba77ae KERN_ADJKERNTZ moved to MACHDEP section 1994-09-16 00:50:02 +00:00
se
082fbb1bea Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de> + <se>
Improved bus probing, symbolic names for registers..
Chip set parameters get dumped for intel PCI chip sets
(82424+82434 only, for now).
1994-09-16 00:33:29 +00:00
se
8faab3c2e8 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
New version with support for the NCR 53c810 and 53c825.
Support for WIDE SCSI devices.
1994-09-16 00:22:32 +00:00
bde
e5f836591b Fix library dependencies. The clockstuff directory isn't used but I
fixed the Makefile before I knew that.
1994-09-15 20:55:44 +00:00
bde
11fe93eee4 Unmap hints file when finished with it, so that it can go away
completely when ldconfig unlinks it.  If init is shared, then the
referenced unlinked copy of the hints file created by running
ldconfig in /etc/rc caused the file system to be unclean after
every reboot.
1994-09-15 20:48:55 +00:00
bde
f95a48ecbe Add some prototypes. 1994-09-15 20:24:29 +00:00
bde
19e34663ff Don't exit early if the device is not character special or if the
device driver cannot supply a label (real or faked).  This allows
you to practice using fdisk on disposable media (e.g., "dd count=1
<dev/zero >/tmp/junk; fdisk /tmp/junk", "dd count=1 </etc/passwd
>/tmp/fix-up-the-mess; fdisk /tmp/fix-up-the-mess") and allows me
to test DOSpartitioning and labelling on floppies.
1994-09-15 20:19:51 +00:00
bde
ee4760d1f2 Install osreldate.h with the correct owner, group and mode. It is still
created at install time and not compared with the current version, so
it can't be installed using install and the timestamp of the target gets
clobbered.
1994-09-15 20:07:18 +00:00
bde
797f1dafb8 Install libregex.h with the correct owner, group and mode. 1994-09-15 19:52:50 +00:00
bde
9400f03fed Supply prototypes for some functions that were implicitly declared and
fix the resulting warnings.
1994-09-15 19:47:47 +00:00
bde
1bfaf25b30 Obtained from:
Remove the unnecessary inclusion of disklabel.h in cd9660_vfsops.c so
that I don't have to worry about the latter when changing disklabel.h.

Supply prototypes for some functions that were implicitly declared and
fix the resulting warnings and errors (timevals were punned to timespecs).
1994-09-15 19:46:03 +00:00
pst
019579bbf9 Add support for passive mode FTP (default off) to base FTP client to support
users behind packet filtering firewalls.
Obtained from: David Carrel <carrel@cisco.com>
1994-09-15 19:45:43 +00:00
paul
dbc1294a38 Include pio.h so that all those drivers that only include cpufunc.h
get the faster io macros/inline code rather than call the routines
in support.s

This whole area needs some going over.....
1994-09-15 17:55:47 +00:00
dfr
c01f9b6338 Added back the SYSV ipc files which somehow got removed. 1994-09-15 16:47:50 +00:00
paul
f302c712fe Removed some macros that are now in cpufunc.h
Reviewed by:	Bruce
1994-09-15 16:32:07 +00:00
paul
8c92b502be Added MCOUNT_ENTER and MCOUNT_EXIT macros to profile.h
Removed inb function since it's more correctly in pio.h

Copied write_eflags and read_eflags over from npx.c

(Some changes to the macros suggested by Bruce were not made at this
time since his suggestions probably apply to all the macros and
these inlined/macro definitions need a lot of cleaning up at some
point in the future.)

Reviewed by:	Bruce
1994-09-15 16:27:14 +00:00
paul
0a8a4cff4f Added support for kernel profiling to mcount.c 1994-09-15 16:00:41 +00:00
paul
8b7943ca6b Added -DKERNEL and added support for kernel profiling.
Reviewed by:	Bruce
1994-09-15 15:41:48 +00:00
jkh
7f2bca9909 Add NOMAN, fix Id. 1994-09-15 13:12:23 +00:00
jkh
a8e42c3cae Add NOMAN, fix Id line. 1994-09-15 13:11:36 +00:00
jkh
e0988033f8 Set NOMAN properly, correct Id line. 1994-09-15 13:10:41 +00:00
jkh
6337e4dfcd Change install -c to install ${COPY} as per Rod's comments. At least
we've got one Makefile that uses this in the tree now! :-)
1994-09-15 12:42:45 +00:00
jkh
6b305c3da5 Fix typo, add -c to install so that files aren't moved out on first
install! :-)
1994-09-15 12:10:03 +00:00