Søren Schmidt
de0ed44e2f
Bail out of afd_sense if ENODEV.
2006-03-08 09:21:48 +00:00
Søren Schmidt
f09934b191
Poll device for readiness before trying to get geometry etc.
2006-03-07 16:05:38 +00:00
Søren Schmidt
a68193c985
Only look for ICRC and CORR errors on ATA devices not ATAPI.
2006-03-07 14:27:54 +00:00
Max Laier
3e3a2a7ddc
Fix the build. %ju prints uintmax_t not unsigned long long (which is
...
actually "longer" than uintmax_t for the understanding of printf).
2006-03-06 16:02:06 +00:00
Søren Schmidt
62fba1c397
Add USB modes.
2006-03-05 21:32:38 +00:00
Søren Schmidt
b83fcd52ba
Update atapi-fd to support direct devices such as disks.
2006-03-05 20:30:54 +00:00
Søren Schmidt
0b03bcd2f9
Work around the deadlock that occours when ATA waits for the taskqueue
...
to call back for completition and something else is holding the taskqueue
waiting for ATA to return data.
This should clear up the "semaphore timeout !! DANGER Will Robinson !!"
in most situations, and log "taskqueue timeout - completing request directly"
instead, with a delayed "WARNING - freeing taskqueue zombie request" when
the taskqueue finally calls us back with the now stale request.
(It would have been nice if there was a way to remove a scheduled item from
a taskqueue, but that is not currently implemented in the kernel).
A real fix for this is in the works but wont make it to 6.1RELEASE
definite MFC candidate.
2006-03-01 07:48:41 +00:00
Søren Schmidt
a62b100d96
Fix ata_reinit so it does things in the right order to prevent panic's.
...
Lock the channel so master/slave setups wont trash during reinit.
2006-02-25 17:27:33 +00:00
Søren Schmidt
28baad63bd
Keep the parent device (in this case the channel) around in ata_request,
...
so we dont panic device removal or failure.
Clean up ata_fail_requests to prevent the queue munging to fail.
2006-02-23 20:15:22 +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
608e65bb2a
Add r/w support for JMicron ATA RAID metadata.
...
Acknowledgement should definitly go to JMicron Technology for providing full
docs on the metadata format as the only vendor so far, big thanks from here.
2006-02-17 13:02:10 +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
Søren Schmidt
466be09c2a
Unbreak Promise SATAII/150 controllers caused by the DMA dump changes.
2006-02-09 20:54:42 +00:00
Søren Schmidt
0a3a1935b3
Unbreak dump on legacy systems. Needs a more clean solution but that is
...
more intrusive and can wait 'til after 6.1
2006-02-09 20:53:32 +00:00
Søren Schmidt
52c7e322b2
Unbreak DMA dumo on Intel 31224.
2006-02-06 19:17:48 +00:00
Søren Schmidt
797c12eed9
Add support for the JMicron JMB360 SATAII controller.
...
Thanks to JMicron for providing needed info.
HW donated by: Ralf Folkerts
2006-01-25 23:07:42 +00:00
Søren Schmidt
634c377652
Do not test for DMA status on legacy ATA devices. This has the unfortunate
...
side effect that legacy ATA controllers at irq14 and irq15 cannot share
interrupts with anything else without major problems.
This fixes the ATAPI DMA problems some systems/devices have seen.
2006-01-24 12:34:56 +00:00
Søren Schmidt
669367a9a1
Fix panic on boot due to not all SATA chipsets having SSTATUS registeri
...
resources set.
2006-01-21 17:38:10 +00:00
Søren Schmidt
b258da4ee8
Correct two promise entries, these are only 2port SATA.
2006-01-18 13:34:28 +00:00
Søren Schmidt
8453acf105
Whitespace cleanup.
2006-01-18 13:10:17 +00:00
Søren Schmidt
ac1731fb20
Properly report SATA connection speed.
2006-01-18 10:02:23 +00:00
Søren Schmidt
f5f55db308
Add support for using DMA on dump, greatly speeds up the dump process.
...
Add dump support in ataraid.
2006-01-18 09:14:55 +00:00
Søren Schmidt
e2bf77c5c2
Get rid of the advertising clause in the copyright.
2006-01-05 21:27:19 +00:00
Søren Schmidt
49824061be
Return the proper rmi field in DVDIOCREADSTRUCTURE.
...
PR: 89650
2006-01-04 21:35:57 +00:00
Søren Schmidt
93b2c0cf02
Fix the promise modesetting for old chips.
...
Pointy hat to: sos
2006-01-04 10:23:47 +00:00
Søren Schmidt
8a07d88d9f
Fix promise probe printing.
2006-01-04 08:20:25 +00:00
Søren Schmidt
d028250086
Add hotplug support for Marvell chips.
2005-12-30 23:15:02 +00:00
Søren Schmidt
796bd93e5e
Further updates to the Marvell support code.
...
Should be reliable enough for actual use by now.
2005-12-28 11:55:43 +00:00
Søren Schmidt
7af3abd894
Change the probes in ATA to return a negative value on success.
...
This allows other driver to take over if needed during probe, and allows
me to distribute new drivers as modules.
2005-12-27 18:22:11 +00:00
Søren Schmidt
091bb42ceb
Update the last commit to also take 48Bit access functions.
2005-12-27 17:13:11 +00:00
Søren Schmidt
4b55f0c7c7
Add initial support for the Marvell 88SX[56]0[48][01] series of SATA chips.
...
Hardware donated by: Matthew Jacob
Hardware donated by: Y!
2005-12-27 17:09:52 +00:00
Søren Schmidt
8ec96d7b8d
Fix rebuilds of arrays that got stuck.
...
Misc minor fixes.
Bughunting and initial fixes by Pav@ and Anton.
2005-12-27 16:49:33 +00:00
Søren Schmidt
121b478372
Cleanup the strings for printing chipset names, saves quite some space.
...
Add a couble new nVidia chips now we are here.
2005-12-16 08:12:13 +00:00
Scott Long
7f512e8f29
Make this compile on 64bit systems. It likely isn't correct, but that can
...
be sorted out later.
2005-12-16 06:11:22 +00:00
Søren Schmidt
5608e472c1
Add support for writing VIA metadata.
...
Null out the metadata on disks when array is deleted.
2005-12-15 13:30:23 +00:00
Søren Schmidt
59a269294f
Add RAID0+1 and RAID5 support to VIA RAID code.
...
Fix support for multiple arrays.
2005-12-14 13:07:49 +00:00
Søren Schmidt
a569390328
Add support for VIA VT8251 southbridge.
...
SATA support for now in compat mode, but all 4 channels usable.
2005-12-14 12:13:00 +00:00
Søren Schmidt
c6c6c58a89
Correct calculation of RAID0 sizes on VIA RAID arrays.
2005-12-14 12:11:51 +00:00
Søren Schmidt
921f15117f
Add support for writing SiS metadata.
2005-12-12 14:13:55 +00:00
Søren Schmidt
fb504bef5c
Unbreak hotplug support on the ICH6 and ICH7 chipsets.
2005-12-09 14:23:24 +00:00
Søren Schmidt
b39424ba7a
Dont use the BUS_DMA_ALLOCNOW flag. Instead use BUS_DMA_NOWAIT and return
...
ENOMEM to the upper layers if we run out of memory.
This solves part of the trouble with running on >4GB memory systems.
2005-12-05 22:31:55 +00:00
Søren Schmidt
02268a2d11
Switch off debugging that was left on in last commit.
2005-12-05 17:58:11 +00:00
Søren Schmidt
eed08844c9
Add support for writing Intel MatrixRAID arrays.
...
Do a little better on handling volumes as well, however we cant create
multiple volumes from FreeBSD yet.
HW sponsored by: Mullet Scandinavia AB
2005-12-05 17:33:57 +00:00
Søren Schmidt
ddaf769709
Update the ICH7 support so it deals better with chips without AHCI.
...
Update Intel MatrixRAID support to be able to pick up RAID0+1 (RAID10)
and RAID5 arrays without panic'ing.
This has the side effect of now also supporting multiple volumes on
MatrixRAID's now I have the metadata better understood..
HW sponsored by: Mullet Scandinavia AB
2005-12-02 10:13:53 +00:00
Søren Schmidt
e9bd25bff0
Fix the ata_composite/ata_request leak when using RAID0+1.
...
Submitted by: Michael Butler
Minor changes to fit ATA style by me.
2005-11-29 20:08:26 +00:00
Søren Schmidt
7c7e96f58c
Fix SiS SATA support, the SATA registers was off.
...
Add support for SiS metadata.
HW donated by: obrien
2005-11-28 23:08:37 +00:00
Giorgos Keramidas
6f26936c0f
Fix two identical harmless typos in ata error messages:
...
s/issueing/issuing/
PR: kern/89481
Submitted by: John Nielsen
Approved by: sos
MFC after: 1 week
2005-11-28 13:23:15 +00:00
Søren Schmidt
6c22760c61
When IOCATAGPARM is called, update the capabilities page that is stored
...
in the kernel and return the new values.
2005-11-25 09:00:56 +00:00
Robert Watson
5bb84bc84b
Normalize a significant number of kernel malloc type names:
...
- Prefer '_' to ' ', as it results in more easily parsed results in
memory monitoring tools such as vmstat.
- Remove punctuation that is incompatible with using memory type names
as file names, such as '/' characters.
- Disambiguate some collisions by adding subsystem prefixes to some
memory types.
- Generally prefer lower case to upper case.
- If the same type is defined in multiple architecture directories,
attempt to use the same name in additional cases.
Not all instances were caught in this change, so more work is required to
finish this conversion. Similar changes are required for UMA zone names.
2005-10-31 15:41:29 +00:00