gibbs
ce08b55da1
Update copyright license terms to match the reset of the aic7xxx dirver.
2000-02-03 16:54:11 +00:00
gibbs
595b411966
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
wpaul
648f1c0043
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
72415ca454
Spell "pci_delete_resource" correctly.
...
Approved by: jkh (who must be very sick of requests now :-)
2000-02-01 18:02:12 +00:00
gibbs
556a0665e8
Remove a spurious printf left in from debugging.
...
PR: 16642
2000-02-01 00:43:58 +00:00
n_hibma
576210bc48
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
sos
4dae551c07
cosmetic changes only.
2000-01-29 22:38:36 +00:00
peter
394b57d7b2
Use config's tools rather than #if's.
2000-01-29 18:54:12 +00:00
n_hibma
c403f310c9
Get the KASSERT right.
2000-01-29 18:53:42 +00:00
peter
7760fba064
Tidy up stray or bogus #if NFOO > 0 and #include "foo.h".
2000-01-29 18:48:30 +00:00
peter
1129f8f225
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
a767328eaf
Remove #if NDGB > 0 and #if NDGM > 0
2000-01-29 18:42:45 +00:00
peter
b7f989d004
Remove #include "eisa.h" and #if NEISA > 0
2000-01-29 18:22:33 +00:00
peter
e841a66d63
Remove unneeded #include "eisa.h" and #if NEISA > 0
2000-01-29 18:21:21 +00:00
n_hibma
7a76a6d4d2
Fix debugging output. The TDs are linked through the dnext field, not
...
nexttd.
2000-01-29 18:01:15 +00:00
n_hibma
5b4848a6e2
Remove a warning from LINT
2000-01-29 16:25:55 +00:00
peter
7b46b1fff9
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
53ed6e8650
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
n_hibma
66f371b6b8
Unbreak LINT.
...
Pointed out by: Peter Wemm
2000-01-29 15:55:03 +00:00
peter
d801231f79
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
d7e5eb3faa
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
n_hibma
46a154cb23
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
8760ab7a11
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
54dfcd8d2c
Remove #include "vga.h" and #if NVGA > 0 as it's implied by config.
2000-01-29 14:43:47 +00:00
peter
62db142ea5
Remove #include "splash.h" and #if NSPLASH > 0" - it's implied by config.
2000-01-29 14:42:57 +00:00
peter
9c240b8a2d
Remove #if NIE > 0 test, it's guaranteed to be true by config.
2000-01-29 14:41:52 +00:00
n_hibma
c63e4d9590
Add comments and debugging info.
2000-01-29 14:41:48 +00:00
peter
ef55d4b61b
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
2fb5b3a053
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
b4c2b19801
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
c29982e9d2
Remove #include "eisa.h" and #if NEISA > 0 - this is guaranteed by config.
2000-01-29 14:27:26 +00:00
peter
34c7d2ad4f
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
n_hibma
0701def723
The toggle carry bit is stored in the headp not the tailp.
2000-01-29 14:18:31 +00:00
sos
027422c351
cosmetic changes only.
2000-01-29 14:10:59 +00:00
peter
1a453ea9ce
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
n_hibma
904db0db42
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
n_hibma
720b7903cb
Tripmine for bad hardware.
2000-01-29 11:50:44 +00:00
bde
4c824a9165
"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
wpaul
e81c093824
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
cg
c7803fdb7d
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
sos
8f80ebe2c0
Get the MEDIA_CHANGED status right here too.
2000-01-28 22:17:29 +00:00
sos
9fa489ba71
Use atapi_test_ready not atapi_wait_ready, I need more sleep :(
2000-01-28 21:30:31 +00:00
sos
fcb7935df1
Get the MEDIA_CHANGED status right.
2000-01-28 21:03:25 +00:00
sos
23174db79e
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
groudier
ba40b8cc86
- 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
sos
f12f1350a5
Fix compilation on ISA only setups...
2000-01-28 15:57:13 +00:00
sos
1f5af77314
Cleanup the ata_dmainit function a bit.
...
Also allow BIOS setup DMA on unknown controllers.
2000-01-28 13:35:43 +00:00
n_hibma
76324b32bd
Correct the list of error messages. It was incomplete.
2000-01-28 13:05:26 +00:00
n_hibma
f9bed91ed9
Regen.
2000-01-28 10:31:12 +00:00
n_hibma
0ea7dddb88
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