summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
AgeCommit message (Collapse)Author
2002-02-16Disable udma5 on the HPT370 for now. The silent data corruption disappearsChris Cappuccio
at udma4.
2002-02-10Match the VT8366_ISA (chip VT8233) south bridge as ATA100Chris Cappuccio
2001-12-11Support Promise Ultra100TX2 (PDC20268)Chris Cappuccio
from Alexander Yurchenko <grange@rt.mipt.ru>
2001-11-18spellingTheo de Raadt
2001-11-11Noone seems to want to fix the sparc64 cd bogus intr bug, so I will simply ↵Theo de Raadt
disable the message
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-11-05Switch everything to the new bus_dmamap_sync API.Artur Grabowski
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@.
2001-09-29PC87415: Don't claim to support DATA32 or MODEJason Wright
(now correctly probes the DMA modes).
2001-09-29for pc87415:Jason Wright
- don't hardwire interrupt interrupts to pci mode - unmask the pci interrupt if at least one channel is in pci mode
2001-09-29add pciide driver for National Semiconductor PC87415.Jason Wright
2001-09-27style fixes from Alexander Yurchenko <grange@grange.ru>Grigoriy Orlov
2001-09-11Don't include <vm/vm_kern.h> if you don't need foo_map.Miod Vallat
2001-08-31Print a hex value with 0x (Alexander Yurchenko <grange@rt.mipt.ru>)Chris Cappuccio
2001-08-25 - Use BUS_DMA_RAW if it's defined.Artur Grabowski
- pretty.
2001-08-25Change pci_intr_map to take pci_attach_args as an argument.Artur Grabowski
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
2001-08-23sparc64 really benefits from knowing exactly what mappings to syncArtur Grabowski
on bus_dmamap_sync, so it will have the same call footprint as in NetBSD. Rather than converting the whole world to the new arguments we will slowly convert everything that sparc64 needs with ifdef __HAVE_NEW_BUS_DMAMAP_SYNC Once most relevant drivers are converted we can start implementing the new bus_dmamap_sycn on other archs.
2001-08-23Some reordering in the code caused hw_ok to never be set to 1Artur Grabowski
which causes some CMD Technology controllers to never attach properly.
2001-08-12absolutely no need to include vm_parm.h after vm.hMichael Shalayeff
2001-08-03from NetBSD:Chris Cappuccio
Add support for Acard ATP850/860, Highpoint HPT370A, and ALi UDMA4/5 controllers Workaround some OPTi chipset bugs (opti_chip_map still disabled by default)
2001-07-31On DMA timeouts, stop busmaster PCIIDE and reset channel. Avoid readingConstantine Sapuntzakis
device registers as this may cause lock-ups on some chipsets Clean-up in atapiscsi. Get rid of claim_irq. Instead, atapiscsi always returns -1 (maybe) from the interrupt handler.
2001-07-20Add pa_bus to pci_attach_argsConstantine Sapuntzakis
Better VIA IDE chipset handling. From NetBSD
2001-07-19AMD766 support with UDMA/100. Thanks to Peter Galbavy for the patchConstantine Sapuntzakis
2001-06-27remove excess protoTheo de Raadt
2001-06-26Fix args to pciide_machdep_compat_intr_disestablishConstantine Sapuntzakis
2001-06-25Enable interrupts during PCIIDE detectConstantine Sapuntzakis
2001-06-12Make pci_mapreg_map take an extra argument where we canNiklas Hallqvist
put a size limitation of the PCI region to map. That makes the PERC 3/Di raid controller usable, as it publishes too much PCI memory for us to map in the kernel virtual memory. As we only access the first 256 byte it is of no use to map 128MB of kvm.
2001-05-22Compile with WDCDEBUG. Fix a debug printout.Hakan Olsson
2001-04-17Enable UDMA for rev 0xd0 SiS again (undone in last update)Chris Cappuccio
2001-04-04Disable ATAPI DMA on Promise controllers and some ALi controllers.Constantine Sapuntzakis
Change Bus Master DMA Stop to not trust what we read from the device.
2001-04-04Minor cleanup to minimize diffs with NetBSDConstantine Sapuntzakis
2001-03-26Support for Ultra/66 on Highpoint HPT366 and Ultra/100 on HPT370Chris Cappuccio
2001-03-25Minor mods to DMA interface - get rid of unnecessary args. Allow DMA ↵Constantine Sapuntzakis
functions to return status flags. Note: Changing code to have DMA interface indicate when I/O is done (a la NetBSD) was considered. It was rejected due to questionable backward compatability with ISA DMA and MAC obio DMA Added irqack from NetBSD (though this feature should really be in the PCI interrupt handlers) Use pool
2001-03-16Pull in NetBSD Promise Ultra/100 supportChris Cappuccio
(Now we actually program Ultra/100 modes instead of Ultra/66 modes on the Ultra/100 controller) This also fixes interrupt handling on the PDC20265/7 controller. I suspect this new interrupt routine for the PDC20255/7 controller should also be used on the PDC20262.
2001-02-22Use real VIA product names for IDE controllers rather then contrived ones,Chris Cappuccio
ok deraadt@
2001-02-06Laptop ICH2 IDEChris Cappuccio
2001-01-29Add wdc_print_current_modes to print current transfer modes set on theConstantine Sapuntzakis
devices. Print after attach in wdc_isa, wdc_isapnp, wdc_pcmcia. pciide_print_modes rewritten to use wdc_print_current_modes. Disable wdc_print_caps since it's not as useful. Inspired by NetBSD. Thanks to Dale and Theo for pointing out this improvement.
2001-01-22from NetBSD: only pass one byte for control register handle (Manuel Bouyer)Chris Cappuccio
2001-01-18Only try VIA CLK66 bit code for VIA rev >= 6,Chris Cappuccio
Only try UDMA on ALi rev >= 0x20 (as per Daniela Engert's ChipList.txt) After I fix a few more bugs I will re-enable the ALi code
2001-01-08From chris@Jeremy Evans
Partial sync w/NetBSD -Support Ultra/100 on Intel ICH2 (Tomokazu HARADA) -Support Ultra/66 on VIA Apollo (Manuel Bouyer) -Disable 16bit io-space limitation on Promise (Charles Hannum)
2000-12-08Fix attach message printing for CY82C693U to be like pciide_print_channels().Todd C. Miller
It is done inline for the CY82C693U since it only has one channel.
2000-12-06supposed changes needed for 82801BA support; chrisTheo de Raadt
2000-11-20support at least ATA6 on 82801BA; chrisTheo de Raadt
2000-11-13Don't map unsafe registers from controllers that require 16 bit io spaceChris Cappuccio
(from NetBSD)
2000-11-07Promise PCI devs renamedChris Cappuccio
2000-10-2182801BA is DMA, in 3 months there will be lots of theseTheo de Raadt
2000-10-21(Temporarily) disable DMA support for OPTi 82C621 and untested 82C568/82D568Chris Cappuccio
because it breaks on two different revisions in two different ways and is so old and slow anyways that it isn't that much of an advantage to have DMA
2000-10-16Fix a bug introduced in 1.25->1.26 with regards to printing channelChris Cappuccio
information, tested by deraadt
2000-08-25Match Promise Ultra/100 as PDC20262 instead of PDC20246Chris Cappuccio
(netbsd)
2000-08-05Support Promise Ultra/100 as found on some Microstar motherboardsChris Cappuccio
(From NetBSD PR 10756)
2000-07-31Fix PR 1341 -Chris Cappuccio
Don't enable UDMA modes on VIA "82C586" with revision under 6