aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/adlink
Commit message (Collapse)AuthorAgeFilesLines
* Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on ↵Sofian Brabez2013-01-301-1/+2
| | | | | | | | | | device_method_t arrays Reviewed by: cognet Approved by: cognet Notes: svn path=/head/; revision=246128
* Remove an unnecessary INTR_MPSAFE and a comment suggesting it wasJohn Baldwin2011-01-061-3/+1
| | | | | | | unnecessary. Notes: svn path=/head/; revision=217068
* Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.Robert Noland2009-12-291-1/+2
| | | | | | | | | | | | | | | | This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t. Purge d_mmap2(). All driver modules will need to be rebuilt since D_VERSION is also bumped. Reviewed by: jhb@ MFC after: Not in this lifetime... Notes: svn path=/head/; revision=201223
* Set D_NEEDGIANT.Konstantin Belousov2007-08-041-0/+1
| | | | | | | | Approved by: phk Approved by: re (kensmith) Notes: svn path=/head/; revision=171717
* o break newbus api: add a new argument of type driver_filter_t toPaolo Pisati2007-02-231-7/+9
| | | | | | | | | | | | | | | | 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
* Use the new bus_space/resource convenience functions.Poul-Henning Kamp2005-09-241-56/+35
| | | | Notes: svn path=/head/; revision=150526
* Instead of a rather useless generation number, use a sample number toPoul-Henning Kamp2005-03-191-18/+19
| | | | | | | keep track of things. Notes: svn path=/head/; revision=143844
* Use BUS_PROBE_DEFAULTWarner Losh2005-03-061-1/+1
| | | | Notes: svn path=/head/; revision=143168
* Commit the new version of the adlink driver which can do non-cyclicPoul-Henning Kamp2004-09-191-305/+250
| | | | | | | capture. Now we just need somebody to write a gnu-radio frontend :-) Notes: svn path=/head/; revision=135482
* Do the dreaded s/dev_t/struct cdev */Poul-Henning Kamp2004-06-161-4/+4
| | | | | | | Bump __FreeBSD_version accordingly. Notes: svn path=/head/; revision=130585
* Add missing <sys/module.h> includes currently relying on nested includePoul-Henning Kamp2004-06-031-0/+1
| | | | | | | in <sys/kernel.h> Notes: svn path=/head/; revision=130026
* Convert callers to the new bus_alloc_resource_any(9) API.Nate Lawson2004-03-171-6/+4
| | | | | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde Notes: svn path=/head/; revision=127135
* Lock Giant around the body of the adlink_loran() function used by theJohn Baldwin2004-03-051-0/+2
| | | | | | | adlink device kthreads. Notes: svn path=/head/; revision=126673
* Device megapatch 4/6:Poul-Henning Kamp2004-02-211-0/+2
| | | | | | | | | | | Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags. Notes: svn path=/head/; revision=126080
* The present defaults for the open and close for device drivers whichPoul-Henning Kamp2003-09-271-1/+0
| | | | | | | | | | | | | | | | | provide no methods does not make any sense, and is not used by any driver. It is a pretty hard to come up with even a theoretical concept of a device driver which would always fail open and close with ENODEV. Change the defaults to be nullopen() and nullclose() which simply does nothing. Remove explicit initializations to these from the drivers which already used them. Notes: svn path=/head/; revision=120506
* Be less confusing in a comment.Poul-Henning Kamp2003-09-051-1/+1
| | | | Notes: svn path=/head/; revision=119762
* Use __FBSDID().David E. O'Brien2003-08-241-2/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* Prefer new location for dev/pci/pci*.hWarner Losh2003-08-221-2/+2
| | | | Notes: svn path=/head/; revision=119274
* Almost the finished article.Poul-Henning Kamp2003-04-081-23/+276
| | | | | | | | | | | | | | | Boost sample rate to 1.25 MSPS since that allows us to use a 5Mhz (/4) or 10Mhz (/8) external clock. Make the interrupt both MPSAFE and FAST, at 610 interrupts a second, and a max time to service of 5 msec, we brake for nobody. Use kernel thread to accumulate into the 25 possible wave signals. Use #ifdef _KERNEL to let .c file double as .h file defining the ioctls. Notes: svn path=/head/; revision=113270
* Add a rudimentary but working driver for the Adlink "NuDaq PCI-9812".Poul-Henning Kamp2003-04-041-0/+238
This is a 4 channel 20 msps 12 bit ADC card. Anyone wanting to play with GNUradio or similar can start here. Notes: svn path=/head/; revision=113094