Søren Schmidt
81b910389d
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
Søren Schmidt
347458c95e
Add HW level support for the Adaptec 1420SA controller.
2008-04-21 10:51:38 +00:00
Søren Schmidt
629f08ade0
Do not enable FIS based PM switching, even if not used some controllers barf.
2008-04-21 10:34:31 +00:00
Søren Schmidt
104c094e06
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
Søren Schmidt
d90a6aaeb2
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
Søren Schmidt
a7c33e78bf
Dont call hw.status recursively.
...
Spotted by: Marcel Moolenaar
2008-04-12 17:21:22 +00:00
Søren Schmidt
350d133a64
Fix clearing of nVidia interrupts.
2008-04-10 20:40:25 +00:00
Søren Schmidt
9f82379c24
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
Søren Schmidt
0ef0323800
Add proper support for the SATA/AHCI part of IXP[67]00
2008-03-07 09:29:19 +00:00
Søren Schmidt
4c088dcd6c
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
Søren Schmidt
02d76bfa1b
Fix speed report on Intel SATA chips in compat mode.
...
Fix broken detect of JMicron 368.
2007-12-07 13:14:31 +00:00
Søren Schmidt
91b4ff52c7
Use device_set_desc_copy in the generic ident as its used on a temp buffer.
2007-11-26 19:08:08 +00:00
Søren Schmidt
506310cd36
Add preliminary SATA ATAPI support for sii 3132/3124 chips.
2007-11-23 08:17:14 +00:00
Kevin Lo
2f3ad9ba29
Fix KASSERT messages.
2007-11-20 04:52:19 +00:00
Søren Schmidt
34cf71f7ef
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
Søren Schmidt
6b899f5077
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
Søren Schmidt
200c7605c8
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
Søren Schmidt
53a8035b0f
Fix the signature matching code on AHCI controllers.
...
Add SATA ATAPI support for AHCI controllers.
2007-10-26 09:01:06 +00:00
Xin LI
8846f7d296
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
Søren Schmidt
358904bf9d
Add support for the VIA 8237S
...
Fix the LBA28/LBA48 crossover bug.
Approved by: re@
2007-10-04 19:17:16 +00:00
Poul-Henning Kamp
13a3fdf1fe
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 L. B. Nielsen
18928d0deb
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
Søren Schmidt
27568384f3
Add support for the nVidia MCP61 series chipset.
...
Approved by: re (mux@)
2007-06-25 08:21:21 +00:00
Bruce M Simpson
d3fd8d85fc
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
Søren Schmidt
f27a14650f
Hopefully unbreak the 64bit DMA support this time.
2007-04-08 19:18:51 +00:00
Søren Schmidt
fe2fb53542
Add 64bit addressing support to SiI 3132/3124
2007-04-06 17:36:35 +00:00
Søren Schmidt
2cfcfef1fc
Remove debug gunk.
2007-04-06 16:21:34 +00:00
Søren Schmidt
16194fc40b
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
Søren Schmidt
9642d2661b
Fix writes on siiprb type chips.
2007-03-12 15:34:08 +00:00
Søren Schmidt
e9827ac415
Fix support for the VIA8237A SATA part.
...
HW sponsored by: Bob Bishop
2007-03-12 09:13:13 +00:00
Søren Schmidt
b9842b47e6
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
Søren Schmidt
031fcf925c
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
Søren Schmidt
f449d80b7c
Refine ahci_status to be more simple.
2007-03-08 20:21:42 +00:00
Søren Schmidt
895671548e
Cleanup the channel/phy reset code.
2007-03-08 16:39:25 +00:00
Søren Schmidt
82f45ed29d
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
Paolo Pisati
ef544f6312
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
Søren Schmidt
4471f79eb4
Try again with supporting AHCI chipsets with partly implemented ports.
2007-02-21 19:03:34 +00:00
Søren Schmidt
ceeb99652d
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
Søren Schmidt
233fcaed71
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
Søren Schmidt
4bba89b85e
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 Springer
cece26a63a
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
Søren Schmidt
22fe2182e7
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
Søren Schmidt
a4b0727299
Add new PATA only JMicron chip.
2007-01-04 07:56:12 +00:00
Søren Schmidt
1830897634
Add missing PCI ID for the acer m5288
2006-10-08 09:58:00 +00:00
Søren Schmidt
6182698f19
add support for the ALI/ULI M5288 AHCI part.
...
patch by: Sven Petai
2006-09-25 11:26:29 +00:00
Søren Schmidt
8a0b22718a
Busmaster DMA address fix in VIA 6421 case.
2006-09-12 22:06:39 +00:00
Søren Schmidt
594e3d5d6f
Add support for a few more Serverworks and lookalikes chips.
2006-09-11 19:48:30 +00:00
Søren Schmidt
adf1bdac4f
Add support for VIA 8237A.
2006-09-02 12:55:42 +00:00
Søren Schmidt
4f991fd676
Properly initialize the nVidia MCP5X interrupts etc.
...
Suggested by: nVidia
2006-08-30 11:50:22 +00:00
Søren Schmidt
97c9f9ff21
Update JMicron support to also work with chips where the PATA and SATA
...
parts are on individual PCI functions.
HW donated by: JMicron
2006-08-18 09:56:12 +00:00