Commit Graph

3867 Commits

Author SHA1 Message Date
mycroft 921c2474ad There's no need to halt the input and output pipes in the close routine --
audio_close() takes care of this.
2004-07-09 01:02:32 +00:00
kleink 8e491dbabd In addition to alpha, grossly work around the 24-bit limitation of the
Audio 1 DMA engine by allocating through the ISA DMA tag on amd64
and i386.
2004-07-08 21:33:45 +00:00
drochner 315673e79a support the game port on eap1371
This is only usable with some caution because these soundcards only
allow to map IO port 0x20x for this, thus bypassing PCI address
management. Very likely this will only work on primary PCI buses, and there
is some potential for conflicts with ISA devices as well.
(XXX cannot be detached because the "joy" driver doesn't support it yet)
2004-07-08 19:39:00 +00:00
mycroft a127f24934 Program the "MaxFrameSize" register so that it's correct for VLAN
encapsulation, per PR 20195.
2004-07-08 18:27:14 +00:00
kleink 1cc7b8c1ac Fix AUDIO_DEBUG printf formats. 2004-07-08 18:08:58 +00:00
martin 4e55ebafa5 Give a magic value a name - inspired by a post on the FreeBSD isdn mailing
list.
2004-07-06 08:53:16 +00:00
mycroft 3b5c748c56 Regen. 2004-07-05 19:13:17 +00:00
mycroft 96c64a8768 Add the CSB5 LPC bridge. 2004-07-05 19:12:30 +00:00
mycroft 1fc8e6461a Support for the VS-Com PCI-210H 2s/1p card, from PR 18478. 2004-07-04 10:02:03 +00:00
wiz d05ee1275d regen from pcidevs, so that this file has the correct CVS Id. 2004-07-04 08:37:58 +00:00
mycroft e8dd6e3b10 Update Serverworks chip IDs, per:
http://www.plasma-online.de/english/identify/picture/serverworks.html
This seems remarkably more sane.
2004-07-04 05:51:58 +00:00
is 020c431dc5 disestablish the interupt if we fail to (among other things) download
the firmware successfully. This prevents the kernel from crashing later
at interupt enable time, if firmware download fails like with my 3c990B
card.
2004-07-01 08:34:24 +00:00
mycroft d5be908514 This should be done in the HAL, but until then...
Hack the match function to accept an alternate Atheros vendor ID by munging it
to look like the expected one.  This is needed for DWL-G520 cards (which
otherwise "just work").
2004-06-30 05:58:17 +00:00
kleink eb97ad7f0b Remove redundant tga_getconf() and tga_identify() prototypes. 2004-06-29 21:32:42 +00:00
briggs e5c5b706bc When the Silicon Image 3112 retries a PCI memory read command, it
may retry it as a memory read multiple command under some circumstances.
This can totally confuse some PCI controllers, so ensure that it
will never do this by making sure that the Read Threshold (FIFO
Read Request Control) field of the FIFO Valid Byte Count and Control
registers for both channels (BA5 offset 0x40 and 0x44) are set to
be at least as large as the cacheline size register (the unit of
measure for these registers is 32 bytes).
2004-06-23 14:40:13 +00:00
bouyer dac9c603d0 Regen for pcidevs 1.628: Add the Netelligent 10/100 TX variant found on the
Compaq Proliant Professional Workstation 5100.
2004-06-15 19:48:27 +00:00
bouyer 96e377add1 Apply patch from kern/25936 by Michael Blake: Add support for the
Netelligent 10/100 TX variant found on the Compaq Proliant Professional
Workstation 5100.
2004-06-15 19:47:23 +00:00
bouyer 851ca6fa98 Don't try to bus_space_subregion() registers that didn't get mapped.
Problem reported and fix tested by Kurt Schreiner on port-alpha.
2004-06-04 21:15:00 +00:00
thorpej 85c0b77956 twe_ccb_map(): Remove the DEBUG panic case of "unknown" S/G list offset.
In all likelihood, this is a command passed from userspace management
tools where no S/G list is needed because no data is being passed.
2004-06-04 20:11:17 +00:00
heas 4a60d04fc7 Double the time we wait for the attention bit following a soft reset (and make
the timeout message just a bit clearer), as the latest firmware appears to be
a bit slower.
OK from Jason Thorpe.
2004-06-03 18:07:30 +00:00
christos aead610d35 Apply patch from "pandre" at netbsd.ports.i386, stops panic during attachment. 2004-06-02 18:36:06 +00:00
mrg 30005fde6f #include <sys/device.h>
call ether_ifdetach() and if_detach() if attaching fails...
2004-06-01 15:17:49 +00:00
toshii da3514b79e rcsid 2004-05-30 03:51:48 +00:00
toshii 4b54ec9a22 Fix brokenness I introduced while debugging.
- initialize rxlenmask when 8139C+
  - remove meaningless memsets.
2004-05-30 03:50:52 +00:00
thorpej 1c7d20a00d satalink now needs the "sata" attribute. 2004-05-28 23:27:28 +00:00
thorpej 9eb22bdbc9 Use the common sata_speed() routine. 2004-05-28 23:26:58 +00:00
toshii 4ee3a39f89 Add re(4) RealTek 8139C+/8169/8169S/8110S PCI ethernet adapter driver,
from FreeBSD.
I haven't tested this code very well, but it seems to work fairly well
for me.
2004-05-28 15:35:41 +00:00
thorpej ef42d1cdb3 Add a "flush" operation so the array's write cache is flushed on
close and at shutdown.
2004-05-27 23:48:34 +00:00
thorpej a8d1145d1b Rename twe_tweio_command_handler() to twe_ccb_wait_handler() and expose it. 2004-05-27 23:47:23 +00:00
christos 3c138a44de Regen 2004-05-27 20:21:12 +00:00
christos 19bc1974d9 PR/25731: Adam K kirchhoff: Audigy support with the emuxki driver. 2004-05-27 20:20:52 +00:00
abs 30a421e70b regen from pcidevs 1.626: Add ALI 'M5257 PCI Software Modem' 2004-05-27 11:10:45 +00:00
abs 29d7222fab Add ALI 'M5257 PCI Software Modem' 2004-05-27 11:09:45 +00:00
kleink d42e56f0d5 General mixer initialization improvements around the MONO_IN/MONO_OUT/
PreAmp register, including a new MONO_IN mixer stage bypass mixer control;
inspired by (and fixing) PR kern/18342 from Stephen Ma.
2004-05-25 21:38:11 +00:00
kleink 26897a3b9b Fix a shift-by-one-bit glitch in the MONO_OUT mixer register's definition;
from Stephen Ma in PR kern/18342.
2004-05-25 20:59:37 +00:00
thorpej 2ecdd552dc Add the notion of "shadow registers" to the wdc driver. These shadow
registers are registers that overlap with others on many controllers, but
which may actually be distinct on some controllers.  Right now, the two
shadows are:

- wd_status (usually overlaps wd_command)
- wd_features (usually overlaps wd_error)

Add a new helper function, wdc_init_shadow_regs(), used to initialize
the shadow register handles on controllers where they do actually overlap.

Partially from Jordan Rhody @ Wasabi Systems, Inc.
2004-05-25 20:42:40 +00:00
atatat 16122fe06c Remaining sysctl descriptions under hw subtree (ath and bge) 2004-05-25 04:38:36 +00:00
kleink 5c1882fdb9 Fix a glitch in the initial import: The XMAC hash function is actually
based on CRC32-_LE_.

From Christian Weisgerber in private mail.
2004-05-24 20:12:01 +00:00
kleink eb8c340ab9 In sk_init_yukon(), don't open-code clearing the multicast filter but
go via the normal filter setup path instead.  The old behaviour only
worked ok as long as the init function was exclusively called at attach
time, when there was no configuration to be lost.

From Christian Weisgerber in private mail.
2004-05-24 10:06:59 +00:00
tsutsui a714bd16ef Add some byteswap ops around DMA descriptors for big endian machines.
Tested on macppc by matthew green.

XXX This driver completely lacks bus_dmamap_sync(9) ops.
2004-05-23 11:37:25 +00:00
kochi d8c488d1ef Fix typo (func8 -> func7) 2004-05-17 16:57:49 +00:00
thorpej 47e9c860d9 Add flow control support, based on work by HITOSHI Osada. 2004-05-16 02:34:47 +00:00
thorpej f3eaee75cf Add PAUSE-related event counters for sip(4) and gsip(4), slightly modified
from a patch supplied by HITOSHI Osada.
2004-05-15 22:33:13 +00:00
thorpej ffa382bf7c Patch from HITOSHI Osada:
* On the DP83820, don't set PCR_PS_DA if the PAUSE packet address is
  not registered in the multicast filter.
2004-05-15 22:26:49 +00:00
thorpej 9ac446650a Patch from HITOSHI Osada:
* SiS900 chips require the address of the PAUSE packet to be registered
  in the multicast filter.
2004-05-15 22:24:51 +00:00
thorpej b7d5c113dd Add PAUSE-related event counters. Slightly modified from patch supplied by
HITOSHI Osada.
2004-05-15 22:19:27 +00:00
thorpej 34b8c2c481 Patches from HITOSHI Osada:
* Set buffer management high water marks for MTU > 1514.
* Set BGE_MAX_RX_FRAME_LOWAT (from Linux driver).
2004-05-15 21:58:40 +00:00
wiz 901973874a Fix typo in comment; from Robert Nagy via OpenBSD. 2004-05-12 20:43:17 +00:00
wiz a8c55b7623 Add one more unofficial leadtek PCI vendor id; from Robert Nagy
via OpenBSD.
2004-05-12 20:42:10 +00:00
tron 6a835c2b56 Regen for PR kern/25166. 2004-05-12 07:07:53 +00:00