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
Søren Schmidt
ae539be6f8
Return the right format (LBA/MSF) in TOC entries.
...
Null the TOC on media change even if no media present.
Reported by: des
2005-10-28 21:41:42 +00:00
Søren Schmidt
f373190c49
Enclose the delayed attach in Giant so we dont loose the race with other
...
drivers trying to attach ATA devices like pccard.
Dont clear the delayed flag before we are acutally finished.
Spotted by: imp
2005-10-27 16:32:39 +00:00
Søren Schmidt
ca107a4b1e
Minor cleanups, no functional changes
2005-10-13 08:05:21 +00:00
Søren Schmidt
7ebce0231b
Add support for the ATI IXP[234]00 series chipsets.
...
HW donated by: sentex
2005-10-12 20:00:26 +00:00
Søren Schmidt
e0c41a23d7
Correct the former patch to the way it would have looked after review.
2005-10-10 19:13:27 +00:00
Søren Schmidt
8e4e979e1e
Properly react to allocation failures.
...
Found by: imp@
2005-10-10 19:12:43 +00:00
Peter Edwards
96ca84d197
When breaking up a large request into smaller ones for the strategy
...
routine, create all the child bio objects before starting the
requests, rather than starting them as created. This closes a race
whereby some number of child operations could complete before the
rest were ever created, and prematurely freeing the parent bio.
This fixes the panics installing in VMWare and qemu
2005-10-09 21:11:05 +00:00
Søren Schmidt
40fdf81237
Add support for setting the SG list segment size.
...
Use this for the SiI3112 workaround to get rid of the "oversized DMA" errors.
MFC to 6.0 candidate.
2005-10-06 15:44:07 +00:00
Warner Losh
b7a9396a75
Forgot to commit ata-card fixes last night. Fix gleb's attempt to do
...
the right thing by merging in the changes I neglected to commit last
night.
2005-09-22 18:46:29 +00:00
Gleb Smirnoff
e21d20fc4c
Fix build.
2005-09-22 18:41:56 +00:00
Søren Schmidt
3d42c6d13a
Dont wait for READY on ATAPI_IDENTIFY.
...
Fixes the losage of some ATAPI device that reported failed probing with
"timeout waiting for read DRQ".
2005-09-19 07:35:42 +00:00
Søren Schmidt
0387836deb
Harden the hotplug support for SATA devices.
...
This also fixes a few races that was present in the timeout/detach code.
Sponsored by: pair.com
2005-09-14 12:45:06 +00:00
Søren Schmidt
fba8a154bd
Fix problem with finding the still working disk in a broken mirror on VIA.
2005-09-06 19:17:48 +00:00
Søren Schmidt
f7da27dd85
In ata_mode2str() properly list -1 as UNSUPPORTED.
2005-08-29 18:19:06 +00:00
Søren Schmidt
84b3b6455f
Fix support for the VIA 6421 controller.
2005-08-29 09:01:57 +00:00
Søren Schmidt
071e98cbeb
Dont set default mode to ATA_DMA_MAX on devices not capable of DMA.
2005-08-25 15:45:03 +00:00
Søren Schmidt
70037ab36a
Apply fix for "pr82261 DMA-support on Sparc64 broken"
...
The Acer chip or wiring that SUN uses has problems that this patch
tries to work around.
Original patch by Marius Strobl, hacked into shape by me..
2005-08-23 08:53:01 +00:00
Søren Schmidt
971846e49c
Fix problem on Promise "mio" controllers and 48bit mode caused by last commit
2005-08-22 11:38:53 +00:00
Søren Schmidt
85047b1b0c
Add support for working around controllers that cannot do DMA in 48bit mode.
...
The workaround use PIO mode above ~137GB to allow using the disk.
Add the Acer chips with rev < 0xc4 as first candidate.
2005-08-17 15:00:33 +00:00
Søren Schmidt
fb235b243c
Use the bio field instead of the driver field as intended.
2005-08-17 14:50:18 +00:00
Søren Schmidt
c7dc7718f6
Add support for the Promise PDC4071[89] chips used on fx the Fasttrak TX4300.
...
Docs kindly provided by Promise.
2005-08-12 16:54:11 +00:00
Søren Schmidt
77ada08656
Add support for the ITE IT8211F controller.
2005-08-05 13:14:00 +00:00
Søren Schmidt
08f7225609
Dont limit all transfers to DEV_BSIZE (stale dbug code)
...
Hide the loaded/unloaded message behind bootverbose
2005-08-04 18:39:36 +00:00