Commit graph

44802 commits

Author SHA1 Message Date
Bill Paul 1e152b85f6 Grrr. Really add the module makefile for the Aironet driver. 2000-01-14 23:46:05 +00:00
Warner Losh 00e888b639 Add pccard aic attachment. 2000-01-14 23:44:32 +00:00
Warner Losh 2a457ef118 Add support to aic for pccard attachments. Reports from testers have
been so positive that I'm going to go ahead and commit this now rather
than do another round of patches.

My Adaptec 1460D works great with these changes.
2000-01-14 23:42:36 +00:00
Bill Fumerola 7237fd9478 Add '-t X' which times out after pinging for X seconds.
Submitted by:	adrian
2000-01-14 23:40:38 +00:00
Justin T. Gibbs 434bbf6e63 Clean up the xpt_sim creation to mirror how HBA drivers perform this task.
Clean up node creation in the EDT so that initialization follows member
declaration.

Sort registered paths by pathid so that we probe busses in order of
ascending pathid.  This makes hardwiring of busses without wiring
individual targets do what the user expects. (submitted by tegge@FreeBSD.org)

Fix an EDT node leak.  Target nodes would never go away.

Implement xpt_bus_deregister().
(prodded by some patches from T. Ichinoseki, but implemented differently.)
2000-01-14 23:08:46 +00:00
Jonathan M. Bresler 6fc639dcd1 Document the KASSERT() macro. 2000-01-14 21:41:09 +00:00
Bill Paul 261b9b3066 Add driver support for the Aironet 4500/4800 series wireless 802.11
NICs. (Finally!) The PCMCIA, ISA and PCI varieties are all supported,
though only the ISA and PCI ones will work on the alpha for now.
PCCARD, ISA and PCI attachments are all provided. Also provided an
ancontrol(8) utility for configuring the NIC, man pages, and updated
pccard.conf.sample. ISA cards are supported in both ISA PnP and hard-wired
mode, although you must configure the kernel explicitly to support the
hardwired mode since you have to know the I/O address and port ahead
of time.

Special thanks to Doug Ambrisko for doing the initial newbus hackery
and getting it to work in infrastructure mode.
2000-01-14 20:41:03 +00:00
Bruce Evans f9ad65b0f2 Forward declare some structs so that this header is more self-suifficent. 2000-01-14 19:54:42 +00:00
Guido van Rooij b33271069e Apply patches in rev 1.2 and 1.9 that I forgot
Pointe out by:	bde
2000-01-14 19:48:42 +00:00
Bruce Evans d3efeb2865 Use MALLOC_DECLARE when it is #defined, not when a (wrong) test of
__FreeBSD_version succeeds.
2000-01-14 19:47:07 +00:00
Tatsumi Hosokawa 16425993ca Set pccard_ifconfig in /etc/rc.conf automatically. 2000-01-14 19:05:55 +00:00
Bruce Evans faadebf26b Removed redundant declarations again. Fixed in rev.1.5, broken in rev.1.8. 2000-01-14 18:57:33 +00:00
Bruce Evans 1e2904b73e Fixed bitrot in K&R support (3 missing __P(())'s defeated the point of 7
non-missing ones in <com_err.h> which includes this file).
2000-01-14 18:51:30 +00:00
Matthew N. Dodd 1ef4c904b6 Oops! We need an entry for if_ie still. Change a few nits
while I'm here.
2000-01-14 18:50:40 +00:00
Bruce Evans c807777a43 Fixed bitrot in K&R support (1 missing __P(()) defeated the point of 7
non-missing ones).

Removed private declaration of __P(()) while I'm here.  Include
<sys/cdefs.h> to get the system definition.  The privation declaration
would break the system definition if it were different.
2000-01-14 18:28:23 +00:00
Bruce Evans f21a2e3673 Adjust paths after repository copy. 2000-01-14 17:39:20 +00:00
Tatsumi Hosokawa 606585d088 Enable pccardd when the system is installed with PC-card support. 2000-01-14 17:18:42 +00:00
Bill Paul e4f25e405c Fix multicast filter programming. 2000-01-14 17:03:00 +00:00
Peter Wemm e330fda4f8 Move sbin/i386/{mount_msdos,comcontrol} back to sbin, they are not
i386 specific.

