Commit Graph

3890 Commits

Author SHA1 Message Date
dyoung
571aedf36b Print and store Cardbus/PCI revision number.
Begin conditioning device configuration on revision number.  Four
revisions are known:

        1.1/1.5 -> ADM8211A,
        2.0 -> ADM8211B,
        3.0 -> ADM8211C.

The B and C parts, which are not supported yet, have AP capability.
2004-07-23 07:07:55 +00:00
drochner
87db87bf21 if the register space os the ISDN card can't be mapped, abort device
attachment instead of dereferencing NULL and so
(this needs a serious cleanup -- the framework was thought to be generally
usable for ~all PCI ISDN cards; this didn't work out, so we are left
with a lot of nonsense to support just 1 particular card type...)
2004-07-22 19:14:39 +00:00
drochner
c8a35368a7 Replace the hooribly overloaded use of pci_enumerate_bus() - to find out
the chipset revision - by pci_find_device().
While the latter isn't better technically (works around the otherwise
hierarchical device tree), using it doesn't require PCI configuration
functions to support stuff which philosophically doesn't belong there.
So we get the hands free to restructure things for better loadable
driver support.
(Actually, since this is about chipset internal IDE interfaces where
the PCI device/function numbers are well known, this all is unnecessary.)
2004-07-22 19:09:34 +00:00
mycroft
1925108989 If the bus number has not been initialized, do not attach a cardslot, and
output a diagnostic:
pccbbN: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
2004-07-22 16:39:51 +00:00
mycroft
910fe04a63 Add the SiS 741, per PR 26394. 2004-07-21 16:40:50 +00:00
mycroft
ce1d5354af Regen. 2004-07-21 16:39:51 +00:00
mycroft
6f1f410fae Add SIS 741. 2004-07-21 16:39:38 +00:00
scw
64daaf41f0 - Don't hardcode buffer size and block size in esa_round_buffersize() and
esa_round_blocksize().
 - Fix esa_trigger_output() and esa_trigger_input() to initialise the
   channel's buffer/block size using the supplied parameters.
 - While here, simplify esa_intr().

This gets kphone working on my esa(4)-equipped laptop.
2004-07-21 07:36:18 +00:00
msaitoh
ad99aeca1d Add Adaptec AAR-1210SA serial ATA RAID.
RAID is not supported by this driver.
2004-07-19 17:04:36 +00:00
mycroft
db93484e06 Remove special-casing of Intersil product name. 2004-07-17 20:05:39 +00:00
mycroft
ce97c8c1d8 Regen. 2004-07-17 20:05:02 +00:00
mycroft
a673957e97 Fix Intersil product names. 2004-07-17 20:04:32 +00:00
tron
0237ca34a7 Reduce transmit queue len to 16 for the Intel i82547 to avoid FIFO
overruns. This fixes the horrible send performance reported in
PR kern/23782. Reviewed by Frank van der Linden and Jason R. Thorpe.
2004-07-15 15:21:57 +00:00
junyoung
69051bd3c3 Add support for 3Com 3c920B-EMB-WNM Integrated Fast Ethernet,
as found on Asus P4R800-VM motherboards.

From BL on Korea BSD User Forum (sorry but I don't know his real name).
2004-07-15 13:18:08 +00:00
junyoung
88642578e4 Regen for 3c920B-EMB-WNM Integrated Fast Ethernet. 2004-07-15 13:11:36 +00:00
junyoung
4240a2f1f9 Add 3Com 3c920B-EMB-WNM Integrated Fast Ethernet. 2004-07-15 13:09:21 +00:00
tron
742e1a4221 The Intel i82547EI gigabit ethernet controller isn't really a PCI
device. So instead trying to find and print out the PCI bus properties
mark it as a CSA device.
2004-07-13 07:29:37 +00:00
tron
7df6314408 Make this build if WM_DEBUG is defined. 2004-07-12 14:04:36 +00:00
nathanw
86906dceb8 Remove SKIP_FUNCn quirks for SC1100 companion chip; the fix to SMM in
i386/identcpu.c renders it counterproductive.

(this was the only use and the reason for the invention of the
SKIP_FUNCn quirk; it should probably be removed entirely).
2004-07-10 21:30:58 +00:00
bouyer
8e03c54653 Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).
2004-07-09 18:38:37 +00:00
mycroft
673c114d25 Keep track of what we set the interrupt mask to, rather than reading it from
the chip.
2004-07-09 05:08:22 +00:00
mycroft
b09c8ea34a Attempt to make these safer against stray interrupts. 2004-07-09 02:49:37 +00:00
mycroft
2728fe0f3f Clean up. Attempt to make these safer against stray interrupts. 2004-07-09 02:42:45 +00:00
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