Commit Graph

14251 Commits

Author SHA1 Message Date
gibbs
69278b0c5d Fix a brain-o. The scratch ram on aic78X0 controllers is initialized to 0x00
not 0xff after POST, so test for that when trying to determine if a BIOS
intialized the card for us.
1996-05-12 16:25:32 +00:00
wosch
af3757a685 faster
average 2-3 x
	for option -h or -q 10 x

handle option -q and -L

better exit status, similar to grep (0: matches found 1: no
matches found 2: error)
1996-05-12 16:20:26 +00:00
wosch
e4ed666230 Add comments for
some useful aliases
	8-bit locale
	a nicer prompt
1996-05-12 14:32:23 +00:00
ache
bbacd01bad Describe calendar format & arguments better 1996-05-12 13:26:48 +00:00
jkh
5ee7f4dd3b Now that X Inside, Inc. is shipping their Motif, point at them instead. 1996-05-12 13:07:50 +00:00
joerg
09a749195d Fix the "well-known retries bug" (a logic-o). 1996-05-12 12:36:59 +00:00
jkh
d9d34595e1 Document LFS as broken. 1996-05-12 11:12:17 +00:00
phk
e27ee568ac Ups, I removed NMB_INIT too.
Complained about by:	asami
1996-05-12 07:48:47 +00:00
gibbs
26ebac2eae Free our device information in one error case in the driver probe. 1996-05-12 01:50:33 +00:00
gibbs
e18b472e08 Add missing '+ io_port' to two outbs.
Add missing splx() in one error case during probes.
Remove unnecessary return and break.