Submitted by:	bde
2000-01-14 16:37:03 +00:00
Bruce Evans ac0fbdc25d Removed yet another vestige of the ft driver. 2000-01-14 16:01:28 +00:00
Peter Wemm 99904c75f7 Make this compile - missing ")"; 2000-01-14 15:54:45 +00:00
Bruce Evans c14cc40662 Fixed corrupted tabs in previous commit. 2000-01-14 15:47:00 +00:00
Bruce Evans a5341e911c Fixed disordering, misformatting, and duplicate declaration of
iruserok_af() in previous commit.
2000-01-14 15:43:27 +00:00
Dag-Erling Smørgrav 3a62556310 Do this the Right Way (tm), i.e. use shutdown() instead of fooling around
with the size of the receive buffer.

Pointed out by:	ru
2000-01-14 15:37:18 +00:00
Dag-Erling Smørgrav 3a695cf8f7 Reflect the change in secure mode semantics, and document fascist mode
properly.
2000-01-14 15:10:36 +00:00
Dag-Erling Smørgrav e0d22b94e1 Slight change of secure mode semantics: instead of reading (and counting)
vogons, set the size of the receive buffer to 1 and rely on the kernel to
simply drop incoming packets. The logging code was buggy anyway.

Use socklen_t instead of int for the length argument to recvfrom.

Add a 'continue' at the end of a loop for ANSI conformance.
2000-01-14 15:09:06 +00:00
Luoqi Chen 768d9eee10 Remove pre-CAM aic driver. Support for apm, pccard and pc98 has yet to
be incorporated into the new CAM driver.
2000-01-14 14:18:00 +00:00
KATO Takenori 64a0195e51 Synced with sys/i386/isa/isa_compat.h rev 1.24. 2000-01-14 13:10:22 +00:00
KATO Takenori e852ba82d4 Synced with sys/i386/i386/userconfig.c rev 1.168. 2000-01-14 13:07:16 +00:00
KATO Takenori 85a13e4332 Synced with sys/i386/conf/GENERIC rev 1.228. 2000-01-14 13:05:33 +00:00
KATO Takenori 81e8342ad3 Synced with options.i386 rev 1.132. 2000-01-14 12:56:42 +00:00
Sheldon Hearn 21a6eb09b8 Add a missing .El macro. 2000-01-14 10:47:54 +00:00
Sheldon Hearn ade4d795c2 Protect the i386 machine-dependant type definitions of __int64_t
and __uint64_t from lint(1) with /* LONGLONG */ comments.
2000-01-14 10:41:39 +00:00
Sheldon Hearn 76f1a3e75f Populate /usr/libdata/lint again. David Malone <dwmalone@maths.tcd.ie>
is responsible for getting me to look at the NetBSD makefiles. :-)

Obtained from:	NetBSD
2000-01-14 10:02:27 +00:00
David E. O'Brien b243983f32 This patch solves the a cross-build problem where proj.c is both used by a
build-tools target and by the actual target.  In a cross-building situation
proj.o is both a native object and a cross-object (i.e., for the target
arch) and thus doesn't work.  Creating seperate opjects from the same
source file solves this...

This patch may also fix the following issue:

> it looks like -DNOCLEAN doesn't work too well.
> cd /usr/src/gnu/usr.bin/cc/f771; make build-tools
> make: don't know how to make /usr/obj/usr/src/i386/usr/include/stdarg.h. Stop

	This seems caused by wrong dependency information.  Dependency
	information shouldn't be created for build-tools sources.

Submitted by:	marcel
2000-01-14 09:28:25 +00:00
Sheldon Hearn 570080640e Fix lint for the new cpp. Lint is still broken in other ways, but
this at least allows the use of lint -i on single files again.

Fiddled rcsid to satisfy commitprep.pl;  the original NetBSD tag
is still in the comments.
2000-01-14 09:25:31 +00:00
Peter Wemm a7c517ceaf Add back the 'at ppbus?' for the lpt etc drivers. Now it's used. 2000-01-14 08:16:28 +00:00
Nicolas Souchu bdcee5cff6 ppi needs to use a bus method to get this rather than peering inside the
1284 stuff.

