summaryrefslogtreecommitdiffstats
path: root/sys/dev/adlink
Commit message (Collapse)AuthorAgeFilesLines
* Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on ↵sbz2013-01-301-1/+2
| | | | | | | device_method_t arrays Reviewed by: cognet Approved by: cognet
* Remove an unnecessary INTR_MPSAFE and a comment suggesting it wasjhb2011-01-061-3/+1
| | | | unnecessary.
* Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.rnoland2009-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...
* Set D_NEEDGIANT.kib2007-08-041-0/+1
| | | | | Approved by: phk Approved by: re (kensmith)
* o break newbus api: add a new argument of type driver_filter_t topiso2007-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@
* Use the new bus_space/resource convenience functions.phk2005-09-241-56/+35
|
* Instead of a rather useless generation number, use a sample number tophk2005-03-191-18/+19
| | | | keep track of things.
* Use BUS_PROBE_DEFAULTimp2005-03-061-1/+1
|
* Commit the new version of the adlink driver which can do non-cyclicphk2004-09-191-305/+250
| | | | capture. Now we just need somebody to write a gnu-radio frontend :-)
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-4/+4
| | | | Bump __FreeBSD_version accordingly.
* Add missing <sys/module.h> includes currently relying on nested includephk2004-06-031-0/+1
| | | | in <sys/kernel.h>
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-6/+4
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Lock Giant around the body of the adlink_loran() function used by thejhb2004-03-051-0/+2
| | | | adlink device kthreads.
* Device megapatch 4/6:phk2004-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.
* The present defaults for the open and close for device drivers whichphk2003-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.
* Be less confusing in a comment.phk2003-09-051-1/+1
|
* Use __FBSDID().obrien2003-08-241-2/+3
| | | | Also some minor style cleanups.
* Prefer new location for dev/pci/pci*.himp2003-08-221-2/+2
|
* Almost the finished article.phk2003-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.
* Add a rudimentary but working driver for the Adlink "NuDaq PCI-9812".phk2003-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.
OpenPOWER on IntegriCloud