summaryrefslogtreecommitdiffstats
path: root/sys/dev/ncv
Commit message (Collapse)AuthorAgeFilesLines
* Remove some more NetBSD compat shims and other unused bits from thesejhb2012-09-104-44/+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-063-62/+27
| | | | | | | | | | | | | 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)
* strict kobj sigs: fix assortment of device_detach and device_shutdown implsavg2009-06-111-1/+3
| | | | | | | with common issue of having void return type instead of int Reviewed by: imp, current@ Approved by: jhb (mentor)
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-1/+1
| | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* no need to print unload anymoreimp2006-07-141-1/+0
|
* Since DELAY() was moved, most <machine/clock.h> #includes have beenphk2006-05-161-1/+0
| | | | unnecessary.
* Remove OLDCARD support by removing compat shimsimp2005-09-201-27/+6
|
* Eliminate unused argument in PCMCIA_CARD macro.imp2005-06-241-11/+11
| | | | | | | | Provide a backwards compatible way to have the extra macro by defining PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that want/need to have the same driver on 5 and 6 with pccard attachments. Approved by: re (dwhite)
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386nyan2005-05-292-2/+0
| | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
* takawata tells me that KXLC0003 also works with this driver, so add itimp2005-02-031-10/+11
| | | | | | to the list. Note it is untested. Also kill some whitespace at the end of the line...
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-066-6/+6
|
* Update for the KDB framework:marcel2004-07-101-3/+2
| | | | o Make debugging code dependent upon KDB instead of DDB.
* Fix disordering of pccarddevs.h noticed by bde. Also remove a fewimp2004-05-271-10/+7
| | | | | | redundant includes and fix some of the include disordering. Submitted by: bde
* Move to generating pccarddevs.h on the fly, both for the kernel andimp2004-05-261-1/+1
| | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-4/+4
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Move the non-MD machine/dvcfg.h and machine/physio_proc.h to a commonpeter2004-03-133-4/+4
| | | | MI area before they proliferate more.
* Const poison string accessor functions.imp2003-10-261-2/+2
|
* Use __FBSDID().obrien2003-08-242-2/+6
| | | | Also some minor style cleanups.
* Make sure that pp_name is non-null before setting the deviceimp2003-04-101-1/+2
| | | | | description. This allows us to rely entirely on the CIS entries if necessary...
* Change to correct card entry. RATOC REX-R280 is 10Base-T Ether Card,shiba2003-01-111-1/+1
| | | | RATOC REX-9530 is SCSI2 Card.
* o Changes to support NEWCARD.non2002-11-281-2/+54
| | | | | | | | | | o Add needed headers. o Add ncv_products[] product data and ncv_match() function. o Change ncv_pccard_method[] to support both OLDCARD and NEWCARD. Suggestion for REX-5572 matching part by imp. Approved by: re
* Remove #include of <sys/disklabel.h> (and a few other unused #includes Iphk2002-09-201-8/+0
| | | | | | noticed while here). Sponsored by: DARPA & NAI Labs.
* Quick, low impact band-aide to unbreak the build. Added && 0 so weimp2002-05-311-1/+1
| | | | | ifdef out what appears to be a bogus call to softintr using data elements that aren't in the softc.
* Check for defined(__i386__) instead of just defined(i386) since the compileralfred2002-05-301-3/+3
| | | | will be updated to only define(__i386__) for ANSI cleanliness.
* Remove __P.alfred2002-03-203-33/+33
|
* Staticise a couple of debugging variables.msmith2002-01-081-2/+2
|
* o Add KLD support for scsi_low.non2001-12-151-0/+1
| | | | | | o Add KLD dependency of ncv, nsp and stg drivers to scsi_low. Submitted by: takawata
* Remove PAO3 dependent part.non2001-11-033-124/+0
| | | | This will not affect either -current nor -stable.
* We should not pass the size of the memory to bus_alloc_resource().non2001-09-041-1/+1
| | | | | | We should use 1 to request default iomem. Pointed-out-by: imp
* Catch up with NetBSD/pc98.non2001-07-146-291/+479
| | | | | | | | | | | | | | | | | | | | | | | 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
* Turn on interrupt-entropy harvesting for all/any mass storage devicesmarkm2001-03-011-1/+1
| | | | | | | I could find. I have no doubt missed a couple. Interrupt entropy harvesting is still conditional on the kern.random.sys.harvest_interrupt sysctl.
* o Check the size of I/O window handed by parent bus.non2001-02-262-3/+29
| | | | | | | | o Allocate memory mapped by pcic even when not used for ncv. This is for PC-Cards which needs offset, because I/O space should not be used by other devices. Pointed-out-by: YAMAMOTO Shigeru <shigeru@iij.ad.jp>
* o Support AUTO SENSE correctly.non2001-02-252-84/+56
| | | | | | | | | | | 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
* The ncv_card_intr function is only used in older versions of FreeBSD, sojhb2001-01-231-9/+9
| | | | move its prototype and definition inside the appropriate #ifdef's.
* 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.
* Zap some cut-paste code that isn't used. It #included "apm.h" andpeter2001-01-191-5/+0
| | | | an apm include file but had no other apm references.
* select() DKI is now in <sys/selinfo.h>.wollman2001-01-091-0/+2
|
* Change flags of ncv and nsp driver. Both were conflicted with the flagsnon2000-10-291-1/+1
| | | | | | | used in lower layer (scsi_low.c). The flag of ncv for KME KXLC004 was chaged from 0x1 to 0x100. The flag of nsp for PIO mode was chaged from 0x1 to 0x100.
* Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98non2000-10-236-0/+2007
(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