summaryrefslogtreecommitdiffstats
path: root/sys/dev/ncv/ncr53c500.c
Commit message (Collapse)AuthorAgeFilesLines
* Lock the scsi_low code and the drivers which use it along with otherjhb2014-11-201-207/+156
| | | | | | | | | | | | | | | | | | | | related cleanups: - Require each driver to initalize a mutex in the scsi_low_softc that is shared with the scsi_low code. This mutex is used for CAM SIMs, timers, and interrupt handlers. - Replace the osdep function switch with direct calls to the relevant CAM functions and direct manipulation of timers via callout(9). - Collapse the CAM-specific scsi_low_osdep_interface substructure directly into scsi_low_softc. - Use bus_*() instead of bus_space_*(). - Return BUS_PROBE_DEFAULT from probe routines instead of 0. - No need to zero softcs. - Pass 0ul and ~0ul instead of 0 and ~0 to bus_alloc_resource(). - Spell "dettach" as "detach". - Remove unused 'dvname' variables. - De-spl(). Tested by: no one
* Remove some more NetBSD compat shims and other unused bits from thesejhb2012-09-101-35/+17
| | | | | | | | | | | drivers: - Remove scsi_low_pisa.*, they were unused. - Remove <compat/netbsd/physio_proc.h> and calls to the stubs in that header. They were empty nops. - Retire sl_xname and use device_get_nameunit() and device_printf() with the underlying device_t instead. - Remove unused {ct,ncv,nsp,stg}print() functions. - Remove empty SOFT_INTR_REQUIRED() macro and the unused sl_irq member.
* Remove NetBSD compat shims for drivers originally shared with NetBSD/pc98.jhb2012-09-061-38/+12
| | | | | | | | | | | | | NetBSD/pc98 was never merged into the main NetBSD tree and is no longer developed. Adding locking to these drivers would have made the compat shims hard to impossible to maintain, so remove the shims to ease future changes. These changes were verified by md5. Some additional shims can be removed that do affect the compiled results that I will probably do in another round. Approved by: nyan (tentatively)
* Since DELAY() was moved, most <machine/clock.h> #includes have beenphk2006-05-161-1/+0
| | | | unnecessary.
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386nyan2005-05-291-1/+0
| | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Update for the KDB framework:marcel2004-07-101-3/+2
| | | | o Make debugging code dependent upon KDB instead of DDB.
* Move the non-MD machine/dvcfg.h and machine/physio_proc.h to a commonpeter2004-03-131-2/+2
| | | | MI area before they proliferate more.
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* Remove __P.alfred2002-03-201-28/+28
|
* Staticise a couple of debugging variables.msmith2002-01-081-2/+2
|
* Remove PAO3 dependent part.non2001-11-031-5/+0
| | | | This will not affect either -current nor -stable.
* Catch up with NetBSD/pc98.non2001-07-141-251/+422
| | | | | | | | | | | | | | | | | | | | | | | o Much cleanly separate NetBSD(XS) / FreeBSD(CAM) codes. o Improve tagged queing support (full QTAG). o Improve quirk support. o Improve parity error retry. o Impliment wide negotheation. o Cmd link support. o Add copyright of CAM part. o Change for CAM_NEW_TRAN_CODE. o Work around for buggy KME UJDCD450. o stg: add disconnet condition. o nsp: use suspend I/O. and more. I thank Honda-san. conf/options.pc98: add CT_USE_RELOCATE_OFFSET and CT_BUS_WEIGHT dev/{ct,ncv,nsp,stg}/*_{pccard,isa}.c: add splcam() before calling attach/detach functions. Tested by: bsd-nomads Obtained from: NetBSD/pc98
* o Support AUTO SENSE correctly.non2001-02-251-78/+49
| | | | | | | | | | | o Offset and period in synch messages and width negotiation should be done for per target not per lun. Move these from *lun_info to *targ_info. o Change in handling XPT_RESET_DEV and XPT_GET_TRAN_SETTINGS . o Change CAM_* xpt_done return values. o Busy loop did not timeout. Change this to timeout as original NetBSD/pc98. Reviewed by: bsd-nomads ML
* Use the 'slp' local variable that was otherwise unused instead of castingjhb2001-01-231-1/+1
| | | | | the driver softc under the assumption that the first part of it was a struct scsi_low_softc.
* Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98non2000-10-231-0/+1197
(a NetBSD port for NEC PC-98x1 machines). They are ncv for NCR 53C500, nsp for Workbit Ninja SCSI-3, and stg for TMC 18C30 and 18C50. I thank NetBSD/pc98 and bsd-nomads people. Obtained from: NetBSD/pc98
OpenPOWER on IntegriCloud