Submitted by: Peter Wemm <peter@netplex.com.au>
2000-01-14 08:03:15 +00:00
Kris Kennaway 45b8027e25 Connect OpenSSL to the build. 2000-01-14 08:01:51 +00:00
Rodney W. Grimes d05257b0f2 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
Rodney W. Grimes fccf86c1a4 Introduce the new mk internal target _includeinstall and add the
controlling knob defaults INCOWN, INCGRP, INCMODE, and INCDIR.

Reviewed by:	marcel, and make world
2000-01-14 07:41:11 +00:00
Peter Wemm c5191a983c Pre 4.0 tidy up.
Collect together the components of several drivers and export eisa from
the i386-only area (It's not, it's on some alphas too).  The code hasn't
been updated to work on the Alpha yet, but that can come later.

Repository copies were done a while ago.
Moving these now keeps them in consistant place across the 4.x series
as the newbusification progresses.

Submitted by:   mdodd
2000-01-14 07:14:17 +00:00
Bill Paul cfc5d9f44e Do a few minor cleanups. 2000-01-14 07:08:33 +00:00
Kris Kennaway 2b7c24e3c1 (Forced commit) RSARef support is still forthcoming once I finish hacking
the code.
2000-01-14 05:51:14 +00:00
Kris Kennaway 41e8e5da52 Build infrastructure for OpenSSL 2000-01-14 05:49:29 +00:00
Kris Kennaway ce600b6ae6 Fix breakage when NO_RSA specified.
Reviewed by:	Ben Laurie <ben@openssl.org>
2000-01-14 05:24:08 +00:00
Peter Wemm a9d565fcd2 Don't do device_set_desc() until after checking for PnP probes. Otherwise
things like sound cards can get called "Parallel port".  A note to the
unwary; the isa-pnp devices in the system are probed like PCI - each
device ID is passed to *all* isa probe routines to find the best match.
If the driver is not prepared to deal with this, it must abort in this
scenario or it will try and claim all PnP devices.
2000-01-14 05:03:23 +00:00
Matthew Dillon 173cce7c8e Non-operational change, fix compiler warning.
Reviewed by:  mckusick
2000-01-14 04:39:28 +00:00
Justin T. Gibbs 9bfb3cb2c7 The error status for a scsi status error is "CAM_SCSI_STATUS_ERROR", not 0. 2000-01-14 03:39:30 +00:00
Justin T. Gibbs 9c0b8410b8 adv_pci.c:
Update list of supported products.
	Adjust probe message to include the ASC3030.

advansys.c:
	Fix a long standing bug in the error recovery strategy.  In order
	to keep recovery simple, we freeze the SIMQ, stopping the XPT from
	submitting new requests.  Unfortunately, we also will freeze the
	SIMQ if bus_dmamap_load blocks or we run out of controller resources.
	On cards with limited resources it was possible to freeze the
	SIM a second time and never unfreeze it.  Now we more carefully
	track our exception state so we never freeze the SIMQ more than
	once.

	Don't rely on pointers fitting in a 32bit field stored in the
	per-transaction data structures on the card.  Use an index to
	an array of transaction mapping structures instead.  This should
	allow this driver to work on the Alpha.

	Deal with the ASC3030 which is almost idistinguishable from the
	ASC3050.  Unfortunately the ASC3030 does not work at Ultra speeds,
	so if we can't find an eeprom, we must assume that ultra is disabled.
	The SIIG cards using the 3030 do not have eeproms.  As a side effect,
	we now honor the ultra disable bit in the eeprom if it is present.

	Don't bother attempting to write corrected eeprom data back to the
	eeprom.  We can function just fine if the data is corrupted and
	I'd rather not risk messing up the user's eeprom.

	Modify the interrupt handler to catch latched external bus rests.

	Dynamically determine the maximum number of S/G elements we can
	map at a single time.  The nature of the firmware interface for
	these cards makes this value dependent on the number of "queues"
	the card can support.

advlib.c:
advlib.h:
advmcode.c:
advmcode.h:
	Synchronize with the latest firmware image released in the
	Linux Advansys driver.
2000-01-14 03:33:38 +00:00