Justin T. Gibbs
31fef9fb1a
Update copyright license terms to match the reset of the aic7xxx dirver.
2000-02-03 16:54:11 +00:00
Justin T. Gibbs
b27f40c064
Add support for the AdvanSys ASC38C0800 Ultra2 chipset. Preliminary
...
support is also included for the ASC38C1600 Ultra160 chipset, but
as firmware is not yet available for this chip, it is disabled.
Approved by: jkh@FreeBSD.org
2000-02-03 16:34:57 +00:00
Bill Paul
6f76cb1e28
Add support for WEP (encryption) for silver and gold WaveLAN/IEEE turbo cards.
...
Also update wicontrol to enable/disable encryption, set WEP keys and set the
TX key index. Silver cards only have 40-bit keys. This is something of a quick
hack, but it works well enough for me to commit this from the LinuxWorld
exhibit floor.
The WEP support only shows up if you have a card that supports it.
Would have been approved by: jkh, if he hadn't wandered off somewhere
Approved in his place by: msmith, who's standing right here
2000-02-02 17:59:13 +00:00
Peter Wemm
483df2dd3b
Spell "pci_delete_resource" correctly.
...
Approved by: jkh (who must be very sick of requests now :-)
2000-02-01 18:02:12 +00:00
Justin T. Gibbs
aac5584a61
Remove a spurious printf left in from debugging.
...
PR: 16642
2000-02-01 00:43:58 +00:00
Nick Hibma
9a69e6509a
bus_release_resource is spellt like bus_release_resource not like
...
bus_delete_resource.
Fixes a problem when the probe succeeded, but the attach failed. The
release of the resources was done inproperly.
Approved by: jkh
2000-01-31 14:05:21 +00:00
Søren Schmidt
4de1cbfab9
cosmetic changes only.
2000-01-29 22:38:36 +00:00
Peter Wemm
4486cd7990
Use config's tools rather than #if's.
2000-01-29 18:54:12 +00:00
Nick Hibma
5a250db943
Get the KASSERT right.
2000-01-29 18:53:42 +00:00
Peter Wemm
5775b1a2b6
Tidy up stray or bogus #if NFOO > 0 and #include "foo.h".
2000-01-29 18:48:30 +00:00
Peter Wemm
96e00123b4
Remove a rather bizzare set of #ifdefs and #defines that all worked out
...
to be a NO-OP.
2000-01-29 18:44:01 +00:00
Peter Wemm
1c6f64061c
Remove #if NDGB > 0 and #if NDGM > 0
2000-01-29 18:42:45 +00:00
Peter Wemm
86edd75342
Remove #include "eisa.h" and #if NEISA > 0
2000-01-29 18:22:33 +00:00
Peter Wemm
d835c5043b
Remove unneeded #include "eisa.h" and #if NEISA > 0
2000-01-29 18:21:21 +00:00
Nick Hibma
c50e6e7a39
Fix debugging output. The TDs are linked through the dnext field, not
...
nexttd.
2000-01-29 18:01:15 +00:00
Nick Hibma
64470e4c96
Remove a warning from LINT
2000-01-29 16:25:55 +00:00
Peter Wemm
690f85de65
Remove a bunch of unused (NO-OP) #if NFOO > 0 type includes and some
...
#include "foo.h" headers.
2000-01-29 16:17:36 +00:00
Peter Wemm
e27c1addaa
Remove #if NFOO > 0 (it's not required in most cases) and also where it
...
isn't used as a result, remove #include "foo.h". Many of these drivers
still use NFOO for softc struct sizing etc however.
2000-01-29 16:00:34 +00:00
Nick Hibma
acd60c3cb0
Unbreak LINT.
...
Pointed out by: Peter Wemm
2000-01-29 15:55:03 +00:00
Peter Wemm
cebf86fa3f
Put a FYI in the compatability shims so that people are aware that they
...
are using an old unconverted driver. Most (if not all) of the drivers
for common hardware are newbus these days. However, we don't want
to encourage people to take the easy way out and write new drivers
using the shims. This is just passive "encouragement".
Reviewed by: phk
2000-01-29 15:37:36 +00:00
Peter Wemm
8f8e587948
Use config's conditional compilation rather than using #ifdefs that make
...
modular compilation harder. I'm doing this because people seem to like
cut/pasting examples of bad practices in existing code.
2000-01-29 15:08:56 +00:00
Nick Hibma
8010b90dc6
First part of the fix for ohci_hash_find_td panic.
...
Some controllers submit bogus pointers to the Done queue.
ohci_hash_find_td fails to find these in its hash and panics. Instead of
panicing we now assume the whole done queue is lost and let the timeout
code to clean up the mess after us.
2000-01-29 14:53:47 +00:00
Peter Wemm
b7598e9bd7
Remove #if NVX > 0 and #if NEISA > 0 (and #include "eisa.h") as it's not
...
needed.
2000-01-29 14:50:32 +00:00
Peter Wemm
bc51803479
Remove #include "vga.h" and #if NVGA > 0 as it's implied by config.
2000-01-29 14:43:47 +00:00
Peter Wemm
25a2c600af
Remove #include "splash.h" and #if NSPLASH > 0" - it's implied by config.
2000-01-29 14:42:57 +00:00
Peter Wemm
2d8e7d39da
Remove #if NIE > 0 test, it's guaranteed to be true by config.
2000-01-29 14:41:52 +00:00
Nick Hibma
75fc24dc62
Add comments and debugging info.
2000-01-29 14:41:48 +00:00
Peter Wemm
5c5ea07fc6
Remove #if NEN > 0 in the name of FreeBSD - it's not required as config
...
only compiles this file if it's true. NEN is still used though. :-(
2000-01-29 14:38:04 +00:00
Peter Wemm
71619ad987
Remove #include "eisa.h" and #if NEISA > 0 as it's only ever compiled
...
if NEISA is > 0 as guaranteed by config.
2000-01-29 14:31:57 +00:00
Peter Wemm
0b5436a74a
Remove #if NCCD > 0 - it's guaranteed to be true by config if ccd.c is
...
being compiled. (NCCD is used elsewhere though :-( )
2000-01-29 14:29:56 +00:00
Peter Wemm
3ec08445be
Remove #include "eisa.h" and #if NEISA > 0 - this is guaranteed by config.
2000-01-29 14:27:26 +00:00
Peter Wemm
0cdb7d6692
remove #include "eisa.h" and #if NEISA > 0 - this is guaranteed by
...
config since ahc_eisa.c is "optional ahc eisa" meaning "only compile
ahc_eisa if ahc and eisa are defined"
2000-01-29 14:22:19 +00:00
Nick Hibma
a59ac0e8be
The toggle carry bit is stored in the headp not the tailp.
2000-01-29 14:18:31 +00:00
Søren Schmidt
eff43d0e8a
cosmetic changes only.
2000-01-29 14:10:59 +00:00
Peter Wemm
2b898d39e5
Remove #include "ppc.h" and #if NPPC > 0 - this is always true as it is
...
'optional ppc' in conf/files*
2000-01-29 14:02:30 +00:00
Nick Hibma
e0d607e198
Mask off the last two bits before comparing. It might just be that some
...
hardware might leave those bits in the wrong state.
2000-01-29 11:59:31 +00:00
Nick Hibma
fa1df741fb
Tripmine for bad hardware.
2000-01-29 11:50:44 +00:00
Bruce Evans
689315d4f7
"Completed" the previous fix. Return ENOMEM on memory allocation failure
...
in sioattach(), not ENXIO. Free resources before returning early in
sioprobe() and sioattach().
2000-01-29 03:02:55 +00:00
Bill Paul
e225ecbbd4
Minor tweak: the D-Link 10/100 USB ethernet adapter is apparently using
...
the same design as the LinkSys adapter and needs the same special handling
to enable its PHY.
2000-01-29 02:16:47 +00:00
Cameron Grant
a05382d9ae
differentiate cmi8330 and als100 pnp cards based on their vendor id. this
...
is a kludge for 4.0
2000-01-29 00:18:29 +00:00
Søren Schmidt
a4fec20898
Get the MEDIA_CHANGED status right here too.
2000-01-28 22:17:29 +00:00
Søren Schmidt
211a760057
Use atapi_test_ready not atapi_wait_ready, I need more sleep :(
2000-01-28 21:30:31 +00:00
Søren Schmidt
78e0324341
Get the MEDIA_CHANGED status right.
2000-01-28 21:03:25 +00:00
Søren Schmidt
0b905b407e
Fix the atapi-fd.c (afd device) so that fx MSDOS formatted ZIP
...
disks can be mounted. Use b_pblkno instead of b_blkno
Found by: phk
Protect (proberly) against setting modes on nonexisting devices.
2000-01-28 20:18:19 +00:00
Gerard Roudier
b5727bb5f0
- Fix an issue that paniced the machine in data overrun
...
condition.
- 1 line change that allows to balance chips between ncr
and sym using pci compat option (not compiled by default
in 4.0 but maintains the driver source 3.4 compatible).
2000-01-28 20:11:32 +00:00
Søren Schmidt
96478887ff
Fix compilation on ISA only setups...
2000-01-28 15:57:13 +00:00
Søren Schmidt
02ce0452e1
Cleanup the ata_dmainit function a bit.
...
Also allow BIOS setup DMA on unknown controllers.
2000-01-28 13:35:43 +00:00
Nick Hibma
031ca4fb23
Correct the list of error messages. It was incomplete.
2000-01-28 13:05:26 +00:00
Nick Hibma
e1b2b4098c
Regen.
2000-01-28 10:31:12 +00:00
Nick Hibma
d8634f7c3d
Correct the entry for the Kodak DC290.
...
Submitted By: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
2000-01-28 10:26:29 +00:00