summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
AgeCommit message (Collapse)Author
2009-11-21EP80579 SATAJonathan Gray
2009-11-01add support for the ati sb900^Whudson2 chips.David Gwynne
from brad
2009-10-18Match on Intel 3400 SATA.Jonathan Gray
Tested by bwaichu@yahoo.com.
2009-10-17Match on MCP77 SATA.Jonathan Gray
From and tested by minusf@obiit.org
2009-10-13Correct udma timing register offset and the udma mode ceilingJonathan Gray
we allow for Intel SCH chips. From tharada@oucrc.org in PR 6232, verified against the datasheet.
2009-10-05Fill pciide_unmapregs_compat() with stuff which might work, if we ever getTheo de Raadt
there. ok jsg
2009-10-05Add some minimalistic detach/unmap bits for pciide,Jonathan Gray
done using a chipset unmap callback. Still needs to work to distinguish between compat register mappings and compat interrupts so we don't get caught out. Tested with a diskless sii3112 CardBus eSATA controller by me, and testing and feedback by deraadt@ with a phison based expresscard SSD.
2009-09-29Support the Phison PS5000. IO Data and other vendors are now using thisTheo de Raadt
on an expresscard SSD adaptor. ok jsg
2009-09-05Remove unnecessary assignments in sii311[24]_chip_map().Miod Vallat
2009-08-02Minor KNF from Brad. No binary change.Stuart Henderson
2009-06-26add the VIA VX855 chipsetKevin Lo
ok deraadt@
2009-05-31Add SCH IDE support code.Jonathan Gray
Tested on a p series vaio.
2009-04-24Add support for ICH10 SATA devices not operating in AHCI mode.Jonathan Gray
Tested by Christian Stuermer.
2009-02-07Match on native/legacy MCP79 SATA ids.Jonathan Gray
From/Tested by Laurence Tratt on an asus p5n7a board.
2009-01-04Add support for CS5535 IDE adapted from the gcscide code in NetBSDJonathan Gray
originally written by Juan Romero Pardines. Thanks to Lars Kotthoff for testing on a HeroLogic HL-463 system. Because the CS5535 doesn't provide SMM emulated PCI access to set DMA/PIO modes or a real PCI IDE controller we have to resort to making MSR calls. As this is very MD specific, hide most of uglyness away in i386 MD pciide code. ok grange@
2009-01-04Shift prototypes for some common pciide functions out intoJonathan Gray
a header file where MD code can get at them. ok grange@
2008-10-02backout Tadpole specific non-dma workaround commited in 1.287, since itTheo de Raadt
appears the machine Mark got had a disk which failed very soon after that ok kettenis
2008-09-25remove dead stores and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok brad@
2008-09-17Update for renamed ATI PCI ids.Brad Smith
2008-07-29Add an ugly hack to disable DMA on the Tadpole SPARCLE laptop. It doesn'tMark Kettenis
work and this way we fall back on PIO which does work. I'm pretty sure this is caused by bugs in our code, but I cannot find them. ok deraadt@, marco@
2008-07-08Remove the IDE_PCI_CLASS_OVERRIDE quirk flag for the Intel AHCI controllersBrad Smith
as they're of the subclass SATA and the SiI3512 SATA controller as it is of the subclass MISC. ok jsg@
2008-07-06pciide_match() is a bit convoluted, we match anything claimingJonathan Gray
to be MASS_STORAGE subclass IDE regardless of id, and other ids depending on the subclass and a known id or a known id and the override flag. We really want to check the subclass so we don't attach pciide to the wrong function of a chip, which happened last time around before the additional subclasses were checked in the non override case and the overrides were pulled. A bunch of the override flags were pulled after some common subclasses (SATA/RAID) were added. So if we have a known id and a SATA/RAID subclass we would match. Turns out some Silicon Image SATA devices claim to be of subclass MISC so add that as well. Unbreaks one of hennings machines with 3114 SATA and likely quite a few other machines. 'seems safe enough to me' miod@
2008-06-13Restore IDE_PCI_CLASS_OVERRIDE on SiI3512 SATA.Mats O Jansson
On socppc it has the subclass PCI_SUBCLASS_MASS_STORAGE_MISC so without the quirk socppc will not find its disk. -moj
2008-06-11Remove the IDE_PCI_CLASS_OVERRIDE quirk flag for Intel (except AHCI),Brad Smith
CMD Technology, Silicon Image, VIA, SiS, Broadcom, and ATI IDE/SATA chipsets. ok jsg@
2008-04-29Change sis_chip_map() to use pci_find_device() as the originalJonathan Gray
NetBSD code it was based on did/does, now we have it. This makes detecting sis 96x work properly without having to do silly things like adding host bridges in the list. Of course we wouldn't be in this mess in the first place if sis designed their chips properly instead of reusing the same pci id. Add 964/965 devices while here. Tested by todd@ on a machine with 965.
2008-02-27Add ICH8M SATA IDE support, and adjust for renamed ICH7 and ICH8 IDs.Mark Kettenis
tested by drahn@, "looks right to me" deraadt@
2008-02-05de-inline pciide, shaving a goodly amount off the kernelBret Lambert
ok jsg@ "please kill it" marco@ "no objections" krw@
2008-01-29Add support for VIA VT8237S SATA.Jonathan Gray
From Antonio Marques <froz@icix.org> in PR 5718.
2008-01-11Turns out the id I thought was both CX700/VX700 IDE was only for VX700,Jonathan Gray
so rename it and add a CX700 id. Tweaked version of a diff from dtrombley@dslindiana.com who tested with a board with the new id.
2008-01-02Add the ATI SB700 chipset.Brad Smith
ok dlg@
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-10-17Add the Intel ICH9 chipset.Brad Smith
Tested by damien@ ok dlg@
2007-10-09malloc+bzero -> malloc+M_ZERO. Use 'malloc(sizeof(*p) ...' idiom.Kenneth R Westerback
2007-09-14add the NVIDIA MCP73/MCP77 IDE controller PCI ids.Brad Smith
ok dlg@
2007-07-02kettenis suggested that i can use pci_intr_map twice on the same deviceDavid Gwynne
safely, so i tried it and it worked great. i can reuse the pci_attach_args to attach ahci and now pciide to jmb without really modifying either of them. lots of code shrinks. ok jsg@
2007-06-26Make natsemi_pci_intr() use pciide_intr_flag(). Needed on the PC87415 partMark Kettenis
integrated on the PC87560 Legacy IO chip found on several hppa workstation models. ok jsg@
2007-06-20Add support for VIA CX700/VX700 IDE.Jonathan Gray
Tested by jcs@ on a model 2 oqo.
2007-06-02Add support for ICH8M IDE.Jonathan Gray
Tested by Daniel Dickman <didickman@gmail.com> pciide(4) does not need to be updated as it does not split SATA/IDE support up into different sections (ICH8M already listed).
2007-05-11Ditch acard_pci_intr() as nothing currently uses it.Jonathan Gray
Pointed out by deraadt@
2007-05-10Don't skip channels that don't have the WDCF_IRQ_WAIT flag set. ApparentlyMark Kettenis
some chips generate interrupts we don't expect, but we need to ack those. Fixes the cdrom hangs on various sparc64 systems. tested by some, ok deraadt@
2007-05-02Another VIA VT8237A SATA.Jonathan Gray
Tested by Graeme Lee <graeme@omni.net.au>
2007-03-27this level of serverworks sata does not helpTheo de Raadt
2007-03-27disable serverworks sata until it works (been busted for a year on theTheo de Raadt
G5, might work a lot better soon)
2007-03-21Basic support for JMicron PATA.Jonathan Gray
JMB368 supported for now, multi port cards that share PATA/SATA need to do a complicated internal channel mapping dance I plan to look into next. ok grange@
2006-11-21fix dmesg printing for the artisea chipset.Brad Smith
2006-11-19Re-enable the Intel i31244 support now that real hardware actually exists.Brad Smith
2006-11-05add the MCP67 PATA and SATA PCI ids as well as fixing nforce_chip_map() toBrad Smith
set the proper UDMA capability for MCP61 and MCP65 chipsets. ok jsg@
2006-10-19Match the IDE controller in the AMD Geode companion device CS5536.Tom Cosgrove
The disk in the AMD Geode LX-800-based system now works much faster. hints grange@; ok jsg@
2006-10-02sync the ServerWorks ids.Brad Smith
2006-09-26Shrink the number of matches done in piixsata_chip_map,Jonathan Gray
no functional change.