remko
c490da6d26
Driver failed to allocate MMIO resources. Attached patch adds a fallback path.
...
It uses generic IDE facilities if sii-specific allocations failed
PR: 125421
Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
Approved by: imp (mentor, implicit)
MFC after: 1 week
2008-07-09 15:10:53 +00:00
remko
3787712497
Add new device id for ICH8M, which supports greater than UDMA33 mode
...
when it worked as generic IDE.
PR: 125422
Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
Approved by: imp (mentor, implicit)
MFC after: 1 week
2008-07-09 15:07:53 +00:00
remko
7e3a416f52
Add support for the ICH9 in non AHCI mode (RAID mode).
...
Submitted by: Andrey V. Elsukov <bu7cher at yandex dot ru>
Tested by: Vitalij L. Fadeev <fvl at mail dot ru>
Approved by: imp (mentor, implicit)
MFC after: 1 week
2008-07-09 15:06:41 +00:00
sos
622e89669b
Wait up to 1S for the TFD data to signal un-busy before fetching the signature.
...
This at least helps a few slow devices out there.
Submitted by: Andrey V. Elsukov
2008-06-11 08:48:25 +00:00
sos
ca37ae1f06
Add HW level support for the Adaptec 1420SA controller.
2008-04-21 10:51:38 +00:00
sos
78988be519
Do not enable FIS based PM switching, even if not used some controllers barf.
2008-04-21 10:34:31 +00:00
sos
b11f9dd52a
Go back to preallocating everything possible on init.
...
This avoids calling busdma in the request processing path which caused a traumatic performance degradation.
Allocation has be postponed to after we know how many devices we possible can have on portmulitpliers to save some space.
2008-04-17 12:29:35 +00:00
sos
48d8d5e84e
Fix problem with slave devices.
...
Fix or rather bring ENOMEM problems back to the state it was before.
Temporarily disable PortMultipliers on AHCI devices.
2008-04-14 18:34:24 +00:00
sos
c7e894e8b0
Dont call hw.status recursively.
...
Spotted by: Marcel Moolenaar
2008-04-12 17:21:22 +00:00
sos
071467d40e
Fix clearing of nVidia interrupts.
2008-04-10 20:40:25 +00:00
sos
34ad230814
Add experimental support for SATA Port Multipliers
...
Support is working on the Silicon Image SiI3124/3132.
Support is working on some AHCI chips but far from all.
Remember this is WIP, so test reports and (constructive) suggestions are welcome!
2008-04-10 13:05:05 +00:00
sos
80685d23d6
Add proper support for the SATA/AHCI part of IXP[67]00
2008-03-07 09:29:19 +00:00
sos
cd8dd509e5
Implement a workaround of the datacorruption problem on serverworks HT1000 chipsets.
...
The HT1000 DMA engine seems to not always like 64K transfers and sometimes barfs data all over memory leading to instant chrash and burn.
Also fix 48bit adressing issues, apparently newer chips needs 16bit writes and not the usual fifo thing.
HW donated by: Travis Mikalson at TerraNovaNet
2007-12-13 11:47:36 +00:00
sos
9bc486376b
Fix speed report on Intel SATA chips in compat mode.
...
Fix broken detect of JMicron 368.
2007-12-07 13:14:31 +00:00
sos
1727174689
Use device_set_desc_copy in the generic ident as its used on a temp buffer.
2007-11-26 19:08:08 +00:00
sos
9d7c423748
Add preliminary SATA ATAPI support for sii 3132/3124 chips.
2007-11-23 08:17:14 +00:00
kevlo
1fc52ebb1e
Fix KASSERT messages.
2007-11-20 04:52:19 +00:00
sos
d1d1db8b70
Try to workaound silicon bugs in Promise gen2 (ie TX4) chips
...
Initial patch by Alexander Sabourenkov who found it in Promise's own driver.
Further fixes and sanity checks by yours truely.
2007-11-19 20:47:31 +00:00
sos
24ced90f97
Fix the problem with certain ATAPI commands on AHCI devices.
...
Revert the probe in atapi-cd.c to the old usage now its fixed on AHCI.
THis change also fixes using virtual CD's om fx parallels.
Still leaves the GEOM problem of telling media vs device access apart in the access function.
2007-11-19 18:05:48 +00:00
sos
0422421099
Add generic support for chipsets that say they support AHCI. This should catch new chipsets that we dont know but that we should support.
...
Add a few new PCI id's.
Misc cleanups.
2007-11-18 14:44:52 +00:00
sos
4e65ee2c1d
Fix the signature matching code on AHCI controllers.
...
Add SATA ATAPI support for AHCI controllers.
2007-10-26 09:01:06 +00:00
delphij
afb9b9ad44
Add PCI ID for ICH9 AHCI w/ two adapters.
...
Tested by: Abdullah Ibn Hamad Al-Marri <almarrie gmail com>
Approved by: sos
Approved by: re (kensmith)
2007-10-09 20:15:09 +00:00
sos
4a797d19e2
Add support for the VIA 8237S
...
Fix the LBA28/LBA48 crossover bug.
Approved by: re@
2007-10-04 19:17:16 +00:00
phk
dc63751776
Recognize the CS5536 support chip for the AMD Geode LX CPU to enable
...
UDMA modes.
Please notice that Soekris NET5501 bios versions before 1.32f has a bug
that prevents this from working.
Approved by: re (gnn)
MFC: 2 weeks
2007-10-04 06:21:54 +00:00
simon
afe3e15299
Add PCI IDs for Intel ICH9.
...
PR: kern/114473
Submitted by: Michael Fuckner <michael@fuckner.net>
MFC after: 2 weeks
OK'ed by: sos
Approved by: re (bmah)
2007-09-10 19:16:39 +00:00
sos
89f565f779
Add support for the nVidia MCP61 series chipset.
...
Approved by: re (mux@)
2007-06-25 08:21:21 +00:00
bms
9156605d19
Do not attempt to enable AHCI mode on ALi SATA controllers other
...
than the 5288.
It is not correctly implemented in earlier silicon, and the BIOS often
lies about AHCI capability on platforms where these chips are deployed.
With this change I am able to boot FreeBSD on the ASUS Vintage AH-1
barebones system.
Approved by: sos
2007-06-13 17:44:49 +00:00
sos
5b98ea3bb8
Hopefully unbreak the 64bit DMA support this time.
2007-04-08 19:18:51 +00:00
sos
0e233ba6cc
Add 64bit addressing support to SiI 3132/3124
2007-04-06 17:36:35 +00:00
sos
c81b7f4791
Remove debug gunk.
2007-04-06 16:21:34 +00:00
sos
ad1c8d45dd
Add support for 64bit addressing to AHCI and Marvell controllers.
...
Munged into ATA shape and Marvell specifics my yours truely.
Submitted by: jhb
2007-04-06 16:18:59 +00:00
sos
8bfc297b14
Fix writes on siiprb type chips.
2007-03-12 15:34:08 +00:00
sos
b5464da21d
Fix support for the VIA8237A SATA part.
...
HW sponsored by: Bob Bishop
2007-03-12 09:13:13 +00:00
sos
b470e17165
Add support for the Silicon Image SiI 3124 and SiI 3132.
...
HW donated by: Adriaan de Groot
2007-03-09 22:23:39 +00:00
sos
7ed96d1442
More SATA phy/reset cleanup and simplification.
...
Fix a long standing bogon in the sii_reset code.
2007-03-09 18:45:45 +00:00
sos
5866261097
Refine ahci_status to be more simple.
2007-03-08 20:21:42 +00:00
sos
54f0b44b6e
Cleanup the channel/phy reset code.
2007-03-08 16:39:25 +00:00
sos
83b66ad130
Add support for the 3 (PATA) channel on the VIA 6421 chip.
...
HW donated by: Fabian Peters
2007-03-01 21:18:27 +00:00
piso
6a2ffa86e5
o break newbus api: add a new argument of type driver_filter_t to
...
bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many
Approved by: re@
2007-02-23 12:19:07 +00:00
sos
a2861c6b3a
Try again with supporting AHCI chipsets with partly implemented ports.
2007-02-21 19:03:34 +00:00
sos
9f88714914
Temporarily disable the support for some incarnations of the ICH8 chip that has
...
non consecutively numbered ports.
This should fix current SATA problems.
Support AHCI chips where the ports are not consecutively numbered as in
some incarnations of the ICH8 chip.
2007-02-21 14:05:57 +00:00
sos
8442403943
Support AHCI chips where the ports are not consecutively numbered as in
...
some incarnations of the ICH8 chip.
Also fix the panic introduced by the last commit.
2007-02-15 21:51:42 +00:00
sos
b10953d03a
Rearrange the SATA connect logic so that we so that we pickup ATAPI devices.
...
The rest of the logic should be in place for most supporting chipsets.
2007-02-12 17:17:31 +00:00
rink
9722cd2743
Add support for the NetCell NC3000/5000 series SATA RAID cards.
...
Reviewed by: sos
Approved by: imp (mentor)
MFC after: 1 week
2007-02-03 20:12:00 +00:00
sos
1237daa8e2
Add support for the Marvell 6101/6145 PATA chips used on many new Intel boards.
...
HW donated by: Sentex
2007-01-04 16:09:11 +00:00
sos
4711a00b9e
Add new PATA only JMicron chip.
2007-01-04 07:56:12 +00:00
sos
ddda382a25
Add missing PCI ID for the acer m5288
2006-10-08 09:58:00 +00:00
sos
b30d1cd42f
add support for the ALI/ULI M5288 AHCI part.
...
patch by: Sven Petai
2006-09-25 11:26:29 +00:00
sos
6e6b04c407
Busmaster DMA address fix in VIA 6421 case.
2006-09-12 22:06:39 +00:00
sos
320be4d762
Add support for a few more Serverworks and lookalikes chips.
2006-09-11 19:48:30 +00:00