Submitted by: Noriyuki Soda <soda@sra.co.jp>
1996-05-12 01:46:11 +00:00
joerg
439981bb46 Give up waiting for a successful keyboard reset after some
unreasonable time.  I've got a PCI mainboard that simply doesn't grok
it, so continuing with a warning (and a keyboard that's working
nevertheless :) seems to be better than spin-looping forever.
1996-05-11 23:16:23 +00:00
phk
324cb686d3 Here is a diff of /usr/src/usr.sbin/ppp against current. The diffs
add some logging functionality which I find very useful.
'set debug link' will record just link up/down and address assignments.
'set debug connect' will record the entire chat dialog
'set debug carrier' will record just chat lines including 'CARRIER'
(so that I can be sure I'm getting a 28.8 line).

There was a global change required to permit LogPrintf to take a bit
mask instead of a bit position value (to permit logging some events
on either of two flags, so that no change in 'set debug lcp' would
result from the code supporting 'link'.  Thus the diffs are rather
long for such a small change.  The man page is also touched.

Oh, and there was a slight syntax problem in route.c

Reviewed by:	phk
Submitted by:	Tony Kimball <alk@Think.COM>
1996-05-11 20:48:42 +00:00
ache
3683fd396b Includes cleanup
Submitted by: bde
1996-05-11 20:44:21 +00:00
phk
a27724a359 Nail down NCL_INIT = 1, and put a comment there telling what it is. 1996-05-11 20:43:23 +00:00
phk
453e44c083 Some cosmetics and some better error-checking.
Reviewed by:	phk
Submitted by:	"Daniel O'Callaghan" <danny@panda.hilink.com.au>
Submitted by:	Archie Cobbs <archie@whistle.com>
1996-05-11 20:31:55 +00:00
wosch
d9e8138ee8 Add a comment how to enable the emacs command line editor 1996-05-11 19:15:17 +00:00
joerg
dc312961c4 Convert the option parser to use getopt(3). This makes it more
orthogonal with the rest of the system (you can now use either -PPS or
-P PS), and makes the parser more intelligible.  The only drawback is
that the old semantics for the -i flag in case a non-numeric argument
is following are no longer fully supported (only if -i is the very
last arg at all), since getopt(3) doesn't support the discticnction
between numeric and non-numeric arguments.

Make lpr also understand dashes as input pseudo filenames.  This
finally makes lp(1) fully comply with Posix.2.
1996-05-11 19:00:55 +00:00
joerg
68cc4ca2e1 Clean out the BUGS section/comments now that our lpr has a better
option parsing.
1996-05-11 18:56:11 +00:00
jdp
0444ae2f09 Fix a bug caused by the collision of a local assembler label with another
use of the same label in a recently-introduced PIC_PROLOGUE.  This
should solve the recent core dumps from pdksh.
1996-05-11 13:28:11 +00:00
jkh
b36c9f21b7 Make newsgroups hot. 1996-05-11 09:24:45 +00:00
bde
c926fa02cd Hide options for emulators and static file systems in opt_dontuse.h.
These options only apply at config time.  Using them at compile time
would break the corresponding lkms.
1996-05-11 04:39:53 +00:00
bde
89ed4b1107 Fixed BOOT_HD_BIAS. 1996-05-11 04:27:24 +00:00
ache
f9a86966d5 Describe russian calendar 1996-05-10 22:26:02 +00:00
ache
1d2351aee8 Add russian calendar directory 1996-05-10 21:42:58 +00:00
ache
0d422cfa72 Add russian data handling 1996-05-10 21:39:38 +00:00
ache
34e186d98c Russian calendar 1996-05-10 21:36:56 +00:00
ache
9fe3b1633a Localize even more.
FIx Orthodox Easter calculation
Better debug output
1996-05-10 19:31:02 +00:00
wollman
a28a8481af Allocate mbufs from a separate submap so that NMBCLUSTERS works as
expected.
1996-05-10 19:28:55 +00:00
ache
32706d589a Fix typing error 1996-05-10 17:36:33 +00:00
ache
df58ec580d Allow to configure national Easter names.
Speedup my national months/days handling code.
1996-05-10 17:32:06 +00:00
peter
02fead7e05 Fix a bogon in the pic + threadsafe version of cerror, it was missing
a PIC_EPILOGUE (leaving an extra long on the stack).

Submitted by: John Polstra <jdp@polstra.com>
1996-05-10 16:43:47 +00:00
ache
e187821820 Localize it
Handle Orthodox Eastern
-Wall cleanup
1996-05-10 16:30:22 +00:00
gibbs
ee79fb34b7 One more linux -> __linux__ 1996-05-10 16:28:00 +00:00
gibbs
c0934bc4ab The aic78X0 cards have 0xff in all bytes of scratch ram after POST. If
a BIOS was not installed, this will still be true by the time we probe
the chip.  We use this heuristic to determine if we should use the left
over scratch ram target settings for controllers that don't have an
SEEPROM.  We also "snapshot" the host adapter SCSI id and whether ultra
is enabled or not and use these values if a BIOS was installed.  The card
will act as if a BIOS was installed even if there wasn't one if you warm
reboot, but since the scratch ram area is still valid in this case, its
hardly worth the effort of writing a shutdown routing that clears out
the scratch ram.  This should make users of motherboard controllers
happy.
1996-05-10 16:26:41 +00:00
gibbs
40c5caf145 Honor the CHANNEL_B_PRIMARY bit of the BIOSCTRL register and probe
channel B first as approriate.

Only reset the SCSI bus if the RESET_SCSI bit of SCSICONF is set.  This
makes the aic7xxx driver honor all of the configuration settings availible
in SCSI-Select or the ECU.

Fix a benign bug in the reset code that caused us to always wait a full
second after the chip reset.  This should shave some time off the probe.
Bug found by pedrosal@nce.ufrj.br (Pedro Salenbauch)

It seems that only the top three sync rates are doubled when in ultra mode,
so update the syncrates table as appropriate.
Found by "Dan Willis" <dan@plutotech.com> and his SCSI bus analyzer
1996-05-10 16:21:05 +00:00
gibbs
dd184c2008 Honor the CHANNEL_B_PRIMARY bit of the BIOSCTRL register and probe
channel B first as approriate.

Even if the BIOS is diabled, the ECU will still set the primary channel
bit, SCSI ID, RESET_SCSI bit, and BOFF_TIME, so use them.
1996-05-10 16:14:51 +00:00
gibbs
eb170f09f5 aic7xxx.seq:
Change #ifdef linux to #ifdef __linux__

aic7xxx_reg.h:
Remove unneeded BOFF_60BCLOCKS
define CHIPRSTACK to be the same as CHIPRST
define RESET_SCSI and CHANNEL_B_PRIMARY bits
All of these aer used during the setup of adapters.
1996-05-10 16:11:03 +00:00
peter
0051725c48 Oops, I missed these when I imported the Stallion drivers.
Add samples and some info to LINT (and a pointer to the real docs)
1996-05-10 13:26:03 +00:00
jdp
a6bf8584a0 Clarify the description of the FNM_PERIOD flag. 1996-05-10 00:28:34 +00:00
jkh
3d01623d39 Add laser5 to list of donors. Also put another pointer to the donor's
gallery in the submitters list.
1996-05-09 23:32:44 +00:00
mpp
a9d267fc51 Add definitions for the various freebsd-* mailing lists so that
we are consistent in how they are referenced in the handbook, and
so that they are now all clickable URLs.  E.g. no more mis-matched
freebsd-hackers@freebsd.org and hackers@freebsd.org.  They are used
just like the individual mail addresses defined in authors.sgml.
E.g. &a.doc will expand to:

FreeBSD documentation project mailing list <freebsd-doc@FreeBSD.ORG>

Be consistent in using the FreeBSD.ORG address.  All references
to freebsd.org were changed to FreeBSD.ORG.

Use pre-defined addresses for some individuals where available.
1996-05-09 23:04:53 +00:00
joerg
23a9b3568d Cleanup.
The removed files are no longer needed, they are actually labelled as
``Use only if you are not 4.4BSD''.  (Yeah, the ol' crufty printcap.c
is really gone!)

Properly declare all external objects in files ending in .h, as
opposed to embed them into files ending in .c.
1996-05-09 22:44:28 +00:00
phk
c78351df10 Update to current reality.
mkctm.c can replace the guts of mkCTM if anybody feels like it...
1996-05-09 20:54:06 +00:00
wollman
9ea36adbec Make it possible to return more than one piece of control information
(PR #1178).
Define a new SO_TIMESTAMP socket option for datagram sockets to return
packet-arrival timestamps  as control information (PR #1179).

Submitted by:	Louis Mamakos <loiue@TransSys.com>
1996-05-09 20:15:26 +00:00
gpalmer
86058739b9 Correct a comment. There is no fn `kprintf' 1996-05-09 18:58:06 +00:00
nate
71859c694b From: Terry Lambert <terry@lambert.org>
Subject: Fix for annoying fsck bug
Date: Wed, 24 Jan 1996 13:33:29 -0700 (MST)

The following small diff fixes the annoying fsck bug that causes it to
need to be run twice to end up with correct reference counts for inodes
for directories that had subdirectories relocated into the lost+found
directory.

I found the need to rerun *extremely* annoying.  This fix causes the
count to be correctly adjusted later in pass 4 by correctly stating
the parent reference count.

Note that the parent reference count is incremented when the directory
entry is made (for ".."), but is not really there in the case of a
directory that does not make an entry in its parent dir.

This can be tested by waiting for the inode sync after cd'ing from a
shell into a test fs.  Then you "mkdir xxx yyy zzz", wait a second,
and hit the machine reset button.

Reviewed by:	nate (Tested lots of crashes :)
Submitted by:	Terry Lambert <terry@lambert.org>
1996-05-09 16:38:27 +00:00
phk
a6c3d6a661 Make some rules reentrant, and mark the onces that cannot be. 1996-05-09 13:01:44 +00:00
phk
229b3aa014 Make rules reentrant. 1996-05-09 11:30:51 +00:00
jkh
0f600e3b36 Some cosmetic changes:
Make "selection bar" inverse video white-on-blue on color screens to avoid
it getting muddled up with popup dialogs.

Do disk selection in a more friendly fashion (for one thing, allow a
drive to be de-selected again if you change your mind).

Add a few strategic screen-saves to prevent corruption of screen contents
(thanks, Michael Elbel!).
1996-05-09 09:42:17 +00:00
phk
37b4c046b8 Fix brino on my part. _etext doesn't include the padding to a page
boundary, which means that it doesn't mark the start of the data
section (which is then inaccessible to the programmer ??).
Hopefully fixes recent locore reboot problems.
1996-05-09 07:16:00 +00:00