Commit Graph

1682 Commits

Author SHA1 Message Date
mjacob 18e2c3aaad Add a maintenance note. Minor change in some logic in the DMA mapping. 2000-08-14 06:58:45 +00:00
tsutsui 23830f1e6c - Check CR_RST rather than ISR_TXRCMP and ISR_RXRCMP in sip_reset()
- Add more delay after reset
- "Big endian mode" on SiS 900 seems broken so don't enable it;
  use htole32()/le32toh() instead
- Don't cast u_int16_t array to u_int8_t pointer
- Add some delay() to FILTER_EMIT macro in sip_set_filter()

Now SiS 900 works on my macppc.
2000-08-12 07:38:40 +00:00
soren 363910c22b s/Toshiba America Info Systems/Toshiba/ since they are the main PCI issuer.
Add new version of the Oboe FIR device.
2000-08-10 01:55:57 +00:00
drochner a1b037bc3a recognize the i440MX mobile chipset's IDE interface 2000-08-09 13:23:07 +00:00
tv 91537bce4a sizeof(fmtstring) + 8 wasn't enough for the string; that won't cope with the
printed version.  Make a little more room for the bitmask_snprintf() call.
2000-08-08 19:59:41 +00:00
tv 87ab5c42c5 %b -> bitmask_snprintf() 2000-08-08 19:42:40 +00:00
billc aac52686f0 Manually edit the headers to show which version of pcidevs this was
generated from.

XXX - this really should be automated
2000-08-07 08:27:11 +00:00
billc 7ba2890ab8 Added PCI IDs for 3Com's Home Connect (3c450) and Office Connect (3cSOHO100).
They both are register compat with later versions of the 3c905 (tornado/
vortex) series.
2000-08-07 04:08:35 +00:00
ad 8d37a29277 Regen. 2000-08-04 14:32:05 +00:00
ad fc2908cf8a Vortex Computer Systems changes, from OpenBSD:
- Add product ID for GDT6518RS.
- Fix bogus product IDs.
2000-08-04 14:31:40 +00:00
tsutsui ef86d29308 Add one more delay() to sip_read_eeprom(). 2000-08-04 09:30:56 +00:00
nathanw fb20241fda When performing pci_config_dump:
- Display the full value of 64-bit BARs.
 - Avoid displaying the upper 32 bits of 64-bit BARs as a separate 32-bit BAR.
2000-08-03 19:58:55 +00:00
castor b6dd28b4ce Support some differences in the Macronix 98715AEC-C and E chips from the other
98715* series.

The MX98715AEC-[C,E] use a different location in the serial eerom for
LED control, and programming it with the original location's values
caused unpredictable behavior.

Also, start integrating fixes where media changes on an adapter
under load may fail.  There's more work to be done here, but I need
to sort out our internal changes a little more carefully.
2000-08-03 03:07:30 +00:00
mjacob cb4d63d57c More compilation breakage in the non-DEBUG case
(from Castor Fu <castor@geocast.com>)
2000-08-03 03:00:04 +00:00
bouyer 46c3f0204d PCIIDE_CMD0646U_UDMA->PCIIDE_CMD0646U_ENABLEUDMA for consistency with
PCIIDE_AMD756_ENABLEDMA
defopt PCIIDE_CMD0646U_ENABLEUDMA, PCIIDE_AMD756_ENABLEDMA,
    PCIIDE_CMD064x_DISABLE
