summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
AgeCommit message (Collapse)Author
2004-08-21in case of failure use the same logic for unmapping as it was used for ↵Michael Shalayeff
mapping; found and testing by Jack Culpepper <jack@cloudconnector.com>; deraadt@ ok
2004-06-02Add quirks field to the wdc softc and implement the first one:Alexander Yurchenko
WDC_QUIRK_NOSHORTDMA which disables DMA for the one-sector transfers. Use this quirk for the Geode SC1100 IDE to fix hanging during fdisk reported in PR 3729. Thanks to Alexandre Belloni <abelloni@nerim.net> for testing. ok costa@
2004-05-24do not bother w/ void pci_devinfo() calls and free resources on failuresMichael Shalayeff
2004-05-06Add support for the SiS 741 Northbridge. ok deraadt@, grange@Peter Galbavy
Note for the archives; before this patch my ASRock K7S41 m/b would hang after booting install media without DMA disabled for the drive(s) in the BIOS.
2004-05-04Fix my stupid bug with missing sata_setup_channel() call.Alexander Yurchenko
Now VIA VT8237 SATA really works. Problem report, testing and ok drahn@.
2004-05-03Remove OpenBSD/pegaos, this has been announced before but delayed untilDale Rahn
the tree was stable. No point in code supporting a company which screws its employees being in the OpenBSD tree.
2004-03-12Enable ata133 on amd8111; from netbsdAlexander Yurchenko
tested by beck@
2004-02-18Yet another wonna-be-raid device.Alexander Yurchenko
Reported by Dmitry S. Popov <D.S.Popov@inp.nsk.su>.
2004-02-07Final bits to make IT8212F working:Alexander Yurchenko
- don't touch bus speed register; - don't try to setup the chip in compat mode, it's native always; - disable cable check, it works only in cpu firmware mode. Testing Aubert Guillaume <aubertguillaume@wanadoo.fr>
2004-02-02Support for UDMA2 capable SCx200 ide found on all National SemiconductorAlexander Yurchenko
SC1100 based boards (soekris net4801 e.g.). Tested both with CF cards and UDMA2 drive. Help and three (sic!) OKs from gluk@, test and ok markus@. Thanks to Wim for the soekris board.
2004-02-02ite is a yet another ``raid'' device, fake interface for it.Alexander Yurchenko
2004-01-31fix stupid typo in the reading/writing mode control register for ite.Alexander Yurchenko
2004-01-31ite doesn't need a special interrupt function.Alexander Yurchenko
more space to save.
2004-01-31Disable i31244 support until we see a real divice using this chip.Alexander Yurchenko
If you're lucky owner of it mail me. Also don't compile opti support stuff since it's disabled anyway. Saves about 3K on floppy.
2004-01-31spaces, .o is the same.Alexander Yurchenko
2004-01-17Read product id and revision from pci conf space only onceAlexander Yurchenko
and then use the saved values. ok costa@
2004-01-09remove uvm_extern.hBrad Smith
tested on alpha, i386, powerpc, sparc64, m68k. ok miod@
2003-12-20Support for ITExpress IT8212F ATA133 controller; close PR 3540.Alexander Yurchenko
Submitter is unresponsible so the diff is not tested. If you have any problems with it open a new PR.
2003-12-12Support for 2 new acard ata133 chips.Alexander Yurchenko
2003-12-12nforce chip doesn't have cable check bit; noticed by hugh@ a longAlexander Yurchenko
time ago.
2003-11-07adress -> address, and a few more; all from Jonathon Gray;Jason McIntyre
(mvme68k/mvme88k) vs.c and (vax) if_le.c ok miod@ isakmpd ones ok ho@
2003-10-31Work around a _really_ _nasty_ pciide attachment problem on pegasos,Dale Rahn
it maps the IO in PCI space, but assumes tradition interrupt mappings. Better solution welcome.
2003-10-29un-revert previous. wrong suspect. ok deraadt@Matthieu Herrb
2003-10-29backout previous. It breaks my u5 drive. ok deraadt@Matthieu Herrb
2003-10-17Old CMD chips don't have independant channels; from NetBSD.Alexander Yurchenko
Work by niklas@ but he don't want to commit it and it causes conflicts.
2003-10-17Merge an old fix from NetBSD:Alexander Yurchenko
- do not stop/unload current DMA operation if an IRQ was not detected by DMA engine unless the force flag was given, fixes DMA problems in shared IRQ setups; - ack interrupt before entering DMA codepath Tested by many. Work by niklas@ but he doesn't want to commit it for some reason.
2003-10-16Mark all supported SATA controllers with flag WDC_CAPABILITY_SATAAlexander Yurchenko
2003-10-16Allow setting of wdcdebug*_mask variables via preprocessor defines.Alexander Yurchenko
This makes creating debug kernels be much more easy.
2003-10-09Support for VIA VT8237 ATA and SATA from NetBSD.Alexander Yurchenko
Thanks to Anton Komarov for providing access to the VIA board.
2003-09-29Experimental support for serverworks csb6 third channel inspired byAlexander Yurchenko
freebsd ata driver. Close PR 3485.
2003-09-28kill trailing spaces, no functional changesAlexander Yurchenko
2003-08-01Fix ICH5R SATA supportAlexander Yurchenko
2003-07-30Experimental support for ICH5/ICH5R SATA, inspired from FreeBSDAlexander Yurchenko
ata driver.
2003-07-29Support for HPT302 and HPT371, inspired from the FreeBSD ata driver.Alexander Yurchenko
Thanks to otto@ for help in regress testing and tedu@ for unslacking me.
2003-07-23Enable ATAPI DMA for modern Promise ATA controllers since only oldAlexander Yurchenko
ones have problems with it. Tested on PDC20262/268/269.
2003-07-23Old Promise ATA controllers need some additional operationsAlexander Yurchenko
during DMA transfers to work correctly with LBA48 drives. Based on diff from Takeshi Nakayama <tn@catvmics.ne.jp> for NetBSD with some corrections from FreeBSD ATA driver.
2003-07-20acer chips seem to work with atapi dma now. ok grange@Ted Unangst
2003-06-18For HPT370 chips disable interrupt prediction and correct timingAlexander Yurchenko
value for UDMA5. Enable UDMA5 for HPT370A again since it's safe now. Work by Otto Moerbeek <otto@drijf.net> via PR 3282. Help in testing from gluk@.
2003-06-07Experimental support for Intel 31244 SATA, only parallel ATA mode yet;Alexander Yurchenko
from NetBSD.
2003-06-07Add a generic channel setup routine for SATA devices; from NetBSDAlexander Yurchenko
2003-06-06Add support for Intel ICH5/ICH5R IDEAlexander Yurchenko
2003-05-30Cleanup: \t vs spaces, kill trailing spacesAlexander Yurchenko
2003-05-22Support for Intel ICH4-M; from marius aamodt eriksen <marius@monkey.org>.Alexander Yurchenko
2003-05-17Experimental support for SiI 3112 SATA card; from NetBSD.Alexander Yurchenko
Thanks to chris@ for this card.
2003-05-17Allow chip-specific setup routines to change dma engine parametersAlexander Yurchenko
(size and align of dma segment) since some chips may have quirks; from NetBSD. ok millert@
2003-05-17Add debug warning messages about missing 80-wire cable to allAlexander Yurchenko
cable checking procedures. ok millert@
2003-05-02Rework SIS IDE support. Unbreak the newest chips and fix issues with theAlexander Yurchenko
old ones. Original work by sos@freebsd, then adapted for netbsd by bouyer@netbsd. Many thanks to Paul de Weerd <paul@mail.me.maar.nu> for problem report, providing url to the preliminary netbsd diff and access to testing machine. Extra testing by tedu@.
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-20In pdc20265_pci_intr() perform shared irq check only if channel isAlexander Yurchenko
enabled since it reqires accessing channel's bus space. Problem reported by Armin Wolfermann <aw@osn.de>.
2003-03-29Very limited support for Promise PDC20376 SATA. Only parallel ATAAlexander Yurchenko
compatibility mode works for now. Based on tests by Jedi/Sector One <j@pureftpd.org>.