Commit Graph

784 Commits

Author SHA1 Message Date
thorpej 3993ee01e4 Don't enable I/O or memory access here! These bits in the PCI CSR are
set up by the firmware, and indicate which mapping types the system
supports.
1999-03-24 01:07:59 +00:00
thorpej ac0f626cca Make sure bus mastering is enabled. 1999-03-24 01:05:15 +00:00
thorpej 9f85a4a798 Make sure bus mastering is enabled. 1999-03-23 23:18:50 +00:00
mycroft cfe7413adb Make 48KHz output work. 1999-03-22 07:58:55 +00:00
mycroft f60907c286 Regen. 1999-03-19 06:40:11 +00:00
mycroft 4e92fb2fd1 Add AudioPCI 97 (a.k.a. Creative Ensoniq AudioPCI). 1999-03-19 06:39:32 +00:00
cgd ff42ff62e8 pull pci_machdep.h in from machine/ 1999-03-19 03:37:52 +00:00
thorpej 1954300d6c Regen. 1999-03-17 19:21:49 +00:00
thorpej 0d433f490b Add Silicon Integrated Systems SiS900 10/100 Ethernet. 1999-03-17 19:20:51 +00:00
mjacob d596b20f1e prototype 1080/1240 support 1999-03-17 06:16:42 +00:00
mjacob e380eb62d5 Tron whacked my you-know-what because I didn't follow procedure.
So I insered his description of the 'procedure' in the most likely
place a developer will find it.
1999-03-16 22:41:56 +00:00
tron ddbc34d638 Regen from "pcidevs". 1999-03-16 22:32:58 +00:00
mjacob f50c9fa8ea add Qlogic 1080 && 1240 product IDs 1999-03-16 21:24:46 +00:00
sakamoto 23903bfc0e Regen. 1999-03-11 05:17:54 +00:00
sakamoto 272f5b609d Add several VIA Technologies chipsets. 1999-03-11 05:17:24 +00:00
drochner 5704ad4969 regen 1999-03-09 11:48:59 +00:00
drochner 2987883f07 add 2 ISDN cards, from Martin Husemann per PR kern/7110 1999-03-09 11:48:03 +00:00
explorer 3ebb419571 Update to slightly altered rnd_attach_source() api 1999-02-28 17:08:05 +00:00
dante ceef7fa3d7 Fix AdvanSys Narrow driver to work on Alpha 1999-02-25 20:20:30 +00:00
bouyer 71036465a5 In cy693_setup_channel(), setup timings for IOR too (they were left to 0,
which is a way too higth timing for some devices). Thanks to Ken Wellsch
for trying the multiple debug kernels until the problem was located.
1999-02-22 10:12:00 +00:00
ross ea05c3b739 Fix typo. 1999-02-20 07:07:07 +00:00
thorpej 598b05da47 Regen. 1999-02-19 19:12:09 +00:00
thorpej d9c29083d4 Improve descriptions for DEC Ethernet chips. 1999-02-19 19:11:33 +00:00
thorpej 3f8a09bba4 Improve product descriptions, and add 3c905-FX and 3c980 Server Adapter
products.
1999-02-19 06:58:42 +00:00
thorpej 7248c3be19 Improve card descriptions. 1999-02-19 06:57:56 +00:00
thorpej 02df2bd5a5 Regen. 1999-02-19 06:56:53 +00:00
thorpej 1128dd593e Improve the descriptions of 3Com Ethernet cards, and add the 3c905B-FX
and 3c980 Server Adapter products.
1999-02-19 06:55:15 +00:00
thorpej 3a63b5db2a Regen. 1999-02-19 05:53:36 +00:00
thorpej f43c45889a Add several Tulip clone chips. 1999-02-19 05:53:00 +00:00
mycroft bd4cd051b9 This is an utterly revolting hack to work around the previously mentioned
lossage.  On the Alpha, we force the buffers to be allocated through the SGMAP
so that the PCI bus addresses are low enough.
At least it's only one line of code...
1999-02-19 02:27:59 +00:00
thorpej a473ed5477 Fix omission in previous. 1999-02-18 19:24:39 +00:00
mycroft 699a815751 Pass the correct address (PCI bus address, not PA) to the card.
Also fix some typos and add more debugging printf()s.
This would work on the Alpha, but the card I have appears to have the upper
address bits chopped off, and the ring buffer gets mapped using the DGMAP,
which uses the upper bits.  Boom.
1999-02-18 09:22:17 +00:00
mycroft e0b748e50c Pass the correct address (PCI bus address, not PA) to the card.
Works on an Alpha now.
1999-02-18 07:59:30 +00:00
mycroft c02bf3c4d7 Minor code munging. 1999-02-18 05:46:38 +00:00
thorpej 982603ce5b Don't reset the interface when the media changes. 1999-02-18 01:24:29 +00:00
thorpej 78e18b8d8c Back out to the previous stable revision of the fxp driver. The latest
one had too many stability problems.
1999-02-18 01:23:41 +00:00
mycroft 6ce15ae4e3 spaces -> tabs 1999-02-18 00:55:36 +00:00
mycroft f1e84a4ec5 A few things:
* Use the trigger interface.
* Permit different encodings for record and playback.
* Set AUDIO_PROP_INDEPENDENT.
* Fix the mmap(2) hole again.
* Use 16-bit mode for a-law and u-law playback.
1999-02-18 00:54:19 +00:00
mycroft 8b7b7cccc7 Fix a silly type. 1999-02-17 23:55:18 +00:00
mycroft 71105fbda7 Update comments. 1999-02-17 21:44:55 +00:00
mycroft e5f5e628d2 Pass the direction to the allocm and round_buffersize methods.
Some drivers need this to properly allocate DMAable memory.
1999-02-17 02:37:38 +00:00
bouyer 2ccd5cde74 Correctly compute PIO/DMA mode for sis and acer chips when the drive support
a DMA mode with higther capabilities than PIO mode.
1999-02-16 18:11:52 +00:00
hubertf 56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
tron 210b267f84 Regen from pcidevs. 1999-02-14 22:44:36 +00:00
tron acb24b6080 Add 3Dfx's Voodoo II. Fixes PR kern/7000 by Brett Lymn. 1999-02-14 22:38:18 +00:00
thorpej 70b91539e9 Restructure the interrupt handler and 1-second timer a bit, and tidy up
the lazy-transmit-interrupt logic, fixing a few minor logic problems.

Now unable to reproduce the lockup problem described in PR #6767.  Changing
PR's state to "feedback".
1999-02-13 02:12:59 +00:00
thorpej f83663b7ba Garbage-collect some unneeded definitions. 1999-02-12 00:37:07 +00:00
thorpej 7b516b31bd Major overhaul of the Rhine/Rhine-II driver, structuring it a little more
like the SMC83C100 EPIC/100 driver:
* Rather than using pointers to the head and tail of the transmit and
receive rings, use wrapping indexes into arrays.  This is a little more
obvious when reading the code.
* More cleanly separate the hardware descriptor from the software descriptor.
* bus_dma it everywhere.
* Implement interrupt pacing and avoid a potential race in the transmit
loop.

Now this looks more or less like the Rhine driver I was working on when
this driver was committed :-)  Update copyright notice to reflect that.
1999-02-12 00:36:48 +00:00
sakamoto 0b4e481612 add "mii" to vr driver. 1999-02-09 02:04:36 +00:00
mjacob c47d6855db clean up pci configuration a bit 1999-02-09 00:35:35 +00:00