Commit Graph

38049 Commits

Author SHA1 Message Date
David E. O'Brien
ce31eb2262 Install g2c.h header incase others want to call libg2c from C.
Submitted by:	Steve
1999-05-23 10:02:46 +00:00
John Birrell
21e58b66a1 Add a missing backslash from the last commit. (Broke installworld) 1999-05-23 02:11:41 +00:00
Jean-Marc Zucconi
7e74cac42e Construct the profile file name from the name of the executable. A program
compiled with -pg and run will generate a file <executable-filename>.gmon,
not gmon.out.

PR:		bin/8426
1999-05-23 00:37:56 +00:00
Jean-Marc Zucconi
fce8f73e4d Initialize exit code so that the program exits with code 0 on success.
PR:		bin/10904
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-05-22 22:56:26 +00:00
Justin T. Gibbs
fdd1fe20a4 Add the amd driver. 1999-05-22 22:10:07 +00:00
Justin T. Gibbs
ebada55cce aic7xxx.c:
Honor the 'bus reset at startup' option now that the XPT properly
	handles transfer negotiation in this scenario.

	Honor the sync rate settings on Ultra2 controllers.  We would
	always negotiate at the fastest speed.  Oops.

aic7xxx.h:
	Whitespace.

aic7xxx.seq:
	Fix a minor nit that would cause the controller to miss the update
	of the negotiation required bitmask causing the negotiation to
	be delayed by a command.
1999-05-22 22:04:11 +00:00
Justin T. Gibbs
516871c613 Add a default async handler funstion to cam_periph.c to remove duplicated
code in all initiator type peripheral drivers.

scsi_target.c:
	Release ATIO structures that wind up in the 'unkown command queue'
	for consumption by our userland counterpart, back to the controller
	when the exception for that command is cleared.
1999-05-22 22:00:24 +00:00
Justin T. Gibbs
87cfaf0e1f Add the XPT_PATH_STATS and XPT_GDEV_STATS function codes. These ccb
types allow the reporting of error counts and other statistics.  Currently
we provide information on the last BDR or bus reset as well as active
transaction inforamtion, but this will be expanded as more information is
added to aid in error recovery.

Use the 'last reset' information to better handle bus settle delays.
Peripheral drivers now control whether a bus settle delay occurs and
for how long.  This allows target mode peripheral drivers to avoid
having their device queue frozen by the XPT for what shoudl only be
initiator type behavior.

Don't perform a bus reset if the target device is incapable of performing
transfer negotiation (e.g. Fiber Channel).

If we don't perform a bus reset but the controller is capable of transfer
negotiations, force negotiations on the first transaction to go to the
device.  This ensures that we aren't tripped up by a left over negotiation
from the prom, BIOS, loader, etc.

Add a default async handler funstion to cam_periph.c to remove duplicated
code in all initiator type peripheral drivers.

Allow mapping of XPT_CONT_TARGET_IO ccbs from userland.  They are
itentical to XPT_SCSI_IO ccbs as far as data mapping is concerned.
1999-05-22 21:58:47 +00:00
Justin T. Gibbs
1723e869c1 First cut at a driver for the amd53c974 PCI SCSI host adapter. This
driver lacks error recovery and still needs more testing, but it's
about time I got it under revision control.

Submitted by:	 Tekram Inc.
Bus Space/DMA and cleanup: gibbs
1999-05-22 21:50:40 +00:00
Dmitrij Tejblum
9d3a442583 Don't call calcru() on a swapped-out process. calcru() access p_stats, which
is in U-area.
1999-05-22 20:10:31 +00:00
Tim Vanderhoek
53ee42d318 Use BINOWN and BINGRP (some people do change these...) 1999-05-22 19:38:04 +00:00
Doug Rabson
accaf17a2a Port pnpinfo to alpha. 1999-05-22 17:35:48 +00:00
Doug Rabson
a604540eab Cope with non page-aligned arguments to ioperm. 1999-05-22 17:35:04 +00:00
David E. O'Brien
4b139d33a7 I seem to be having some CVS problems... I don't know why this wasn't
commited with the Makefile fixes.  CVS/Entries clearly show it being added...
1999-05-22 16:21:47 +00:00
Bill Paul
33b3ee3898 - Fix up some comments in if_wi.c (no code changes)
- Mention that the 6Mbps turbo adapters are supported in HARDWARE.TXT
  and RELNOTES.TXT and the wi.4 man page
