summaryrefslogtreecommitdiffstats
path: root/sys/dev/ieee488/ibfoo.c
Commit message (Collapse)AuthorAgeFilesLines
* GPIB overhaul, part #2: make the tnt4882 driver work with the newerjoerg2010-02-011-11/+133
| | | | | | | | | | | | | | TNT5004 IC. This involved a major rewrite of a number of things, as this chip no longer supports the NAT7210 legacy mode but requires the host to use the (more modern) FIFO mode. In theory, this also ought to work on the older TNT4882C chip. I'll probably add this as optional support (perhaps by a device.hints flag) later on. By now, FIFO mode is *only* activates iff a TNT5004 chip has been detected (where the old code didn't work at all), while everything else is supposed to use the old code. MFC after: 2 weeks
* Make isa_dma functions MPSAFE by introducing its own private lock. Theserdivacky2009-11-091-8/+0
| | | | | | | | | | | | | | | | | | functions are selfcontained (ie. they touch only isa_dma.c static variables and hardware) so a private lock is sufficient to prevent races. This changes only i386/amd64 while there are also isa_dma functions for ia64/sparc64. Sparc64 are ones empty stubs and ia64 ones are unused as ia64 does not have isa (says marcel). This patch removes explicit locking of Giant from a few drivers (there are some that requires this but lack ones - this patch fixes this) and also removes the need for implicit locking of Giant from attach routines where it's provided by newbus. Approved by: ed (mentor, implicit) Reviewed by: jhb, attilio (glanced by) Tested by: Giovanni Trematerra <giovanni.trematerra gmail com> IA64 clue: marcel
* Replace callout_init(..., 1) with callout_init(..., CALLOUT_MPSAFE) forkris2008-04-161-1/+1
| | | | | | | better grep-compliance and to standardize with the rest of the kernel. Reviewed by: jhb MFC after: 1 week
* Add placeholder mutex argument to new_unrhdr().phk2005-03-071-1/+1
|
* Always go to standby efter each call.phk2005-03-061-7/+7
|
* Check handle types.phk2005-02-121-75/+193
| | | | | Implement more device functions. Make DMA optional.
* Add ibcntl as alias for ibcntphk2005-02-121-239/+270
| | | | | | Add ibsta and start to use it. Rename the argument structure more sensibly. Improve timeout and error handling
* Split the ibfoo API into its own file.phk2005-02-121-0/+856
Implement ibdma() (only affects ibrd() mode) Implement ibeot()
OpenPOWER on IntegriCloud