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