- Mention turbo adapters in the wicontrol.8 man page and provide a
  complete table of available transmit speed settings
1999-05-22 16:12:54 +00:00
Doug Rabson
6f50cfb43a Use the resource apis to manipulate resources. 1999-05-22 15:47:34 +00:00
Doug Rabson
f78030e22d Don't use BUS_WRITE_IVAR to manipulate resources. 1999-05-22 15:45:47 +00:00
Doug Rabson
a3be63b3ce * Factor out the common code between the isa bus drivers for i386 and alpha.
* Re-work the resource allocation code to use helper functions in subr_bus.c.
* Add simple isa interface for manipulating the resource ranges which can be
  allocated and remove the code from isa_write_ivar() which was previously
  used for this purpose.
1999-05-22 15:18:28 +00:00
Doug Rabson
7e082b48a2 Add some helper functions to make it easier to write a driver for a bus
which needs to manage resources for its children.
1999-05-22 14:57:15 +00:00
Robert Nordier
32ea10b4fc Fix a reference to the mysterious Mike Smisth. 1999-05-22 13:18:28 +00:00
Robert Nordier
e5da9b6ba6 Include a table of disk error codes and a note about the cylinder >
1023 issue.
1999-05-22 12:55:16 +00:00
Peter Wemm
13b758eb46 Add seatbelt like in previous function.. 1999-05-22 09:52:21 +00:00
Peter Wemm
2b5be3fad4 Recover from removing the last (unshared) interrupt handler.
PR:		11806
Submitted by:	Assar Westerlund <assar@sics.se>
1999-05-22 09:39:31 +00:00
Bruce Evans
bb86f61a79 Fixed style bugs in previous commit. 1999-05-22 08:36:55 +00:00
Doug Rabson
48209778d3 Fix a coredump when debugging corefiles from static programs. 1999-05-22 08:25:02 +00:00
Bruce Evans
6531f8e695 Fixed disordering in previous commit. 1999-05-22 07:54:38 +00:00
Tim Vanderhoek
6e01d46b30 If we're going to do such a non-UNIX(tm)y thing as appending output
to a file instead of truncating, at least word the notice of output
redirection appropriately.
1999-05-22 06:57:22 +00:00
Semen Ustimenko
a1684b9830 Move arpcom structure be the first in softc structure. Needed
for ether_ioctl.

