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
Warner Losh
39926f1ff3
Appened ull to a really large integer constant to fix build on i386
2006-08-18 00:01:29 +00:00
Søren Schmidt
e7de1a3978
Add support for the ICH8 and ESB2 chips, also add a few other missing ICH7 parts.
...
HW donated by: JMicron
2006-08-14 19:39:33 +00:00
Søren Schmidt
d7cd375c47
Unbreak nForce4 SATA support.
...
Hopefully I dont break something else this time.....
2006-08-11 21:19:29 +00:00
Søren Schmidt
392cb477c3
Unbreak nForce3 SATA support.
2006-08-05 11:41:46 +00:00
Søren Schmidt
30ea1fb138
Finally fix support for the newer MCP51/MCP55 nVidia chipsets.
...
The register layout has changed since the original NV4 - sigh.
Hotplug support has been fixed for all nVidia chipsets that supports it
(including the MCP51/55).
HW donated by: Kingsley College
2006-07-24 10:44:50 +00:00
Søren Schmidt
891abbfa12
Add preliminary support for the Serverworks HT1000 chip.
...
HW sponsored by: Yahoo!
2006-07-04 20:36:03 +00:00
Søren Schmidt
ca40bd0b02
Update AHCI support to be more generic.
...
Add support for AHCI on the VIA VT8251.
2006-06-28 09:59:09 +00:00
Søren Schmidt
1ebe29d0de
Fix type casts so that we get at the right response queue.
...
Submitted by: glebius+ru
2006-06-19 11:47:57 +00:00
Søren Schmidt
110ce88054
Fix probe printing of highpoint and promise controllers.
2006-05-11 10:43:08 +00:00
Søren Schmidt
0118b48b7e
Add support for the JMicron JMB361, 365 and 366 chips.
...
HW and documentation kindly provided by JMicron.
2006-03-13 14:01:37 +00:00
Søren Schmidt
c94b3e542e
In ata_cmd_allocate() only call ata_pci_allocate once.
...
found by: jhb@
2006-02-23 18:52:15 +00:00
Søren Schmidt
e3989d3ebf
Add support for the JMicron JMB363 dual SATA + single PATA controller.
...
Documentation and HW kindly provided by JMicron.
2006-02-16 17:09:24 +00:00
Søren Schmidt
2ca38c74df
Add a reset of the AHCI machinery to the ICH6/ICH7 support.
...
This should fix the missed devices on some systems.
2006-02-13 13:47:58 +00:00