]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
GPIB overhaul, part #2: make the tnt4882 driver work with the newer
authorjoerg <joerg@FreeBSD.org>
Mon, 1 Feb 2010 21:21:10 +0000 (21:21 +0000)
committerjoerg <joerg@FreeBSD.org>
Mon, 1 Feb 2010 21:21:10 +0000 (21:21 +0000)
commitd67164f24c90020e7faa21f9a119342ba4c94eda
treed2b8cccc7e23ea72cbede5a0e58fb2d699312d6a
parent8d6ed99eb05f2c34a558f53113a6c747f941be1a
GPIB overhaul, part #2: make the tnt4882 driver work with the newer
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
sys/dev/ieee488/ibfoo.c
sys/dev/ieee488/pcii.c
sys/dev/ieee488/tnt4882.c
sys/dev/ieee488/tnt4882.h [new file with mode: 0644]
sys/dev/ieee488/upd7210.c
sys/dev/ieee488/upd7210.h