PR:   pending/11754
1999-05-22 06:10:14 +00:00
Julian Elischer
2e897e94b6 Cosmetic changes to make it compile without errors in gcc -Wall 1999-05-22 04:43:04 +00:00
Bruce Evans
1979249db2 Restored rev.1.76 which was clobbered by rev.1.77. 1999-05-22 04:34:59 +00:00
David E. O'Brien
a5b3fd5d93 Remove `ix' driver. Justin Gibbs added support for the EtherExpress16 to
the `ie' driver in rev 1.41 of if_ie.c on 1997/04/14.  Thus retiring the
`ix' driver.

Forgotten by:	gibbs
1999-05-22 02:33:08 +00:00
Jean-Marc Zucconi
cf4b2350b9 Add euro-currency and constant rates of EMU area.
PR:		bin/9263
Submitted by:	Timo J. Rinne <tri@freebsd.org>
1999-05-22 02:01:59 +00:00
Bill Paul
333c864f90 Remove some #ifdef'ed code. The ADMtek doesn't have a 'enable reception of
broadcast frames' bit, so we don't need any code in al_init() to set/clear
it.
1999-05-21 23:58:12 +00:00
Kenneth D. Merry
0d0fb9ffeb Fix a memory leak and a double free that could happen in certain error
cases.  These were unlikely to happen in normal operation.

Noticed by:	"Christopher R. Bowman" <crb@ChrisBowman.com>
1999-05-21 22:02:02 +00:00
John Polstra
b306d4b4ac Fix hostname lookup problems on 64-bit machines. 1999-05-21 20:52:42 +00:00
David E. O'Brien
52313da9a5 Add an a.out ld.so so these distributions are standalone. 1999-05-21 18:40:54 +00:00
David E. O'Brien
8633336bf1 Need a few more dependacies. 1999-05-21 18:37:33 +00:00
David E. O'Brien
c3ae3db8b7 Add usr/libexec/ld.so 1999-05-21 18:35:57 +00:00
David E. O'Brien
af28dc5848 Remove duplicated `ex0' entry. 1999-05-21 18:28:32 +00:00
Jean-Marc Zucconi
e1e705c5b5 Chflags was clearing all flags supplied on the command line after a
clearing flag like dump or noschg, etc.

PR:		bin/10071
Submitted by:	Andreas Klussmann <andreas@infosys.heitec.net>
1999-05-21 17:04:13 +00:00
John Polstra
57e60f2506 Fix a sign-extension bug in xntpdc's "kerninfo" output for on 64-bit
machines.  Negative pll offset values were printed as large positive
numbers.
1999-05-21 16:10:44 +00:00
Andrey A. Chernov
925fa5c3f5 Realy fix overflow on SO_*TIMEO
Submitted by: bde
1999-05-21 15:54:40 +00:00
Bill Paul
13c655ab1a Fix a couple of small grammatical errors. 1999-05-21 14:59:48 +00:00
Robert Nordier
34ba737933 Improve handling of "do ... while" following "else". This change
eliminates some incorrect "Unmatched 'else'" errors.
1999-05-21 14:46:52 +00:00
Jordan K. Hubbard
99ee419296 Don't do anything on alpha machines. 1999-05-21 11:00:56 +00:00
Doug Rabson
0053cc2cfe Silently return NULL from devclass_get_device if dc == NULL. The caller
should be handling NULL returns already.

Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
1999-05-21 08:23:58 +00:00
Ollivier Robert
d4df77b1a5 ftp3.fr.freebsd.org (UVSQ, Versailles, France) has been available for a long
time.

Submitted by:	Rémy Card <Remy.Card@csi.uvsq.fr>
1999-05-21 07:10:35 +00:00
John Polstra
d36a530801 Fix typo (#unset where #undef was meant). 1999-05-21 04:56:32 +00:00
Bill Paul
405b45954e Ack! Cut & paste-o: xl -> al 1999-05-21 04:42:36 +00:00
Bill Paul
ab431312b4 This commit adds driver support for PCI fast ethernet cards based on the
ADMtek AL981 "Comet" chipset. The AL981 is yet another DEC tulip clone,
except with simpler receive filter options. The AL981 has a built-in
transceiver, power management support, wake on LAN and flow control.
This chip performs extremely well; it's on par with the ASIX chipset
in terms of speed, which is pretty good (it can do 11.5MB/sec with TCP
easily).

I would have committed this driver sooner, except I ran into one problem
with the AL981 that required a workaround. When the chip is transmitting
at full speed, it will sometimes wedge if you queue a series of packets
that wrap from the end of the transmit descriptor list back to the
beginning. I can't explain why this happens, and none of the other tulip
clones behave this way. The workaround this is to just watch for the end
of the transmit ring and make sure that al_start() breaks out of its
packet queuing loop and waiting until the current batch of transmissions
completes before wrapping back to the start of the ring. Fortunately, this
does not significantly impact transmit performance.

This is one of those things that takes weeks of analysis just to come
up with two or three lines of code changes.
1999-05-21 04:37:48 +00:00