Fix a typo pointed out by John Hawkinson
2000-08-02 21:49:09 +00:00
bouyer bd0766459c Add support for the CMD PCI646U. Linux claims that this driver is brocken
with UDMA, so enable Ultra-DMA only if "options PCIIDE_CMD0646U_UDMA" is set.
2000-08-02 20:23:45 +00:00
mjacob 1ae072f471 Fix bonehead bug for compiles w/o DEBUG set
(thanks to KANETA Shin'ichi <kaneta@cr.chiba-u.ac.jp>)
2000-08-02 17:39:50 +00:00
mjacob 068c76fc80 Core version 2.0 (platform version 1.0) rewrite of ISP driver. Some
interace cleanups, some new common functions. The major impact that
will be noticeable right away is that if you boot with not Fibre connected
to the FC cards, you no longer hang indefinitely.
2000-08-01 23:55:09 +00:00
bouyer 76c77aca38 Add support for the CMD PCI0646U2, an Ultra/33 version of the 0646.
Note: there's also a PCI0646U, for which I don't have docs for now.
2000-08-01 21:02:55 +00:00
jhawk d569dc2fb5 Whitespace fix (space rather than tab after #ifdef) 2000-07-29 17:49:08 +00:00
jlam cbd3022e31 Make this compile without PUCCN defined. 2000-07-29 17:43:38 +00:00
castor b2bf026f39 Guard the console code in puc.c with the defopt PUCCN so we can
use the puc driver without having the com drivers.
2000-07-28 20:43:45 +00:00
thorpej 081f57c846 Handle booting without a serial expander box connected. 2000-07-28 06:10:54 +00:00
bouyer 0154cbce36 Ops, forgot this one: Add interrupt disable bit #define for HPT370 2000-07-27 15:26:16 +00:00
bouyer aa0d4a41d5 HPT370: clear disable interrupt bit; make it works in Ultra/66 mode. 2000-07-27 14:28:45 +00:00
jeffs fa8ff381d8 Add code to allow the PCI com serial ports to be used as the system
console.  This is not enabled by default, and is turned on with
options PUCCN.  Done by castor@netbsd.org.
2000-07-25 23:18:42 +00:00
jonathan 5f7778cd1e * Add entries for older Yamaha YMF chips (724, 740) plus the
newer steppings (740C, 724F) which use the same microcode as the
  DS-1S/DS-1E.
Regen.
2000-07-23 00:18:24 +00:00
jonathan 2169753fc5 * Add entries for older Yamaha YMF chips (724, 740) plus the
newer steppings (740C, 724F) which use the same microcode as the
  DS-1S/DS-1E
2000-07-23 00:14:15 +00:00
ad b60bcd873d Regen. 2000-07-20 14:47:35 +00:00
ad d3b42c18e4 Add what is apparently ESS's old vendor ID and corresponding product ID for
the Maestro 1.
2000-07-20 14:46:51 +00:00
bouyer 6e88d58524 Make it compile when PCIIDE_AMD756_ENABLEDMA is defined. From kern/10555
by MURATA Shuuichirou.
2000-07-20 12:19:41 +00:00
augustss 00cafd0569 Add MIDI support. From Tatoku Ogaito. 2000-07-19 09:58:45 +00:00
soda c41ca10d33 add "#define PCI_INTERRUPT_PIN_MAX 0x04" 2000-07-18 10:59:04 +00:00
tron 5446d3c92e Don't make assumptions of the actual value of PCI_PMCSR_STATE_D0.
Problem noted by John Hawkinson.
2000-07-17 18:12:00 +00:00
tron cfae3184d8 Don't clobber bits from 2 to 31 when trying to change the power state.
Problem noted by John Hawkinson.
2000-07-17 17:53:44 +00:00
tron 114bb7f9d9 If card is in power state D3 put it into power state D0 so that it will
at least work after the next reboot.
2000-07-16 20:18:48 +00:00
jhawk 859057e6b3 Fix uninitialized variable (reg) in fxp_pci_confreg_restore();
this could result in garbage being written to the PCI status register,
which is unlikely to have had a serious effect. This was with us from
an #if 0 added in rev 1.6.
2000-07-15 21:36:19 +00:00
tron 9feae259a4 Avoid printing duplicate colon when card is waked up. 2000-07-15 20:57:24 +00:00
tron cfe61a3025 Un-__P'ify kernel prototypes. 2000-07-15 19:59:27 +00:00
tron 61c607b9fe Improve kernel message when card is in power state D3. Instead of...
epic0 at pci0 dev 11 function 0 epic0: unable to wake up from ...

... print this:

epic0 at pci0 dev 11 function 0: unable to wake up from power state D3
2000-07-15 10:32:36 +00:00
tron 498310f5be Check if card was put into sleep mode using PCI/ACPI power management
and try to restart it. This patch based on hints by Jason Thorpe.
2000-07-14 22:00:32 +00:00
ad b71bddab49 Regen. 2000-07-10 16:32:07 +00:00
ad 5a5452c95d Add ICP Vortex RAID controllers. 2000-07-10 16:14:02 +00:00
jhawk 469c88cc11 Clarify that the RX5C47X requires writes to the PCI_LEGACY to
disable and not PCI_BCR_INTR; this is what rev 1.9 did under
the label of "Maintenance."
2000-07-09 22:06:02 +00:00
jhawk e6e9cc5c41 Move legacy pcic-mode disabling code from pccbb_chipinit() to
pccbbattach(). This is necessary as pccbb_chipinit() is deferred, and
may not run until after the pcic is already attached.

Now pcics are properly disabled on Sony VAIO, f'rinstance.
2000-07-09 21:58:30 +00:00
mycroft bd8f07c394 Recognize the i82559ER. 2000-07-09 00:46:26 +00:00
mycroft 5cdb782283 Regen. 2000-07-09 00:45:56 +00:00
mycroft 9d0e35cc63 Add ID for i82559ER. 2000-07-09 00:45:14 +00:00
mrg 6421cc8af8 regen 2000-07-08 04:39:50 +00:00
mrg d74c0a2e3e add microSPARC IIep PCI controller 2000-07-08 04:38:55 +00:00
bouyer 2646cf1612 Use the CMD PCI0648/9 IRQ ACK code for the 0646 too, makes the 0646 works
in native mode.
2000-07-07 13:54:25 +00:00
bouyer e2aaf9ef7f Work around a bug in AMD756 rev D2, from patches provided by David Sainty:
disable multiword DMA for these chips. multiword DMA can be forced with
options PCIIDE_AMD756_ENABLEDMA on rev D2 chips, but use at your own risk !
While I'm there remove a duplicate allocation of sc_wdcdev.nchannels in HPT
code.
2000-07-06 15:08:11 +00:00
mjacob c466b99a9a Use new isp_handle_index function. Redo how firmware is checked for
and loaded. Remember to enable interrupts after isp_reset but before
isp_attach. Return CMD_EAGAIN on request queue overflow so we can retry
the command when there's more queue space.
2000-07-05 22:12:23 +00:00
bouyer 3c5afc2677 Back out previous, it has to be done in a different way. 2000-07-05 19:05:31 +00:00
bouyer 838676ce64 Apply patch from David Sainty <David.Sainty@optimation.co.nz>:
Some AMD controllers have a bug which can look up the machine when using DMA, so
disable DMA for some revisions (info provided by AMD).
"options PCIIDE_AMD756_ENABLEDMA" can be used to force DMA on these chips.
2000-07-05 18:58:41 +00:00
bouyer fa436f165c HPT: use pciide_channels[i] not pciide_channels[0]. My HPT370 now probes
both channels (but still doesn't work properly; I suspect I got a broken one).
2000-07-05 16:11:35 +00:00
enami 88a0f6ee93 Match with promise ultra100/ata contoller. I haven't actually test this
contoller with ultra100 drive, but it works at least with ultra66 or more
older drive
2000-07-04 16:34:33 +00:00
enami fa92d1c635 Regen. 2000-07-04 16:30:42 +00:00
enami a710a5e35e Add device ID of promise ultra100/ata controller. 2000-07-04 16:27:32 +00:00
gmcgarry cc05a49fb0 Regen. 2000-07-03 06:05:44 +00:00
gmcgarry 72cbe1224d Devices found in NEC Versa Note VX 2000-07-03 06:01:17 +00:00
wiz 235a799246 re-add README that got lost in 2.12-to-2.14 merge. 2000-07-01 01:59:54 +00:00
wiz c01704a9db remove unnecessary #ifdef __NetBSD__'s in #ifdef __FreeBSD__;
move one #include <vm/vm.h> into #ifndef __NetBSD__
2000-07-01 01:53:37 +00:00
wiz d307475c33 resolve conflicts. 2000-07-01 01:38:58 +00:00
wiz 5457abf9cb Import release 2.14 of the bktr driver. Changes: mostly integration
of NetBSD changes; support for new Hauppauge tuner types.
2000-07-01 01:30:43 +00:00
veego a9d80391d0 Move the include of <vm/vm.h> into the ifndef __NetBSD__ part. 2000-06-30 08:12:10 +00:00
mjacob 7b0ccbb669 need uvm_extern.h for a function definition 2000-06-30 00:01:22 +00:00
thorpej 0b82c9610f Don't check for a BAR address past PCI_MAPREG_END; some devices
have BARs way out in left field.
2000-06-28 17:32:48 +00:00
mrg 7c15053eed remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 16:08:42 +00:00
tron bddc013764 Add special IRQ handler for CMD PCI0648 and PCI0649 taken from the
experimental version of Manuel Bouyer's driver.
2000-06-27 05:57:05 +00:00
simonb bfc5613f54 Revert some of the previous mmap() changes that were in "#ifdef FreeBSD"
parts of this file.
2000-06-27 05:14:31 +00:00
mrg f4e210fb2c remove redundant vm includes 2000-06-26 15:26:35 +00:00
mrg 2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
bouyer 8a0d96e59e Add support for the CMD PCI0648 and PCI0649 IDE controllers.
Thanks to Matthias Scheler for testing.
2000-06-26 10:07:52 +00:00
bouyer 2e861ca3ce Correct 80 pin handling for promise Ultra/66: when the bit is set
we *don't* have a Ultra/66 cable.
2000-06-26 09:55:26 +00:00
simonb 889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
gmcgarry 10eccb55ca cmpci requires mulaw dependency. 2000-06-25 23:34:27 +00:00
sommerfeld fda426af2c Defopt TLP_MATCH_* 2000-06-25 18:49:22 +00:00
wiz 3628d5523b printf argument was in wrong position. Noted by Roger Hardiman
<roger@cs.strath.ac.uk>. (This code was ifdef'd out by default.)
2000-06-25 17:47:39 +00:00
eeh 79dffec702 Get PCI HME working. 2000-06-25 01:05:16 +00:00
joda 1e343745fc regen 2000-06-24 12:16:55 +00:00
joda 103a704990 add Intel 82801BA devices 2000-06-24 12:16:21 +00:00
thorpej f82e306928 Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI).  Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.
2000-06-24 00:37:19 +00:00
tron bc83dce0c6 Regen. 2000-06-21 09:16:16 +00:00
bouyer 0273966f04 Add CMD PCI0649 product ID. 2000-06-21 08:58:57 +00:00
cgd eee18e1f6c beat back the undead: __BROKEN_INDIRECT_CONFIG had risen, and was
terrorizing innocent hackers...
2000-06-16 23:41:33 +00:00
soren 0011842ea8 Regen. 2000-06-16 08:13:50 +00:00
soren 567c710f2b Add some S3 chips. 2000-06-16 08:13:25 +00:00
thorpej 17de155949 Make sure we use firmware->host communication channel in cz_intr(), from
Bill Studenmund.
2000-06-14 17:54:33 +00:00
soda c521ba58c1 yet another change for NEC RISCstation 2250 of arc port. 2000-06-14 00:34:33 +00:00
tron 3e3d2d7344 Regen. 2000-06-13 22:44:51 +00:00
tron d643d25eb9 Add CMD PCI0648. 2000-06-13 22:44:19 +00:00
ad 3553879fc2 Use my proper name. 2000-06-13 13:36:42 +00:00
nathanw 31c0cc5f46 Regen. 2000-06-12 22:33:41 +00:00
nathanw 72d31d8d37 Add AMD 79c978 PCnet-PCI Home. 2000-06-12 22:33:06 +00:00
bouyer 26bbb4f200 Regen. 2000-06-12 21:25:20 +00:00
bouyer 034590578d Shorter description for the HPT366 2000-06-12 21:25:01 +00:00
bouyer b21bc1b5b6 - add a pciide_irqack() callback, which clears the IDE DMA status bit once
the IRQ has been cleared on the drive.
- use pa->pa_class instead of re-reading PCI_CLASS_REG when possible
- Add support for Highpoint HPT366 and HPT370 (370 untested), based
  on patches from Roger Brooks  <R.S.Brooks@liverpool.ac.uk> posted on
  current-users Mach, 15. Given how Highpoint docs have been wrong for the
  366, the 370 is likely to not work.
  Thanks to Chris Cappuccio <chris@dqc.org> for sending me the Highpoint
  docs, and to Total Archive (http://www.totalarchive.com/) for sending
  me hardware.
2000-06-12 21:20:51 +00:00
bouyer 8642ac97bf Regen. 2000-06-12 21:12:59 +00:00
bouyer 1970e14b93 Add HPT366/370 device ID.
XXX Is 'TRIONES' the rigth vendor name ?
2000-06-12 21:12:30 +00:00
wrstuden eb21ed4746 Adapt to going back to decemal device numbering. 2000-06-09 18:00:45 +00:00
wrstuden 8d04cd3f90 Rather than assinging 64 tty's per pci card, assign tty's as found.
Cyclades says driver should work with up to 128 tty's per pci card
even though they only support 64 now. Also matches FreeBSD behavior.

Print located tty's using new tty naming scheme - ttyCZ?? where ?? are
two hex letters.

Make firmware load on macppc - one le32toh() was missing.
2000-06-09 16:53:23 +00:00
soda 8ac7bdd00c changes for NEC RISCstation 2250 of arc port. 2000-06-09 04:48:12 +00:00
soda 77625cf7ec long long constant needs "LL" suffix. 2000-06-09 04:45:53 +00:00
augustss b8f4f2be87 Regen. 2000-06-09 00:21:08 +00:00
augustss def28a5cd2 Add some PCI devices found in the IOpener (commited from the IOpener itself :). 2000-06-09 00:20:18 +00:00
gmcgarry 6dd21e55a9 Make attach messages consistent with PCI drivers. Make function pointer
usage consistent with other drivers.
2000-06-08 22:15:52 +00:00
haya b6a821f042 Change IPL when bridge's interrupt handler calls child device's
interrupt handler (This solution is not very good).
2000-06-08 10:28:28 +00:00
scw 295ed77595 The OPTi controller supports a 32-bit dataport after all.
Also detect when the chip is sitting on a 25MHz PCIbus and
set the timing registers accordingly.
2000-06-07 20:42:52 +00:00
ad 887d4555cd Regen. 2000-06-07 19:53:17 +00:00
ad 4837200a8c Add vendor/device ID for 3ware Escalade IDE RAID controller. 2000-06-07 19:52:07 +00:00
mrg a67130a218 regen. 2000-06-07 09:55:22 +00:00
mrg 09b843b7f6 fix a couple of the sun entries. 2000-06-07 09:52:16 +00:00
haya dca97557cd Add CB_BCR_RESET_ENABLE in bridge control resister's bit definition. 2000-06-07 09:02:46 +00:00
thorpej b15bbb90f9 Add missing break; 2000-06-07 04:31:49 +00:00
soren 13ed0863f8 Regen. 2000-06-07 01:58:17 +00:00
soren e2c1012576 Add Trident 9397DVD. 2000-06-07 01:57:30 +00:00
thorpej c85d6d7ca3 Improve the Cypress name a little. 2000-06-06 22:56:06 +00:00
thorpej a452638f06 In pciide_mapreg_dma(), check to see what type the BAR is before
mapping the registers, as suggested by a comment in that function.
2000-06-06 22:47:22 +00:00
soren ba5df2479b Shorten names of VIA controllers to fit in 80 columns with versions. 2000-06-06 17:48:12 +00:00
thorpej c40fa3c4d4 Actually program the DMA mode of the drives into the Cypress
controller.  Fixes a long-standing problem where IDE DMA wasn't
working on the AlphaPC 164SX.
2000-06-06 17:34:22 +00:00
kleink 05d7f969b9 Regen. 2000-06-06 07:55:50 +00:00
kleink aed5858e8b Add the product ID for the ESS Maestro 3 modem function as well. 2000-06-06 07:55:17 +00:00
thorpej 21d9669e4f Common routines for read/writing Cypress 82c693 control registers. Needed
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.
2000-06-06 03:07:39 +00:00
tsutsui 8c4d1bf1f9 Adapt MI ncr53c9x changes. 2000-06-05 15:08:00 +00:00
kleink ca3d9c7fa7 Regen. 2000-06-05 11:34:07 +00:00
kleink 428a7ca4e3 Add the ESS Maestro 3 product ID as well. 2000-06-05 11:33:35 +00:00
kleink 9b40e3731a Regen. 2000-06-05 11:31:15 +00:00
kleink be40495bb0 ESSTECH:
* add what's allegedly the Maestro 1's product ID.
* align product names with data sheets.
2000-06-05 11:29:28 +00:00
gmcgarry 745e3fef63 pciiide -> pciide 2000-06-04 22:22:12 +00:00
tsutsui f44619d89d KNF some lines. 2000-06-02 18:34:05 +00:00
augustss 87a5ae384c Update URLs. 2000-06-01 09:58:19 +00:00
augustss f1b4af5ba1 Make this compile too. 2000-05-30 08:36:27 +00:00
matt e78793c612 Beginning of a IEEE 1394 framework. An attachment for PCI OHCI controllers
and bus-independent module that just begins to print things out.  No real
code behind it.  THIS IS A WORK IN PROGRESS.  The *reg.h are woefully
incomplete.
2000-05-30 06:56:13 +00:00
matt c7326acd04 Add the PCI attachment for IEEE 1394 OHCI controllers. Files to follow later. 2000-05-30 00:53:14 +00:00
matt fd1991294f Regen 2000-05-30 00:21:07 +00:00
matt adaaa34784 Add the TI 1394 controllers. Makes all the 1394 controller descriptions
similar.
2000-05-30 00:20:41 +00:00
tsubai 8cde93a435 * Support (not so) new cards. (only Cyclom-8YsP+ is tested)
* Make compilable with CY_DEBUG.
2000-05-29 12:05:41 +00:00
drochner c461529353 regen 2000-05-28 10:25:25 +00:00
drochner f8091908b5 -correct description for 3c905b-FX (100 Mb only)
-add Neomagic 256ZX
2000-05-28 10:24:57 +00:00
thorpej 3a4393ff92 While DM9102A boards tend to have ISV-format SROMs (likely to describe
the HomePNA PHY typically connected to the external MII interface),
DM9102 implementations (often found on motherboards) do not.  Handle
this.
2000-05-27 19:42:06 +00:00
scw 46807640c7 Add support for the OPTi 82c621 PCIIDE controller and its derivatives.
I only have a Compaq laptop on which to test this, so reports of
success/failure in other systems would be welcomed.
2000-05-27 17:18:41 +00:00
scw 1d2a3e79a9 Regen. 2000-05-27 17:12:36 +00:00
scw 713621eb0e Add entries for a couple of OPTi PCI-IDE controllers. 2000-05-27 17:11:37 +00:00
nathanw 00369993f9 Whitespace police. 2000-05-27 16:38:02 +00:00
soren ed0572ca92 Regen. 2000-05-27 11:40:04 +00:00
soren eaef48d317 Add a few devices. 2000-05-27 11:38:31 +00:00
thorpej 8a3725612d Add support for the Davicom DM9102 and DM9102A 10/100 Ethernet chips.
Partially based on diffs submitted by Matthew Orgass <darkstar@pgh.net>
and IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp>.
2000-05-26 16:38:13 +00:00
dante 3d7bdc4c94 Fix a bug introduced in last commit which caused a painc due to
re-enqueueing an already free ccb.
Prepare the background to have a unique initialization function for
    all of the supported host adapters.
Rename a lot of #define in a more sane way.
Move Carriers initialization and defines in adwmcode.{c,h}
Don't lose Carrier nodes in case of a BUS/Chip reset explicitly invoked
    after a DMA failure.

XXX - DMA failure still arise when AdvanSys U[2]W host adapters are used
      in conjunction with Intel 82443BX Host Bridge/Controller (rev. 0x03).
      !?!Have to understand why!?!
2000-05-26 15:13:43 +00:00
matt bf05730540 Regen. 2000-05-26 05:07:02 +00:00
matt 5bd1e75033 Add NEC 1394 OHCI chips 2000-05-26 05:06:27 +00:00
bouyer b063b2ec36 Separate the sheduler from the main script, allocate another DMA-safe
memory page for the sheduler. Put the main script in the on-chip RAM when
available.
Avoid a null-pointer dereference when DSA is invalid.
2000-05-25 10:10:54 +00:00
thorpej 4f92d2cd54 Update from Bill Studenmund <wrstuden@zembu.com>:
- Note that the FreeBSD driver distributed by Cyclades served as
  documentation on how the board works.
- Use the wait-until-pending-I/O-completes-before-loading-parameters
  command in czttyparam().
- Pass BREAKs up to the tty later properly.
- Garbage-collect some debugging code.
2000-05-24 22:26:35 +00:00
thorpej 8f7304f9b7 Typo in previous. 2000-05-23 16:47:44 +00:00
thorpej 5c9920bbb6 Update from Bill Studenmund <wrstuden@zembu.com>:
Correctly send and receive BREAKs -- still needs to do something
intelligent with them.  Some additional debugging goo.
2000-05-23 01:02:21 +00:00
wiz c2b6147132 Replaced overlooked BROOKTREE_SYSTEM_DEFAULT with BKTR_SYSTEM_DEFAULT,
as noted by Roger Hardiman.
2000-05-22 01:00:29 +00:00
wiz 56cb02c358 Use bktr_softc.bktr_dev.dv_xname instead of "bktr0" when printf'ing as
requested by Klaus Klein in kern/10166.
Also add device instance name to all printf's that didn't have it.
2000-05-21 15:43:56 +00:00
augustss c3e3a945cc Add a missing bktr%d: in one of the attach messages.
(When is this code going to be KNFed?)
2000-05-20 16:16:15 +00:00
tsutsui f2973e2fb8 - Change RL_* -> RTK_*
- Free bus_dma resources if attach fails
- Add detach and power management code

Patch from Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp> in kern/10156.
2000-05-19 13:42:29 +00:00
thorpej 3e403cdb65 In tiocm_to_cztty(), use SET() instead of CLR() in the
TIOCMBIS case.  "Oops!"
2000-05-19 06:01:14 +00:00
thorpej 59164fe0fc Fix an inverted test. 2000-05-18 17:55:17 +00:00
drochner 6095f60587 regen 2000-05-18 13:04:27 +00:00
drochner 309b0ed70d fix typo in last commit 2000-05-18 13:03:31 +00:00
garbled 4d3e8e6976 regen 2000-05-18 08:03:22 +00:00
garbled 81fd58c65b Add the device ID for the IBM MPIC-II. 2000-05-18 08:02:19 +00:00
thorpej 5274a6162f Add a device driver for the Cyclades-Z series of intelligent multi-port
serial boards.  Written by Jason R. Thorpe and Bill Studenmund.
2000-05-17 17:58:09 +00:00
thorpej 07ea678d4d Register definitions and preliminary API definition for the PLX 9060
family of PCI bus controllers.
2000-05-17 17:47:00 +00:00
bouyer c4042e45a5 Sync my copyrigth notice. 2000-05-15 08:46:00 +00:00
bouyer e557084177 Update for siop split. 2000-05-15 08:27:24 +00:00
bouyer a1c4db6c37 - split siop_pci in attachements vs helper functions, for comming esiop
- add a reset callback to enable PCI-specific features. This improve bandwith
  by a factor of 2 on my alpha with a 875 !
- sync copyrigth notice
2000-05-15 07:53:17 +00:00
thorpej e5ae7c287a Symbol namespace cleanup: rl_ -> rtk_ 2000-05-15 01:55:12 +00:00
thorpej a4b298224a Use <dev/ic/ac97reg.h> 2000-05-15 01:35:29 +00:00
thorpej 1838aef29c ac97.h -> ac97var.h 2000-05-15 01:27:44 +00:00
soren 8513bb93ed Regen. 2000-05-14 14:58:14 +00:00
soren b84dfa7c45 Add SGI IOC3. 2000-05-14 14:56:53 +00:00
jhawk e0292df01c sc_ih (interrupt cookie) is not pci-specific data
and needs to remain in fxp_softc rather than fxp_pci_softc;
otherwise we break cardbus.
2000-05-12 18:46:33 +00:00
thorpej cd82969dfc Print the revision info from the PCI configuration header. From
Dave Sainty, kern/10025.
2000-05-12 17:52:07 +00:00
thorpej c8de5ae180 Treat the 3c980C-TXM like the 3c980 Server Adapter. From Paul J. Lavoie,
kern/10037.
2000-05-12 17:48:47 +00:00
thorpej 032c5f01de Regen. 2000-05-12 17:47:05 +00:00
thorpej 0a712d4707 Add product ID for 3Com 3c980C-TXM 10/100 Ethernet. From Paul J. Lavoie,
kern/10037.
2000-05-12 17:46:47 +00:00
thorpej 288883fca7 Apply indent(1). 2000-05-12 16:42:41 +00:00
thorpej 6474f16852 Use ether_crc32_le(). 2000-05-12 16:41:59 +00:00
jhawk 421c001447 Move struct fxp_pci_softc declaration to if_fxp_pci.c removing an
unnecessary header file (if_fxp_pcivar.h); oh, how quickly the nascent
inodes are subject to infant mortality.
2000-05-12 13:46:31 +00:00
jhawk cd552bf956 Fix bugs seen on Sony Vaios.
Address kern/9370, kern/9548, kern/9571, and kern/9573.

Save and restore critical PCI configuration registers because they are
sometimes bashed.
Add a powerhook to restore said PCI registers after APM events.
The fxp now works across a warm boot from windows (vaio).
The fxp now works across an apm suspend/resume or hibernate/resume cycle.
2000-05-12 03:37:40 +00:00
jhawk 6622f20fc1 Move pci-specific data to fxp_pci_softc from fxp_pci_softc.
Add some more pci-specific data to fxp_pci_softc.
2000-05-12 03:36:18 +00:00
jhawk 8d671b6292 Define some PCI power management CSR constants. 2000-05-12 03:35:34 +00:00
thorpej 5786c811d5 Support 64-bit PCI memory mapping registers, as sometimes are used
on the Symbios 53c896 controller.  Also, prefer memory space over
I/O space.
2000-05-10 17:22:46 +00:00
thorpej 90f7e687dc These are no longer used. 2000-05-10 17:09:44 +00:00
thorpej d56c0ff801 Support Adaptec U2W cards with a 64-bit PCI memory range (such cards
are available with Power Macintosh G3 and G4 systems).
2000-05-10 17:07:52 +00:00
thorpej 5939e70ca3 Add support for mapping 64-bit PCI memory space. If the region
is mapped in a way that is inaccessible by a 32-bit bus_addr_t, then
print a message to that effect and return failure.

Original patches by Bill Studenmund, with a few small changes by me.
2000-05-10 16:58:42 +00:00
kleink 7a6f003756 Add a comment describing the previous change. 2000-05-10 08:39:58 +00:00
haya 7d4bae615d Move if_rl_pci.c:1.7 to if_rtk_pci.c. 2000-05-10 00:19:55 +00:00
bouyer 05e928a241 Ops, abort if we can't map the registers ! Pointed out by Matthias Drochner. 2000-05-09 17:05:52 +00:00
dante 2648a72bb2 Minor changes to PCI configuration 2000-05-08 17:11:54 +00:00
joda 6d3ce966ce VIA VT82C686A hardware monitor 2000-05-08 16:40:42 +00:00
kleink 05f0b17555 Make pci_get_capability() work correctly on both header type 0 and type 2
devices; both have different Capability List Pointer registers.
2000-05-08 10:52:38 +00:00
kleink 085ec82073 Add a register offset for the Capability List Pointer in header type 2.
XXX Ideally the PCI-Cardbus Bridge header should be restructured to just
XXX present standard register definitions, making it ~safe to be included.
2000-05-08 10:45:52 +00:00
kleink de328af944 Fix a inverted logic botch introduced in rev. 1.35, typically causing
cb_chipset() to return the wrong chipset type.
2000-05-08 07:31:20 +00:00
wiz 8651580247 man page is written, remove it from TODO 2000-05-07 20:47:10 +00:00
jonathan 8ee4c016eb PCI product codes for Yamaha YMF744B (DS-1S) YMF754 (DS-1E) audio chips. 2000-05-07 17:00:06 +00:00