aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ncv
Commit message (Collapse)AuthorAgeFilesLines
* strict kobj sigs: fix assortment of device_detach and device_shutdown implsAndriy Gapon2009-06-111-1/+3
| | | | | | | | | | with common issue of having void return type instead of int Reviewed by: imp, current@ Approved by: jhb (mentor) Notes: svn path=/head/; revision=194023
* o break newbus api: add a new argument of type driver_filter_t toPaolo Pisati2007-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@ Notes: svn path=/head/; revision=166901
* no need to print unload anymoreWarner Losh2006-07-141-1/+0
| | | | Notes: svn path=/head/; revision=160335
* Since DELAY() was moved, most <machine/clock.h> #includes have beenPoul-Henning Kamp2006-05-161-1/+0
| | | | | | | unnecessary. Notes: svn path=/head/; revision=158651
* Remove OLDCARD support by removing compat shimsWarner Losh2005-09-201-27/+6
| | | | Notes: svn path=/head/; revision=150396
* Eliminate unused argument in PCMCIA_CARD macro.Warner Losh2005-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) Notes: svn path=/head/; revision=147580
* Remove bus_{mem,p}io.h and related code for a micro-optimization on i386Yoshihiro Takahashi2005-05-292-2/+0
| | | | | | | | | and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr) Notes: svn path=/head/; revision=146734
* takawata tells me that KXLC0003 also works with this driver, so add itWarner Losh2005-02-031-10/+11
| | | | | | | | | to the list. Note it is untested. Also kill some whitespace at the end of the line... Notes: svn path=/head/; revision=141222
* Start each of the license/copyright comments with /*-, minor shuffle of linesWarner Losh2005-01-066-6/+6
| | | | Notes: svn path=/head/; revision=139749
* Update for the KDB framework:Marcel Moolenaar2004-07-101-3/+2
| | | | | | | o Make debugging code dependent upon KDB instead of DDB. Notes: svn path=/head/; revision=131914
* Fix disordering of pccarddevs.h noticed by bde. Also remove a fewWarner Losh2004-05-271-10/+7
| | | | | | | | | redundant includes and fix some of the include disordering. Submitted by: bde Notes: svn path=/head/; revision=129764
* Move to generating pccarddevs.h on the fly, both for the kernel andWarner Losh2004-05-261-1/+1
| | | | | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment. Notes: svn path=/head/; revision=129740
* Convert callers to the new bus_alloc_resource_any(9) API.Nate Lawson2004-03-171-4/+4
| | | | | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde Notes: svn path=/head/; revision=127135
* Move the non-MD machine/dvcfg.h and machine/physio_proc.h to a commonPeter Wemm2004-03-133-4/+4
| | | | | | | MI area before they proliferate more. Notes: svn path=/head/; revision=126928
* Const poison string accessor functions.Warner Losh2003-10-261-2/+2
| | | | Notes: svn path=/head/; revision=121521
* Use __FBSDID().David E. O'Brien2003-08-242-2/+6
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* Make sure that pp_name is non-null before setting the deviceWarner Losh2003-04-101-1/+2
| | | | | | | | description. This allows us to rely entirely on the CIS entries if necessary... Notes: svn path=/head/; revision=113315
* Change to correct card entry. RATOC REX-R280 is 10Base-T Ether Card,Takeshi Shibagaki2003-01-111-1/+1
| | | | | | | RATOC REX-9530 is SCSI2 Card. Notes: svn path=/head/; revision=109105
* o Changes to support NEWCARD.Noriaki Mitsunaga2002-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 Notes: svn path=/head/; revision=107362
* Remove #include of <sys/disklabel.h> (and a few other unused #includes IPoul-Henning Kamp2002-09-201-8/+0
| | | | | | | | | noticed while here). Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=103691
* Quick, low impact band-aide to unbreak the build. Added && 0 so weWarner Losh2002-05-311-1/+1
| | | | | | | | ifdef out what appears to be a bogus call to softintr using data elements that aren't in the softc. Notes: svn path=/head/; revision=97684
* Check for defined(__i386__) instead of just defined(i386) since the compilerAlfred Perlstein2002-05-301-3/+3
| | | | | | | will be updated to only define(__i386__) for ANSI cleanliness. Notes: svn path=/head/; revision=97556
* Remove __P.Alfred Perlstein2002-03-203-33/+33
| | | | Notes: svn path=/head/; revision=92739
* Staticise a couple of debugging variables.Mike Smith2002-01-081-2/+2
| | | | Notes: svn path=/head/; revision=89093
* o Add KLD support for scsi_low.Noriaki Mitsunaga2001-12-151-0/+1
| | | | | | | | | o Add KLD dependency of ncv, nsp and stg drivers to scsi_low. Submitted by: takawata Notes: svn path=/head/; revision=87983
* Remove PAO3 dependent part.Noriaki Mitsunaga2001-11-033-124/+0
| | | | | | | This will not affect either -current nor -stable. Notes: svn path=/head/; revision=85962
* We should not pass the size of the memory to bus_alloc_resource().Noriaki Mitsunaga2001-09-041-1/+1
| | | | | | | | | We should use 1 to request default iomem. Pointed-out-by: imp Notes: svn path=/head/; revision=82922
* Catch up with NetBSD/pc98.Noriaki Mitsunaga2001-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 Notes: svn path=/head/; revision=79697
* Turn on interrupt-entropy harvesting for all/any mass storage devicesMark Murray2001-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. Notes: svn path=/head/; revision=73280
* o Check the size of I/O window handed by parent bus.Noriaki Mitsunaga2001-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> Notes: svn path=/head/; revision=73087
* o Support AUTO SENSE correctly.Noriaki Mitsunaga2001-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 Notes: svn path=/head/; revision=73025
* The ncv_card_intr function is only used in older versions of FreeBSD, soJohn Baldwin2001-01-231-9/+9
| | | | | | | move its prototype and definition inside the appropriate #ifdef's. Notes: svn path=/head/; revision=71467
* Use the 'slp' local variable that was otherwise unused instead of castingJohn Baldwin2001-01-231-1/+1
| | | | | | | | the driver softc under the assumption that the first part of it was a struct scsi_low_softc. Notes: svn path=/head/; revision=71466
* Zap some cut-paste code that isn't used. It #included "apm.h" andPeter Wemm2001-01-191-5/+0
| | | | | | | an apm include file but had no other apm references. Notes: svn path=/head/; revision=71260
* select() DKI is now in <sys/selinfo.h>.Garrett Wollman2001-01-091-0/+2
| | | | Notes: svn path=/head/; revision=70834
* Change flags of ncv and nsp driver. Both were conflicted with the flagsNoriaki Mitsunaga2000-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. Notes: svn path=/head/; revision=67848
* Add PC-Card/ISA SCSI host adpater drivers from NetBSD/pc98Noriaki Mitsunaga2000-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 Notes: svn path=/head/; revision=67468