summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pcscp.c
AgeCommit message (Collapse)Author
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2006-04-30Free one more resource on attach failure.Brad Smith
From NetBSD ok martin@
2006-04-20ANSI function declarationsMartin Reindl
prompted by brad@
2006-04-18- establish interrupt after all dma resouces are successfully allocatedMartin Reindl
- wrap an assertion with #ifdef DIAGNOSTIC - call bus_dmamap_sync for mdldmap at POSTWRITE for consistency - pass proper dmamapsize for mdldmap - Call bus_space_{read,write}_1() directly to access ncr53c9x common registers - Unload xfer dmamap in pscsp_dma_stop() - Free resources if attach fails From NetBSD
2006-04-14- Add BUS_DMA_STREAMING to data transfer map loads.Martin Reindl
- Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. - Remove PCnet ID, it makes no sense having it here. - Remove code to map PCI_MAPREG_TYPE_MEM, which is not supported by 53c974. - Update technical manual URL. - Utilize bus_dma(9) functions more efficiently. from NetBSD; ok brad@
2005-08-09do not set PCI_COMMAND_MASTER_ENABLE explicitly as it's already set in ↵Michael Shalayeff
pcisubmatch(); kettenis@ testing; brad@ ok
2002-03-14First round of __P removal in sysTodd C. Miller
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-27Huge merge with NetBSD. For full details look at their revision history ↵Jason Wright
(1.26 -> 1.83)... Highlights: o tag queue support o fas366 support (doesn't work yet on sparc, but does on sparc64) o tons more (thanks to hugh, fgsch and beck for testing)
2001-08-26Yup, I managed to fat finger all three of these while doing bus_dmamap_sync()Jason Wright
conversion (luckily only sparc64 uses the 5 arg form so far =)
2001-08-25deal with 5 arg for of bus_dmamap_sync() if availableJason Wright
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-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-02-14Change output to fit OpenBSD.Federico G. Schwindt
2001-02-14Support for AMD Am53c974 SCSI controllers; from NetBSD.Federico G. Schwindt
Thanks to Quentin Barnes <qbarnes@urbana.css.mot.com> for his help.