summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2001-08-26Prepare for transition to 5-parameter bus_dmamap_sync() by creating andKenneth R Westerback
using *_bus_dmamap_sync() defines that are defined appropriately depending on __HAS_NEW_BUS_DMAMAP_SYNC. Most of the code changes are simple reversions to the original NetBSD code. Slip in a siop_script_sync() instead of a manually done code section.
2001-08-26remove useless INUSE references from scsi_xfer->flags; art@ miod@ ok.Federico G. Schwindt
2001-08-25Change scsi_[free|get]_xs to use pool(9); art@ krw@ miod@ ok.Federico G. Schwindt
2001-08-25rcsidJason Wright
2001-08-25deal with 5 arg form of bus_dmamap_sync() if available.Jason Wright
2001-08-25deal with 5 arg for of bus_dmamap_sync() if availableJason Wright
2001-08-25Allow machdep code to decide the order in which we probe theArtur Grabowski
pci buses. this is conditional on __PCI_BUS_DEVORDER and __PCI_DEV_FUNCORDER Used by sparc64.
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-24missing bus_dmamap_sync() calls on descriptors... also deal with 5 argument ↵Jason Wright
form of bus_dmamap_sync()
2001-08-24Compile cleanup, systype is not currently used, so ifdef it.Dale Rahn
2001-08-24make ofprint useable, do carriage return on newline,Dale Rahn
increment pointer to printed buf, instead of printing same character.
2001-08-24Fix the typos in the timeout replacement.Dale Rahn
2001-08-23Add show_scsipi_xs and show_scsipi_cmd. Closes PR#2008Constantine Sapuntzakis
2001-08-23syncConstantine Sapuntzakis
2001-08-23VT82C686A -> VT82C686 (in user-visible description)Constantine Sapuntzakis
closed PR#2019
2001-08-23recieve -> receiveAaron Campbell
2001-08-23initialize the channel timeout earlier.Artur Grabowski
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-23syncTheo de Raadt
2001-08-23shortenTheo de Raadt
2001-08-23decruftify: remove unnecessary/unused functionsJason Wright
2001-08-23need bpfilter.hJason Wright
2001-08-23only include <machine/autoconf.h> on sparc64Jason Wright
2001-08-22pci bus frontend for hme from netbsdJason Wright
2001-08-22Support more dc(4) CardBus devices, including the AN985-based Linksys PCMPC200Aaron Campbell
10/100 CardBus Ethernet adapter (thanks to beck@ for the donation).
2001-08-22rename hs_flags -> hs_state and use #defines for the state names.Jason Wright
2001-08-22syncAaron Campbell
2001-08-22Add some Abocom devices; from NetBSD.Aaron Campbell
2001-08-22Initialize auto variable (win[{0,1}].win_flags). Also, if PCCBB_MEM_CACHABLEAaron Campbell
isn't set, clear the prefetchable bits in the bridge control register. These fixes from NetBSD. Now OpenBSD won't hang when it tries to read the CIS from an ADMtek-based card through a Ricoh-based PCI-CardBus bridge.
2001-08-22better error handling (a merge of ben's stuff and mine)Jason Wright
2001-08-22sparc64 pci needs this.Artur Grabowski
From NetBSD.
2001-08-22regenArtur Grabowski
2001-08-22sun ebus.Artur Grabowski
2001-08-22iobase is a bus_addr_tJason Wright
simplify 'alive' handling check for IRQUNK later
2001-08-22Better error catching (badly aligned iov's are EINVAL not ENOMEM)Jason Wright
2001-08-21syncTheo de Raadt
2001-08-21more; openbsd@davidkrause.comTheo de Raadt
2001-08-21sbus specific driver for hme (from netbsd)Jason Wright
2001-08-21bus independent part of hme driver from netbsdJason Wright
2001-08-21rcsidJason Wright
2001-08-21esp driver from NetBSD (compiles and even probes disks =)Jason Wright
2001-08-21From NetBSD:Jason Wright
#define's for FAS366 (needed for compile of esp_sbus)
2001-08-21Remove gcc warnings. Ok drahn@Matthieu Herrb
2001-08-21need cfdriver for dmaJason Wright
2001-08-21Prototype correctly so this builds with -Wstrict-prototypes.Dale Rahn
DEstatic some of the code, add a ofprint() function for printf like debugging early on in boot (before console). Not currently used, except in special debugging kernels.
2001-08-20qec+be (another driver originally written under OpenBSD, but pulled intoJason Wright
this heirarchy from the NetBSD tree... and who says the projects don't work together).
2001-08-20regenMichael Shalayeff
2001-08-20better aureal namesMichael Shalayeff